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 224114 - [73cat] Frozen IDE
Summary: [73cat] Frozen IDE
Status: RESOLVED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Logger (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P1 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
: 224622 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-12-21 03:23 UTC by misterm
Modified: 2013-01-09 09:28 UTC (History)
7 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log (1.01 MB, application/octet-stream)
2012-12-21 03:25 UTC, misterm
Details
thread dump (24.78 KB, text/plain)
2012-12-21 03:25 UTC, misterm
Details
thread dump (23.59 KB, text/plain)
2012-12-26 13:51 UTC, misterm
Details
messages.log (280.51 KB, application/octet-stream)
2012-12-26 13:51 UTC, misterm
Details
messages.log (703.20 KB, application/octet-stream)
2012-12-26 17:24 UTC, misterm
Details
thread dump (28.88 KB, text/plain)
2012-12-26 17:24 UTC, misterm
Details
messages.log (452.25 KB, application/octet-stream)
2012-12-27 17:19 UTC, misterm
Details
thread dump (23.30 KB, text/plain)
2012-12-27 17:19 UTC, misterm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description misterm 2012-12-21 03:23:41 UTC
Was invoking Git -> Diff when it happened.

Product Version = NetBeans IDE Dev (Build 20121220-4f53a116c76b)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_07
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.3-b01
Comment 1 misterm 2012-12-21 03:25:23 UTC
Created attachment 129603 [details]
messages.log
Comment 2 misterm 2012-12-21 03:25:29 UTC
Created attachment 129604 [details]
thread dump
Comment 3 Ondrej Vrabec 2012-12-21 15:54:54 UTC
IDE is consuming that much resources probably because of this changeset: core-main #1e328a630a9f . Jardo, i understand the meaning of the warning and i understand i am supposed to rewrite my code to limit number of scheduled tasks and i will. But logging the warning again and again and thus lock the IDE is wrong IMHO. Can't you just log the warning once or at least with a reasonable period?
Comment 4 Ondrej Vrabec 2012-12-21 17:33:25 UTC
I filed this bug to deal with too many scheduled tasks: bug #224144
Next to the excessive logging, there seems to be a deadlock in UIHandler:
"UI Gestures" daemon prio=2 tid=0x0000000014222000 nid=0x5214 in Object.wait() [0x0000000017a1f000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(Object.java:503)
	at java.awt.EventQueue.invokeAndWait(EventQueue.java:1252)
	- locked <0x00000007939a61f8> (a java.awt.EventQueue$1AWTInvocationLock)
	at org.netbeans.modules.uihandler.Installer.parseButtons(Installer.java:1104)
	at org.netbeans.modules.uihandler.Installer$Submit.doShow(Installer.java:1628)
	at org.netbeans.modules.uihandler.Installer.displaySummary(Installer.java:1001)
	at org.netbeans.modules.uihandler.Installer.access$400(Installer.java:113)
	at org.netbeans.modules.uihandler.Installer$1Auto.run(Installer.java:445)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1477)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2071)

"AWT-EventQueue-1" prio=6 tid=0x00000000145e9000 nid=0x3268 in Object.wait() [0x00000000125ee000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	at org.openide.util.Task.waitFinished(Task.java:164)
	- locked <0x0000000793985e80> (a org.openide.util.RequestProcessor$Task)
	at org.openide.util.RequestProcessor$Task.waitFinished(RequestProcessor.java:1772)
	at org.netbeans.modules.uihandler.UIHandler.waitFlushed(UIHandler.java:200)
	at org.netbeans.modules.uihandler.Installer.getLogsSize(Installer.java:694)
	at org.netbeans.modules.uihandler.api.Controller.getLogRecordsCount(Controller.java:80)
	at org.netbeans.modules.uihandler.interactive.SubmitAction$NrButton.run(SubmitAction.java:134)

Martine?
Comment 5 misterm 2012-12-26 13:51:27 UTC
Just happened again.
Comment 6 misterm 2012-12-26 13:51:32 UTC
Created attachment 129694 [details]
thread dump
Comment 7 misterm 2012-12-26 13:51:44 UTC
Created attachment 129695 [details]
messages.log
Comment 8 misterm 2012-12-26 13:54:25 UTC
I've lost everything I was typing this time, raising priority.
Comment 9 misterm 2012-12-26 17:24:26 UTC
Created attachment 129701 [details]
messages.log
Comment 10 misterm 2012-12-26 17:24:33 UTC
Created attachment 129702 [details]
thread dump
Comment 11 Ondrej Vrabec 2012-12-26 17:57:58 UTC
Disable org.netbeans.modules.uihandler.interactive (installed via AU) and you should be fine for now.
Comment 12 Ondrej Vrabec 2012-12-26 18:50:42 UTC
btw, it's already fixed: #221940. Reinstall the module

*** This bug has been marked as a duplicate of bug 221940 ***
Comment 13 misterm 2012-12-27 17:18:51 UTC
I have reinstalled it after you told me to do so, but it happened again.
Comment 14 misterm 2012-12-27 17:19:07 UTC
Created attachment 129724 [details]
messages.log
Comment 15 misterm 2012-12-27 17:19:15 UTC
Created attachment 129725 [details]
thread dump
Comment 16 Martin Entlicher 2013-01-02 14:33:35 UTC
A fix, similar to changeset 9fe300880a9f needs to be applied to SubmitStatus$NrLabel.adjustSize()
Comment 17 Martin Entlicher 2013-01-02 16:41:26 UTC
Fixed by changeset:   243689:9a7876c49e5c
http://hg.netbeans.org/core-main/rev/9a7876c49e5c
Comment 18 Quality Engineering 2013-01-04 02:30:31 UTC
Integrated into 'main-golden', will be available in build *201301040001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/9a7876c49e5c
User: mentlicher@netbeans.org
Log: #224114: Do not wait for the log records storage in AWT.
Comment 19 Ondrej Vrabec 2013-01-09 09:28:56 UTC
*** Bug 224622 has been marked as a duplicate of this bug. ***