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 148868

Summary: dead lock on IDE starting (at sun.awt.X11GraphicsConfig)
Product: platform Reporter: Alexander Simon <alexvsimon>
Component: Window SystemAssignee: David Simonek <dsimonek>
Status: CLOSED WONTFIX    
Severity: blocker Keywords: JDK_SPECIFIC, RANDOM, THREAD
Priority: P2    
Version: 6.x   
Hardware: Sun   
OS: All   
URL: http://bugs.sun.com/view_bug.do?bug_id=6756195
Issue Type: DEFECT Exception Reporter:
Attachments: thread dump

Description Alexander Simon 2008-10-01 15:35:44 UTC
Dead lock on IDE starting.
See attachment.
Comment 1 Alexander Simon 2008-10-01 15:36:34 UTC
Created attachment 70978 [details]
thread dump
Comment 2 Lukas Hasik 2008-10-01 15:45:19 UTC
is it reproducible? What is your look and feel?

Found one Java-level deadlock:
=============================
"AWT-EventQueue-1":
  waiting to lock monitor 0x0811ec54 (object 0xd6eeaa80, a java.lang.Class)
  in JNI, which is held by "AWT-Motif"
"AWT-Motif":
  waiting to lock monitor 0x0811ef14 (object 0xadd93360, a sun.awt.X11GraphicsConfig),
  which is held by "AWT-EventQueue-1"
Comment 3 Alexander Simon 2008-10-01 15:52:08 UTC
I got deadlock once on about 100 IDE starting today.
Comment 4 David Simonek 2008-10-02 10:55:46 UTC
From thread dump it is clear that deadlock is on JDK side, not much we can do in NetBeans. Try to switch to JDK 1.6.x,
that may solve your troubles.

2 lhasik: As Alex is using JDK 1.5, he's probably running with Metal/Ocean (crossplatform) L&F
Comment 5 Alexander Simon 2008-10-02 11:02:34 UTC
I do not change L&F.
So L&F is default NB L&F for Open Solaris x86 platform
Comment 6 David Simonek 2008-10-06 12:43:15 UTC
I searched JDK bug database, but couldn't find a report for such deadlock, so I filed new issue #6756195
(http://bugs.sun.com/view_bug.do?bug_id=6756195)

Nothing more we can do on NetBeans side.

Last request - Alex, please try to switch to JDK 1.6.x for a while and tell us if deadlock is gone or not, it could help
JDK guys also.


Comment 7 Marian Mirilovic 2011-06-09 09:54:32 UTC
v/c