Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » DSF-GDB Mingw: console freezes + unable to pause
DSF-GDB Mingw: console freezes + unable to pause [message #733466] Tue, 04 October 2011 19:41 Go to next message
eric.julien+eclipse is currently offline eric.julien+eclipseFriend
Messages: 4
Registered: February 2011
Junior Member
Hi,

I'm using Eclipse 3.7 with C/C++ Development Tools version 8.0.0.201109151620 and I'm having a lot of issues with debug sessions that freeze. Output stops appearing in the console and it doesn't respond to the pause button.

If I step through the program, it will usually work.

I've tried attaching to the gdb session and got the following backtrace:

C:\mingw\bin\gdb -pid=7204
GNU gdb (GDB) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <link removed>
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 "mingw32".
For bug reporting instructions, please see:
<link removed>.
Attaching to process 7204
[New Thread 7204.0x16bc]
[New Thread 7204.0x13e8]
[New Thread 7204.0x27d0]
[New Thread 7204.0x347c]
Reading symbols from C:\msys\1.0\home\Eric\SourceBuilds\gdb-7.3-pc\gdb\gdb.exe...done.
[Switching to Thread 7204.0x347c]
(gdb) c
Continuing.
[New Thread 7204.0x2b98]

Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 7204.0x2b98]
0x7759000d in ntdll!LdrFindResource_U () from C:\Windows\SysWOW64\ntdll.dll
(gdb) thread apply all bt

Thread 5 (Thread 7204.0x2b98):
#0  0x7759000d in ntdll!LdrFindResource_U () from C:\Windows\SysWOW64\ntdll.dll
#1  0x7761f826 in ntdll!RtlQueryTimeZoneInformation () from C:\Windows\SysWOW64\ntdll.dll
#2  0x487c8c07 in ?? ()
#3  0x00000000 in ?? ()

Thread 3 (Thread 7204.0x27d0):
#0  0x775a014d in ntdll!RtlEnableEarlyCriticalSectionEventCreation () from C:\Windows\SysWOW64\ntdll.dll
#1  0x775a014d in ntdll!RtlEnableEarlyCriticalSectionEventCreation () from C:\Windows\SysWOW64\ntdll.dll
#2  0x74e80bdd in WaitForMultipleObjectsEx () from C:\Windows\syswow64\KernelBase.dll
#3  0x00000002 in ?? ()
#4  0x0600fe58 in ?? ()
#5  0x74d31a2c in KERNEL32!GetVolumePathNamesForVolumeNameA () from C:\Windows\syswow64\kernel32.dll
#6  0x0600fe58 in ?? ()
#7  0x74d34208 in KERNEL32!CheckForReadOnlyResource () from C:\Windows\syswow64\kernel32.dll
#8  0x00000002 in ?? ()
#9  0x7efde000 in ?? ()
#10 0x004f5718 in select_thread_wait (state=0x600fe58) at ../../gdb-7.3/gdb/ser-mingw.c:417
#11 0x004f58bf in pipe_select_thread (arg=0x3e0c430) at ../../gdb-7.3/gdb/ser-mingw.c:623
#12 0x74d3339a in KERNEL32!BaseCleanupAppcompatCacheSupport () from C:\Windows\syswow64\kernel32.dll
#13 0x03e0c430 in ?? ()
#14 0x775b9ed2 in wcscat () from C:\Windows\SysWOW64\ntdll.dll
#15 0x03e0c430 in ?? ()
#16 0x775b9ea5 in wcscat () from C:\Windows\SysWOW64\ntdll.dll
#17 0x004f5898 in pipe_avail () at ../../gdb-7.3/gdb/ser-mingw.c:1033
#18 0x00000000 in ?? ()

Thread 2 (Thread 7204.0x13e8):
#0  0x775a014d in ntdll!RtlEnableEarlyCriticalSectionEventCreation () from C:\Windows\SysWOW64\ntdll.dll
#1  0x775a014d in ntdll!RtlEnableEarlyCriticalSectionEventCreation () from C:\Windows\SysWOW64\ntdll.dll
#2  0x74e80bdd in WaitForMultipleObjectsEx () from C:\Windows\syswow64\KernelBase.dll
#3  0x00000002 in ?? ()
#4  0x0540fe58 in ?? ()
#5  0x74d31a2c in KERNEL32!GetVolumePathNamesForVolumeNameA () from C:\Windows\syswow64\kernel32.dll
#6  0x0540fe58 in ?? ()
#7  0x74d34208 in KERNEL32!CheckForReadOnlyResource () from C:\Windows\syswow64\kernel32.dll
#8  0x00000002 in ?? ()
#9  0x7efde000 in ?? ()
#10 0x004f5718 in select_thread_wait (state=0x540fe58) at ../../gdb-7.3/gdb/ser-mingw.c:417
#11 0x004f58bf in pipe_select_thread (arg=0x3e17288) at ../../gdb-7.3/gdb/ser-mingw.c:623
#12 0x74d3339a in KERNEL32!BaseCleanupAppcompatCacheSupport () from C:\Windows\syswow64\kernel32.dll
#13 0x03e17288 in ?? ()
#14 0x775b9ed2 in wcscat () from C:\Windows\SysWOW64\ntdll.dll
#15 0x03e17288 in ?? ()
#16 0x775b9ea5 in wcscat () from C:\Windows\SysWOW64\ntdll.dll
#17 0x004f5898 in pipe_avail () at ../../gdb-7.3/gdb/ser-mingw.c:1033
#18 0x00000000 in ?? ()

Thread 1 (Thread 7204.0x16bc):
#0  0x7759f92d in ntdll!RtlUpdateClonedSRWLock () from C:\Windows\SysWOW64\ntdll.dll
#1  0x7759f92d in ntdll!RtlUpdateClonedSRWLock () from C:\Windows\SysWOW64\ntdll.dll
#2  0x74e7d4b5 in WriteFile () from C:\Windows\syswow64\KernelBase.dll
#3  0x00000074 in ?? ()
#4  0x00000000 in ?? ()
(gdb)


I was experiencing the same exact problems with Eclipse 3.6 and CDT7. Also, I'm on Windows 7 64-bits.

If anybody can help me figure out where the problem is, I'd be grateful. I'm knowledgeable enough to be able to run CDT in debug mode, if it can help.

Unfortunately, I'm not able to post the source code for the debugged program.

Any help would be appreciated,
TIA,
Eric
Re: DSF-GDB Mingw: console freezes + unable to pause [message #733844 is a reply to message #733466] Wed, 05 October 2011 18:58 Go to previous message
eric.julien+eclipse is currently offline eric.julien+eclipseFriend
Messages: 4
Registered: February 2011
Junior Member
I've just noticed the following entries in the error log when trying to pause the frozen debug session:

null
Error
Wed Oct 05 14:49:44 EDT 2011
Request for monitor: 'RequestMonitor (org.eclipse.cdt.dsf.concurrent.RequestMonitor@ad5559): Status ERROR: org.eclipse.cdt.dsf.gdb code=10004 Interrupt failed. null' resulted in an error.

Error
Wed Oct 05 14:49:44 EDT 2011
Interrupt failed.


Should I open a bug report?

[Updated on: Wed, 05 October 2011 19:00]

Report message to a moderator

Previous Topic:Deploy .exe file on multiple PCs after C project build
Next Topic:CDT-Helios error reporting
Goto Forum:
  


Current Time: Wed Apr 24 21:55:11 GMT 2024

Powered by FUDForum. Page generated in 0.03121 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top