help: Segmentation fault during simple-ivi-share testing

이양우 YangWoo.lee at hyundai-autron.com
Wed Jan 25 00:48:35 EST 2017


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




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