openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #11614
[Bug 1510009] Re: Java 1.8.0_66 is extremely deadlock prone regarding AWT/GTK interaction
I believe this is the issue I am also coming across trying to play games
that use Java on Ubuntu 16.04, I consider it a major issue since gaming
is driving us a lot right now.
Here's an example when trying to launch Retro-Pixel Castles:
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
Caused by: java.lang.UnsatisfiedLinkError: /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/libatk-wrapper.so: /usr/lib/x86_64-linux-gnu/libatspi.so.0: undefined symbol: g_type_class_adjust_private_offset
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1938)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1834)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at org.GNOME.Accessibility.AtkWrapper.<clinit>(AtkWrapper.java:39)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.lang.Class.newInstance(Class.java:442)
at java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:805)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:886)
at org.lwjgl.LinuxSysImplementation.<clinit>(LinuxSysImplementation.java:50)
at org.lwjgl.Sys.createImplementation(Sys.java:131)
at org.lwjgl.Sys.<clinit>(Sys.java:116)
at org.lwjgl.opengl.Display.<clinit>(Display.java:135)
at rpc.system.ScaleControl.setWorldScale(ScaleControl.java:56)
at rpc.system.ScaleControl.initDisplay(ScaleControl.java:17)
at rpc.system.Game.launchGame(Game.java:73)
at rpc.system.Launcher.main(Launcher.java:47)
... 5 more
Game removed: AppID 328080 "Retro-Pixel Castles", ProcID 6188
--
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-8 in Ubuntu.
https://bugs.launchpad.net/bugs/1510009
Title:
Java 1.8.0_66 is extremely deadlock prone regarding AWT/GTK
interaction
Status in JOSM:
Unknown
Status in openjdk-8 package in Ubuntu:
Incomplete
Status in openjdk-8 package in Debian:
Fix Released
Bug description:
Since upgrading to Ubuntu 15.10 from Ubuntu 15.04, the various GUI
applications that I run, including Netbeans and Minecraft have been
suffering from dead/waitlocks which prevent them from operating
properly. Since I have reproduced this issue these two completely
different codebases, I am moving the bug further upstream.
The original Netbeans bug report can be viewed here: https://netbeans.org/bugzilla/show_bug.cgi?id=256124
Essentially, during routine interaction and calling of various AWT methods, somewhere between 8u45 (15.04) and 8u66 (15.10), something broke causing the application to hang intermittently when these methods are called.
Some sample jstack traces are attached, the issue should be fairly
obvious to spot.
To manage notifications about this bug go to:
https://bugs.launchpad.net/josm/+bug/1510009/+subscriptions
References