Re: [Ekiga-devel-list] Crashes on exit



Julien Puydt a écrit :

now that the ptlib+opal+ekiga trio can be compiled again, I wanted to check for leaks ; I could barely get something since I kept hitting a failed assertion in ptlib : assert.cxx(108) PWLib Assertion fail: Function pthread_mutex_lock failed, file ptlib/unix/tlibthrd.cxx, line 1432 Assertion fail: Function pthread_mutex_lock failed, file ptlib/unix/tlibthrd.cxx, line 1432

am I the only one seeing those?

Sigh... I got a segfault on exit -- that wasn't what I was looking for, but could still be interesting :
gdb) thread apply all bt

Thread 16 (Thread 0xb4affb90 (LWP 18263)):
#0  0xb7fe1424 in __kernel_vsyscall ()
#1  0xb675dfe1 in select () from /lib/i686/cmov/libc.so.6
#2  0xb7760a59 in PThread::PXBlockOnIO(int, int, PTimeInterval const&) ()
   from /usr/lib/libpt.so.2.7-beta1
#3 0xb7757542 in PChannel::PXSetIOBlock(PChannel::PXBlockType, PTimeInterval const&) () from /usr/lib/libpt.so.2.7-beta1
#4  0xb77549e6 in PSocket::os_accept(PSocket&, sockaddr*, int*) ()
   from /usr/lib/libpt.so.2.7-beta1
#5  0xb7779848 in PTCPSocket::Accept(PSocket&) ()
   from /usr/lib/libpt.so.2.7-beta1
#6  0xb7b86e13 in OpalListenerTCP::Accept(PTimeInterval const&) ()
   from /usr/lib/libopal.so.3.7-beta1
#7  0xb7b8707b in OpalListener::ListenForConnections(PThread&, int) ()
   from /usr/lib/libopal.so.3.7-beta1
#8 0xb7b8765c in OpalListener::ListenForConnections_PNotifier::Call(PObject&, int) const () from /usr/lib/libopal.so.3.7-beta1
#9  0x08270ee7 in PNotifierTemplate<int>::operator()(PObject&, int) const ()
#10 0xb7787e3a in PSimpleThread::Main() () from /usr/lib/libpt.so.2.7-beta1
#11 0xb7763867 in PThread::PX_ThreadStart(void*) ()
   from /usr/lib/libpt.so.2.7-beta1
#12 0xb6a3d4b5 in start_thread () from /lib/i686/cmov/libpthread.so.0
#13 0xb6765a5e in clone () from /lib/i686/cmov/libc.so.6

Thread 15 (Thread 0xb4c75b90 (LWP 18262)):
#0  0xb7fe1424 in __kernel_vsyscall ()
#1  0xb675dfe1 in select () from /lib/i686/cmov/libc.so.6
#2 0xb77547a8 in PSocket::Select(PSocket::SelectList&, PSocket::SelectList&, PSocket::SelectList&, PTimeInterval const&) () from /usr/lib/libpt.so.2.7-beta1 #3 0xb777b76d in PSocket::Select(PSocket::SelectList&, PTimeInterval const&)
    () from /usr/lib/libpt.so.2.7-beta1
#4 0xb7782c50 in PMonitoredSockets::ReadFromSocket(PSocket::SelectList&, PUDPSocket*&, void*, int, PIPSocket::Address&, unsigned short&, int&, PTimeInterval const&) () from /usr/lib/libpt.so.2.7-beta1 #5 0xb77831de in PMonitoredSocketBundle::ReadFromBundle(void*, int, PIPSocket::Address&, unsigned short&, PString&, int&, PTimeInterval const&) ()
   from /usr/lib/libpt.so.2.7-beta1
#6  0xb7b83e63 in OpalListenerUDP::Accept(PTimeInterval const&) ()
   from /usr/lib/libopal.so.3.7-beta1
#7  0xb7b8707b in OpalListener::ListenForConnections(PThread&, int) ()
   from /usr/lib/libopal.so.3.7-beta1
#8 0xb7b8765c in OpalListener::ListenForConnections_PNotifier::Call(PObject&, int) const () from /usr/lib/libopal.so.3.7-beta1
#9  0x08270ee7 in PNotifierTemplate<int>::operator()(PObject&, int) const ()
#10 0xb7787e3a in PSimpleThread::Main() () from /usr/lib/libpt.so.2.7-beta1
#11 0xb7763867 in PThread::PX_ThreadStart(void*) ()
   from /usr/lib/libpt.so.2.7-beta1
