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 212166 - scanning locked up
Summary: scanning locked up
Status: RESOLVED INVALID
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 7.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-07 21:08 UTC by gholmer
Modified: 2012-05-21 09:23 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NetBeans log file (582.82 KB, text/x-log)
2012-05-07 21:08 UTC, gholmer
Details
thread dump (24.27 KB, text/plain)
2012-05-07 21:08 UTC, gholmer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gholmer 2012-05-07 21:08:26 UTC
Created attachment 119146 [details]
NetBeans log file

Scanning locked up for about five minutes with CPU pegged.
Comment 1 gholmer 2012-05-07 21:08:56 UTC
Created attachment 119147 [details]
thread dump
Comment 2 Tomas Zezula 2012-05-11 13:57:58 UTC
All the FS calls are waiting for monitor on 0x7d6f0990 which is owned by thread "Pending refresh".

"Pending refresh" daemon prio=10 tid=0x63c72000 nid=0x1469 runnable [0x64ce0000]
   java.lang.Thread.State: RUNNABLE
	at java.lang.Thread.holdsLock(Native Method)
	at org.netbeans.modules.masterfs.filebasedfs.naming.NamingFactory.cleanQueue(NamingFactory.java:402)
	at org.netbeans.modules.masterfs.filebasedfs.naming.NamingFactory.registerInstanceOfFileNaming(NamingFactory.java:220)
	at org.netbeans.modules.masterfs.filebasedfs.naming.NamingFactory.fromFile(NamingFactory.java:111)
	- locked <0x7d6f0990> (a java.lang.Class for org.netbeans.modules.masterfs.filebasedfs.naming.NamingFactory)

It's not clear how long it takes.

To reporter: Please if you can reproduce it can you either create IDE self profile (nps file) or 3 successive thread dumps with 5 seconds delay. Thanks a lot.
Comment 3 gholmer 2012-05-11 14:06:09 UTC
I think this may be the real problem:

http://netbeans.org/bugzilla/show_bug.cgi?id=212341
Comment 4 Jaroslav Tulach 2012-05-18 12:31:03 UTC
I can see (self?) profiling was running. Can I get the profiling snapshot please?
Comment 5 gholmer 2012-05-18 12:36:01 UTC
Where will I find this? NB: I typically install the latest dev build every morning, deleting the contents of the install and user dirs and re-importing the userdir from 7.1.x.
Comment 6 Tomas Zezula 2012-05-18 13:36:14 UTC
You can find details on the following page: http://wiki.netbeans.org/FitnessViaPartnership
Comment 7 gholmer 2012-05-18 15:40:09 UTC
Ah! then I am afraid if there was one, it is gone forever (see comment 5). I never got as far as seeing it in the IDE.
Comment 8 Tomas Zezula 2012-05-21 09:23:56 UTC
Thanks for help.