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 235144 - deadlock when reloading a file
Summary: deadlock when reloading a file
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Text (show other bugs)
Version: 7.4
Hardware: PC Linux
: P2 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords: 7.4_HR_FIX
: 235179 235501 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-08-28 09:00 UTC by Ondrej Vrabec
Modified: 2013-09-11 16:22 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
thread dump (30.86 KB, text/plain)
2013-08-28 09:00 UTC, Ondrej Vrabec
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ondrej Vrabec 2013-08-28 09:00:23 UTC
Created attachment 139349 [details]
thread dump

running a mercurial command which most certainly changed the content of opened files
Comment 1 Ondrej Vrabec 2013-08-28 09:00:56 UTC
happened with:
Product Version: NetBeans IDE Dev (Build 20130826-b62b813297dc)
Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b15
System: Linux version 3.7.10-1.16-desktop running on amd64; UTF-8; en_US (nb)
User directory: /home/ondra/.netbeans/devel
Cache directory: /home/ondra/.cache/netbeans/devel
Comment 2 Miloslav Metelka 2013-09-03 12:47:58 UTC
It should be fixed by not doing an initial part of the reload under CloneableES$Listener lock:
http://hg.netbeans.org/jet-main/rev/3851c71227bf
Comment 3 Miloslav Metelka 2013-09-04 08:47:11 UTC
*** Bug 235179 has been marked as a duplicate of this bug. ***
Comment 4 Miloslav Metelka 2013-09-05 11:16:10 UTC
I would like to ask QE for verification. Thanks.
Comment 5 Miloslav Metelka 2013-09-05 11:23:40 UTC
*** Bug 235501 has been marked as a duplicate of this bug. ***
Comment 6 Jan Lahoda 2013-09-05 20:05:31 UTC
The fix seems fine to me.
Comment 7 Tomas Zezula 2013-09-11 16:22:44 UTC
3851c71227bf transplanted to d1b281a2e485