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 186677 - [69cat][ide] IDE Freezes when changing icon sizes during project scanning.
Summary: [69cat][ide] IDE Freezes when changing icon sizes during project scanning.
Status: RESOLVED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Platform (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Erno Mononen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-25 15:05 UTC by esmithbss
Modified: 2010-06-04 06:07 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Command line thread dump (Ctrl-\ generated) (17.86 KB, text/plain)
2010-05-25 15:07 UTC, esmithbss
Details
Message Log from failed execution (77.07 KB, application/octet-stream)
2010-05-25 15:08 UTC, esmithbss
Details
UIGestures file (10.45 KB, application/octet-stream)
2010-05-25 15:08 UTC, esmithbss
Details
Metrics file (90.48 KB, application/octet-stream)
2010-05-25 15:08 UTC, esmithbss
Details
Thread Dump (20.09 KB, text/plain)
2010-05-28 17:28 UTC, javydreamercsw
Details
Part 1 of Heap Dump spliited zip (10.00 MB, application/x-zip-compressed)
2010-05-28 17:32 UTC, javydreamercsw
Details
Part 2 of Heap Dump splitted zip (9.44 MB, application/x-zip-compressed)
2010-05-28 17:35 UTC, javydreamercsw
Details

Note You need to log in before you can comment on or make changes to this bug.
Description esmithbss 2010-05-25 15:05:20 UTC
Product Version = NetBeans IDE Dev (Build 201005241008)
Operating System = Linux version 2.6.32-22-generic running on i386
Java; VM; Vendor = 1.6.0_20
Runtime = Java HotSpot(TM) Client VM 16.3-b01

Immediately after launching the IDE, I opened my existing RoR project and while the system was scanning the project, clicked on the toolbar to change the icon size to "Small Icons."

The pop-up menu opened and I was able to select Small Toolbar Icons.  After the menu closed, the IDE froze.

I have attached an in-process stack dump (<Ctrl>\) from the command line which launched the IDE, as well as the messages.log file and additional files that are present for the run.
Comment 1 esmithbss 2010-05-25 15:07:55 UTC
Created attachment 99441 [details]
Command line thread dump (Ctrl-\ generated)
Comment 2 esmithbss 2010-05-25 15:08:03 UTC
Created attachment 99442 [details]
Message Log from failed execution
Comment 3 esmithbss 2010-05-25 15:08:16 UTC
Created attachment 99443 [details]
UIGestures file
Comment 4 esmithbss 2010-05-25 15:08:25 UTC
Created attachment 99444 [details]
Metrics file
Comment 5 Peter Pis 2010-05-26 10:49:41 UTC
Reassigning.
Comment 6 javydreamercsw 2010-05-28 14:04:30 UTC
This seems to be related to what I saw today. In my case I was doing something else with the IDE open (IDE didn't had focus). When I went back the IDE was not responding, completely frozen. Sadly nothing was captured in the gesture, metrics and/or messages files. I'll capture a thread dump if it happens again.
Comment 7 javydreamercsw 2010-05-28 17:28:02 UTC
Created attachment 99627 [details]
Thread Dump
Comment 8 javydreamercsw 2010-05-28 17:32:30 UTC
Created attachment 99629 [details]
Part 1 of Heap Dump spliited zip
Comment 9 javydreamercsw 2010-05-28 17:35:06 UTC
Created attachment 99631 [details]
Part 2 of Heap Dump splitted zip

This happened to me already twice when trying to open the Databases node in the Service tab.
Comment 10 javydreamercsw 2010-05-28 17:36:24 UTC
I think is a more generic thing than ruby
Comment 11 Erno Mononen 2010-05-28 19:41:34 UTC
Thanks both for the thread dumps. The freeze when opening DB nodes seems to be a different (unrelated) issue, could you please file a separate issue for that against the db component (or let me know and I can do that for you)? I'm reassigning this back to ruby as Eric's report is an issue in the ruby support.
Comment 12 javydreamercsw 2010-05-28 23:44:22 UTC
Please open another bug, I don't have the attachments at home nor want to load them again.
Comment 13 Erno Mononen 2010-05-31 10:49:45 UTC
OK, I filed #186984 for the other issue.
Comment 14 Erno Mononen 2010-06-03 09:37:09 UTC
Is this reproducible for you? Just to check that the priority is correct (if this happens all the time to you, we should raise this to P2 at least). There obviously is an issue as evident from the thread dump, but I'm thinking it shouldn't happen too often; at least I wasn't able to reproduce.
Comment 15 Erno Mononen 2010-06-03 13:43:35 UTC
Fixed in f54b2eba6e29. The issue was caused by code that isn't needed at all, the class in question is originally based on the Java support equivalent (I suppose, don't know the history in details) and contains code that is unnecessary in Ruby. In this case the class was needlessly listening to changes that make no difference in Ruby and due to unlucky synchronization caused a deadlock. 

Thanks for the report!
Comment 16 Quality Engineering 2010-06-04 06:07:04 UTC
Integrated into 'main-golden', will be available in build *201006040001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/f54b2eba6e29
User: Erno Mononen <emononen@netbeans.org>
Log: #186677 - [69cat][ide] IDE Freezes when changing icon sizes during project scanning.
- removed needless code