Re: [Ekiga-devel-list] Segmentation fault when caller clears the call
- From: Andrea <mariofutire googlemail com>
- To: ekiga-devel-list gnome org
- Subject: Re: [Ekiga-devel-list] Segmentation fault when caller clears the call
- Date: Sun, 11 Jan 2009 09:52:15 +0000
Julien Puydt wrote:
> Andrea a écrit :
>> The only issue in 3.1.0 is that ekiga crashes upon exit with
>>
>> assert.cxx(108) PWLib Assertion fail: Function
>> pthread_mutex_lock failed, file
>> ptlib/unix/tlibthrd.cxx, line 1304
>> Assertion fail: Function pthread_mutex_lock failed, file
>> ptlib/unix/tlibthrd.cxx, line 1304
>
> Ah, you have it too. I reported it already, but if you could get your
> backtrace too, that would be nice.
Here it is.
Compiling in debug was not that trivial (I think --enable-opal-debug should be mentioned in the wiki)
For some reason the non debug version had a better error message
Hope it helps.
Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
Thread 15 (Thread 0xb63d4b90 (LWP 10806)):
#0 0xb809a424 in __kernel_vsyscall ()
#1 0x00a09671 in select () from /lib/libc.so.6
#2 0xb7693a00 in PThread::PXBlockOnIO (this=0x965d0a0, handle=44, type=2, timeout= 0xb63d4010) at
ptlib/unix/tlibthrd.cxx:936
#3 0xb768859e in PChannel::PXSetIOBlock (this=0x9a6f064, type=PChannel::PXAcceptBlock,
timeout= 0xb63d4010) at ptlib/unix/channel.cxx:119
#4 0xb768488d in PSocket::os_accept (this=0x962b200, listener= 0x9a6f064, addr=0xb63d4060,
size=0xb63d40e0) at ptlib/unix/socket.cxx:206
#5 0xb76b3f9b in PTCPSocket::Accept (this=0x962b200, socket= 0x9a6f064) at
ptlib/common/sockets.cxx:2292
#6 0xb7b4ff05 in OpalListenerTCP::Accept (this=0x9a6f030, timeout= 0xb63d41ec)
at /home/andrea/projects/multimedia/ekiga/opal-3.5.2/src/opal/transports.cxx:623
#7 0xb7b5022f in OpalListener::ListenForConnections (this=0x9a6f030, thread= 0x965d0a0)
at /home/andrea/projects/multimedia/ekiga/opal-3.5.2/src/opal/transports.cxx:457
#8 0xb7b50af3 in OpalListener::ListenForConnections_PNotifier::Call (this=0x9685a78,
note= 0x965d0a0, extra=0)
at /home/andrea/projects/multimedia/ekiga/opal-3.5.2/include/opal/transports.h:354
#9 0x081ae8a7 in PNotifier::operator() (this=0x965d124, notifier= 0x965d0a0, extra=0) at
/home/andrea/usr2/include/ptlib/notifier.h:125
#10 0xb76c78f9 in PSimpleThread::Main (this=0x965d0a0) at ptlib/common/osutils.cxx:2018
#11 0xb7693cb5 in PThread::PX_ThreadStart (arg=0x965d0a0) at ptlib/unix/tlibthrd.cxx:839
#12 0x00ad632f in start_thread () from /lib/libpthread.so.0
#13 0x00a1120e in clone () from /lib/libc.so.6
Thread 14 (Thread 0xb641cb90 (LWP 10805)):
#0 0xb809a424 in __kernel_vsyscall ()
#1 0x00a09671 in select () from /lib/libc.so.6
#2 0xb768445d in PSocket::Select (read= 0xb641c0b0, write= 0xb641bff4, except= 0xb641bfe8,
timeout= 0xb641c1ec) at ptlib/unix/socket.cxx:328
#3 0xb76b5829 in PSocket::Select (read= 0xb641c0b0, timeout= 0xb641c1ec) at
ptlib/common/sockets.cxx:1045
#4 0xb76bcc90 in PMonitoredSockets::ReadFromSocket (this=0x96ae078, readers= 0xb641c0b0,
socket= 0xb641c0ac, buf=0x9ac2cf8, len=65536, addr= 0xb641c138,
---Type <return> to continue, or q <return> to quit---
port= 0xb641c136, lastReadCount= 0xb641c11c, timeout= 0xb641c1ec) at ptclib/psockbun.cxx:588
#5 0xb76bd47f in PMonitoredSocketBundle::ReadFromBundle (this=0x96ae078, buf=0x9ac2cf8, len=65536,
addr= 0xb641c138, port= 0xb641c136, iface= 0xb641c120,
lastReadCount= 0xb641c11c, timeout= 0xb641c1ec) at ptclib/psockbun.cxx:991
#6 0xb7b4c20b in OpalListenerUDP::Accept (this=0x9689a10, timeout= 0xb641c1ec)
at /home/andrea/projects/multimedia/ekiga/opal-3.5.2/src/opal/transports.cxx:726
#7 0xb7b5022f in OpalListener::ListenForConnections (this=0x9689a10, thread= 0x9a6bb20)
at /home/andrea/projects/multimedia/ekiga/opal-3.5.2/src/opal/transports.cxx:457
#8 0xb7b50af3 in OpalListener::ListenForConnections_PNotifier::Call (this=0x9858f90,
note= 0x9a6bb20, extra=0)
at /home/andrea/projects/multimedia/ekiga/opal-3.5.2/include/opal/transports.h:354
#9 0x081ae8a7 in PNotifier::operator() (this=0x9a6bba4, notifier= 0x9a6bb20, extra=0) at
/home/andrea/usr2/include/ptlib/notifier.h:125
#10 0xb76c78f9 in PSimpleThread::Main (this=0x9a6bb20) at ptlib/common/osutils.cxx:2018
#11 0xb7693cb5 in PThread::PX_ThreadStart (arg=0x9a6bb20) at ptlib/unix/tlibthrd.cxx:839
#12 0x00ad632f in start_thread () from /lib/libpthread.so.0
#13 0x00a1120e in clone () from /lib/libc.so.6
Thread 12 (Thread 0xb5b2cb90 (LWP 10800)):
#0 0xb809a424 in __kernel_vsyscall ()
#1 0x00a06a57 in poll () from /lib/libc.so.6
#2 0x4e9e0372 in ?? () from /lib/libglib-2.0.so.0
#3 0x4e9e0a02 in g_main_loop_run () from /lib/libglib-2.0.so.0
#4 0x4fbc3f60 in ?? () from /usr/lib/libORBit-2.so.0
#5 0x4ea0720f in ?? () from /lib/libglib-2.0.so.0
#6 0x00ad632f in start_thread () from /lib/libpthread.so.0
#7 0x00a1120e in clone () from /lib/libc.so.6
Thread 11 (Thread 0xb6352b90 (LWP 10791)):
---Type <return> to continue, or q <return> to quit---
#0 0xb809a424 in __kernel_vsyscall ()
#1 0x00a06a57 in poll () from /lib/libc.so.6
#2 0x4e9e0372 in ?? () from /lib/libglib-2.0.so.0
#3 0x4e9e0a02 in g_main_loop_run () from /lib/libglib-2.0.so.0
#4 0x4fb638b2 in ?? () from /usr/lib/libebook-1.2.so.9
#5 0x4ea0720f in ?? () from /lib/libglib-2.0.so.0
#6 0x00ad632f in start_thread () from /lib/libpthread.so.0
#7 0x00a1120e in clone () from /lib/libc.so.6
Thread 7 (Thread 0xb645db90 (LWP 10787)):
#0 0xb809a424 in __kernel_vsyscall ()
#1 0x00ad9ed2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0xb7694a12 in PSyncPoint::Wait (this=0x8241b4c, waitTime= 0xb645d24c) at
ptlib/unix/tlibthrd.cxx:1470
#3 0xb76950c2 in PHouseKeepingThread::Main (this=0x9683f98) at ptlib/unix/tlibthrd.cxx:129
#4 0xb7693cb5 in PThread::PX_ThreadStart (arg=0x9683f98) at ptlib/unix/tlibthrd.cxx:839
#5 0x00ad632f in start_thread () from /lib/libpthread.so.0
#6 0x00a1120e in clone () from /lib/libc.so.6
Thread 6 (Thread 0xb649eb90 (LWP 10786)):
#0 0xb809a424 in __kernel_vsyscall ()
#1 0x00ad9ed2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0xb7694a12 in PSyncPoint::Wait (this=0x960a5ac, waitTime= 0x960a57c) at ptlib/unix/tlibthrd.cxx:1470
#3 0xb76831f3 in PIPSocket::WaitForRouteTableChange (timeout= 0x960a57c, cancellation=0x960a5ac) at
ptlib/unix/socket.cxx:1523
#4 0xb76bf197 in PInterfaceMonitor::UpdateThreadMain (this=0x960a520) at ptclib/psockbun.cxx:258
#5 0xb76c285c in PThreadObj<PInterfaceMonitor>::Main (this=0x967b138) at
/home/andrea/projects/multimedia/ekiga/ptlib-2.5.2/include/ptlib/thread.h:599
#6 0xb7693cb5 in PThread::PX_ThreadStart (arg=0x967b138) at ptlib/unix/tlibthrd.cxx:839
---Type <return> to continue, or q <return> to quit---
#7 0x00ad632f in start_thread () from /lib/libpthread.so.0
#8 0x00a1120e in clone () from /lib/libc.so.6
Thread 5 (Thread 0xb64dfb90 (LWP 10785)):
#0 0xb809a424 in __kernel_vsyscall ()
#1 0x00ad9ed2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0xb7694a12 in PSyncPoint::Wait (this=0x967ab8c, waitTime= 0xb64df204) at
ptlib/unix/tlibthrd.cxx:1470
#3 0xb7afcc0f in OpalManager::GarbageMain (this=0x967a5b8) at
/home/andrea/projects/multimedia/ekiga/opal-3.5.2/src/opal/manager.cxx:1510
#4 0xb7b04655 in OpalManager::GarbageMain_PNotifier::Call (this=0x967b360, note= 0x96830e0,
extra=0)
at /home/andrea/projects/multimedia/ekiga/opal-3.5.2/include/opal/manager.h:1322
#5 0x081ae8a7 in PNotifier::operator() (this=0x9683164, notifier= 0x96830e0, extra=0) at
/home/andrea/usr2/include/ptlib/notifier.h:125
#6 0xb76c78f9 in PSimpleThread::Main (this=0x96830e0) at ptlib/common/osutils.cxx:2018
#7 0xb7693cb5 in PThread::PX_ThreadStart (arg=0x96830e0) at ptlib/unix/tlibthrd.cxx:839
#8 0x00ad632f in start_thread () from /lib/libpthread.so.0
#9 0x00a1120e in clone () from /lib/libc.so.6
Thread 3 (Thread 0xb6561b90 (LWP 10783)):
#0 0xb809a424 in __kernel_vsyscall ()
#1 0x00ad9ba5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0xb7694b60 in PSyncPoint::Wait (this=0x964c8b4) at ptlib/unix/tlibthrd.cxx:1452
#3 0x08157583 in Ekiga::AudioEventScheduler::Main (this=0x964c830) at
../../../lib/engine/audiooutput/audiooutput-scheduler.cpp:81
#4 0xb7693cb5 in PThread::PX_ThreadStart (arg=0x964c830) at ptlib/unix/tlibthrd.cxx:839
#5 0x00ad632f in start_thread () from /lib/libpthread.so.0
#6 0x00a1120e in clone () from /lib/libc.so.6
Thread 2 (Thread 0xb65a2b90 (LWP 10782)):
---Type <return> to continue, or q <return> to quit---
#0 0xb809a424 in __kernel_vsyscall ()
#1 0x00ad9ba5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0xb7694b60 in PSyncPoint::Wait (this=0x964c5d8) at ptlib/unix/tlibthrd.cxx:1452
#3 0x08145f00 in Ekiga::VideoInputCore::VideoPreviewManager::Main (this=0x964c4bc) at
../../../lib/engine/videoinput/videoinput-core.cpp:106
#4 0xb7693cb5 in PThread::PX_ThreadStart (arg=0x964c4bc) at ptlib/unix/tlibthrd.cxx:839
#5 0x00ad632f in start_thread () from /lib/libpthread.so.0
#6 0x00a1120e in clone () from /lib/libc.so.6
Thread 1 (Thread 0xb73c19a0 (LWP 10779)):
#0 0x00000000 in ?? ()
#1 0x0813f9a9 in Ekiga::VideoOutputCore::stop (this=0x964c318) at
/home/andrea/usr2/include/ptlib/psync.h:102
#2 0x0814403c in Ekiga::VideoInputCore::VideoPreviewManager::stop (this=0x964c4bc) at
../../../lib/engine/videoinput/videoinput-core.cpp:95
#3 0x081441e8 in ~VideoPreviewManager (this=0x964c4bc) at
../../../lib/engine/videoinput/videoinput-core.cpp:66
#4 0x081442e6 in ~VideoInputCore (this=0x964c3c0) at
../../../lib/engine/videoinput/videoinput-core.cpp:166
#5 0x080cac9a in ~gmref_ptr (this=0x964cb28) at ../../../lib/engine/framework/gmref.h:108
#6 0x08118d71 in ~ServiceCore (this=0x964ae00) at
/usr/lib/gcc/i386-redhat-linux/4.3.0/../../../../include/c++/4.3.0/ext/new_allocator.h:118
#7 0x080f5e19 in engine_stop () at engine.cpp:318
#8 0x080e7ce6 in GnomeMeeting::StopEngine (this=0x8241900) at ekiga.cpp:238
#9 0x080d6e4d in main (argc=136544012, argv=0x0) at gui/main.cpp:4561
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]