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.
Netbeans hangs after double-clicking on "Find Usages" results. Detailed description: Put the cursor on any C variable/function/anything Press "Alt-F7" to find usages in the projet and hit "Find" You get "Usages" output window. Double-click on a couple of the results (usually one is enough) - The whole IDE is stuck. 2-3 Java processes are consuming about 10% CPU, rest are pretty quiet. System: Red Hat Enterprise Linux Server 6.2 jdk-1.7.0_25 and jdk-1.7.0_40 (same behavior with both of them) Product Version: NetBeans IDE 7.4 (Build 201310111528) Updates: NetBeans IDE is updated to version NetBeans 7.4 Patch 2 Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b15 System: Linux version 2.6.32-220.el6.x86_64 running on amd64; UTF-8; en_US (nb) P.S.: If I need to provide more info (logs, stack trace, etc), please point me to the instructions how to do it.
we need: http://wiki.netbeans.org/GenerateThreadDump and the following might helps as well: http://wiki.netbeans.org/FaqProfileMeNow
Created attachment 145996 [details] Stack trace Stack trace of hanging IDE
Attaches stack trace of hanging IDE. For some reason "kill -3" doesn't work on NetBeans - it is just ignored, but I was able to generate the stack with jstack. As for the second item (profiling) - I believe that it is irrelevant. It's not that IDE becomes slow - it is just hangs. It doesn't even redraw the GUI. If I drag a window above NetBeans when it is stuck, it leaves blank trail on the whole area when the window went through.
could you, please, try NB 8. It looks like the issue #241692
It could be the same issue as you're pointing out, not sure about it though. It's not that I can't get to "find usage" results - the whole IDE is stuck, and I don't see any log message and/or exception window. You can probably check by stack traces - I didn't examine them. In any case, I don't see this problem in NB 8.0 RC1.
thanks for verification in RC1 *** This bug has been marked as a duplicate of bug 241692 ***
It has just happened with NB 8.0 RC1. Please see my previous comment - from the symptoms, it doesn't look like duplicate of the issue that you've marked. But you're the expert - if you see that stack traces are similar, then you know better. In any case, I'm reopening the issue and changing the version from 7.4 to 8.0. I'll also attach a new 8.0 stack trace shortly.
Created attachment 146048 [details] Stack trace for 8.0 RC1
I've just tried latest dev version - same problem. Attaching the new trace.
Created attachment 146049 [details] Stack trace for latest dev version
Updated version info: Product Version: NetBeans IDE Dev (Build 201403160001) Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b15 System: Linux version 2.6.32-220.el6.x86_64 running on amd64; UTF-8; en_US (nb)
Thanks for stacks. Can you reproduce the issue on a simple project (i. e. Quote C++ sample project)?
Nope, can't reproduce it with sample projects. Tried it with "Quote C++ sample project" and some other project - works OK.
I also can not reproduce... Can you try and investigate specific of your source base, please? I.e. Can you check if your paths contains symlinks.
Just want to mention: I'm not abandoning this issue, but for some reason I can't reproduce it any more. Do you have enough info in the stacks to get going? In any case, will update when the issue is back.
Unfortunately, it is not clear from stack why some events are not delivered (=> infinite wait). Please, reopen the bug when have more information. What can help me to analyze the issue: 1) Run IDE with extra option #netbeans -J-Dorg.netbeans.modules.cnd.editor.cos.COSRedirectorImpl.level=0 If you get the issue with such extra log, then you can try to disable: run IDE with extra option #netbeans -J-Dnb.cosredirector=false