Bug 543974 - SnippetLauncher fails to run on GTK4
Summary: SnippetLauncher fails to run on GTK4
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.11   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: triaged
Depends on:
Blocks: 540385
  Show dependency tree
 
Reported: 2019-01-30 07:02 EST by Alexander Kurtakov CLA
Modified: 2021-05-07 00:31 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kurtakov CLA 2019-01-30 07:02:31 EST
Trying to use SnippedLauncher to test Gtk4 port it crashes on second snippet launch with:
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  org.eclipse.swt.internal.gtk.GTK._gtk_widget_realize(J)V+0
j  org.eclipse.swt.internal.gtk.GTK.gtk_widget_realize(J)V+8
j  org.eclipse.swt.widgets.Display.createDisplay(Lorg/eclipse/swt/graphics/DeviceData;)V+794
j  org.eclipse.swt.widgets.Display.create(Lorg/eclipse/swt/graphics/DeviceData;)V+18
j  org.eclipse.swt.graphics.Device.<init>(Lorg/eclipse/swt/graphics/DeviceData;)V+168
j  org.eclipse.swt.widgets.Display.<init>(Lorg/eclipse/swt/graphics/DeviceData;)V+2
j  org.eclipse.swt.widgets.Display.<init>()V+2
j  org.eclipse.swt.snippets.Snippet2.main([Ljava/lang/String;)V+4
v  ~StubRoutines::call_stub
j  jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0 java.base@11.0.1
j  jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+100 java.base@11.0.1
j  jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6 java.base@11.0.1
j  java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+59 java.base@11.0.1
j  org.eclipse.swt.snippets.SnippetLauncher.main([Ljava/lang/String;)V+619
v  ~StubRoutines::call_stub

But the snippet in question (Snippet2) runs just fine when started standalone.
Comment 1 Eric Williams CLA 2019-01-30 09:14:52 EST
This is the same stack trace I get when trying to run the tests on GTK4 as well, I'll take a look.
Comment 2 Alexander Kurtakov CLA 2019-03-18 07:03:23 EDT
Eric, it works for me but please double check and if it works for you too - close it.
Comment 3 Eric Williams CLA 2019-03-20 14:39:54 EDT
(In reply to Alexander Kurtakov from comment #2)
> Eric, it works for me but please double check and if it works for you too -
> close it.

Still crashing for me.
Comment 4 Alexander Kurtakov CLA 2019-05-17 04:19:19 EDT
Eric is it still not working for you?
Comment 5 Eric Williams CLA 2019-05-17 12:26:52 EDT
Yes, still not working :(
Comment 6 Eclipse Genie CLA 2021-05-07 00:31:55 EDT
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. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. 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.

--
The automated Eclipse Genie.