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.
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.
Created attachment 99441 [details] Command line thread dump (Ctrl-\ generated)
Created attachment 99442 [details] Message Log from failed execution
Created attachment 99443 [details] UIGestures file
Created attachment 99444 [details] Metrics file
Reassigning.
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.
Created attachment 99627 [details] Thread Dump
Created attachment 99629 [details] Part 1 of Heap Dump spliited zip
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.
I think is a more generic thing than ruby
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.
Please open another bug, I don't have the attachments at home nor want to load them again.
OK, I filed #186984 for the other issue.
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.
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!
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