[jbosstools-issues] [JBoss JIRA] (ERT-763) [GTK3] Recursive loop of SWT.Show events [EBZ#551624]
Friendly Jira Robot (Jira)
issues at jboss.org
Wed Oct 2 12:26:00 EDT 2019
Friendly Jira Robot created ERT-763:
---------------------------------------
Summary: [GTK3] Recursive loop of SWT.Show events [EBZ#551624]
Key: ERT-763
URL: https://issues.jboss.org/browse/ERT-763
Project: Eclipse Release Train
Issue Type: Task
Components: Platform
Reporter: Friendly Jira Robot
Please launch the attached snippet on Windows (tried Windows 10) and Linux (tried latest Antergos). It should show a dialog shell on top of a top-level shell. On Windows, you will see just one line of output:
Got SWT.Show
but on Linux you will see an endless list of
Got SWT.Show
Got SWT.Show
Got SWT.Show
Got SWT.Show
Got SWT.Show
Got SWT.Show
Got SWT.Show
Got SWT.Show
Got SWT.Show
...
followed by some critical messages
...
(SWT:8995): GLib-GObject-CRITICAL **: 12:22:33.245: g_closure_add_invalidate_notifier: assertion 'closure->n_inotifiers < CLOSURE_MAX_N_INOTIFIERS' failed
Got SWT.Show
...
followed by the exception
Exception in thread "main" java.lang.StackOverflowError
at java.base/java.lang.String.getBytes(String.java:981)
at java.base/java.lang.ProcessEnvironment$Variable.valueOfQueryOnly(ProcessEnvironment.java:166)
at java.base/java.lang.ProcessEnvironment$Variable.valueOfQueryOnly(ProcessEnvironment.java:162)
at java.base/java.lang.ProcessEnvironment$StringEnvironment.get(ProcessEnvironment.java:239)
at java.base/java.lang.ProcessEnvironment$StringEnvironment.get(ProcessEnvironment.java:221)
at java.base/java.util.Collections$UnmodifiableMap.get(Collections.java:1454)
at java.base/java.lang.ProcessEnvironment.getenv(ProcessEnvironment.java:85)
at java.base/java.lang.System.getenv(System.java:996)
at org.eclipse.swt.widgets.Shell.updateDecorations(Shell.java:1808)
at org.eclipse.swt.widgets.Shell.gtk_realize(Shell.java:1865)
at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:2195)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:6140)
at org.eclipse.swt.internal.gtk.GTK._gtk_widget_realize(Native Method)
at org.eclipse.swt.internal.gtk.GTK.gtk_widget_realize(GTK.java:8928)
at org.eclipse.swt.widgets.Control.paintWindow(Control.java:623)
at org.eclipse.swt.widgets.Shell.setInitialBounds(Shell.java:2416)
at org.eclipse.swt.widgets.Control.createWidget(Control.java:834)
at org.eclipse.swt.widgets.Scrollable.createWidget(Scrollable.java:163)
at org.eclipse.swt.widgets.Decorations.createWidget(Decorations.java:251)
at org.eclipse.swt.widgets.Shell.<init>(Shell.java:290)
at org.eclipse.swt.widgets.Shell.<init>(Shell.java:369)
at LinuxCrash.lambda$main$0(LinuxCrash.java:16)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5888)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1400)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1426)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1405)
at org.eclipse.swt.widgets.Shell.setVisible(Shell.java:2708)
at org.eclipse.swt.widgets.Shell.open(Shell.java:1944)
at org.eclipse.swt.widgets.Shell.open(Shell.java:1942)
at LinuxCrash.lambda$main$0(LinuxCrash.java:19)
...
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5888)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1400)
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jbosstools-issues
mailing list