[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: problems with display readAndDispatch() problems

Grant Gayed wrote:
It looks like you're seeing
https://bugs.eclipse.org/bugs/show_bug.cgi?id=200993 .  If you can, it would
be great if you could add a reproducable case to this report, because it
currently doesn't have one (eg.- a plug-in with steps, a snippet with
template http://www.eclipse.org/swt/faq.php#whatisasnippet , etc.).

Grant

I have looked into this bug. Looks like it's bug also have relations to
https://bugs.eclipse.org/bugs/show_bug.cgi?id=207206#c8.
Eclipse crashes when I executing tests under linuxi686.
In error log contains some times error about gtk_win_new, some times contains information that i specify here later.
To reproduce this error you can use http://anonsvn.jboss.org/repos/jbosstools/trunk/vpe/tests/org.jboss.tools.vpe.ui.test/


 plugin.


"Max Areshkau" <mareshkau@xxxxxxxxxx> wrote in message news:ftdouc$g2e$1@xxxxxxxxxxxxxxxxxxxx
I am using
next code for delaying, it's code works well under windows, mac and
linux.x86_64, but under Linux.x86_32 it's causes a crash of eclipse. In
error log contains information.Whats can be a problem?
CODE:
Display display = Display.getCurrent();I have using
if (display != null) {
long endTimeMillis = System.currentTimeMillis() + waitTimeMillis;
while (System.currentTimeMillis() < endTimeMillis) {
if (!display.readAndDispatch())
display.sleep();
}
display.update();
}
ERROR LOG:

Stack: [0xb7dca000,0xb7e1b000], sp=0xb7e18730, free space=313k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,
C=native code)
C [libswt-pi-gtk-3349.so+0x2e527]

Java_org_eclipse_swt_internal_gtk_OS_GTK_1ACCEL_1LABEL_1GET_1ACCEL_1STRING+0
x6
J org.eclipse.swt.internal.gtk.OS.GTK_ACCEL_LABEL_GET_ACCEL_STRING(I)I
J org.eclipse.swt.widgets.MenuItem.setText(Ljava/lang/String;)V
J

org.eclipse.jface.action.ActionContributionItem.update(Ljava/lang/String;)V
J

org.eclipse.jface.action.ActionContributionItem$1.propertyChange(Lorg/eclips
e/jface/util/PropertyChangeEvent;)V
J

org.eclipse.jface.action.ExternalActionManager$CommandCallback.bindingManage
rChanged(Lorg/eclipse/jface/bindings/BindingManagerEvent;)V
v ~BufferBlob::Interpreter
v ~BufferBlob::Interpreter
v ~BufferBlob::Interpreter
v ~BufferBlob::Interpreter
J

org.eclipse.core.commands.contexts.ContextManager.fireContextManagerChanged(
Lorg/eclipse/core/commands/contexts/ContextManagerEvent;)V
v ~BufferBlob::Interpreter
v ~BufferBlob::Interpreter
J org.eclipse.ui.internal.contexts.ContextAuthority.sourceChanged(I)V
J

org.eclipse.ui.AbstractSourceProvider.fireSourceChanged(ILjava/lang/String;L
java/lang/Object;)V
v ~BufferBlob::Interpreter
v ~BufferBlob::Interpreter
J

org.eclipse.swt.widgets.EventTable.sendEvent(Lorg/eclipse/swt/widgets/Event;
)V
J

org.eclipse.swt.widgets.Widget.sendEvent(ILorg/eclipse/swt/widgets/Event;Z)V
J org.eclipse.swt.widgets.Widget.sendEvent(I)V
v ~BufferBlob::Interpreter
J org.eclipse.swt.widgets.Display.filterProc(III)I
v ~BufferBlob::StubRoutines (1)
V [libjvm.so+0x21c40d]
V [libjvm.so+0x310378]
V [libjvm.so+0x21c2a0]
V [libjvm.so+0x245b37]
V [libjvm.so+0x22a57a]
C [libswt-gtk-3349.so+0x2416] callback+0x1e4
C 0xa0926195
C [libgdk-x11-2.0.so.0+0x3db31]
C [libgdk-x11-2.0.so.0+0x3f2b2]
C [libgdk-x11-2.0.so.0+0x40dad]
C [libgdk-x11-2.0.so.0+0x41124]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J org.eclipse.swt.internal.gtk.OS.GTK_ACCEL_LABEL_GET_ACCEL_STRING(I)I
J org.eclipse.swt.widgets.MenuItem.setText(Ljava/lang/String;)V
J

org.eclipse.jface.action.ActionContributionItem.update(Ljava/lang/String;)V
J

org.eclipse.jface.action.ActionContributionItem$1.propertyChange(Lorg/eclips
e/jface/util/PropertyChangeEvent;)V
J

org.eclipse.jface.action.ExternalActionManager$CommandCallback.bindingManage
rChanged(Lorg/eclipse/jface/bindings/BindingManagerEvent;)V
v ~BufferBlob::Interpreter
v ~BufferBlob::Interpreter
v ~BufferBlob::Interpreter
v ~BufferBlob::Interpreter
J

org.eclipse.core.commands.contexts.ContextManager.fireContextManagerChanged(
Lorg/eclipse/core/commands/contexts/ContextManagerEvent;)V
v ~BufferBlob::Interpreter
v ~BufferBlob::Interpreter
J org.eclipse.ui.internal.contexts.ContextAuthority.sourceChanged(I)V
J

org.eclipse.ui.AbstractSourceProvider.fireSourceChanged(ILjava/lang/String;L
java/lang/Object;)V
v ~BufferBlob::Interpreter
v ~BufferBlob::Interpreter
J

org.eclipse.swt.widgets.EventTable.sendEvent(Lorg/eclipse/swt/widgets/Event;
)V
J

org.eclipse.swt.widgets.Widget.sendEvent(ILorg/eclipse/swt/widgets/Event;Z)V
J org.eclipse.swt.widgets.Widget.sendEvent(I)V
v ~BufferBlob::Interpreter
J org.eclipse.swt.widgets.Display.filterProc(III)I
v ~BufferBlob::StubRoutines (1)
J org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(IZ)Z
J org.eclipse.swt.widgets.Display.readAndDispatch()Z
J

org.eclipse.jface.window.Window.runEventLoop(Lorg/eclipse/swt/widgets/Shell;
)V
v ~BufferBlob::Interpreter
J org.eclipse.ui.progress.UIJob$1.run()V
J org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Z)Z
J org.eclipse.swt.widgets.Display.readAndDispatch()Z
J

org.eclipse.ui.internal.Workbench.runEventLoop(Lorg/eclipse/jface/window/Win
dow$IExceptionHandler;Lorg/eclipse/swt/widgets/Display;)V
v ~BufferBlob::StubRoutines (1)
v ~BufferBlob::StubRoutines (1)