-
Bug
-
Resolution: Fixed
-
P3
-
8
FX fails to launch on linux. Two sample failures:
See JDK-8007410 for reference
One from the java fx launcher tests:
http://aurora.ru.oracle.com/functional/faces/RunDetails.xhtml?names=163778.JDK8-LANGTOOLS-NIGHTLY.jdk-test-tools-Linux32.gatherSysInfo_resubmit0#NONAME_tools/launcher/FXLauncherTest.java
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:487)
at sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:751)
Caused by: java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: /export/home/aurora/sandbox/jdk/jre/lib/i386/libglass.so: libgio-2.0.so.0: cannot open shared object file: No such file or directory
at com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:329)
at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:166)
at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:335)
at com.sun.javafx.application.LauncherImpl.access$000(LauncherImpl.java:48)
at com.sun.javafx.application.LauncherImpl$1.run(LauncherImpl.java:134)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.UnsatisfiedLinkError: /export/home/aurora/sandbox/jdk/jre/lib/i386/libglass.so: libgio-2.0.so.0: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1954)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1843)
at java.lang.Runtime.load0(Runtime.java:792)
at java.lang.System.load(System.java:1061)
at com.sun.glass.utils.NativeLibLoader.loadLibraryFullPath(Unknown Source)
at com.sun.glass.utils.NativeLibLoader.loadLibraryInternal(Unknown Source)
at com.sun.glass.utils.NativeLibLoader.loadLibrary(Unknown Source)
at com.sun.glass.ui.Application.loadNativeLibrary(Unknown Source)
at com.sun.glass.ui.Application.loadNativeLibrary(Unknown Source)
at com.sun.glass.ui.gtk.GtkApplication.access$000(Unknown Source)
at com.sun.glass.ui.gtk.GtkApplication$1.run(Unknown Source)
at com.sun.glass.ui.gtk.GtkApplication$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.glass.ui.gtk.GtkApplication.<clinit>(Unknown Source)
at com.sun.glass.ui.gtk.GtkPlatformFactory.createApplication(Unknown Source)
at com.sun.glass.ui.Application.run(Unknown Source)
at com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:314)
... 5 more
++++Test Stack Trace++++
java.lang.Throwable: current stack of the test
TestHelper.doExec(TestHelper.java:481)
TestHelper.doExec(TestHelper.java:442)
FXLauncherTest.testBasicFXApp(FXLauncherTest.java:244)
FXLauncherTest.testBasicFXApp(FXLauncherTest.java:219)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:487)
TestHelper.run(TestHelper.java:191)
FXLauncherTest.main(FXLauncherTest.java:396)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:487)
com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
java.lang.Thread.run(Thread.java:722)
++++End of Test Info++++
Here's another crash of the same from a different run with a crash:
Executed command: /Users/aurora/sandbox/jdk/bin/java -cp /Users/aurora/sandbox/gresults/testoutput/jdk_tools/JTwork/scratch/fxtest.jar helloworld.ExtHello one two
###TestError###: test did not return 0 exit value
++++Begin Test Info++++
Test Status: FAIL
++++Test Environment++++
XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt
CLASSPATH=/Users/aurora/sandbox/jtreg/lib/javatest.jar:/Users/aurora/sandbox/jtreg/lib/jtreg.jar:/Users/aurora/sandbox/jdk/lib/tools.jar
PATH=/bin:/usr/bin
NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat
TZ=PST8PDT
DISPLAY=sc11152338.us.oracle.com:1
LANG=en_US.UTF-8
HOME=/Users/aurora
++++Test Output++++
Xlib: extension "GLX" missing on display "sc11152338.us.oracle.com:1.0".
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00d4a18b, pid=379, tid=1832033168
#
# JRE version: Java(TM) SE Runtime Environment (8.0) (build 1.8.0-ea-langtools-nightly-h3131-20130131-b75-b00)
# Java VM: Java HotSpot(TM) Server VM (25.0-b17 mixed mode linux-x86 )
# Problematic frame:
# C [libGL.so.1+0x1618b] glXGetFBConfigs+0x2b
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /Users/aurora/sandbox/gresults/testoutput/jdk_tools/JTwork/scratch/hs_err_pid379.log
Phoning home...
Using server: 10.161.186.18, port 4711
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
++++Test Stack Trace++++
java.lang.Throwable: current stack of the test
TestHelper.doExec(TestHelper.java:481)
TestHelper.doExec(TestHelper.java:442)
FXLauncherTest.testExtendFXApp(FXLauncherTest.java:295)
FXLauncherTest.testExtendFXApp(FXLauncherTest.java:269)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:487)
TestHelper.run(TestHelper.java:191)
FXLauncherTest.main(FXLauncherTest.java:396)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:487)
com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:706)
java.lang.Thread.run(Thread.java:722)
++++End of Test Info++++
See JDK-8007410 for reference
One from the java fx launcher tests:
http://aurora.ru.oracle.com/functional/faces/RunDetails.xhtml?names=163778.JDK8-LANGTOOLS-NIGHTLY.jdk-test-tools-Linux32.gatherSysInfo_resubmit0#NONAME_tools/launcher/FXLauncherTest.java
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:487)
at sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:751)
Caused by: java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: /export/home/aurora/sandbox/jdk/jre/lib/i386/libglass.so: libgio-2.0.so.0: cannot open shared object file: No such file or directory
at com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:329)
at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:166)
at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:335)
at com.sun.javafx.application.LauncherImpl.access$000(LauncherImpl.java:48)
at com.sun.javafx.application.LauncherImpl$1.run(LauncherImpl.java:134)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.UnsatisfiedLinkError: /export/home/aurora/sandbox/jdk/jre/lib/i386/libglass.so: libgio-2.0.so.0: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1954)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1843)
at java.lang.Runtime.load0(Runtime.java:792)
at java.lang.System.load(System.java:1061)
at com.sun.glass.utils.NativeLibLoader.loadLibraryFullPath(Unknown Source)
at com.sun.glass.utils.NativeLibLoader.loadLibraryInternal(Unknown Source)
at com.sun.glass.utils.NativeLibLoader.loadLibrary(Unknown Source)
at com.sun.glass.ui.Application.loadNativeLibrary(Unknown Source)
at com.sun.glass.ui.Application.loadNativeLibrary(Unknown Source)
at com.sun.glass.ui.gtk.GtkApplication.access$000(Unknown Source)
at com.sun.glass.ui.gtk.GtkApplication$1.run(Unknown Source)
at com.sun.glass.ui.gtk.GtkApplication$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.glass.ui.gtk.GtkApplication.<clinit>(Unknown Source)
at com.sun.glass.ui.gtk.GtkPlatformFactory.createApplication(Unknown Source)
at com.sun.glass.ui.Application.run(Unknown Source)
at com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:314)
... 5 more
++++Test Stack Trace++++
java.lang.Throwable: current stack of the test
TestHelper.doExec(TestHelper.java:481)
TestHelper.doExec(TestHelper.java:442)
FXLauncherTest.testBasicFXApp(FXLauncherTest.java:244)
FXLauncherTest.testBasicFXApp(FXLauncherTest.java:219)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:487)
TestHelper.run(TestHelper.java:191)
FXLauncherTest.main(FXLauncherTest.java:396)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:487)
com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
java.lang.Thread.run(Thread.java:722)
++++End of Test Info++++
Here's another crash of the same from a different run with a crash:
Executed command: /Users/aurora/sandbox/jdk/bin/java -cp /Users/aurora/sandbox/gresults/testoutput/jdk_tools/JTwork/scratch/fxtest.jar helloworld.ExtHello one two
###TestError###: test did not return 0 exit value
++++Begin Test Info++++
Test Status: FAIL
++++Test Environment++++
XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt
CLASSPATH=/Users/aurora/sandbox/jtreg/lib/javatest.jar:/Users/aurora/sandbox/jtreg/lib/jtreg.jar:/Users/aurora/sandbox/jdk/lib/tools.jar
PATH=/bin:/usr/bin
NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat
TZ=PST8PDT
DISPLAY=sc11152338.us.oracle.com:1
LANG=en_US.UTF-8
HOME=/Users/aurora
++++Test Output++++
Xlib: extension "GLX" missing on display "sc11152338.us.oracle.com:1.0".
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00d4a18b, pid=379, tid=1832033168
#
# JRE version: Java(TM) SE Runtime Environment (8.0) (build 1.8.0-ea-langtools-nightly-h3131-20130131-b75-b00)
# Java VM: Java HotSpot(TM) Server VM (25.0-b17 mixed mode linux-x86 )
# Problematic frame:
# C [libGL.so.1+0x1618b] glXGetFBConfigs+0x2b
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /Users/aurora/sandbox/gresults/testoutput/jdk_tools/JTwork/scratch/hs_err_pid379.log
Phoning home...
Using server: 10.161.186.18, port 4711
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
++++Test Stack Trace++++
java.lang.Throwable: current stack of the test
TestHelper.doExec(TestHelper.java:481)
TestHelper.doExec(TestHelper.java:442)
FXLauncherTest.testExtendFXApp(FXLauncherTest.java:295)
FXLauncherTest.testExtendFXApp(FXLauncherTest.java:269)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:487)
TestHelper.run(TestHelper.java:191)
FXLauncherTest.main(FXLauncherTest.java:396)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:487)
com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:706)
java.lang.Thread.run(Thread.java:722)
++++End of Test Info++++
- duplicates
-
JDK-8123710 JavaFX application crashes on Xubuntu/Xfce
-
- Closed
-
- relates to
-
JDK-8119352 On every close javafx window VM crashed
-
- Resolved
-
-
JDK-8123249 BrickBreaker & BouncingBalls samples are not visible after the launch
-
- Resolved
-