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 97933 - UIGCollector prevents IDE from shutdown
Summary: UIGCollector prevents IDE from shutdown
Status: VERIFIED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Logger (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-15 10:27 UTC by Max Sauer
Modified: 2007-03-20 10:27 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
full thread dump (15.04 KB, text/plain)
2007-03-15 10:27 UTC, Max Sauer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Max Sauer 2007-03-15 10:27:02 UTC
UIGCollector module prevents IDE from shutdown. Instead, the wohle IDE gets
frozen. See attached thread dump.

Steps to reproduce:
-------------------
1) Try to close IDE via [x] button


"AWT-EventQueue-1" prio=10 tid=0x09d25800 nid=0x15fb in Object.wait()
[0x699c3000..0x699c3f40]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0xb00e2ce0> (a
org.netbeans.modules.uihandler.Installer$Submit)
        at java.lang.Object.wait(Object.java:485)
        at
org.netbeans.modules.uihandler.Installer$Submit.doShow(Installer.java:517)
        - locked <0xb00e2ce0> (a org.netbeans.modules.uihandler.Installer$Submit)
        at
org.netbeans.modules.uihandler.Installer.doDisplaySummary(Installer.java:245)
        at
org.netbeans.modules.uihandler.Installer.displaySummary(Installer.java:225)
        at org.netbeans.modules.uihandler.Installer.closing(Installer.java:206)
...
(whole thread dump attached)

In case the module is disabled, IDE shutdown works OK.

---
NetBeans IDE Dev (Build 070315)
1.6.0_01; Java HotSpot(TM) Server VM 1.6.0_01-b04
Linux version 2.6.12-1.1390_FC4smp running on i386
en_US (nb); UTF-8
Comment 1 Max Sauer 2007-03-15 10:27:34 UTC
Created attachment 39503 [details]
full thread dump
Comment 2 Jindrich Sedek 2007-03-15 12:40:21 UTC
I'm getting the same thread dump when pressing report problem button after a
thrown exception.
Comment 3 Jaroslav Tulach 2007-03-15 17:05:39 UTC
Date: 2007/03/15 12:12:38
Author: jtulach
Branch: HEAD
Tag: (none)
Log:
#97933: Fixing the exit deadlock

Members:
        src/org/netbeans/modules/uihandler/Installer.java:1.53->1.54
        
test/unit/src/org/netbeans/modules/uihandler/ShutdownFromAWTTest.java:INITIAL->1.1
Comment 4 Max Sauer 2007-03-20 10:27:59 UTC
Verified.
---
NetBeans IDE Dev (Build 200703191900)
1.6.0; Java HotSpot(TM) 64-Bit Server VM 1.6.0-b105
SunOS version 5.10 running on sparcv9
en (nb); ISO646-US