[Solved]

Sorry, my bad. I forgot to compile lua with dl ;-) Now it works.



-----Original Message-----
From: IVI [mailto:ivi-boun...@lists.tizen.org] On Behalf Of 
robert.fritzs...@daimler.com
Sent: Montag, 16. Juni 2014 13:25
To: ivi@lists.tizen.org
Subject: PulesAudio IVI module // when register funcbridge it quits with a 
segmentation fault

Greetings everyone,

I have a small problem when I am loading the pulse-ivi-module.

Murphy and PulseAudio 5.0 (Tizen branch) are running perfectly fine. But if I 
am trying to load the pulse-ivi-module I get a segmentation fault during the 
registration of the custom type "funcbridge". Please see gdb backtrace below. I 
am using a static compiled (ARM v7 32bit) lua 5.1.5 library.

Can someone please give me a hint about what is going wrong?


D: [pulseaudio] volume-api.c: Added binding target type MainVolumeContext.
D: [pulseaudio] main-volume-policy.c: Created a pa_main_volume_policy object.
[New Thread 0xb1f63460 (LWP 351)]

Program received signal SIGSEGV, Segmentation fault.
0xb20254ac in luaS_newlstr (L=L@entry=0x50b48,
    str=0xb20384ec "LuaBook.funcbridge.userdata", l=27) at lstring.c:82
82      lstring.c: No such file or directory.
(gdb) bt
#0  0xb20254ac in luaS_newlstr (L=L@entry=0x50b48,
    str=0xb20384ec "LuaBook.funcbridge.userdata", l=27) at lstring.c:82
#1  0xb2016f18 in lua_getfield (L=0x50b48, idx=<optimized out>,
    k=<optimized out>) at lapi.c:550
#2  0xb2029b00 in luaL_newmetatable (L=0x50b48,
    tname=0xb20384ec "LuaBook.funcbridge.userdata") at lauxlib.c:113
#3  0xb2010986 in mrp_create_funcbridge_class (L=L@entry=0x50b48)
    at core/lua-utils/funcbridge.c:79
#4  0xb20a6fb0 in pa_scripting_init (u=u@entry=0x47ff0) at scripting.c:485
#5  0xb2088488 in module_murphy_ivi_LTX_pa__init (m=0x3d300)
    at module-murphy-ivi.c:221
#6  0xb6f6a5fc in pa_module_load ()
   from /lib/libpulsecore-5.0.so
#7  0xb6f588d2 in pa_cli_command_load ()
   from /lib/libpulsecore-5.0.so
#8  0xb6f5e966 in pa_cli_command_execute_line_stateful ()
   from /lib/libpulsecore-5.0.so
#9  0xb6f5ebf0 in pa_cli_command_execute_file_stream ()
   from /lib/libpulsecore-5.0.so
#10 0xb6f5ede4 in pa_cli_command_execute_file ()
   from /lib/libpulsecore-5.0.so
#11 0xb6f5e7fe in pa_cli_command_execute_line_stateful ()
   from /lib/libpulsecore-5.0.so
#12 0xb6f5ef82 in pa_cli_command_execute ()
   from /lib/libpulsecore-5.0.so
#13 0x00012f3c in main ()
(gdb)


-- Robert

If you are not the addressee, please inform us immediately that you have 
received this e-mail by mistake, and delete it. We thank you for your support.

_______________________________________________
IVI mailing list
IVI@lists.tizen.org
https://lists.tizen.org/listinfo/ivi

If you are not the addressee, please inform us immediately that you have 
received this e-mail by mistake, and delete it. We thank you for your support.

_______________________________________________
IVI mailing list
IVI@lists.tizen.org
https://lists.tizen.org/listinfo/ivi

Reply via email to