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 19635 - Deadlock in Window system
Summary: Deadlock in Window system
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: Sun SunOS
: P2 blocker (vote)
Assignee: David Simonek
URL:
Keywords:
: 21867 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-01-21 12:44 UTC by Jan Zajicek
Modified: 2008-12-23 09:54 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
FTD #1 (26.01 KB, text/plain)
2002-01-21 12:49 UTC, Jan Zajicek
Details
FTD #2 (12.40 KB, text/plain)
2002-01-21 12:52 UTC, Jan Zajicek
Details
proposed fix. (3.20 KB, patch)
2002-01-21 17:31 UTC, David Simonek
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Zajicek 2002-01-21 12:44:39 UTC
jdk1.4.0-rc-b91
3.3.1 build #200201210331 (RC2)

A deadlock occured while running overall validation test suite (when switching
between projects). The same deadlock was reported when running CORBA validation
tests. Seems like not 100% reproducible. Full thread dumps follow.
Comment 1 Jan Zajicek 2002-01-21 12:49:49 UTC
Created attachment 4304 [details]
FTD #1
Comment 2 Jan Zajicek 2002-01-21 12:52:13 UTC
Created attachment 4305 [details]
FTD #2
Comment 3 David Simonek 2002-01-21 13:59:57 UTC
Accepted...
Comment 4 David Kaspar 2002-01-21 15:42:43 UTC
I could reproduce this bug when I am running CORBA validation tests.
It happens cca once per 10 runs.
Comment 5 David Simonek 2002-01-21 17:31:29 UTC
Created attachment 4319 [details]
proposed fix.
Comment 6 David Simonek 2002-01-21 17:39:52 UTC
It is fixed in main trunk. Synchronization repaired between component
container implementations. SplitContainerImpl and
MultiTabbedContainerImpl was erroneously synchronized on the same lock
as DefaultContainerImpl.

David, please test against main trunk tomorrow.
I wouldn't put this fix into 331 as the fix itself is not that simple
and I'm not sure whether this can have some side effects or not
Comment 7 Jan Zajicek 2002-03-25 13:17:07 UTC
I haven't seen this anymore, after fix was applied.
Comment 8 David Simonek 2002-03-26 09:51:26 UTC
*** Issue 21867 has been marked as a duplicate of this issue. ***
Comment 9 Peter Zavadsky 2002-03-26 11:09:27 UTC
I reviewed the fix (including the last in MultiTabContainer...), and
think it is surely better and saver way than before.
I would put it in.

Note:
Also I want to mention this fix probably solves issue #21823 too.
Comment 10 David Simonek 2002-03-26 14:28:04 UTC
Merged into orion_fcs branch.
Comment 11 Jan Zajicek 2002-03-27 10:45:56 UTC
Also verified in FFJ40.
Comment 12 Quality Engineering 2003-07-01 16:29:09 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.