Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 325682

Summary: GDB debug deadlocks at 87% and process will not terminate.
Product: [Tools] CDT Reporter: John Berryman <jfberryman>
Component: cdt-debug-dsf-gdbAssignee: Project Inbox <cdt-debug-dsf-gdb-inbox>
Status: NEW --- QA Contact: Jonah Graham <jonah>
Severity: major    
Priority: P3 CC: battalaykut, marc.khouzam, pawel.1.piech, sven.fischer6
Version: 8.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description John Berryman CLA 2010-09-18 12:05:09 EDT
Build Identifier: 20100617-1415

When trying to debug certain C++ projects using GDB (I don't know if I'm going through the CDT CDI GDB Adapter or the CDT Debug Services Framework GDB Adapter) the progress stops at 87% during "Launching: Configuring GDB".  If I attempt to cancel (click the little red box) from the Progress view, then the progress panel shows "Cancel Requested", but it never cancels it.  If I click the little red box in the Console view, then a window pops up that says "Error: Terminate failed".  

Unfortunately it doesn't do this for every project.  It tends to happen with larger projects though.  However, if you find a project where it happens once, it should happen every time.

Probably related to bug 223154.

Reproducible: Sometimes

Steps to Reproduce:
1. Find a large project.
2. Click debug for that project.
Comment 1 John Berryman CLA 2010-09-18 12:13:33 EDT
Printout from gdb traces console:

364,080 1source .gdbinit
364,096 &"source .gdbinit\n"
364,096 &".gdbinit: No such file or directory.\n"
364,096 1^error,msg=".gdbinit: No such file or directory."
364,112 (gdb) 
364,127 2-environment-cd "C:/Documents and Settings/Administrator/My Documents/425 HyDE/Subverted/Jo\
hnContributions/HyDE_Workspace/425_FS5_HyDE"
554,565 3kill


**************************************

ALSO:
$ gdb --version
GNU gdb 6.8.0.20080328-cvs (cygwin-special)
Comment 2 Marc Khouzam CLA 2010-09-18 13:32:01 EDT
Since you have a 'gdb traces' console, it means it's DSF-GDB
Comment 3 Aykut Kilic CLA 2012-01-13 09:30:51 EST
I use CDT 8.0.0.201109151620. Same problem except progress halts at 84%.