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 11165 - Closing tasks while they're being debugged hangs system
Summary: Closing tasks while they're being debugged hangs system
Status: CLOSED WONTFIX
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC OS/2
: P1 blocker (vote)
Assignee: issues@debugger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-04-07 04:33 UTC by _ gtzabari
Modified: 2002-07-19 15:17 UTC (History)
0 users

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 _ gtzabari 2001-04-07 04:33:54 UTC
release32, build 21

I'm not sure if this is Netbeans specific or JVM specific, but either way 
it leads to a major bugs so I'm putting it to P1.

Reproduction steps:

1) Start debugging GUI app with a breakpoint
2) Executation halts on breakpoint
3) Try closing GUI app by selecting its window and closing it
4) Entire system will hang

    This might be a deadlock issue (it seems to me 100% cpu is being 
used), or it might be a JVM or even a Java-specification problem. Either 
way, it's quite serious.
Comment 1 _ gtzabari 2001-04-07 21:27:32 UTC
Ok, I just got more exact reproduction steps.

If I use "DEBUG -> FINISH" while the app is still frozen on its 
breakpoint, I can never close it again. Trying to do so seems to hang the 
entire system (100% cpu usage and all that).

The workaround: DEBUG -> CONTINUE, close the apps, the debugger will 
shutdown by itself

A quick fix you guys could do is auto-close the apps when the debugger 
itself is closed. But it might leave other bugs open..
Comment 2 Jan Jancura 2001-04-09 14:06:00 UTC
We can not reproduce it. It looks like problem of JDK on OS/2, so we probably 
can not fix it to NB32.

Can you try to reproduce this bug with jdb (command line debugger /bin/jdb.exe), 
please?

Comment 3 Jan Jancura 2001-04-17 09:09:59 UTC
Probably problem of JDK on OS/2. We can not fix it.