You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "David Gradwell (Jira)" <ji...@apache.org> on 2020/12/09 12:32:00 UTC

[jira] [Created] (NETBEANS-5128) NetBeans 12.2 deadlock detected followed by hang on restart

David Gradwell created NETBEANS-5128:
----------------------------------------

             Summary: NetBeans 12.2 deadlock detected followed by hang on restart
                 Key: NETBEANS-5128
                 URL: https://issues.apache.org/jira/browse/NETBEANS-5128
             Project: NetBeans
          Issue Type: Bug
          Components: core
    Affects Versions: 12.2
         Environment: macOS Big Sur 11.0.1 on M1 Mac Mini.

Product Version: Apache NetBeans IDE 12.2
Java: 16-ea; OpenJDK 64-Bit Server VM 16-ea+27-1884
Runtime: OpenJDK Runtime Environment 16-ea+27-1884
System: Mac OS X version 10.16 running on x86_64; UTF-8; en_GB (nb)
User directory: /Users/davidjlgradwell/Library/Application Support/NetBeans/12.2
Cache directory: /Users/davidjlgradwell/Library/Caches/NetBeans/12.2
            Reporter: David Gradwell


I am re-building all my projects on a new M1 Mac Mini using Netbeans 12.2.

So far 33 projects have been compiled successfully and some of the top level applications run OK.

The IDE reported a deadlock and quit.  On restart the first time it hung up and I had to quit using Force Quit.

 

On second restart it restarted OK and reported the deadlock with the following:

 

<record>
 <date>2020-12-09T12:09:06</date>
 <millis>1607515746107</millis>
 <sequence>2855</sequence>
 <logger>org.netbeans.modules.deadlock.detector.Detector</logger>
 <level>1000</level>
 <thread>41</thread>
 <message>/var/folders/tz/qrn9d9cj4t5d75slc8rhdvp40000gn/T/deadlock16188165443254245765.txt</message>
 <exception>
 <message>org.netbeans.modules.deadlock.detector.Detector$DeadlockDetectedException: A deadlock was detected.
