Re: [Opalvoip-user] Segmentation fault in PHashTableInfo::GetElementAt
Brought to you by:
csoutheren,
rjongbloed
|
From: Giovani G. <gio...@gm...> - 2014-04-20 21:22:51
|
This is the backtrace from the segfault: 0:17.344 0x7fffe0006b70 connection.cxx(610) OpalCon OnConnected for Call[C29f5cade1]-EP<ivrp>[If73995932] 0:17.344 0x7fffe0006b70 manager.cxx(965) OpalMan OnConnected Call[C29f5cade1]-EP<ivrp>[If73995932] 0:17.344 0x7fffe0006b70 call.cxx(279) Call OnConnected Call[C29f5cade1]-EP<ivrp>[If73995932] 0:17.344 0x7fffe0006b70 sipcon.cxx(597) SIP SetConnected Call[C29f5cade1]-EP<sip>[98b2fd1b-3fc7-e311-95c1-000000000000] 0:17.345 0x7fffe0006b70 mediafmt.cxx(2015) MediaFormat Removing codecs 0:17.345 0x7fffe0006b70 call.cxx(342) Call GetOtherPartyConnection Call[C29f5cade1]-EP<sip>[98b2fd1b-3fc7-e311-95c1-000000000000] 0:17.345 0x7fffe0006b70 connection.cxx(1121) OpalCon GetMediaTransportAddresses of audio could not find transports for Call[C29f5cade1]-EP<sip>[98b2fd1b-3fc7-e311-95c1-000000000000] on Call[C29f5cade1]-EP<ivrp>[If73995932] 0:17.345 0x7fffe0006b70 osutils.cxx(2611) PTLib Created read/write mutex 0x7fffcc0192c8 0:17.345 0x7fffe0006b70 mediasession.cxx(295) Media Session 1 for audio created. 0:17.345 0x7fffe0006b70 config.cxx(179) PTLib Created PXConfig 0x7fffcc0162d0 Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffea7b3700 (LWP 3825)] 0x00007ffff7cd28f0 in PHashTableInfo::GetElementAt(PObject const&) () from /usr/lib/libpt.so.2.14.0 Missing separate debuginfos, use: debuginfo-install cyrus-sasl-lib-2.1.23-13.el6_3.1.x86_64 dbus-libs-1.2.24-7.el6_3.x86_64 expat-2.0.1-11.el6_2.x86_64 flac-1.2.1-6.1.el6.x86_64 glibc-2.12-1.132.el6.x86_64 gsm-1.0.13-4.el6.x86_64 libICE-1.0.6-1.el6.x86_64 libSM-1.2.1-2.el6.x86_64 libX11-1.5.0-4.el6.x86_64 libXau-1.0.6-4.el6.x86_64 libXext-1.3.1-2.el6.x86_64 libXi-1.6.1-3.el6.x86_64 libXtst-1.2.1-2.el6.x86_64 libasyncns-0.8-1.1.el6.x86_64 libgcc-4.4.7-4.el6.x86_64 libogg-1.1.4-2.1.el6.x86_64 libsndfile-1.0.20-5.el6.x86_64 libsrtp-1.4.4-4.20101004cvs.el6.x86_64 libstdc++-4.4.7-4.el6.x86_64 libtheora-1.1.0-2.el6.x86_64 libuuid-2.17.2-12.14.el6.x86_64 libvorbis-1.2.3-4.el6_2.1.x86_64 libxcb-1.8.1-1.el6.x86_64 ncurses-libs-5.7-3.20090208.el6.x86_64 nspr-4.10.2-1.el6_5.x86_64 nss-3.15.3-6.el6_5.x86_64 nss-softokn-freebl-3.14.3-9.el6.x86_64 nss-util-3.15.3-1.el6_5.x86_64 openldap-2.4.23-34.el6_5.1.x86_64 pulseaudio-libs-0.9.21-14.el6_3.x86_64 speex-1.2-0.12.rc1.1.el6.x86_64 tcp_wrappers-libs-7.6-57.el6.x86_64 zlib-1.2.3-29.el6.x86_64 (gdb) backtrace #0 0x00007ffff7cd28f0 in PHashTableInfo::GetElementAt(PObject const&) () from /usr/lib/libpt.so.2.14.0 #1 0x00007ffff7c609c4 in PConfig::GetString(PString const&, PString const&, PString const&) const () from /usr/lib/libpt.so.2.14.0 #2 0x00007ffff7c5d1bc in PConfig::GetInteger(PString const&, PString const&, long) const () from /usr/lib/libpt.so.2.14.0 #3 0x00007ffff74e63ba in OpalRTPSession::OpalRTPSession(OpalMediaSession::Init const&) () from /usr/lib/libopal.so.3.14.0 #4 0x00007ffff74f1649 in PParamFactory<OpalMediaSession, OpalMediaSession::Init const&, PCaselessString>::Worker<OpalRTPSession>::Create(OpalMediaSession::Init const&) const () from /usr/lib/libopal.so.3.14.0 #5 0x00007ffff750242f in OpalRTPConnection::CreateMediaSession(unsigned int, OpalMediaType const&, PString const&) () from /usr/lib/libopal.so.3.14.0 #6 0x00007ffff750590a in OpalRTPConnection::UseMediaSession(unsigned int, OpalMediaType const&, PString const&) () from /usr/lib/libopal.so.3.14.0 #7 0x00007ffff756ba8c in SIPConnection::SetUpMediaSession(unsigned int, OpalMediaType const&, SDPMediaDescription const&, OpalTransportAddress&, bool&) () from /usr/lib/libopal.so.3.14.0 #8 0x00007ffff756a47a in SIPConnection::OnSendAnswerSDPSession(SDPMediaDescription*, unsigned int, SDPCommonAttributes::Direction) () from /usr/lib/libopal.so.3.14.0 #9 0x00007ffff75651a8 in SIPConnection::OnSendAnswerSDP(SDPSessionDescription const&, SDPSessionDescription&) () from /usr/lib/libopal.so.3.14.0 #10 0x00007ffff7569317 in SIPConnection::SendInviteOK() () from /usr/lib/libopal.so.3.14.0 #11 0x00007ffff756216d in SIPConnection::SetConnected() () from /usr/lib/libopal.so.3.14.0 #12 0x00007ffff74a33cd in OpalCall::OnConnected(OpalConnection&) () from /usr/lib/libopal.so.3.14.0 #13 0x00007ffff7477ac6 in OpalManager::OnConnected(OpalConnection&) () from /usr/lib/libopal.so.3.14.0 #14 0x00007ffff7493176 in OpalConnection::OnConnectedInternal() () from /usr/lib/libopal.so.3.14.0 #15 0x00007ffff7496579 in OpalConnection::AnsweringCall(OpalConnection::AnswerCallResponse) () from /usr/lib/libopal.so.3.14.0 #16 0x00007ffff756edaf in SIPConnection::OnReceivedINVITE(SIP_PDU&) () from /usr/lib/libopal.so.3.14.0 #17 0x00007ffff755c4a7 in SIPConnection::OnReceivedPDU(SIP_PDU&) () from /usr/lib/libopal.so.3.14.0 #18 0x00007ffff7548154 in SIP_PDU_Work::Work() () from /usr/lib/libopal.so.3.14.0 #19 0x00007ffff75571ba in PQueuedThreadPool<SIPWorkItem>::QueuedWorkerThread::Main() () from /usr/lib/libopal.so.3.14.0 #20 0x00007ffff7c82072 in PThread::PX_ThreadMain(void*) () from /usr/lib/libpt.so.2.14.0 #21 0x00000038c48079d1 in start_thread () from /lib64/libpthread.so.0 #22 0x00000038c44e8b6d in clone () from /lib64/libc.so. On Sat, Apr 19, 2014 at 12:49 PM, Giovani Gracioli <gio...@gm...>wrote: > Hi Guys, > > I have a SIP program that waits for an upcoming call. When I make the call > (from another sip number), I got a segmentation fault in the PTLIB's > PHashTableInfo::GetElementAt(PObject const&) method (see the log below). > > The OPAL version am using is 2.14.0 and the PTLIB version is 2.14.0. Can > someone help me to find out why the segfault is happening? > > Thanks, > Giovani > > 0:13.811 0x7fffe0006b70 connection.cxx(1121) OpalCon > GetMediaTransportAddresses of audio could not find transports for > Call[C74899d751]-EP<sip>[b8dbfa2e-46c6-e311-87e9-000000000000] on > Call[C74899d751]-EP<ivrp>[I36f63b7d2] > 0:13.811 0x7fffe0006b70 osutils.cxx(2611) PTLib > Created read/write mutex 0x7fffcc019b08 > 0:13.811 0x7fffe0006b70 mediasession.cxx(295) Media > Session 1 for audio created. > 0:13.811 0x7fffe0006b70 config.cxx(179) PTLib > Created PXConfig 0x7fffcc016b10 > > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread 0x7fffea7b3700 (LWP 4456)] > 0x00007ffff7cd28f0 in PHashTableInfo::GetElementAt(PObject const&) () from > /usr/lib/libpt.so.2.14.0 > Missing separate debuginfos, use: debuginfo-install > cyrus-sasl-lib-2.1.23-13.el6_3.1.x86_64 dbus-libs-1.2.24-7.el6_3.x86_64 > expat-2.0.1-11.el6_2.x86_64 flac-1.2.1-6.1.el6.x86_64 > glibc-2.12-1.132.el6.x86_64 gsm-1.0.13-4.el6.x86_64 > libICE-1.0.6-1.el6.x86_64 libSM-1.2.1-2.el6.x86_64 > libX11-1.5.0-4.el6.x86_64 libXau-1.0.6-4.el6.x86_64 > libXext-1.3.1-2.el6.x86_64 libXi-1.6.1-3.el6.x86_64 > libXtst-1.2.1-2.el6.x86_64 libasyncns-0.8-1.1.el6.x86_64 > libgcc-4.4.7-4.el6.x86_64 libogg-1.1.4-2.1.el6.x86_64 > libsndfile-1.0.20-5.el6.x86_64 libsrtp-1.4.4-4.20101004cvs.el6.x86_64 > libstdc++-4.4.7-4.el6.x86_64 libtheora-1.1.0-2.el6.x86_64 > libuuid-2.17.2-12.14.el6.x86_64 libvorbis-1.2.3-4.el6_2.1.x86_64 > libxcb-1.8.1-1.el6.x86_64 ncurses-libs-5.7-3.20090208.el6.x86_64 > nspr-4.10.2-1.el6_5.x86_64 nss-3.15.3-6.el6_5.x86_64 > nss-softokn-freebl-3.14.3-9.el6.x86_64 nss-util-3.15.3-1.el6_5.x86_64 > openldap-2.4.23-34.el6_5.1.x86_64 pulseaudio-libs-0.9.21-14.el6_3.x86_64 > speex-1.2-0.12.rc1.1.el6.x86_64 tcp_wrappers-libs-7.6-57.el6.x86_64 > zlib-1.2.3-29.el6.x86_64 > |