Re: [Ekiga-devel-list] OPAL fqails to build



Le mercredi 18 octobre 2006 à 22:46 +0200, Damien Sandras a écrit :
> > 
> > I can now reproduce it again :
> > Program received signal SIGSEGV, Segmentation fault.
> > [Switching to Thread -1245885520 (LWP 11840)]
> > 0xb75ff2d9 in PThread::PXBlockOnIO ()
> >    from /home/damien/CVS/pwlib/lib/libpt_linux_x86_r.so.1.11.2
> > (gdb) bt
> > #0  0xb75ff2d9 in PThread::PXBlockOnIO ()
> >    from /home/damien/CVS/pwlib/lib/libpt_linux_x86_r.so.1.11.2
> > #1  0xb75f4944 in PChannel::PXSetIOBlock ()
> >    from /home/damien/CVS/pwlib/lib/libpt_linux_x86_r.so.1.11.2
> > #2  0xb75efd9a in PSocket::os_recvfrom ()
> >    from /home/damien/CVS/pwlib/lib/libpt_linux_x86_r.so.1.11.2
> > #3  0xb7607fc9 in PIPDatagramSocket::ReadFrom ()
> >    from /home/damien/CVS/pwlib/lib/libpt_linux_x86_r.so.1.11.2
> > #4  0xb760803a in PUDPSocket::Read ()
> >    from /home/damien/CVS/pwlib/lib/libpt_linux_x86_r.so.1.11.2
> > #5  0xb75f3fc5 in PIndirectChannel::Read ()
> >    from /home/damien/CVS/pwlib/lib/libpt_linux_x86_r.so.1.11.2
> > #6  0xb6e76646 in OpalTransportUDP::Read ()
> >    from /home/damien/CVS/opal/lib/libopal_linux_x86_r.so.2.3
> > #7  0xb75f6155 in PChannelStreamBuffer::underflow ()
> >    from /home/damien/CVS/pwlib/lib/libpt_linux_x86_r.so.1.11.2
> > #8  0xb75f5ea8 in PChannelStreamBuffer::seekoff ()
> >    from /home/damien/CVS/pwlib/lib/libpt_linux_x86_r.so.1.11.2
> > #9  0xb6a8426a in std::basic_streambuf<char, std::char_traits<char>
> > >::pubseekoff () from /usr/lib/libstdc++.so.6
> > #10 0xb71963c0 in SIP_PDU::Read ()
> >    from /home/damien/CVS/opal/lib/libopal_linux_x86_r.so.2.3
> > #11 0xb7174aa1 in SIPEndPoint::HandlePDU ()
> >    from /home/damien/CVS/opal/lib/libopal_linux_x86_r.so.2.3
> > #12 0xb71749b8 in SIPEndPoint::TransportThreadMain ()
> >    from /home/damien/CVS/opal/lib/libopal_linux_x86_r.so.2.3
> > #13 0xb717ec78 in SIPEndPoint::TransportThreadMain_PNotifier::Call ()
> >    from /home/damien/CVS/opal/lib/libopal_linux_x86_r.so.2.3
> > #14 0xb760ef29 in PSimpleThread::Main ()
> >    from /home/damien/CVS/pwlib/lib/libpt_linux_x86_r.so.1.11.2
> > #15 0xb75fd3df in PThread::PX_ThreadStart ()
> >    from /home/damien/CVS/pwlib/lib/libpt_linux_x86_r.so.1.11.2
> > #16 0xb6addced in start_thread () from /lib/tls/libpthread.so.0
> > #17 0xb6961dee in clone () from /lib/tls/libc.so.6
> > 
> > 
> > The fix is to add the check I sent you by e-mail last time, but it is
> > more a workaround than a real fix for the real problem.
> > 
> > The problem is that blockedThread is sometimes set to NULL when
> > calling :
> >   int stat = blockedThread->PXBlockOnIO(os_handle, type, timeout);
> 
> That workaround was working yesterday but not anymore. :-/

Craig, I see you reverted the changes in tlibthrd.cxx. However, even
with that revert, I still get crashes with the same backtrace....

blockedThread is NULL on the line above, causing a SEGFAULT, when I exit
Ekiga.
-- 
 _      Damien Sandras
(o-     
//\     Ekiga Softphone: http://www.ekiga.org/
v_/_    NOVACOM        : http://www.novacom.be/
        FOSDEM         : http://www.fosdem.org/
        SIP Phone      : sip:dsandras ekiga net
                         sip:600000 ekiga net




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]