Bug 187993 - The IDE hangs whilst in the middle of editing a file, cpu goes to 99% and ends up with having to kill the process.
The IDE hangs whilst in the middle of editing a file, cpu goes to 99% and end...
Status: RESOLVED INCOMPLETE
Product: editor
Classification: Unclassified
Component: Hints & Annotations
6.x
Macintosh (x86) Mac OS X
: P3 (vote)
: 7.0
Assigned To: issues@editor
issues@editor
: RANDOM, THREAD
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-06-23 11:24 UTC by petermount
Modified: 2010-07-09 07:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
:


Attachments
The netbeans log of the session up until the crash (92.55 KB, application/octet-stream)
2010-06-23 11:25 UTC, petermount
Details
Thread dump of NetBeans 6.9 whilst locked (10.83 KB, text/plain)
2010-06-25 15:50 UTC, petermount
Details

Note You need to log in before you can comment on or make changes to this bug.
Description petermount 2010-06-23 11:24:29 UTC
Product Version = NetBeans IDE 6.9 (Build 201006101454)
Operating System = Mac OS X version 10.5.8 running on x86_64
Java; VM; Vendor = 1.6.0_20
Runtime = Java HotSpot(TM) 64-Bit Server VM 16.3-b01-279

What I did was to copy an existing class then editing it to convert it into an interface that the existing one was going to implement.

The editor then hung and the cpu went to 99% on one core and after a couple of minutes I ended up killing the process.

In the log I could see there were reported problems with FoldManager and HtmlRenderer at the time of the crash.
Comment 1 petermount 2010-06-23 11:25:37 UTC
Created attachment 100358 [details]
The netbeans log of the session up until the crash
Comment 2 Peter Pis 2010-06-23 14:36:37 UTC
Could you please take and attach thread dump while you run into this? Thanks.
http://wiki.netbeans.org/GenerateThreadDump
Comment 3 petermount 2010-06-25 15:50:13 UTC
Created attachment 100421 [details]
Thread dump of NetBeans 6.9 whilst locked

Ok here's a thread dump as I've managed to get it to hang again.

This time it was while creating a new class and running auto import
Comment 4 Vitezslav Stejskal 2010-07-09 07:34:05 UTC
This is strange. The thread dump shows that the only thread with some activity is AWT-EventQueue-1, but it's not blocked. At the time of taking the threaddump it was rendering the editor error stripe. No other threads seem to do anything. In the log file there is an exception from maven, but it's probably unrelated. Could you please generate more threaddumps (eg. several consecutive dumps in approx 1s succession)? Thanks
Comment 5 petermount 2010-07-09 07:41:17 UTC
Up until that last thread dump it was happening every few days, however it's not done it since - although it has had several real go-slows which I thought was the same, but it then recovered.

I had a look at the dump myself and couldn't see anything either. If it happens again then I'll do another dump.

One thing I have observed however, you mentioned maven - I use maven exclusively and a lot of the go-slows do happen just after a maven build. Some of my maven builds are pretty big so that may not necessarily be unrelated after all.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo