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 191748 - gdb hangs
Summary: gdb hangs
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 7.0
Hardware: PC Linux
: P2 normal (vote)
Assignee: Egor Ushakov
URL:
Keywords:
: 191695 191724 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-11-09 01:12 UTC by tbrunhoff
Modified: 2010-11-18 16:15 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tbrunhoff 2010-11-09 01:12:51 UTC
With this build, the gdb startup seems to be a little different, but I get no terminal output, the app appears to be started under gdb (here the ps output):

    23294 pts/1    ts+    0:00 /home/toddb/src/src1/omneon/pcapps/mediareader/obj.linux64/mediareader

...which shows that the process is stopped.  But in the ide, the stop and pause button are highlighted as if it is running. If I select console type = internal terminal, I get a new pane in the output window, but no output. All other console types show nothing (this is just a tty app). If I start gdb from the command line using the same binary, it does what I expect. This definitely was not broken with netbeans-trunk-nightly-201010120000-linux.sh

The build I am using is:

Product Version: NetBeans IDE Dev (Build nbms-and-javadoc-5919-on-101012)
Java: 1.6.0_18; Java HotSpot(TM) 64-Bit Server VM 16.0-b13
System: Linux version 2.6.34.7-56.fc13.x86_64 running on amd64; UTF-8; en_US (nb)
Userdir: /home/toddb/.netbeans/dev
Comment 1 Alexander Pepin 2010-11-09 16:16:09 UTC
It was kind of expected regressions due to switching to new common debugger infrastructure.
Terminal output now is fixed in bug #191464
Debugger hangs on Linux x64 and on Windows.
Comment 2 soldatov 2010-11-09 18:26:56 UTC
On Windows if MinGW+MSYS are used
Comment 3 Egor Ushakov 2010-11-10 15:11:53 UTC
on some platforms gdb produce *stopped messages without token prefix
Comment 4 Egor Ushakov 2010-11-10 17:03:02 UTC
fixed in:
http://hg.netbeans.org/cnd-main/rev/80e03d6990d8
Comment 5 Quality Engineering 2010-11-11 06:10:06 UTC
Integrated into 'main-golden', will be available in build *201011110000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/80e03d6990d8
User: Egor Ushakov <gorrus@netbeans.org>
Log: fixed #191748 (gdb hangs)
Comment 6 Egor Ushakov 2010-11-11 14:19:55 UTC
*** Bug 191724 has been marked as a duplicate of this bug. ***
Comment 7 Egor Ushakov 2010-11-17 09:48:37 UTC
*** Bug 191695 has been marked as a duplicate of this bug. ***
Comment 8 Jiri Kovalsky 2010-11-18 12:12:24 UTC
Todd, do you consider the bug fixed in the recent development builds? Thanks!
Comment 9 tbrunhoff 2010-11-18 16:15:23 UTC
Sorry, I haven't had a chance to test it... I've been debugging a shared object (which can't easily be debugged under netbeans... a different bug). I'll try to get to it tomorrow or monday.