Code::Blocks Forums
User forums => Help => Topic started by: tom0769 on September 15, 2007, 05:31:07 pm
-
I'm using MinGW-3.4.5 with GDB-6.3-2 and I have some troubles when running some of
my applications in debugging mode and got stuck with this :(.
My OS is windows xp home edition and runs on a Fujitsu Siemens notebook (Amilo La1703)
with an AMD Sempron processor.
The problems occure when calling win2api-functions, for example calling a simple "Beep()" function
or "GetOpenFileName"/"GetSaveFileName" when trying to select a drive.
Here is the output when calling "GetOpenFileName" and selecting a drive (mouse click on drive list box):
Debugger messages:
Starting debugger: done
Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
Setting breakpoints
Debugger name and version: GNU gdb 6.3
Child process PID: 2704
Program received signal SIGSEGV, Segmentation fault.
In RpcRaiseException () (C:\WINDOWS\system32\rpcrt4.dll)
Call Stack:
#0 77E827CA RpcRaiseException() (C:\WINDOWS\system32\rpcrt4.dll:??)
#1 76302510 DllUnregisterServer() (C:\WINDOWS\system32\winsta.dll:??)
#2 00000000 ??() (??:??)
#3 00000001 ??() (??:??)
#4 0023CCB8 ??() (??:??)
#5 0023D0B4 ??() (??:??)
#6 0023D098 ??() (??:??)
#7 77ED360B RPCRT4!CStdStubBuffer_CountRefs() (C:\WINDOWS\system32\rpcrt4.dll:??)
#8 0023CD04 ??() (??:??)
#9 00000000 ??() (??:??)
#10 0027E868 ??() (??:??)
#11 00000000 ??() (??:??)
#12 0028F59A ??() (??:??)
#13 0023D630 ??() (??:??)
#14 0027E868 ??() (??:??)
#15 00000068 ??() (??:??)
#16 0023CDCC ??() (??:??)
#17 00000000 ??() (??:??)
#18 00000000 ??() (??:??)
#19 00000000 ??() (??:??)
#20 76302560 DllUnregisterServer() (C:\WINDOWS\system32\winsta.dll:??)
#21 FEEEFEEE ??() (??:??)
#22 00250000 ??() (??:??)
#23 00289E80 ??() (??:??)
#24 00000000 ??() (??:??)
#25 0023CCD8 ??() (??:??)
#26 00000000 ??() (??:??)
#27 00000000 ??() (??:??)
#28 00000000 ??() (??:??)
#29 7C936ABE ntdll!iswdigit() (ntdll.dll:??)
BTW:
When I use my old BCC55 compiler with TD32 debugger with the same projects (just another target), all works fine!
Also when I debug the same program on a desktop pc with windows xp prof. and the same compiler/debugger config.
Does anybody have an explanation for that?
-
Hi,
meanwhile I came to the conclusion that gbd makes the problem since the program run without errors in release mode and when compiling it whith BCC55 and debugging in TD32 there is no problem too.
I'm working on an Fujitsu Siemens notebook with WinXP SP2 Home Ed. and an AMD Mobile Sempron processor.
Are there any special settings for the gdb to avoid the "segmentation faults"?
Could this be the matter of some dll's?
Any help appreciated!
Thanx!