gtk3 - Eclipse 4.2.2 crashes when okPressed on org.eclipse.jface.dialogs.TitleAreaDialog (GTK+2 and GTK+3 ) -
on eclipse 4.2.2 (64 bit linux), when okpressed on extended org.eclipse.jface.dialogs.titleareadialog ... eclipse crashes!
running eclipse in clean mode , trying new workspace did not prevent crash.
to summarize detail below:
- can gtk reinstalled
- is there alternative gtk - works!?
worst case scenario, can migrate version 4.4.2 eclipse ... take little time , cannot sure same or similar issue exists on customers server eclipse 4.4.2. running eclipse in debug mode did not highlight additional information.
public class topicdialog extends titleareadialog { //..... @override protected void okpressed() { super.okpressed(); } }
dialog displayed code:
final topicdialog d = new topicdialog(getshell()); // launch dialog display.getdefault().syncexec(new runnable() { @override public void run() { d.open(); } });
gtk stacktrace logged @ time of crash - see below. have asked customer force eclipse use gtk +2 (rather default gtk +3) , ignoring cairographics. eclipse.ini contains 2 gtk specific settings:
--launcher.gtk_version 2 -dorg.eclipse.swt.internal.gtk.cairographics=false
stacktrace:
3xmthreadinfo "main" j9vmthread:0x0000000040e2f100, j9thread_t:0x00007f04b802db20, java/lang/thread:0x0000000000f25540, state:r, prio=6 3xmjavalthread (java/lang/thread getid:0x1, isdaemon:false) 3xmthreadinfo1 (native thread id:0x516b, native priority:0x6, native policy:unknown) 3xmthreadinfo2 (native stack address range from:0x00007f04bf04e000, to:0x00007f04bfa4f000, size:0xa01000) 3xmheapalloc heap bytes allocated since last gc cycle=685960 (0xa7788) 3xmthreadinfo3 java callstack: 4xestacktrace @ org/eclipse/swt/internal/gtk/os._gdk_window_at_pointer(native method) 4xestacktrace @ org/eclipse/swt/internal/gtk/os.gdk_window_at_pointer(os.java:5271) 4xestacktrace @ org/eclipse/swt/widgets/display.getcursorcontrol(display.java:1413) 4xestacktrace @ org/eclipse/swt/widgets/control.gtk_leave_notify_event(control.java:3066) 4xestacktrace @ org/eclipse/swt/widgets/widget.windowproc(widget.java:1776(compiled code)) 4xestacktrace @ org/eclipse/swt/widgets/control.windowproc(control.java:5116(compiled code)) 4xestacktrace @ org/eclipse/swt/widgets/display.windowproc(display.java:4377(compiled code)) 4xestacktrace @ org/eclipse/swt/internal/gtk/os._gtk_widget_hide(native method) 4xestacktrace @ org/eclipse/swt/internal/gtk/os.gtk_widget_hide(os.java:13119) 4xestacktrace @ org/eclipse/swt/widgets/shell.dispose(shell.java:2306) 4xestacktrace @ org/eclipse/jface/window/window.close(window.java:335) 4xestacktrace @ org/eclipse/jface/dialogs/dialog.close(dialog.java:979) 4xestacktrace @ org/eclipse/jface/dialogs/dialog.okpressed(dialog.java:940) 4xestacktrace @ com/ibm/tivoli/pa/model/ui/dialogs/topicdialog.okpressed(topicdialog.java:135) 4xestacktrace @ org/eclipse/jface/dialogs/dialog.buttonpressed(dialog.java:472) 4xestacktrace @ org/eclipse/jface/dialogs/dialog$2.widgetselected(dialog.java:624) 4xestacktrace @ org/eclipse/swt/widgets/typedlistener.handleevent(typedlistener.java:248) 4xestacktrace @ org/eclipse/swt/widgets/eventtable.sendevent(eventtable.java:84(compiled code)) 4xestacktrace @ org/eclipse/swt/widgets/widget.sendevent(widget.java:1276) 4xestacktrace @ org/eclipse/swt/widgets/display.rundeferredevents(display.java:3562(compiled code)) 4xestacktrace @ org/eclipse/swt/widgets/display.readanddispatch(display.java:3186(compiled code)) 4xestacktrace @ org/eclipse/jface/window/window.runeventloop(window.java:825) 4xestacktrace @ org/eclipse/jface/window/window.open(window.java:801)
Comments
Post a Comment