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 237908 - Deadlock: EDT and Editor initialization stuck
Summary: Deadlock: EDT and Editor initialization stuck
Status: RESOLVED DUPLICATE of bug 236095
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.4
Hardware: PC Windows XP
: P1 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-02 01:14 UTC by err
Modified: 2013-11-11 15:49 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread dump (20.59 KB, application/octet-stream)
2013-11-02 01:14 UTC, err
Details
messages.log (50.45 KB, text/plain)
2013-11-02 01:17 UTC, err
Details
Thread dump (as plain text) (20.59 KB, text/plain)
2013-11-02 01:18 UTC, err
Details
JVM error startup (17.30 KB, text/plain)
2013-11-02 02:03 UTC, err
Details
deadlock after running for a while (21.81 KB, text/plain)
2013-11-05 04:45 UTC, err
Details

Note You need to log in before you can comment on or make changes to this bug.
Description err 2013-11-02 01:14:43 UTC
Created attachment 141795 [details]
Thread dump

Attaching thread dump and messages log. This happened on startup. There were two editor windows open and side by side when I shutdown NB. When it hung only one of the editors showed text.
Comment 1 err 2013-11-02 01:17:42 UTC
Created attachment 141796 [details]
messages.log
Comment 2 err 2013-11-02 01:18:57 UTC
Created attachment 141797 [details]
Thread dump (as plain text)
Comment 3 err 2013-11-02 01:28:17 UTC
This is repeatable. I killed and restarted IDE. When it came up it had two modes for editors. Only one of the editors had text, the editor in the other mode was grey window (there was an editor tab with the correct file name). I could move the cursor in the editor with text. I clicked on the grey field and NB hung.
Comment 4 err 2013-11-02 01:55:56 UTC
I removed userdir and cache. Then clicked on the NB icon and it exits after a few seconds. It has created a few files, including an empty messages.log. weird.
Comment 5 err 2013-11-02 02:03:56 UTC
Created attachment 141798 [details]
JVM error startup

Hmm, in the NetBeans install directory I see

/NetBeans 7.4/ $ ls -l hs_err_pid*
-rwx------+ 1 erra None 17853 2013-11-01 18:47 hs_err_pid3752.log*
-rwx------+ 1 erra None 17720 2013-11-01 18:55 hs_err_pid4144.log*
-rwx------+ 1 erra None 18108 2013-11-01 18:46 hs_err_pid5484.log*
-rwx------+ 1 erra None 17953 2013-11-01 18:48 hs_err_pid664.log*

Which are the last few minutes where NB startup stops after a few seconds. I've attached one of them for your information.

Looks like the JVM now refuses to start. I'll reboot the system...
Comment 6 err 2013-11-02 14:57:55 UTC
The issue from comment #4 and comment #5 has nothing to do with the deadlock. It had to do with starting minimized (under windows-XP) and import options.
Comment 7 err 2013-11-05 04:45:26 UTC
Created attachment 141851 [details]
deadlock after running for a while

After reporting this on Saturday, I "fixed" the problem by starting with a new userdir. I had been running without this issue since then.

I just got another deadlock. In the previous cases, the deadlock occurred right after IDE startup, and was repeatable. In this case I got the deadlock while doing things.

Attaching thread dump.
Comment 8 err 2013-11-09 19:01:19 UTC
Got another deadlock at startup. In this case, a restart of IDE was OK.

Do you want to see the thread dump?
Comment 9 Miloslav Metelka 2013-11-11 15:49:51 UTC
Dup of issue 236095. It should be available in patch candidate.

*** This bug has been marked as a duplicate of bug 236095 ***