help: Segmentation fault during simple-ivi-share testing

Ucan, Emre (ADITG/SW1) eucan at de.adit-jv.com
Wed Jan 25 08:40:03 EST 2017


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-management


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