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 252393 - Deadlock in masterfs
Summary: Deadlock in masterfs
Status: RESOLVED DUPLICATE of bug 246893
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-14 00:13 UTC by gteichrow
Modified: 2015-08-12 08:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 209605


Attachments
stacktrace (2.11 KB, text/plain)
2015-05-14 00:14 UTC, gteichrow
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gteichrow 2015-05-14 00:13:59 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Mac OS X

User Comments:
gteichrow: WTF?  lol  Deadlock?

GUEST: Switched to the console and ran a Maven build. Switching back to the IDE, the deadlock occured.

GUEST: Not drop, just wtite something about IDE problem and i cant do anything.

GUEST: Don't know.

gteichrow: No idea...

GUEST: ????????? ????????? ? ???????????????? ? ???????? ????????????? IDE. ????????? ?? ???????????, ???????? ???????????? ??????????????? ????????? ?????????.




Stacktrace: 
org.netbeans.modules.deadlock.detector.Detector$DeadlockDetectedException: Thread-17
   at sun.nio.fs.PollingWatchService$PollingWatchKey.cancel(PollingWatchService.java:308)
   at sun.nio.fs.PollingWatchService$PollingWatchKey.poll(PollingWatchService.java:331)
   at sun.nio.fs.PollingWatchService$PollingWatchKey$1.run(PollingWatchService.java:290)
   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
   at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
   at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
Comment 1 gteichrow 2015-05-14 00:14:01 UTC
Created attachment 153645 [details]
stacktrace
Comment 2 David Strupl 2015-05-29 16:40:47 UTC
Please check the thread dumps attached. They seem to point to masterfs.
Comment 3 Jaroslav Havlin 2015-08-12 08:29:48 UTC
> Please check the thread dumps attached. They seem to point to masterfs.
Sure. Thank you, David.

The deadlock occurred on Macs that failed to initialize native FS notifier and used NIO2 notifier instead, and on BSDs that can use only NIO2 notifier.

This is a duplicate of bug 246893, which was reported from OS Solaris.

Thank you for reporting.

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