C:\Development\scriptcrash_mingw\debug>gdb scriptcrash_mingw.exe GNU gdb 6.8 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-pc-mingw32"... (gdb) run Starting program: C:\Development\scriptcrash_mingw\debug/scriptcrash_mingw.exe [New thread 5444.0x1da0] Error: dll starting at 0x775e0000 not found. Error: dll starting at 0x75de0000 not found. Error: dll starting at 0x775e0000 not found. Error: dll starting at 0x774e0000 not found. [New thread 5444.0x1cc0] [New thread 5444.0x12fc] [New thread 5444.0x1fd0] Program received signal SIGSEGV, Segmentation fault. [Switching to thread 5444.0x12fc] 0x6a1167b5 in QThreadStorageData::set (this=0xfeeefeee, p=0x5f5cb0) at thread\qthreadstorage.cpp:145 145 thread\qthreadstorage.cpp: No such file or directory. in thread\qthreadstorage.cpp (gdb) bt #0 0x6a1167b5 in QThreadStorageData::set (this=0xfeeefeee, p=0x5f5cb0) at thread\qthreadstorage.cpp:145 #1 0x6423f024 in qThreadStorage_setLocalData::Data> (d=@0xfeeefeee, t=0x233fcb4) at ../../include/QtCore/../../src/corelib/thread/qthreadstorage.h:92 #2 0x64240eb8 in QThreadStorage::Data*>::setLocalData (this=0xfeeefeee, t=0x5f5cb0) at ../../include/QtCore/../../src/corelib/thread/qthreadstorage.h:148 #3 0x6428c2cd in QTWTF::ThreadSpecific::destroy (ptr=0x5f5cb0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/ThreadSpecific.h:259 #4 0x6428c27f in ~Data (this=0x5f5cb0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/ThreadSpecific.h:83 #5 0x64240e92 in QThreadStorage::Data*>::deleteData (x=0x5f5cb0) at ../../include/QtCore/../../src/corelib/thread/qthreadstorage.h:133 #6 0x6a116866 in QThreadStorageData::set (this=0x5f5780, p=0x25502c8) at thread\qthreadstorage.cpp:165 #7 0x6423f024 in qThreadStorage_setLocalData::Data> (d=@0x5f5780, t=0x233fda4) at ../../include/QtCore/../../src/corelib/thread/qthreadstorage.h:92 #8 0x64240eb8 in QThreadStorage::Data*>::setLocalData (this=0x5f5780, t=0x25502c8) at ../../include/QtCore/../../src/corelib/thread/qthreadstorage.h:148 #9 0x6428c2cd in QTWTF::ThreadSpecific::destroy (ptr=0x25502c8) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/ThreadSpecific.h:259 #10 0x6428c27f in ~Data (this=0x25502c8) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/ThreadSpecific.h:83 #11 0x64240e92 in QThreadStorage::Data*>::deleteData (x=0x25502c8) at ../../include/QtCore/../../src/corelib/thread/qthreadstorage.h:133 #12 0x6a116996 in QThreadStorageData::finish (p=0x5f5870) at thread\qthreadstorage.cpp:202 #13 0x6a11747e in QThreadPrivate::finish (arg=0x5f51b8, lockAnyway=true) at thread\qthread_win.cpp:343 #14 0x6a115406 in ~QAdoptedThread (this=0x5f51b8) at thread\qthread.cpp:153 #15 0x6a114fed in ~QThreadData (this=0x5f5840) at thread\qthread.cpp:102 #16 0x6a1151a1 in QThreadData::deref (this=0x5f5840) at thread\qthread.cpp:128 #17 0x6a1171e9 in qt_adopted_thread_watcher_function () at thread\qthread_win.cpp:234 #18 0x75b2f645 in msvcrt!_beginthread () from C:\Windows\syswow64\msvcrt.dll #19 0x75b2f624 in msvcrt!_beginthread () from C:\Windows\syswow64\msvcrt.dll #20 0x75df339a in KERNEL32!BaseCleanupAppcompatCacheSupport () from C:\Windows\syswow64\kernel32.dll #21 0x005f5a30 in ?? () #22 0x0233ffd4 in ?? () #23 0x77919ed2 in wcscat () from C:\Windows\system32\ntdll.dll #24 0x005f5a30 in ?? () #25 0xf9ade359 in ?? () #26 0x00000000 in ?? () (gdb) info threads * 3 thread 5444.0x12fc 0x6a1167b5 in QThreadStorageData::set (this=0xfeeefeee, p=0x5f5cb0) at thread\qthreadstorage.cpp:145 1 thread 5444.0x1da0 0x778ffd81 in ntdll!RtlFindSetBits () from C:\Windows\system32\ntdll.dll (gdb) thread 1 [Switching to thread 1 (thread 5444.0x1da0)]#0 0x778ffd81 in ntdll!RtlFindSetBits () from C:\Windows\system32\ntdll.dll (gdb) bt #0 0x778ffd81 in ntdll!RtlFindSetBits () from C:\Windows\system32\ntdll.dll #1 0x770b31bb in SleepEx () from C:\Windows\syswow64\KernelBase.dll #2 0x00000000 in ?? () (gdb)