#12 0xb6a3d4b5 in start_thread () from /lib/i686/cmov/libpthread.so.0
#13 0xb6765a5e in clone () from /lib/i686/cmov/libc.so.6

Thread 13 (Thread 0xb3d09b90 (LWP 18258)):
#0  0xb7fe1424 in __kernel_vsyscall ()
#1  0xb675b467 in poll () from /lib/i686/cmov/libc.so.6
#2  0xb6983c8b in IA__g_poll (fds=0x871b1e8, nfds=9, timeout=-1)
at /build/buildd-glib2.0_2.20.5-1-i386-mDnYKw/glib2.0-2.20.5/glib/gpoll.c:127 #3 0xb69768e5 in g_main_context_poll (context=0x887c380, block=1, dispatch=1,
    self=0x83ea608)
at /build/buildd-glib2.0_2.20.5-1-i386-mDnYKw/glib2.0-2.20.5/glib/gmain.c:2768
#4  g_main_context_iterate (context=0x887c380, block=1, dispatch=1,
    self=0x83ea608)
at /build/buildd-glib2.0_2.20.5-1-i386-mDnYKw/glib2.0-2.20.5/glib/gmain.c:2450
#5  0xb6976eda in IA__g_main_loop_run (loop=0x83e79f0)
at /build/buildd-glib2.0_2.20.5-1-i386-mDnYKw/glib2.0-2.20.5/glib/gmain.c:2663
#6  0xb6540ea0 in ?? () from /usr/lib/libORBit-2.so.0
#7  0xb699d6bf in g_thread_create_proxy (data=0x83ea608)
at /build/buildd-glib2.0_2.20.5-1-i386-mDnYKw/glib2.0-2.20.5/glib/gthread.c:635
#8  0xb6a3d4b5 in start_thread () from /lib/i686/cmov/libpthread.so.0
#9  0xb6765a5e in clone () from /lib/i686/cmov/libc.so.6

Thread 12 (Thread 0xb450ab90 (LWP 18256)):
#0  0xb7fe1424 in __kernel_vsyscall ()
#1  0xb675b467 in poll () from /lib/i686/cmov/libc.so.6
#2  0xb6983c8b in IA__g_poll (fds=0x887bda0, nfds=1, timeout=-1)
at /build/buildd-glib2.0_2.20.5-1-i386-mDnYKw/glib2.0-2.20.5/glib/gpoll.c:127 #3 0xb69768e5 in g_main_context_poll (context=0x8879268, block=1, dispatch=1,
    self=0x8879ac0)
at /build/buildd-glib2.0_2.20.5-1-i386-mDnYKw/glib2.0-2.20.5/glib/gmain.c:2768
#4  g_main_context_iterate (context=0x8879268, block=1, dispatch=1,
    self=0x8879ac0)
at /build/buildd-glib2.0_2.20.5-1-i386-mDnYKw/glib2.0-2.20.5/glib/gmain.c:2450
#5  0xb6976eda in IA__g_main_loop_run (loop=0x887bd90)
at /build/buildd-glib2.0_2.20.5-1-i386-mDnYKw/glib2.0-2.20.5/glib/gmain.c:2663
#6  0xb49562a2 in ?? () from /usr/lib/libebook-1.2.so.9
#7  0xb699d6bf in g_thread_create_proxy (data=0x8879ac0)
at /build/buildd-glib2.0_2.20.5-1-i386-mDnYKw/glib2.0-2.20.5/glib/gthread.c:635
#8  0xb6a3d4b5 in start_thread () from /lib/i686/cmov/libpthread.so.0
#9  0xb6765a5e in clone () from /lib/i686/cmov/libc.so.6

Thread 11 (Thread 0xb4abeb90 (LWP 18255)):
#0  0xb7fe1424 in __kernel_vsyscall ()
#1  0xb6a40f65 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/i686/cmov/libpthread.so.0
#2  0xb775f2d3 in PSyncPoint::Wait() () from /usr/lib/libpt.so.2.7-beta1
#3  0xb7e2ab60 in SIPEndPoint::SIP_Work_Thread::Main() ()
   from /usr/lib/libopal.so.3.7-beta1
#4  0xb7763867 in PThread::PX_ThreadStart(void*) ()
   from /usr/lib/libpt.so.2.7-beta1
#5  0xb6a3d4b5 in start_thread () from /lib/i686/cmov/libpthread.so.0
#6  0xb6765a5e in clone () from /lib/i686/cmov/libc.so.6

