help: Segmentation fault during simple-ivi-share testing

Mizuno, Wataru (ADITJ/SWG) wmizuno at jp.adit-jv.com
Fri Jan 27 07:02:22 EST 2017


Hello,

Your procedure is correct.
Please check you use the Mesa.

The simple-ivi-share cannot get shared buffer without Mesa.

Best regards,

Wataru Mizuno
ADITJ / SWG

+81-(0)566-56-0946

-----Original Message-----
From: genivi-ivi-layer-management [mailto:genivi-ivi-layer-management-bounces at lists.genivi.org] On Behalf Of ???
Sent: Thursday, January 26, 2017 9:14 AM
To: Ucan, Emre (ADITG/SW1); genivi-ivi-layer-management at lists.genivi.org
Subject: RE: help: Segmentation fault during simple-ivi-share testing

Thank you Ucan.

I could compile successfully with your patch and ran it.
But still I don't know how to test it.
Could explain how to test or how to proof it?

I did like below.
1. run Weston-flower sample application(let's say it's id is 10201) 2. Make screen-layer-surface hierarchy with running surface id 10201(id of weston-flower) 3. run "simple-ivi-share 10201"  and check created shared surface id 1000 from surface 10201(using LayerManagerControl surfaces)
   -- I could see two surfaces 10201 and 1000 4. Make screen-layer-surface hierarchy for surface ID 1000 ==> I could not see any image or contents from surface id 1000, It just output black screen.

Also I tried weston-simple-egl application with above flow, but below error message was printed.
Do I have a misunderstanding about simple-ivi-share application?

Specified surface (ID:10229) is invalid
Specified surface (ID:10229) is invalid
Specified surface (ID:10229) is invalid
.....


-----Original Message-----
From: Ucan, Emre (ADITG/SW1) [mailto:eucan at de.adit-jv.com]
Sent: Wednesday, January 25, 2017 10:40 PM
To: 이양우; genivi-ivi-layer-management at lists.genivi.org
Subject: RE: help: Segmentation fault during simple-ivi-share testing

Hi,

I fixed not the compilation error and made a PR for wayland-ivi-extension: https://github.com/GENIVI/wayland-ivi-extension/pull/15

You can try it out.

Best regards

Emre Ucan
Software Group I (ADITG/SW1)

Tel. +49 5121 49 6937

> -----Original Message-----
> From: genivi-ivi-layer-management [mailto:genivi-ivi-layer-management-
> bounces at mailman1.genivi.org] On Behalf Of ???
> Sent: Mittwoch, 25. Januar 2017 06:55
> To: genivi-ivi-layer-management at lists.genivi.org
> Subject: RE: help: Segmentation fault during simple-ivi-share testing
> 
> Hello.
> 
> 
> 
> I debugged it using gdb.
> 
> Result was
> 
> 
> 
> ----------------------------------------------------------------------
> ------
> ----
> 
> Program received signal SIGSEGV, Segmentation fault.
> 
> 0xb6ef2904 in wl_proxy_marshal_constructor ()
> 
>    from /usr/lib/libwayland-client.so.0
> 
> (gdb) bt
> 
> #0  0xb6ef2904 in wl_proxy_marshal_constructor ()
> 
>    from /usr/lib/libwayland-client.so.0
> 
> #1  0x00011adc in ivi_share_get_ivi_share_surface 
> (surface_id=<optimized
> out>,
> 
>     ivi_share=<optimized out>)
> 
>     at
> /usr/src/debug/wayland-ivi-extension/1.10.90-r1/build/protocol/ivi-
> share-client-protocol.h:123
> 
> #2  get_share_surface (display=0xbefff710, window=0xbefff73c)
> 
>     at /usr/src/debug/wayland-ivi-extension/1.10.90-r1/wayland-ivi-
> extension-1.10.90/ivi-layermanagement-examples/simple-ivi-
> share/src/simple-
> ivi-share.c:273
> 
> #3  main (argc=<optimized out>, argv=<optimized out>)
> 
>     at /usr/src/debug/wayland-ivi-extension/1.10.90-r1/wayland-ivi-
> extension-1.10.90/ivi-layermanagement-examples/simple-ivi-
> share/src/simple-
> ivi-share.c:693
> 
> ----------------------------------------------------------------------
> ------
> -----------------------
> 
> 
> 
> So I added missing build configuration “option (IVI_SHARE "Enable 
> ivi_share protocol" ON)”
> 
> 
> 
> But there is still compile problem
> 
> “wayland-ivi-extension-1.10.90/weston-ivi-shell/src/ivi-share.h:25:38:
> fatal error: ivi-controller-interface.h: No such file or directory”
> 
> 
> 
> I couldn’t find “ivi-controller-interface.h” anywhere both
> wayland-ivi- extension and Weston directory.
> 
> 
> 
> 
> 
> From: 이양우 [mailto:YangWoo.lee at hyundai-autron.com]
> Sent: Wednesday, January 25, 2017 1:14 PM
> To: genivi-ivi-layer-management at lists.genivi.org
> Subject: help: Segmentation fault during simple-ivi-share testing
> 
> 
> 
> Hello
> 
> 
> 
> I don’t know, how to test simple-ivi-share application?
> 
> I ran the weston-simple-egl with wayland-ivi-extesnion. and I can get 
> surface ID “17023” through "LayerManagerControl" command
> 
> After then I ran it like "simple-ivi-shell 17023"
> 
> But result was "Segmentation fault"
> 
> Is this the right way? What can I expect after this command?
> 
> I don't know how to test it. Please help me.
> 
> 
> 
> Thank you
> 
> _______________________________________________
> genivi-ivi-layer-management mailing list 
> genivi-ivi-layer-management at mailman1.genivi.org
> http://lists.genivi.org/cgi-bin/mailman/listinfo/genivi-ivi-layer-mana
> gement

_______________________________________________
genivi-ivi-layer-management mailing list genivi-ivi-layer-management at lists.genivi.org
http://lists.genivi.org/mailman/listinfo/genivi-ivi-layer-management


More information about the genivi-ivi-layer-management mailing list