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



Le mercredi 18 octobre 2006 à 22:15 +0200, Damien Sandras a écrit :
> Le mercredi 18 octobre 2006 à 12:21 +0200, Damien Sandras a écrit :
> > Le mercredi 18 octobre 2006 à 20:15 +1000, Craig Southeren a écrit :
> > > On Wed, 18 Oct 2006 09:47:02 +0200
> > > Damien Sandras <dsandras seconix com> wrote:
> > > 
> > > > Le mercredi 18 octobre 2006 à 09:53 +1000, Craig Southeren a écrit :
> > > > > On Tue, 17 Oct 2006 18:49:57 +0200
> > > > > Jan Schampera <jan schampera web de> wrote:
> > > > > 
> > > > > > On Tue, 17 Oct 2006 17:03:27 +0200
> > > > > > Damien Sandras <dsandras seconix com> wrote:
> > > > > > 
> > > > > > > > Attached is the error output of an OPAL build. Configure params were
> > > > > > > > --enable-localspeex and --disable-lid.
> > > > > > > > 
> > > > > > > 
> > > > > > > I told Simon. He did an update on opalplugin.h 2 hours ago to fix the
> > > > > > > problem. I have not tested.
> > > > > > 
> > > > > > The most recent commit was done exactly where it fails, but it still
> > > > > > doesn't build (same error) :/
> > > > > > 
> > > > > > I'm OPAL-less now ;)
> > > > > 
> > > > > I've fixed the compile problem - still looking for the crash problem
> > > > 
> > > > 
> > > > The crash problem seems to be fixed.
> > > 
> > > Is this with v1.162 of tlibthrd.cxx ?
> > 
> > Yes, it seems to be fixed.
> > 
> > I am not 100% sure yet, but I couldn't reproduce any crash during my
> > tests.
> 
> 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. :-/
-- 
 _      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]