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 21921 - Deadlock in win sys, trying to update mode bounds outside AWT thead.
Summary: Deadlock in win sys, trying to update mode bounds outside AWT thead.
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Peter Zavadsky
URL:
Keywords: THREAD
Depends on:
Blocks:
 
Reported: 2002-03-27 14:33 UTC by Peter Zavadsky
Modified: 2008-12-23 12:16 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Full thread dump. (11.10 KB, text/plain)
2002-03-27 14:34 UTC, Peter Zavadsky
Details
Diff of patch (1.41 KB, patch)
2002-03-28 13:31 UTC, Peter Zavadsky
Details | Diff
Patch for orion_fcs (it contains fixes for both #21921 and #21946) (23.46 KB, application/zip)
2002-03-28 15:29 UTC, Peter Zavadsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Zavadsky 2002-03-27 14:33:23 UTC
-------- Original Message --------
Subject: Re: Fix for 4619281
Date: Tue, 26 Mar 2002 15:27:29 -0800 (PST)
From: Hong Lu <Lu.Hong@sun.com>
Reply-To: Hong Lu <Lu.Hong@sun.com>
To: Simran.Gleason@sun.com, lu.hong@sun.com, petr.jiricka@sun.com

Hi Petr and Simran,

I tested the jsp.jar file with build 020326_1 on Solaris8. The good news is that
the fix seems working. The bad news is that I experienced ide freeze twice when
I tried to create a jsp the first time/ html file the second time in a mounted
directory(not a web module yet). What happened is that After I clicked finish
button on the new template window, the Source Editor did not opened the new file
in Source Editor as usual. The ide froze after that.

I am not sure if this has something to do with the fix as I could not reproduce
it and I did not try much without the fix. Anyway, I attached the thread dump
and hope that can give you a hint.

Thanks,
Hong
Comment 1 Peter Zavadsky 2002-03-27 14:34:17 UTC
Created attachment 5208 [details]
Full thread dump.
Comment 2 Peter Zavadsky 2002-03-27 14:43:06 UTC
It was a bug submitted in bugtraq #4619281.
Comment 3 Peter Zavadsky 2002-03-27 14:48:03 UTC
Fixed in [main-trunk]

Fix:
core/../windows/layers/ModeData.java [1.72]
Comment 4 Peter Zavadsky 2002-03-28 13:31:15 UTC
Created attachment 5223 [details]
Diff of patch
Comment 5 Peter Zavadsky 2002-03-28 13:33:29 UTC
Please review the patch and approve fot [orion_fcs] integration.
Comment 6 David Simonek 2002-03-28 13:58:55 UTC
reviewed, looks ok. One possible caveat is that replanning to AWT
breaks order of steps done in method setProps2Mode, but it looks like
steps are independent and it's ok then.
Comment 7 Peter Zavadsky 2002-03-28 15:29:55 UTC
Created attachment 5230 [details]
Patch for orion_fcs (it contains fixes for both #21921 and #21946)
Comment 8 Marian Mirilovic 2002-03-28 16:03:38 UTC
Patch - verified.

I played with this patch last 30 minutes and I didn't see any
deadlocks.
Comment 9 Peter Zavadsky 2002-03-28 16:43:54 UTC
Integrated in [orion_fcs], IN=6249.
Comment 10 Jan Zajicek 2002-04-02 16:29:00 UTC
Marking as verified - didn't occur during full day testing of build
#020401_01.
Comment 11 Quality Engineering 2003-07-01 16:29:45 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.