Re: [Ekiga-devel-list] Crash on exit : dead?
- From: Michael Rickmann <mrickma gwdg de>
- To: Ekiga development mailing list <ekiga-devel-list gnome org>
- Subject: Re: [Ekiga-devel-list] Crash on exit : dead?
- Date: Thu, 14 May 2009 22:08:21 +0200
Am Donnerstag, den 14.05.2009, 14:35 +0200 schrieb Julien Puydt:
> Hi,
>
> I had once again checked the memory management in both the contact and
> presence stacks, without finding any problem.
>
> I read the valgrind errors again and decided they meant a problem with
> sigc::trackable : I changed to manual tracking, and got a big
> improvement of the valgrind log.
>
> Does that fix the crash on exit?
>
> Snark
For Win32 it is quite an improvement, thank you. In gdb I can reach now
the last line of gui/main.cpp without detecting any heap corruption.
This was not possible before. However, then Ekiga vanishes in ntdll.dll
and does not exit. That may be Win32 specific and may be an issue of
handling left over threads.
Attached is the gdb log starting from the last line (I have a few
additional ones to make std output unbuffered). I did a "thread apply
all bt", continued and had to kill the program. It seems that these
threads are still waiting for their mutexes. I will find out what they
are.
Regards
Michael
(gdb) (gdb) Breakpoint 1 at 0x40f88c: file gui/main.cpp, line 4634.
(gdb) Continuing.
[New thread 2704.0x100]
[Switching to thread 2704.0x630]
Breakpoint 1, WinMain 16 (hInstance=0x350037, hPrevInstance=0x340037,
lpCmdLine=0x7ffd7000 "", nCmdShow=-2141935304) at gui/main.cpp:4634
4634 gui/main.cpp: No such file or directory.
in gui/main.cpp
(gdb) 4635 in gui/main.cpp
(gdb) 0x7c816fd7 in RegisterWaitForInputIdle ()
from C:\WINDOWS\system32\kernel32.dll
(gdb)
Thread 21 (thread 2704.0x100):
#0 0x7c91eb94 in ntdll!LdrAccessResource ()
from C:\WINDOWS\system32\ntdll.dll
#1 0x7c91e31b in ntdll!ZwRemoveIoCompletion ()
from C:\WINDOWS\system32\ntdll.dll
#2 0x7c80a746 in KERNEL32!GetQueuedCompletionStatus ()
from C:\WINDOWS\system32\kernel32.dll
#3 0x77e570c8 in RPCRT4!I_RpcBindingCopy ()
from C:\WINDOWS\system32\rpcrt4.dll
#4 0x77e5720c in RPCRT4!I_RpcBindingCopy ()
from C:\WINDOWS\system32\rpcrt4.dll
#5 0x77e57294 in RPCRT4!I_RpcBindingCopy ()
from C:\WINDOWS\system32\rpcrt4.dll
#6 0x77e56a3d in RPCRT4!I_RpcBindingCopy ()
from C:\WINDOWS\system32\rpcrt4.dll
#7 0x77e56c03 in RPCRT4!I_RpcBindingCopy ()
from C:\WINDOWS\system32\rpcrt4.dll
#8 0x7c80b683 in KERNEL32!GetModuleFileNameA ()
from C:\WINDOWS\system32\kernel32.dll
#9 0x00000000 in ?? ()
Thread 19 (thread 2704.0x618):
#0 0x7c91eb94 in ntdll!LdrAccessResource ()
from C:\WINDOWS\system32\ntdll.dll
#1 0x7c91e31b in ntdll!ZwRemoveIoCompletion ()
from C:\WINDOWS\system32\ntdll.dll
#2 0x7c80a746 in KERNEL32!GetQueuedCompletionStatus ()
from C:\WINDOWS\system32\kernel32.dll
#3 0x77e570c8 in RPCRT4!I_RpcBindingCopy ()
from C:\WINDOWS\system32\rpcrt4.dll
#4 0x77e5720c in RPCRT4!I_RpcBindingCopy ()
from C:\WINDOWS\system32\rpcrt4.dll
#5 0x77e57294 in RPCRT4!I_RpcBindingCopy ()
from C:\WINDOWS\system32\rpcrt4.dll
#6 0x77e56a3d in RPCRT4!I_RpcBindingCopy ()
from C:\WINDOWS\system32\rpcrt4.dll
#7 0x77e56c03 in RPCRT4!I_RpcBindingCopy ()
from C:\WINDOWS\system32\rpcrt4.dll
#8 0x7c80b683 in KERNEL32!GetModuleFileNameA ()
from C:\WINDOWS\system32\kernel32.dll
#9 0x00000000 in ?? ()
Thread 18 (thread 2704.0xa48):
#0 0x7c91eb94 in ntdll!LdrAccessResource ()
from C:\WINDOWS\system32\ntdll.dll
#1 0x7c91e9c0 in ntdll!ZwWaitForSingleObject ()
from C:\WINDOWS\system32\ntdll.dll
#2 0x7c8025cb in WaitForSingleObjectEx ()
from C:\WINDOWS\system32\kernel32.dll
#3 0x0000047c in ?? ()
#4 0x00000000 in ?? ()
Thread 17 (thread 2704.0xdd4):
#0 0x7c91eb94 in ntdll!LdrAccessResource ()
from C:\WINDOWS\system32\ntdll.dll
#1 0x7c91e9c0 in ntdll!ZwWaitForSingleObject ()
from C:\WINDOWS\system32\ntdll.dll
#2 0x719b4033 in ?? () from C:\WINDOWS\system32\mswsock.dll
#3 0x000002d8 in ?? ()
#4 0x00000001 in ?? ()
#5 0x0a1bf7f4 in ?? ()
#6 0x00000103 in ?? ()
#7 0x00000000 in ?? ()
Thread 16 (thread 2704.0x850):
#0 0x7c91eb94 in ntdll!LdrAccessResource ()
from C:\WINDOWS\system32\ntdll.dll
#1 0x7c91e9c0 in ntdll!ZwWaitForSingleObject ()
from C:\WINDOWS\system32\ntdll.dll
#2 0x719b4033 in ?? () from C:\WINDOWS\system32\mswsock.dll
#3 0x000002ec in ?? ()
#4 0x00000001 in ?? ()
#5 0x09fbfa88 in ?? ()
#6 0x09fbfb40 in ?? ()
#7 0x081a0e70 in ?? ()
#8 0x09fbfb30 in ?? ()
#9 0x23f8a5b0 in ?? ()
#10 0x01c9d4ca in ?? ()
#11 0xffffffff in ?? ()
#12 0x7fffffff in ?? ()
#13 0x00283628 in ?? ()
#14 0x00000000 in ?? ()
Thread 15 (thread 2704.0xa20):
#0 0x7c91eb94 in ntdll!LdrAccessResource ()
from C:\WINDOWS\system32\ntdll.dll
#1 0x7c91e9ab in ntdll!ZwWaitForMultipleObjects ()
from C:\WINDOWS\system32\ntdll.dll
#2 0x7c8094e2 in KERNEL32!CreateFileMappingA ()
from C:\WINDOWS\system32\kernel32.dll
#3 0x6cbe15f5 in ksproxy!KsGetMediaTypeCount ()
from C:\WINDOWS\system32\ksproxy.ax
#4 0x7c80b683 in KERNEL32!GetModuleFileNameA ()
from C:\WINDOWS\system32\kernel32.dll
#5 0x00000000 in ?? ()
Thread 14 (thread 2704.0xe50):
#0 0x7c91eb94 in ntdll!LdrAccessResource ()
from C:\WINDOWS\system32\ntdll.dll
#1 0x7c91e9c0 in ntdll!ZwWaitForSingleObject ()
from C:\WINDOWS\system32\ntdll.dll
#2 0x7c8025cb in WaitForSingleObjectEx ()
from C:\WINDOWS\system32\kernel32.dll
#3 0x00000430 in ?? ()
#4 0x00000000 in ?? ()
Thread 13 (thread 2704.0xab8):
#0 0x7c91eb94 in ntdll!LdrAccessResource ()
from C:\WINDOWS\system32\ntdll.dll
#1 0x7c91e9c0 in ntdll!ZwWaitForSingleObject ()
from C:\WINDOWS\system32\ntdll.dll
#2 0x7c8025cb in WaitForSingleObjectEx ()
from C:\WINDOWS\system32\kernel32.dll
#3 0x0000043c in ?? ()
#4 0x00000000 in ?? ()
Thread 12 (thread 2704.0xa04):
#0 0x7c91eb94 in ntdll!LdrAccessResource ()
from C:\WINDOWS\system32\ntdll.dll
#1 0x7c91e9c0 in ntdll!ZwWaitForSingleObject ()
from C:\WINDOWS\system32\ntdll.dll
#2 0x7c8025cb in WaitForSingleObjectEx ()
from C:\WINDOWS\system32\kernel32.dll
#3 0x000003e8 in ?? ()
#4 0x00000000 in ?? ()
Thread 11 (thread 2704.0xbec):
#0 0x7c91eb94 in ntdll!LdrAccessResource ()
from C:\WINDOWS\system32\ntdll.dll
#1 0x7c91e9ab in ntdll!ZwWaitForMultipleObjects ()
from C:\WINDOWS\system32\ntdll.dll
#2 0x7c8094e2 in KERNEL32!CreateFileMappingA ()
from C:\WINDOWS\system32\kernel32.dll
#3 0x7c80a075 in WaitForMultipleObjects ()
from C:\WINDOWS\system32\kernel32.dll
#4 0x6cbec336 in ksproxy!DllGetClassObject ()
from C:\WINDOWS\system32\ksproxy.ax
#5 0x7c80b683 in KERNEL32!GetModuleFileNameA ()
from C:\WINDOWS\system32\kernel32.dll
#6 0x00000000 in ?? ()
Thread 10 (thread 2704.0xebc):
#0 0x7c91eb94 in ntdll!LdrAccessResource ()
from C:\WINDOWS\system32\ntdll.dll
#1 0x77d191ce in USER32!GetProcessWindowStation ()
from C:\WINDOWS\system32\user32.dll
#2 0x77d19201 in USER32!GetMessageW () from C:\WINDOWS\system32\user32.dll
#3 0x747ee9c4 in QUARTZ!AMGetErrorTextA ()
from C:\WINDOWS\system32\quartz.dll
#4 0x7c80b683 in KERNEL32!GetModuleFileNameA ()
from C:\WINDOWS\system32\kernel32.dll
#5 0x00000000 in ?? ()
Thread 9 (thread 2704.0x124):
#0 0x7c91eb94 in ntdll!LdrAccessResource ()
from C:\WINDOWS\system32\ntdll.dll
#1 0x7c91e9ab in ntdll!ZwWaitForMultipleObjects ()
from C:\WINDOWS\system32\ntdll.dll
#2 0x7c8094e2 in KERNEL32!CreateFileMappingA ()
from C:\WINDOWS\system32\kernel32.dll
#3 0x7c80a075 in WaitForMultipleObjects ()
from C:\WINDOWS\system32\kernel32.dll
#4 0x007b6bbd in PIPSocket::WaitForRouteTableChange (timeout= 0x363a0,
cancellation=0x363d0) at ptlib/msos/ethsock.cxx:1650
#5 0x0077e9b3 in PInterfaceMonitor::UpdateThreadMain (this=0x36348)
at ptclib/psockbun.cxx:261
#6 0x007f05e4 in PThreadObj<PInterfaceMonitor>::Main (this=0x818e3f8)
at /home/mrickma/src/ekiga-head/win32/ptlib/include/ptlib/thread.h:599
#7 0x0075c430 in PThread::MainFunction (threadPtr=0x818e3f8)
at ptlib/msos/win32.cxx:705
#8 0x77c0a3b0 in msvcrt!_endthreadex () from C:\WINDOWS\system32\msvcrt.dll
#9 0x7c80b683 in KERNEL32!GetModuleFileNameA ()
from C:\WINDOWS\system32\kernel32.dll
#10 0x00000000 in ?? ()
Thread 8 (thread 2704.0xb48):
#0 0x7c91eb94 in ntdll!LdrAccessResource ()
from C:\WINDOWS\system32\ntdll.dll
#1 0x7c91e9ab in ntdll!ZwWaitForMultipleObjects ()
from C:\WINDOWS\system32\ntdll.dll
#2 0x7c8094e2 in KERNEL32!CreateFileMappingA ()
from C:\WINDOWS\system32\kernel32.dll
#3 0x7c80a075 in WaitForMultipleObjects ()
from C:\WINDOWS\system32\kernel32.dll
#4 0x72c9312a in midMessage () from C:\WINDOWS\system32\wdmaud.drv
#5 0x7c80b683 in KERNEL32!GetModuleFileNameA ()
from C:\WINDOWS\system32\kernel32.dll
#6 0x00000000 in ?? ()
Thread 7 (thread 2704.0x644):
#0 0x7c91eb94 in ntdll!LdrAccessResource ()
from C:\WINDOWS\system32\ntdll.dll
#1 0x7c91e9c0 in ntdll!ZwWaitForSingleObject ()
from C:\WINDOWS\system32\ntdll.dll
#2 0x7c8025cb in WaitForSingleObjectEx ()
from C:\WINDOWS\system32\kernel32.dll
#3 0x000001cc in ?? ()
#4 0x00000000 in ?? ()
Thread 3 (thread 2704.0xdc4):
#0 0x7c91eb94 in ntdll!LdrAccessResource ()
from C:\WINDOWS\system32\ntdll.dll
#1 0x7c91e9ab in ntdll!ZwWaitForMultipleObjects ()
from C:\WINDOWS\system32\ntdll.dll
#2 0x7c8094e2 in KERNEL32!CreateFileMappingA ()
from C:\WINDOWS\system32\kernel32.dll
#3 0x7c80a075 in WaitForMultipleObjects ()
from C:\WINDOWS\system32\kernel32.dll
#4 0x0075a56a in PProcess::HouseKeepingThread::Main (this=0x815c2f0)
at ptlib/msos/win32.cxx:1122
#5 0x0075c430 in PThread::MainFunction (threadPtr=0x815c2f0)
at ptlib/msos/win32.cxx:705
#6 0x77c0a3b0 in msvcrt!_endthreadex () from C:\WINDOWS\system32\msvcrt.dll
#7 0x7c80b683 in KERNEL32!GetModuleFileNameA ()
from C:\WINDOWS\system32\kernel32.dll
#8 0x00000000 in ?? ()
Thread 1 (thread 2704.0x630):
#0 0x7c816fd7 in RegisterWaitForInputIdle ()
from C:\WINDOWS\system32\kernel32.dll
#1 0x00000000 in ?? ()
(gdb) Continuing.
Program exited with code 01.
(gdb)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]