Hi List,
I'm building linphone for the OpenMoko (armv4t) using the OpenMoko
toolchain= .
Afer compiling linphone (took me a while to figure out, but now it is =20
very easy :-) I created ipk-Packages to put on my Freerunner, which =20
works.
Launching linphone works, as well, I get a nice message about IPv6 and =20
adjusting my settings in the preferences. Great :-)
But if I open the preferences linphone segfaults.
I created builds with ./configure --enable-debug [...] and used gdb.
I do:
address@hidden:/usr/lib# DISPLAY=3D:0 gdb linphone
GNU gdb 6.6
[...]
This GDB was configured as "arm-angstrom-linux-gnueabi"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run
Starting program: /usr/bin/linphone
[Thread debugging using libthread_db enabled]
[New Thread 1086555840 (LWP 2193)]
[New Thread 1101640848 (LWP 2196)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1086555840 (LWP 2193)]
ms_snd_card_get_string_id (obj=3D0x0) at mssndcard.c:114
114=09mssndcard.c: No such file or directory.
=09in mssndcard.c
(gdb) backtrace
#0 ms_snd_card_get_string_id (obj=3D0x0) at mssndcard.c:114
#1 0x406a0c14 in linphone_core_get_playback_device () from =20
/usr/lib/liblinphone.so.2
#2 0x0001dff0 in sound_section_fill ()
#3 0x0001f6e4 in linphone_property_box_fill ()
#4 0x0001d0ec in on_parametres1_activate ()
#5 0x4059b374 in g_cclosure_marshal_VOID__VOID () from =20
/usr/lib/libgobject-2.0.so.0
#6 0x40592f2c in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#7 0x4059cfd0 in ?? () from /usr/lib/libgobject-2.0.so.0
Cannot access memory at address 0x65
(gdb)
linphone also segfaults if I try to exit:
(gdb) run
Starting program: /usr/bin/linphone
[Thread debugging using libthread_db enabled]
[New Thread 1086555840 (LWP 2203)]
[New Thread 1101640848 (LWP 2206)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1086555840 (LWP 2203)]
ms_snd_card_get_string_id (obj=3D0x0) at mssndcard.c:114
114=09mssndcard.c: No such file or directory.
=09in mssndcard.c
(gdb) backtrace
#0 ms_snd_card_get_string_id (obj=3D0x0) at mssndcard.c:114
#1 0x406a0b08 in sound_config_uninit () from /usr/lib/liblinphone.so.2
#2 0x406a0e4c in linphone_core_uninit () from /usr/lib/liblinphone.so.2
#3 0x0001048c in linphone_gnome_uninit ()
#4 0x0000f6b4 in main ()
(gdb)
I put my ./configure settings online: =20
http://wiki.openmoko.org/wiki/User:Archimedes
For the debugs builds I only added --enable-debug for all packages.
I use speex-1.2rc1, linphone-2.1.1, libexosip2-3.1.0 and =20
libosip2-3.1.0 (all compiled by me using the OpenMoko toolchain).
Any ideas? Or is it a problem at OpenMoko?
Cheers Sebastian