Thread 7 (Thread 0xb4cb6b90 (LWP 18251)):
#0  0xb7788c30 in PTimerList::ProcessTimerQueue() ()
   from /usr/lib/libpt.so.2.7-beta1
#1  0xb778d22e in PTimerList::Process() () from /usr/lib/libpt.so.2.7-beta1
#2  0xb7761f15 in PHouseKeepingThread::Main() ()
   from /usr/lib/libpt.so.2.7-beta1
#3  0xb7763867 in PThread::PX_ThreadStart(void*) ()
   from /usr/lib/libpt.so.2.7-beta1
#4  0xb6a3d4b5 in start_thread () from /lib/i686/cmov/libpthread.so.0
#5  0xb6765a5e in clone () from /lib/i686/cmov/libc.so.6

Thread 6 (Thread 0xb4cf8b90 (LWP 18250)):
#0  0xb7fe1424 in __kernel_vsyscall ()
#1  0xb675dfe1 in select () from /lib/i686/cmov/libc.so.6
#2  0xb7756598 in WaitForNetLinkEvent::ReadEvent(PTimeInterval const&) ()
   from /usr/lib/libpt.so.2.7-beta1
#3 0xb775395d in PIPSocket::WaitForRouteTableChange(PTimeInterval const&, PSyncPoint*) () from /usr/lib/libpt.so.2.7-beta1
#4  0xb7780f71 in PInterfaceMonitor::UpdateThreadMain() ()
   from /usr/lib/libpt.so.2.7-beta1
#5  0xb7783e5c in PThreadObj<PInterfaceMonitor>::Main() ()
   from /usr/lib/libpt.so.2.7-beta1
#6  0xb7763867 in PThread::PX_ThreadStart(void*) ()
   from /usr/lib/libpt.so.2.7-beta1
#7  0xb6a3d4b5 in start_thread () from /lib/i686/cmov/libpthread.so.0
#8  0xb6765a5e in clone () from /lib/i686/cmov/libc.so.6

Thread 5 (Thread 0xb4d39b90 (LWP 18249)):
#0  0xb7fe1424 in __kernel_vsyscall ()
#1  0xb6a41292 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/i686/cmov/libpthread.so.0
#2  0xb775f1ce in PSyncPoint::Wait(PTimeInterval const&) ()
   from /usr/lib/libpt.so.2.7-beta1
#3  0xb7b4bebf in OpalManager::GarbageMain(PThread&, int) ()
   from /usr/lib/libopal.so.3.7-beta1
#4 0xb7b519b3 in OpalManager::GarbageMain_PNotifier::Call(PObject&, int) const
    () from /usr/lib/libopal.so.3.7-beta1
#5  0x08270ee7 in PNotifierTemplate<int>::operator()(PObject&, int) const ()
#6  0xb7787e3a in PSimpleThread::Main() () from /usr/lib/libpt.so.2.7-beta1
#7  0xb7763867 in PThread::PX_ThreadStart(void*) ()
   from /usr/lib/libpt.so.2.7-beta1
#8  0xb6a3d4b5 in start_thread () from /lib/i686/cmov/libpthread.so.0
#9  0xb6765a5e in clone () from /lib/i686/cmov/libc.so.6

Thread 1 (Thread 0xb610fb40 (LWP 18227)):
#0  0xb7fe1424 in __kernel_vsyscall ()
#1  0xb675dfe1 in select () from /lib/i686/cmov/libc.so.6
#2  0xb77610c7 in PThread::Sleep(PTimeInterval const&) ()
   from /usr/lib/libpt.so.2.7-beta1
#3  0xb776304a in PThread::WaitForTermination() const ()
   from /usr/lib/libpt.so.2.7-beta1
#4 0xb778101a in PInterfaceMonitor::Stop() () from /usr/lib/libpt.so.2.7-beta1
#5  0xb7781136 in PInterfaceMonitor::OnShutdown() ()
   from /usr/lib/libpt.so.2.7-beta1
#6 0xb7789f8e in PProcess::PreShutdown() () from /usr/lib/libpt.so.2.7-beta1
#7  0xb7763409 in PProcess::~PProcess() () from /usr/lib/libpt.so.2.7-beta1
#8  0xb66b4589 in exit () from /lib/i686/cmov/libc.so.6
#9  0xb669a7ad in __libc_start_main () from /lib/i686/cmov/libc.so.6
#10 0x08126191 in _start () at ../sysdeps/i386/elf/start.S:119


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