GNOME Bugzilla – Bug 683662
Segfault in PStringOptions::SetAt(PCaselessString const&, PString const&) () from /usr/lib/libopal.so.3.10.4
Last modified: 2012-09-22 17:18:11 UTC
This is Debian bug report #670405 [1] and is a release critical issue for Debian’s next stable release Wheezy. Alberto Garcia reported that Ekiga crashes during start up and also provided the required traces [2]. 2012/07/09 12:34:21.610 0:26.611 OpalUDP Setting interface to 80.186.104.57%ppp0 2012/07/09 12:34:21.610 0:26.611 SIP Transaction timers set: retry=0.500, completion=6.000 2012/07/09 12:34:21.612 0:26.612 VideoOutputCoreConfBridge Updating video view 2012/07/09 12:34:21.612 0:26.613 VideoOutputCoreConfBridge Updating zoom 2012/07/09 12:34:21.613 0:26.613 VideoOutputCoreConfBridge Updating Video Settings 2012/07/09 12:34:21.614 0:26.614 VideoOutputCoreConfBridge Updating Video Settings 2012/07/09 12:34:21.614 0:26.615 VideoOutputCoreConfBridge Updating Video Settings 2012/07/09 12:34:21.614 0:26.615 VideoOutputCoreConfBridge Updating Video Settings 2012/07/09 12:34:21.614 0:26.615 VidInputCoreConfBridge Updating preview size and fps 2012/07/09 12:34:21.614 0:26.615 VidInputCore Setting new preview config: 640x480/30 2012/07/09 12:34:21.620 0:26.620 VidInputCoreConfBridge Updating preview size and fps 2012/07/09 12:34:21.620 0:26.621 VidInputCore Setting new preview config: 640x480/30 2012/07/09 12:34:21.626 0:26.626 VidInputCoreConfBridge Updating device 2012/07/09 12:34:21.627 0:26.627 VidInputCore Setting device: USB 2.0 Camera (PTLIB/V4L2) 2012/07/09 12:34:21.627 0:26.627 GMVideoInputManager_ptlib Setting Device USB 2.0 Camera (PTLIB/V4L2) 2012/07/09 12:34:21.627 0:26.627 VidInputCoreConfBridge Updating device 2012/07/09 12:34:21.627 0:26.627 VidInputCore Setting device: USB 2.0 Camera (PTLIB/V4L2) 2012/07/09 12:34:21.627 0:26.627 GMVideoInputManager_ptlib Setting Device USB 2.0 Camera (PTLIB/V4L2) 2012/07/09 12:34:21.627 0:26.628 VidInputCoreConfBridge Updating device 2012/07/09 12:34:21.627 0:26.628 VidInputCore Setting device: USB 2.0 Camera (PTLIB/V4L2) 2012/07/09 12:34:21.627 0:26.628 GMVideoInputManager_ptlib Setting Device USB 2.0 Camera (PTLIB/V4L2) 2012/07/09 12:34:21.628 0:26.628 VidInputCoreConfBridge Updating image 2012/07/09 12:34:21.628 0:26.629 VidInputCoreConfBridge Updating preview 2012/07/09 12:34:21.628 0:26.629 VidInputCore Stopping Preview 2012/07/09 12:34:21.629 0:26.629 AudioOutputCoreConfBridge Updating device 2012/07/09 12:34:21.629 0:26.629 AudioOutputCore Setting device[0]: Default (PTLIB/ALSA) 2012/07/09 12:34:21.629 0:26.629 GMAudioOutputManager_ptlib Setting Device[0] Default (PTLIB/ALSA) 2012/07/09 12:34:21.629 0:26.630 AudioOutputCoreConfBridge Updating device 2012/07/09 12:34:21.629 0:26.630 AudioOutputCore Setting device[1]: Default (PTLIB/ALSA) 2012/07/09 12:34:21.635 0:26.635 AudioInputCoreConfBridge Updating device 2012/07/09 12:34:21.635 0:26.635 AudioInputCore Setting device: Default (PTLIB/ALSA) 2012/07/09 12:34:21.635 0:26.635 GMAudioInputManager_ptlib Setting Device Default (PTLIB/ALSA) [Thread 0xef5ceb70 (LWP 11810) exited] 2012/07/09 12:34:21.771 0:26.771 Ekiga version 3.2.7 2012/07/09 12:34:21.771 0:26.771 OPAL version 3.10.4 2012/07/09 12:34:21.771 0:26.771 PTLIB version 2.10.4 2012/07/09 12:34:21.771 0:26.771 GNOME support disabled 2012/07/09 12:34:21.771 0:26.771 Accelerated rendering support enabled 2012/07/09 12:34:21.771 0:26.771 DBUS support enabled 2012/07/09 12:34:21.771 0:26.771 GConf support enabled 2012/07/09 12:34:21.771 0:26.771 ESound support disabled Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xef650b70 (LWP 11808)] 0x081f1abf in PStringOptions::SetAt (this=0x85168f8, key=..., data=...) at /usr/include/ptlib/pstring.h:2857 2857 PBoolean SetAt(const PCaselessString & key, const PString & data) { MakeUnique(); return PStringToString::SetAt(key, data); } (gdb) thread apply all bt
+ Trace 230825
Thread 1 (Thread 0xf48268a0 (LWP 11798))
I am not sure though if this is a bug in Ekiga or libopal. [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=670405 [2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=670405#20
Looking at it again the second trace seems to be in `ptlib/pstring.h`. Here is the backtrace in libopal3.10.4. $ gdb ekiga GNU gdb (GDB) 7.4-debian Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i486-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/bin/ekiga...(no debugging symbols found)...done. (gdb) r Starting program: /usr/bin/ekiga [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1". [New Thread 0xf4494b70 (LWP 468)] [New Thread 0xef91fb70 (LWP 469)] [New Thread 0xef8deb70 (LWP 470)] [New Thread 0xef89db70 (LWP 471)] [New Thread 0xef85cb70 (LWP 472)] ALSA lib conf.c:1220:(parse_def) show is not a compound ALSA lib conf.c:1686:(snd_config_load1) _toplevel_:24:26:Unexpected char ALSA lib conf.c:3406:(config_file_open) /usr/share/alsa/pulse-alsa.conf may be old or corrupted: consider to remove or fix it [New Thread 0xef6ffb70 (LWP 473)] [New Thread 0xef6beb70 (LWP 474)] [New Thread 0xef67db70 (LWP 475)] [New Thread 0xef63cb70 (LWP 476)] [New Thread 0xef5fbb70 (LWP 477)] [New Thread 0xef58ab70 (LWP 478)] osutils.cxx(2275) PTLib Possible deadlock in read/write mutex: thread-id=4016827248 (0xef6beb70), readers=1, writers=0 thread-id=4103559328 (0xf49758a0), readers=0, writers=1 [Thread 0xef5fbb70 (LWP 477) exited] Program received signal SIGSEGV, Segmentation fault.
+ Trace 230826
Thread 4016561008 (LWP 475)
A new release will be updated very soon, ekiga 3.9.90, please try it and tell if the bug is still there (it is very probably fixed).
(In reply to comment #2) > A new release will be updated very soon, ekiga 3.9.90, please try it and tell > if the bug is still there (it is very probably fixed). 1. It would be awesome and easier for users if you could provide a Debian package for testing. (Please note that it will probably be hard to get that into Debian Wheezy. So a bug fix 3.2.8 would be great! 2. Does that include OPAL changes?
New ptlib and opal packages are already in debian experimental, a new ekiga will follow soon. We try to push them to testing, see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=685880, otherwise we need to go back to ptlib 2.6.7 and opal 3.6.7.
This is a debian issue, so closing it here.