Bug 325682 - GDB debug deadlocks at 87% and process will not terminate.
Summary: GDB debug deadlocks at 87% and process will not terminate.
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-dsf-gdb (show other bugs)
Version: 8.0   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-18 12:05 EDT by John Berryman CLA
Modified: 2020-09-04 15:24 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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%.