This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 162547 - gdb hangs on finish
Summary: gdb hangs on finish
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Egor Ushakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-14 02:10 UTC by tbrunhoff
Modified: 2012-03-30 15:28 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
gdb commands file (267.10 KB, text/plain)
2009-04-14 02:10 UTC, tbrunhoff
Details
messages.log (76.14 KB, text/plain)
2009-04-14 02:11 UTC, tbrunhoff
Details
thread dump (23.62 KB, text/plain)
2009-04-14 02:17 UTC, tbrunhoff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tbrunhoff 2009-04-14 02:10:07 UTC
I forced some code to run where it ends up in the following loop:
    while (true)
        waitMsec(100); // sleep 100 ms
I think clicked "pause", a "signal" dialog popped up and the ide hung. Attached below is the log and gdb commands file,
which continues to grow at this moment by a few bytes (various "ptype" commands).
Comment 1 tbrunhoff 2009-04-14 02:10:48 UTC
Created attachment 80009 [details]
gdb commands file
Comment 2 tbrunhoff 2009-04-14 02:11:28 UTC
Created attachment 80010 [details]
messages.log
Comment 3 tbrunhoff 2009-04-14 02:17:08 UTC
Created attachment 80011 [details]
thread dump
Comment 4 Egor Ushakov 2009-04-14 15:39:09 UTC
please try the same but close watches and variables views,
it looks like a dup of the issue 161905
Comment 5 Egor Ushakov 2009-04-17 12:34:48 UTC
fixed in:
http://hg.netbeans.org/cnd-main/rev/bf7d952c55ed
(there was a dead lock in caused by synchronization in GdbDebugger)
Comment 6 tbrunhoff 2012-03-30 15:26:48 UTC
Still present in...

Product Version: NetBeans IDE Dev (Build 201203210400)
Java: 1.6.0_23; Java HotSpot(TM) Client VM 19.0-b09
System: Linux version 2.6.35.14-106.fc14.x86_64 running on i386; UTF-8; en_US (nb)
User directory: /home/toddb/.netbeans/dev
Cache directory: /home/toddb/.cache/netbeans/dev
Comment 7 tbrunhoff 2012-03-30 15:28:17 UTC
Arg! Did not mean to repen this...