Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] SWT and Swing cooperation

Hi,
 
from SWT event loop I try to open separate Swing window.
On Windows platform it works fine.
On Linux Redhat 7.3 with Motif SWT it crashs JVM.
Is there problem with window resource's alocation from more threads. ?
 
Thanx
 
Jan
 
 
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x4D79E1F4
Function=_XtSortPerDisplayList+0x84
Library=/usr/X11R6/lib/libXt.so.6
 
Current Java thread:
        at sun.awt.motif.MWindowPeer.pCreate(Native Method)
        at sun.awt.motif.MWindowPeer.create(MWindowPeer.java:79)
        at sun.awt.motif.MComponentPeer.init(MComponentPeer.java:184)
        at sun.awt.motif.MWindowPeer.init(MWindowPeer.java:91)
        at sun.awt.motif.MFramePeer.<init>(MFramePeer.java:58)
        at sun.awt.motif.MToolkit.createFrame(MToolkit.java:192)
        at java.awt.Frame.addNotify(Frame.java:469)
        - locked <0x450ff608> (a java.awt.Component$AWTTreeLock)
        at java.awt.Window.show(Window.java:448)
        at MyAction.run(MyAction.java:10)
        at org.eclipse.jface.action.Action.runWithEvent(Action.java:749)
        at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:407)
        at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:361)
        at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:352)

Back to the top