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 226887 - NetBeans frozen during search (Ctrl+F)
Summary: NetBeans frozen during search (Ctrl+F)
Status: RESOLVED DUPLICATE of bug 225925
Alias: None
Product: editor
Classification: Unclassified
Component: CSL (API & infrastructure) (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P1 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-01 11:54 UTC by ecerichter
Modified: 2013-03-04 16:26 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE Log (607.63 KB, application/octet-stream)
2013-03-01 11:54 UTC, ecerichter
Details
Screenshot of the issue (57.19 KB, image/png)
2013-03-01 11:54 UTC, ecerichter
Details
Thread dump (48.39 KB, application/octet-stream)
2013-03-01 11:55 UTC, ecerichter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ecerichter 2013-03-01 11:54:10 UTC
Created attachment 132060 [details]
IDE Log

Using NetBeans DEV 201302272300 on Windows 7 x64 with JDK 1.7.0_13 x64.

Right click a subfolder in a project, then choose "find...".
Find dialog is shown, user fill the word to search for and click Find.
NetBeans got frozen, not saved code is lost.
Not recoverable, has to go into Task manager and kill the netbeans64.exe process to start again.

Attached there is:

- NetBeans log
- Screenshot
- Thread dump from Visual VM
Comment 1 ecerichter 2013-03-01 11:54:36 UTC
Created attachment 132061 [details]
Screenshot of the issue
Comment 2 ecerichter 2013-03-01 11:55:12 UTC
Created attachment 132062 [details]
Thread dump
Comment 3 Milos Kleint 2013-03-01 12:18:46 UTC
nothing project specific in the stacktraces, reassigning to search subcomponent for evaluation
Comment 4 Jaroslav Havlin 2013-03-01 12:38:37 UTC
Can you reproduce the bug? Is the IDE frozen every time you run the same search?
Is is frozen if you search in another directory?
Is there a lot of matches when the search is completed?
Thank you.
Comment 5 ecerichter 2013-03-01 13:01:04 UTC
(In reply to comment #4)
> Can you reproduce the bug?
I don't know the cause, so I can assert I can reproduce. I've not analyzed the stack trace, but I do suspect it is related to other filesystem freeze I've experienced sporadically. My bets are on a lock in Object at jvm low level...

> Is the IDE frozen every time you run the same search?
No. Actually, I've never faced this issue before - but since I'm using DEV, would a newly introduced bug caused by fix in other areas (for instance, the new find interface/result modes?).

> Is is frozen if you search in another directory?
No.

> Is there a lot of matches when the search is completed?
No. About 12.

> Thank you.
Comment 6 Jaroslav Havlin 2013-03-01 15:58:13 UTC
Thread org.netbeans.modules.csl.navigation.ClassMemberPanelUI seems to call
org.netbeans.modules.parsing.api.ParserManager.parse() while it holds
Children lock and prevents other threads from updating node hierarchy.

Reassigning to Editor/CSL. Can you please check it? Thank you.
Comment 7 Milutin Kristofic 2013-03-04 16:26:46 UTC
This will be fixed by fixing #225925

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