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 36054 - Deadlock in editor during external modification
Summary: Deadlock in editor during external modification
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: issues@editor
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2003-09-12 08:32 UTC by Milan Kubec
Modified: 2007-11-05 13:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
thread dump (21.62 KB, text/plain)
2003-09-12 08:33 UTC, Milan Kubec
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Kubec 2003-09-12 08:32:38 UTC
I got deadlocks during external modification of
file and reloading it in editor. 

I had ImageViewer.java opened in emacs and IDE and
I was doing modifications in emacs - syntax
errors. Then I was changing focus to editor by
Alt+tab and after doing it couple times (cca 4
times) IDE stopped responding. Happened in two
folowing IDE sessions, then I'm not able to
reproduce again.

Happened with patches from:
http://www.netbeans.org/issues/show_bug.cgi?id=35914 
http://www.netbeans.org/issues/show_bug.cgi?id=33165
http://www.netbeans.org/issues/show_bug.cgi?id=14803 
http://www.netbeans.org/issues/show_bug.cgi?id=35930
Comment 1 Milan Kubec 2003-09-12 08:33:13 UTC
Created attachment 11601 [details]
thread dump
Comment 2 Milan Kubec 2003-09-12 08:35:00 UTC
I haven't modified the file in IDE editor.
Comment 3 Miloslav Metelka 2003-09-12 12:47:52 UTC
From the deadlocked threads it seems that the tooltip popup code was 
involved. I've tried to invoke debugger and place a mouse over a 
variable and then write file in external editor and then quickly 
switch back to ide and move a mouse cursor a bit so that tooltip code 
gets triggered. Unfortunately the file was always reloaded before the 
tooltip timer triggered.
 I'll try to fix the problem.
Comment 4 Miloslav Metelka 2003-10-09 17:16:25 UTC
This issue was related to particular version of the fix of issue 33165
and should no longer appear with the final version of that fix.
Comment 5 Milan Kubec 2003-10-14 12:40:40 UTC
Didn't happen recently. Verified.