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 257093 - Deadlock waiting to lock org.netbeans.modules.web.inspect.webkit.WebKitPageModel
Summary: Deadlock waiting to lock org.netbeans.modules.web.inspect.webkit.WebKitPageModel
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 8.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-10 09:56 UTC by terje7601
Modified: 2015-12-10 10:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
thread dump (41.54 KB, application/octet-stream)
2015-12-10 09:56 UTC, terje7601
Details
another thread dump (35.60 KB, text/plain)
2015-12-10 10:06 UTC, terje7601
Details

Note You need to log in before you can comment on or make changes to this bug.
Description terje7601 2015-12-10 09:56:26 UTC
Created attachment 157744 [details]
thread dump

While debugging, I got an NPE (cf. issue 257091) multiple times. At a certain point, the "exception report dialog" came up, but was not responsive. In fact, nothing was responsive anymore & I had to kill the NetBeans process.

From looking at the thread dumps, it seems there was a deadlock over an org.netbeans.modules.web.inspect.webkit.WebKitPageModel object (see attached thread dump). I also tried to make thread dumps with jstack and the "-m" and "-l" options, for a more detailed dump, but doing so hung jstack.

Product Version: NetBeans IDE Dev (Build 201512070002)
Java: 1.8.0_60; Java HotSpot(TM) 64-Bit Server VM 25.60-b23
Runtime: Java(TM) SE Runtime Environment 1.8.0_60-b27
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 1 terje7601 2015-12-10 10:06:57 UTC
Created attachment 157745 [details]
another thread dump

After restarting NetBeans, starting a project with the Chrome debugger, and doing "Start Inspect in NetBeans Mode", it hung again. This time I didn't get the NPE from issue 257091.

The issue seems to be the same: 1 thread
- locked <0x0000000794173970> (a org.netbeans.modules.web.inspect.webkit.WebKitPageModel)
while 2 others are
- waiting to lock <0x0000000794173970> (a org.netbeans.modules.web.inspect.webkit.WebKitPageModel)