Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 285256 - >=net-libs/ptlib-2.6.4 makes >=net-voip/ekiga-3.2.5 segfault at launch in some case
Summary: >=net-libs/ptlib-2.6.4 makes >=net-voip/ekiga-3.2.5 segfault at launch in som...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Mounir Lamouri (volkmar) (RETIRED)
URL: https://bugzilla.gnome.org/show_bug.c...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-16 21:58 UTC by Raphaël Droz
Modified: 2010-03-12 06:07 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
gdb backtrace (backtrace.log,13.35 KB, text/plain)
2009-09-16 21:59 UTC, Raphaël Droz
Details
emerge --info (emerge.info,4.80 KB, text/plain)
2009-09-18 10:57 UTC, Raphaël Droz
Details
gdb backtrace (backtrace-3.2.6.log,7.72 KB, text/plain)
2009-09-29 14:58 UTC, Raphaël Droz
Details
emerge --info (emerge-3.2.6.info,4.80 KB, text/plain)
2009-09-29 14:58 UTC, Raphaël Droz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Raphaël Droz 2009-09-16 21:58:20 UTC
I tried ekiga 3.2.5 but it segfaults at launch.
I didn't have this problem when I tested the 3.2.0 (at the time of #238554)
My use flags didn't change :

[I] net-libs/opal
     Available versions:  2.2.11 (~)3.6.1[1] (~)3.6.4 (~)3.6.4-r1 {audio capi celt debug dns doc dtmf elibc_FreeBSD examples fax ffmpeg g711plc h224 h281 h323 iax ipv6 ivr ixj java ldap lid noaudio novideo plugins rfc4103 rfc4175 sbc sip sipim srtp ssl stats swig theora video vpb vxml wav x264 x264-static xml}
     Installed versions:  3.6.4-r1(20:07:16 13/09/2009)(audio debug ffmpeg h323 plugins sip stats theora video wav x264 -capi -celt -doc -dtmf -elibc_FreeBSD -examples -fax -h224 -h281 -iax -ipv6 -ivr -ixj -java -ldap -lid -sbc -sipim -srtp -ssl -swig -vpb -vxml -x264-static -xml)
     Homepage:            http://www.opalvoip.org/
     Description:         C++ class library normalising numerous telephony protocols

[I] net-libs/ptlib
     Available versions:  (~)2.6.1[1] (~)2.6.4-r1 {alsa asn audio config-file debug dns doc dtmf esd examples ffmpeg ftp http http-forms http-server ieee1394 ipv6 jabber ldap mail odbc oss pch pipechan qos remote sasl sdl serial shmvideo snmp soap socks ssl stun telnet tts url v4l v4l2 video vxml wav xml xmlrpc}
     Installed versions:  2.6.4-r1(19:37:07 13/09/2009)(alsa asn audio debug ffmpeg sdl stun video wav -doc -dtmf -esd -examples -ftp -http -ieee1394 -ipv6 -jabber -ldap -mail -odbc -oss -pch -qos -remote -sasl -serial -shmvideo -snmp -soap -socks -ssl -telnet -tts -v4l -v4l2 -vxml -xml -xmlrpc)
     Homepage:            http://www.opalvoip.org/
     Description:         Network focused portable C++ class library providing high level functions

[I] net-voip/ekiga
     Available versions:  2.0.12 (~)3.2.5-r2 {aqua avahi dbus debug doc eds gconf gnome gstreamer h323 kde kontact ldap libnotify mmx nls sdl shm static v4l xcap xv}
     Installed versions:  3.2.5-r2(21:26:10 15/09/2009)(debug h323 mmx nls shm -aqua -avahi -dbus -doc -eds -gconf -gnome -gstreamer -kde -kontact -ldap -libnotify -static -v4l -xcap -xv)
     Homepage:            http://www.ekiga.org/
     Description:         H.323 and SIP VoIP softphone

[1] "voip" /usr/local/portage/layman/voip

A backtrace of gdb follows, the problem seems located in PAbstractArray::DestroyContents of net-libs/ptlib.
Notice the use of the debug use-flag which was already the cause of some specific bugs in the past.

I don't know which use-flag could cause the problem.

Reproducible: Always
Comment 1 Raphaël Droz 2009-09-16 21:59:45 UTC
Created attachment 204373 [details]
gdb backtrace
Comment 2 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-09-17 21:19:03 UTC
May you copy your emerge --info ?
In addition, is it working without the debug flag ?
Comment 3 Raphaël Droz 2009-09-18 10:56:41 UTC
Without the debug useflag, it works.
Comment 4 Raphaël Droz 2009-09-18 10:57:26 UTC
Created attachment 204510 [details]
emerge --info
Comment 5 Raphaël Droz 2009-09-24 12:28:45 UTC
Does this bug have been reproduced / reported upstream (url ?)
Comment 6 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-09-26 12:26:04 UTC
I was able to reproduce the bug but before reporting upstream I prefer to check with the latest ekiga/opal/ptlib.
Comment 7 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-09-28 22:33:32 UTC
I wasn't able to reproduce it with newer versions, may you check Raphael ?
Comment 8 Raphaël Droz 2009-09-29 14:57:55 UTC
Still segfault (but apparently another one)
emerge --info and backtrace attached
Comment 9 Raphaël Droz 2009-09-29 14:58:21 UTC
Created attachment 205591 [details]
gdb backtrace
Comment 10 Raphaël Droz 2009-09-29 14:58:31 UTC
Created attachment 205593 [details]
emerge --info
Comment 11 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-09-29 17:00:54 UTC
Bug has been reported upstream [1].
I've added you in CC, Raphaël. Hope I've did right.

[1] https://bugzilla.gnome.org/show_bug.cgi?id=596761
Comment 12 Raphaël Droz 2009-10-02 11:41:56 UTC
Reported to the ptlib dev's :
https://sourceforge.net/tracker/?func=detail&aid=2871802&group_id=204472&atid=989748
Comment 13 Peter Volkov (RETIRED) gentoo-dev 2010-02-18 19:12:04 UTC
And upstream bug was closed... Please, try with the most recent opal/ptlib (just bumped in the tree) and if the problem still reproducible, using our backtraces guide[1] build opal, ptlib and ekiga with debugging symbols and try to gather better backtrace. Currently backtrace is incomplete. BTW, basically for backtrace you need to add -ggdb into CFLAGS and splitdebug into FEATURES. Also drop -fomit-frame-pointer from CFLAGS as on amd64 it makes little sense to have it there.

[1] http://www.gentoo.org/proj/en/qa/backtraces.xml
Comment 14 Raphaël Droz 2010-03-09 22:01:04 UTC
(In reply to comment #13)
> And upstream bug was closed... Please, try with the most recent opal/ptlib
> (just bumped in the tree) 
I won't be able to reproduce until weeks, maybe months.
If nobody else is affected, just close this bug and I'll post
my comments the next time I reach my gentoo.
Comment 15 Peter Volkov (RETIRED) gentoo-dev 2010-03-12 06:07:34 UTC
Resolving as NEEDINFO per comment #14.