Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 347083

Summary: SWT_AWT.new_Frame deadlock on Mac OS X with JDK 1.6
Product: [Eclipse Project] Platform Reporter: Ty Ly <tly>
Component: SWTAssignee: Silenio Quarti <Silenio_Quarti>
Status: CLOSED WONTFIX QA Contact:
Severity: critical    
Priority: P3 CC: bruno.haible, eclipse.felipe, remy.suen, Silenio_Quarti
Version: 3.6.1   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard: stalebug
Attachments:
Description Flags
Full stack trace none

Description Ty Ly CLA 2011-05-24 16:28:59 EDT
Build Identifier: 3.6.1

Deadlock with SWT_AWT.newFrame function.  This is similar issue reported in bug 66615 which was resolved for Windows OS.
 
The issue is reproduced on Mac OS X 10.6, JDK 1.6 Java WebStart with stack trace:

"AWT-AppKit" daemon prio=5 tid=11f000000 nid=0x7fff709cbca0 waiting for monitor entry [7fff5fbfa000]
   java.lang.Thread.State: BLOCKED (on object monitor)
	at java.awt.Component.move(Component.java:2002)
	- waiting to lock <7dee3c810> (a java.awt.Component$AWTTreeLock)
	at java.awt.Component.setLocation(Component.java:1992)
	at java.awt.Window.init(Window.java:399)
	at java.awt.Window.<init>(Window.java:433)
	at java.awt.Frame.<init>(Frame.java:403)
	at java.awt.Frame.<init>(Frame.java:368)
	at sun.awt.EmbeddedFrame.<init>(EmbeddedFrame.java:86)
	at sun.awt.EmbeddedFrame.<init>(EmbeddedFrame.java:83)
	at sun.awt.EmbeddedFrame.<init>(EmbeddedFrame.java:71)
	at apple.awt.CEmbeddedFrame.<init>(CEmbeddedFrame.java:17)
	at sun.reflect.GeneratedConstructorAccessor36.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at org.eclipse.swt.awt.SWT_AWT.new_Frame(Unknown Source)


Reproducible: Always
Comment 1 Ty Ly CLA 2011-05-24 16:31:30 EDT
Created attachment 196485 [details]
Full stack trace
Comment 2 Lars Vogel CLA 2019-11-14 02:15:35 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

If the bug is still relevant, please remove the "stalebug" whiteboard tag.