We suggest to restart the IDE to recover.</message>
 <frame>
 <class>sun.nio.fs.PollingWatchService$PollingWatchKey</class>
 <method>cancel</method>
 <line>324</line>
 <file>jrt:/java.base/sun/nio/fs/PollingWatchService$PollingWatchKey.class</file>
 </frame>
 <frame>
 <class>sun.nio.fs.PollingWatchService$PollingWatchKey</class>
 <method>poll</method>
 <line>348</line>
 <file>jrt:/java.base/sun/nio/fs/PollingWatchService$PollingWatchKey.class</file>
 </frame>
 <frame>
 <class>sun.nio.fs.PollingWatchService$PollingWatchKey$1</class>
 <method>run</method>
 <line>307</line>
 <file>jrt:/java.base/sun/nio/fs/PollingWatchService$PollingWatchKey$1.class</file>
 </frame>
 <frame>
 <class>java.util.concurrent.Executors$RunnableAdapter</class>
 <method>call</method>
 <line>515</line>
 <file>jrt:/java.base/java/util/concurrent/Executors$RunnableAdapter.class</file>
 </frame>
 <frame>
 <class>java.util.concurrent.FutureTask</class>
 <method>runAndReset</method>
 <line>305</line>
 <file>jrt:/java.base/java/util/concurrent/FutureTask.class</file>
 </frame>
 <frame>
 <class>java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask</class>
 <method>run</method>
 <line>305</line>
 <file>jrt:/java.base/java/util/concurrent/ScheduledThreadPoolExecutor$ScheduledFutureTask.class</file>
 </frame>
 <frame>
 <class>java.util.concurrent.ThreadPoolExecutor</class>
 <method>runWorker</method>
 <line>1130</line>
 <file>jrt:/java.base/java/util/concurrent/ThreadPoolExecutor.class</file>
 </frame>
 <frame>
 <class>java.util.concurrent.ThreadPoolExecutor$Worker</class>
 <method>run</method>
 <line>630</line>
 <file>jrt:/java.base/java/util/concurrent/ThreadPoolExecutor$Worker.class</file>
 </frame>
 <frame>
 <class>java.lang.Thread</class>
 <method>run</method>
 <line>831</line>
 <file>jrt:/java.base/java/lang/Thread.class</file>
 </frame>
 </exception>
 <exception>
 <message>org.netbeans.modules.deadlock.detector.Detector$DeadlockDetectedException: FileSystemWatcher</message>
 <more>9</more>
 </exception>
 <exception>
 <message>org.netbeans.modules.deadlock.detector.Detector$DeadlockDetectedException: Pending refresh</message>
 <frame>
 <class>sun.nio.fs.PollingWatchService$PollingWatchKey</class>
 <method>disable</method>
 <line>315</line>
 <file>jrt:/java.base/sun/nio/fs/PollingWatchService$PollingWatchKey.class</file>
 </frame>
 <frame>
 <class>sun.nio.fs.PollingWatchService</class>
 <method>doPrivilegedRegister</method>
 <line>188</line>
 <file>jrt:/java.base/sun/nio/fs/PollingWatchService.class</file>
 </frame>
 <frame>
 <class>sun.nio.fs.PollingWatchService$2</class>
 <method>run</method>
 <line>147</line>
 <file>jrt:/java.base/sun/nio/fs/PollingWatchService$2.class</file>
 </frame>
 <frame>
 <class>sun.nio.fs.PollingWatchService$2</class>
 <method>run</method>
 <line>144</line>
 <file>jrt:/java.base/sun/nio/fs/PollingWatchService$2.class</file>
 </frame>
 <frame>
 <class>java.security.AccessController</class>
 <method>executePrivileged</method>
 <line>784</line>
 <file>jrt:/java.base/java/security/AccessController.class</file>
 </frame>
 <frame>
 <class>java.security.AccessController</class>
 <method>doPrivileged</method>
 <line>554</line>
 <file>jrt:/java.base/java/security/AccessController.class</file>
 </frame>
 <frame>
 <class>sun.nio.fs.PollingWatchService</class>
 <method>register</method>
 <line>143</line>
 <file>jrt:/java.base/sun/nio/fs/PollingWatchService.class</file>
 </frame>
 <frame>
 <class>sun.nio.fs.UnixPath</class>
 <method>register</method>
 <line>912</line>
 <file>jrt:/java.base/sun/nio/fs/UnixPath.class</file>
 </frame>
 <frame>
 <class>java.nio.file.Path</class>
 <method>register</method>
 <line>894</line>
 <file>jrt:/java.base/java/nio/file/Path.class</file>
 </frame>
 <frame>
 <class>org.netbeans.modules.masterfs.watcher.nio2.NioNotifier</class>
 <method>addWatch</method>
 <line>52</line>
 <file>${netbeans.home}modules/org-netbeans-modules-masterfs-nio2.jar</file>
 </frame>
 <frame>
 <class>org.netbeans.modules.masterfs.watcher.nio2.NioNotifier</class>
 <method>addWatch</method>
 <line>40</line>
 <file>${netbeans.home}modules/org-netbeans-modules-masterfs-nio2.jar</file>
 </frame>
 <frame>
 <class>org.netbeans.modules.masterfs.providers.Notifier$1</class>
 <method>addWatch</method>
 <line>91</line>
 <file>${netbeans.home}modules/org-netbeans-modules-masterfs.jar</file>
 </frame>
 <frame>
 <class>org.netbeans.modules.masterfs.watcher.Watcher$Ext</class>
 <method>registerSynchronized</method>
 <line>237</line>
 <file>${netbeans.home}modules/org-netbeans-modules-masterfs.jar</file>
 </frame>
 <frame>
 <class>org.netbeans.modules.masterfs.watcher.Watcher$Ext</class>
 <method>access$100</method>
 <line>158</line>
 <file>${netbeans.home}modules/org-netbeans-modules-masterfs.jar</file>
 </frame>
 <frame>
 <class>org.netbeans.modules.masterfs.watcher.Watcher$Ext$1</class>
 <method>run</method>
 <line>219</line>
 <file>${netbeans.home}modules/org-netbeans-modules-masterfs.jar</file>
 </frame>
 <frame>
 <class>org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager</class>
 <method>waitNowAndRun</method>
 <line>188</line>
 <file>${netbeans.home}modules/org-netbeans-modules-masterfs.jar</file>
 </frame>
 <frame>
 <class>org.netbeans.modules.masterfs.watcher.Watcher$Ext</class>
 <method>register</method>
 <line>216</line>
 <file>${netbeans.home}modules/org-netbeans-modules-masterfs.jar</file>
 </frame>
 <frame>
 <class>org.netbeans.modules.masterfs.watcher.Watcher</class>
 <method>register</method>
 <line>97</line>
 <file>${netbeans.home}modules/org-netbeans-modules-masterfs.jar</file>
 </frame>
 <frame>
 <class>org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj</class>
 <method>addFileChangeListener</method>
 <line>532</line>
 <file>${netbeans.home}modules/org-netbeans-modules-masterfs.jar</file>
 </frame>
 <frame>
 <class>org.netbeans.modules.versioning.core.api.VCSFileProxy$2</class>
 <method>run</method>
 <line>179</line>
 <file>${netBeansDir}modules/org-netbeans-modules-versioning-core.jar</file>
 </frame>
 <frame>
 <class>org.netbeans.modules.versioning.core.api.VCSFileProxy</class>
 <method>createFileProxy</method>
 <line>185</line>
 <file>${netBeansDir}modules/org-netbeans-modules-versioning-core.jar</file>
 </frame>
 <frame>
 <class>org.netbeans.modules.versioning.masterfs.FilesystemInterceptor</class>
 <method>createdExternally</method>
 <line>213</line>
 <file>${netBeansDir}modules/org-netbeans-modules-versioning-masterfs.jar</file>
 </frame>
 <frame>
 <class>org.netbeans.modules.masterfs.ProvidedExtensionsProxy$12</class>
 <method>run</method>
 <line>313</line>
 <file>${netbeans.home}modules/org-netbeans-modules-masterfs.jar</file>
 </frame>
 <frame>
 <class>org.netbeans.modules.masterfs.ProvidedExtensionsProxy</class>
 <method>runCheckCode</method>
 <line>468</line>
 <file>${netbeans.home}modules/org-netbeans-modules-masterfs.jar</file>
 </frame>
 <frame>
 <class>org.netbeans.modules.masterfs.ProvidedExtensionsProxy</class>
 <method>createdExternally</method>
 <line>311</line>
 <file>${netbeans.home}modules/org-netbeans-modules-masterfs.jar</file>
 </frame>
 <frame>
 <class>org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj</class>
 <method>refreshImpl</method>
 <line>477</line>
 <file>${netbeans.home}modules/org-netbeans-modules-masterfs.jar</file>
 </frame>
 <frame>
 <class>org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj</class>
 <method>refresh</method>
 <line>868</line>
 <file>${netbeans.home}modules/org-netbeans-modules-masterfs.jar</file>
 </frame>
 <frame>
 <class>org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj</class>
 <method>refresh</method>
 <line>537</line>
 <file>${netbeans.home}modules/org-netbeans-modules-masterfs.jar</file>
 </frame>
 <frame>
 <class>org.openide.filesystems.FileObject</class>
 <method>refresh</method>
 <line>1194</line>
 <file>${netbeans.home}core/org-openide-filesystems.jar</file>
 </frame>
 <frame>
 <class>org.netbeans.modules.masterfs.watcher.Watcher$1</class>
 <method>run</method>
 <line>415</line>
 <file>${netbeans.home}modules/org-netbeans-modules-masterfs.jar</file>
 </frame>
 <frame>
 <class>org.openide.util.RequestProcessor$Task</class>
 <method>run</method>
 <line>1418</line>
 <file>${netbeans.home}lib/org-openide-util.jar</file>
 </frame>
 <frame>
 <class>org.netbeans.modules.openide.util.GlobalLookup</class>
 <method>execute</method>
 <line>45</line>
 <file>${netbeans.home}lib/org-openide-util-lookup.jar</file>
 </frame>
 <frame>
 <class>org.openide.util.lookup.Lookups</class>
 <method>executeWith</method>
 <line>278</line>
 <file>${netbeans.home}lib/org-openide-util-lookup.jar</file>
 </frame>
 <frame>
 <class>org.openide.util.RequestProcessor$Processor</class>
 <method>run</method>
 <line>2033</line>
 <file>${netbeans.home}lib/org-openide-util.jar</file>
 </frame>
 <more>0</more>
 </exception>
</record>
<record>
 <date>2020-12-09T12:22:47</date>
 <millis>1607516567350</millis>
 <sequence>587</sequence>
 <level>700</level>
 <thread>60</thread>
 <message>UI_USER_CONFIGURATION</message>
 <key>UI_USER_CONFIGURATION</key>
 <catalog>org.netbeans.modules.uihandler.Bundle</catalog>
 <param>Mac OS X, 10.16, x86_64</param>
 <param>OpenJDK 64-Bit Server VM, 16-ea+27-1884, OpenJDK Runtime Environment, 16-ea+27-1884</param>
 <param>Apache NetBeans IDE 12.2</param>
 <param></param>
 <param>org.netbeans.modules.deadlock.detector.Detector$DeadlockDetectedException: Pending refresh</param>
 <param>&lt;Please provide a description of the problem or the steps to reproduce&gt;</param>
 <param>*********</param>
</record>



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists