After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 683662 - Segfault in PStringOptions::SetAt(PCaselessString const&, PString const&) () from /usr/lib/libopal.so.3.10.4
Segfault in PStringOptions::SetAt(PCaselessString const&, PString const&) () ...
Status: RESOLVED NOTGNOME
Product: ekiga
Classification: Applications
Component: general
3.2.x
Other Linux
: Normal major
: ---
Assigned To: Ekiga maintainers
Ekiga maintainers
Depends on:
Blocks:
 
 
Reported: 2012-09-09 11:59 UTC by Paul Menzel
Modified: 2012-09-22 17:18 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Paul Menzel 2012-09-09 11:59:43 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

Thread 1 (Thread 0xf48268a0 (LWP 11798))

  • #0 ??
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #1 g_hash_table_lookup
    from /lib/i386-linux-gnu/libglib-2.0.so.0
  • #2 g_param_spec_pool_lookup
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #3 gtk_widget_style_get_valist
    from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
  • #4 gtk_widget_style_get
    from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
  • #5 ??
    from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
  • #6 g_cclosure_marshal_VOID__BOXEDv
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #7 ??
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #8 ??
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #9 g_signal_emit_valist
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #10 g_signal_emit
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #11 gtk_widget_size_allocate
    from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
  • #12 ??
    from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
  • #13 g_cclosure_marshal_VOID__BOXEDv
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #14 ??
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #15 ??
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #16 g_signal_emit_valist
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #17 g_signal_emit
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #18 gtk_widget_size_allocate
    from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
  • #19 ??
    from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
  • #20 g_cclosure_marshal_VOID__BOXEDv
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #21 ??
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #22 ??
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #23 g_signal_emit_valist
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #24 g_signal_emit
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #25 gtk_widget_size_allocate
    from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
  • #26 ??
    from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
  • #27 g_cclosure_marshal_VOID__BOXEDv
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #28 ??
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #29 ??
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #30 g_signal_emit_valist
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #31 g_signal_emit
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #32 gtk_widget_size_allocate
    from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
  • #33 ??
    from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
  • #34 g_cclosure_marshal_VOID__BOXEDv
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #35 ??
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #36 ??
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #37 g_signal_emit_valist
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #38 g_signal_emit
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #39 gtk_widget_size_allocate
    from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
  • #40 ??
    from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
  • #41 g_cclosure_marshal_VOID__BOXEDv
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #42 ??
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #43 ??
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #44 g_signal_emit_valist
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #45 g_signal_emit
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #46 gtk_widget_size_allocate
    from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
  • #47 ??
    from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
  • #48 g_cclosure_marshal_VOID__BOXEDv
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #49 ??
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #50 ??
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #51 g_signal_emit_valist
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #52 g_signal_emit
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #53 gtk_widget_size_allocate
    from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
  • #54 ??
    from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
  • #55 g_cclosure_marshal_VOID__VOID
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #56 ??
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #57 g_closure_invoke
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #58 ??
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #59 g_signal_emit_valist
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #60 g_signal_emit
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #61 gtk_widget_show
    from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
  • #62 main
    at gui/main.cpp line 4565

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
Comment 1 Paul Menzel 2012-09-09 12:04:20 UTC
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.

Thread 4016561008 (LWP 475)

  • #0 PStringOptions::SetAt(PCaselessString const&, PString const&)
    from /usr/lib/libopal.so.3.10.4
  • #1 PStringOptions::SetAt(char const*, PString const&)
    from /usr/lib/libopal.so.3.10.4
  • #2 SIPMIMEInfo::SetContact(PString const&)
    from /usr/lib/libopal.so.3.10.4
  • #3 SIPEndPoint::AdjustToRegistration(SIP_PDU&, OpalTransport const&, SIPConnection const*)
    from /usr/lib/libopal.so.3.10.4
  • #4 SIP_PDU::SendResponse(OpalTransport&, SIP_PDU&, SIPEndPoint*) const
    from /usr/lib/libopal.so.3.10.4
  • #5 SIPResponse::Send(OpalTransport&, SIP_PDU const&)
    from /usr/lib/libopal.so.3.10.4
  • #6 SIPEndPoint::OnReceivedOPTIONS(OpalTransport&, SIP_PDU&)
    from /usr/lib/libopal.so.3.10.4
  • #7 SIPEndPoint::OnReceivedConnectionlessPDU(OpalTransport&, SIP_PDU*)
    from /usr/lib/libopal.so.3.10.4
  • #8 SIPEndPoint::OnReceivedPDU(OpalTransport&, SIP_PDU*)
    from /usr/lib/libopal.so.3.10.4
  • #9 SIPEndPoint::HandlePDU(OpalTransport&)
    from /usr/lib/libopal.so.3.10.4
  • #10 SIPEndPoint::NewIncomingConnection(OpalTransport*)
    from /usr/lib/libopal.so.3.10.4
  • #11 OpalEndPoint::ListenerCallback(PThread&, int)
    from /usr/lib/libopal.so.3.10.4
  • #12 OpalEndPoint::ListenerCallback_PNotifier::Call(PObject&, int) const
    from /usr/lib/libopal.so.3.10.4
  • #13 PNotifierTemplate<int>::operator()(PObject&, int) const
  • #14 OpalListener::ListenForConnections(PThread&, int)
    from /usr/lib/libopal.so.3.10.4
  • #15 OpalListener::ListenForConnections_PNotifier::Call(PObject&, int) const
    from /usr/lib/libopal.so.3.10.4
  • #16 PNotifierTemplate<int>::operator()(PObject&, int) const
  • #17 PSimpleThread::Main()
    from /usr/lib/libpt.so.2.10.4
  • #18 PThread::PX_ThreadStart(void*)
    from /usr/lib/libpt.so.2.10.4
  • #19 start_thread
    at pthread_create.c line 304
  • #20 clone
    at ../sysdeps/unix/sysv/linux/i386/clone.S line 130

Comment 2 Eugen Dedu 2012-09-12 20:46:11 UTC
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).
Comment 3 Paul Menzel 2012-09-12 21:28:58 UTC
(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?
Comment 4 Eugen Dedu 2012-09-13 07:25:07 UTC
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.
Comment 5 Eugen Dedu 2012-09-22 17:18:11 UTC
This is a debian issue, so closing it here.