From: <Tom...@se...> - 2007-12-01 16:38:22
|
Hi all, can anyone help me understand what happens. I can neither start an application compiled with mingw, nor debug it as it fails already in mainCRTStartup(). Below is a log of gdb debugging and a backtrace. In linux it works just fine and even some of the other applications in the same project using the same libraries are running ok. Thanks for any hints. Tomas (gdb) file trbsp Reading symbols from /d/tsh/xaq-debug/trbsp.exe...(no debugging symbols found).. .done. (gdb) r Starting program: /d/tsh/xaq-debug/trbsp.exe Loaded symbols for /c/WINDOWS/system32/ntdll.dll Loaded symbols for /c/WINDOWS/system32/kernel32.dll Loaded symbols for /c/WINDOWS/system32/advapi32.dll Loaded symbols for /c/WINDOWS/system32/rpcrt4.dll Loaded symbols for /c/WINDOWS/system32/secur32.dll Loaded symbols for /c/WINDOWS/system32/gdi32.dll Loaded symbols for /c/WINDOWS/system32/user32.dll Loaded symbols for /d/tsh/xaq-debug/mingwm10.dll Loaded symbols for /c/WINDOWS/system32/msvcrt.dll Loaded symbols for /c/WINDOWS/system32/snmpapi.dll Loaded symbols for /c/WINDOWS/system32/ws2_32.dll Loaded symbols for /c/WINDOWS/system32/ws2help.dll Loaded symbols for /c/WINDOWS/system32/wsock32.dll [1]+ Stopped gdb acer2@ACER2 /d/tsh/xaq-debug $ fg gdb ---Type <return> to continue, or q <return> to quit--- Program received signal SIGSEGV, Segmentation fault. 0x006a6113 in probe () (gdb) bt #0 0x006a6113 in probe () #1 0x006a5090 in std::__timepunct<char>::_M_initialize_timepunct () #2 0x0040124b in __mingw_CRTStartup () #3 0x00401298 in mainCRTStartup () (gdb) |