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 211392 - [72cat] The IDE hangs when shutting down
Summary: [72cat] The IDE hangs when shutting down
Status: VERIFIED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Logger (show other bugs)
Version: 7.2
Hardware: PC Linux
: P1 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-18 12:41 UTC by Michel Graciano
Modified: 2012-04-24 10:01 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread dump (21.70 KB, text/plain)
2012-04-18 12:42 UTC, Michel Graciano
Details
Log file (77.85 KB, application/octet-stream)
2012-04-18 12:45 UTC, Michel Graciano
Details
Updated log file (68.02 KB, text/plain)
2012-04-18 12:49 UTC, Michel Graciano
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michel Graciano 2012-04-18 12:41:19 UTC
[ JDK VERSION : 1.7.3 ]

The IDe is frozen when I shut it down. I need to kill the process to finish it.
Comment 1 Michel Graciano 2012-04-18 12:41:48 UTC
Product Version: NetBeans IDE Dev (Build 20120418-e1c95119b726)
Java: 1.7.0_03; Java HotSpot(TM) Client VM 22.1-b02
System: Linux version 3.0.0-17-generic-pae running on i386; UTF-8; en_US (nb)
Comment 2 Michel Graciano 2012-04-18 12:42:25 UTC
Created attachment 118454 [details]
Thread dump
Comment 3 Michel Graciano 2012-04-18 12:44:31 UTC
This problem is happens after some restarts of the IDE. I have imported the 7.1 settings successfully and everything was OK, but after some restarts it started to freeze. Restart the OS does not help.
Comment 4 Michel Graciano 2012-04-18 12:45:24 UTC
Created attachment 118455 [details]
Log file
Comment 5 Michel Graciano 2012-04-18 12:49:12 UTC
Created attachment 118456 [details]
Updated log file

Both log file are from session which had frozen.
Comment 6 Marian Mirilovic 2012-04-19 08:55:31 UTC
Feel free to reassigne ...
Comment 7 Martin Entlicher 2012-04-19 09:15:14 UTC
UIHandler.waitFlushed(UIHandler.java:180) seems to wait indefinitely for a task, which does not finish for some reason...
Comment 8 Martin Entlicher 2012-04-20 09:39:59 UTC
"Flush UI Logs" thread is waiting until "UI Gestures" finishes, but "UI Gestures" is waiting back on "Flush UI Logs".

writeOut() must not wait for a task, that wants to have all messages written out.
Comment 9 Martin Entlicher 2012-04-22 20:06:33 UTC
Fixed by changeset:   219786:9128fbed24af
http://hg.netbeans.org/main/rev/9128fbed24af
Comment 10 Michel Graciano 2012-04-23 15:01:25 UTC
v. Build 20120423-87c35c55c776
Comment 11 Quality Engineering 2012-04-24 10:01:11 UTC
Integrated into 'main-golden', will be available in build *201204240400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/9128fbed24af
User: mentlicher@netbeans.org
Log: #211392: Prevent from submit process waiting on flush tasks, which is causing deadlocks. A test is written to verify the correct functionality.