jetbrains / jdk8u Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v2.0
License: GNU General Public License v2.0
Hey,
we, ArchLinux users, have problems with this JDK.
Actually JDK can be fully compiled but can not be run.
Logs: https://pastebin.com/qJCr2JcU
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fb3098daeeb, pid=2041, tid=0x00007fb2f05b0700
#
# JRE version: OpenJDK Runtime Environment (8.0_152-b39) (build 1.8.0_152-b1063)
# Java VM: OpenJDK 64-Bit Server VM (25.152-b1063 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# V [libjvm.so+0x7cdeeb]
#
# Core dump written. Default location: /home/xxxx/Downloads/java8-openjdk-jetbrains/core or core.2041
#
# An error report file with more information is saved as:
# /home/xxxx/Downloads/java8-openjdk-jetbrains/hs_err_pid2041.log
[thread 140406511298304 also had an error]
openjdk version "1.8.0_152"
OpenJDK Runtime Environment (build 1.8.0_152-b1063)
OpenJDK 64-Bit Server VM (build 25.152-b1063, mixed mode)
[error occurred during error reporting , id 0xb]
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
#
[1] 2041 abort (core dumped) java -version
GDB Registers:
(gdb) info registers
rax 0x6 6
rbx 0x2100800 34605056
rcx 0xcafebabe 3405691582
rdx 0x0 0
rsi 0x0 0
rdi 0x7ffff71d6a20 140737339288096
rbp 0x7ffff71d6a20 0x7ffff71d6a20
rsp 0x7ffff7fd47b8 0x7ffff7fd47b8
r8 0x7ffff7fd4600 140737353958912
r9 0xc 12
r10 0x2 2
r11 0x7fffe1000374 140736968262516
r12 0x7ffff7fd4a10 140737353959952
r13 0x7ffff71a7130 140737339093296
r14 0x7ffff000b590 140737219966352
r15 0x7ffff000b5e0 140737219966432
rip 0x7fffe10002b4 0x7fffe10002b4
eflags 0x210246 [ PF ZF IF RF ID ]
cs 0x33 51
ss 0x2b 43
ds 0x0 0
es 0x0 0
fs 0x0 0
gs 0x0 0
(gdb) bt
#0 0x00007fffe10002b4 in ?? ()
#1 0x0000000000000246 in ?? ()
#2 0x00007fffe1000160 in ?? ()
#3 0x00007ffff71d69dc in ?? () from /usr/lib/jvm/java-8-openjdk-jetbrains/jre/lib/amd64/server/libjvm.so
#4 0x00007ffff7fd49e0 in ?? ()
#5 0x00007ffff6d00134 in ?? () from /usr/lib/jvm/java-8-openjdk-jetbrains/jre/lib/amd64/server/libjvm.so
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
Regards,
TheAifam5
The final entry in the application's log file was:
2017-07-14T12:44:16,277 [ERROR] ErrorHandler - Uncaught error
java.lang.NullPointerException: null
at sun.swing.JLightweightFrame.updateClientCursor(JLightweightFrame.java:473) ~[?:1.8.0_152-release]
at sun.swing.JLightweightFrame.access$000(JLightweightFrame.java:79) ~[?:1.8.0_152-release]
at sun.swing.JLightweightFrame$1.updateCursor(JLightweightFrame.java:112) ~[?:1.8.0_152-release]
at sun.lwawt.LWLightweightFramePeer.updateCursorImmediately(LWLightweightFramePeer.java:117) ~[?:1.8.0_152-release]
at java.awt.Component.updateCursorImmediately(Component.java:3156) ~[?:1.8.0_152-release]
at java.awt.Container.validate(Container.java:1643) ~[?:1.8.0_152-release]
at java.awt.Window.dispatchEventImpl(Window.java:2744) ~[?:1.8.0_152-release]
at java.awt.Component.dispatchEvent(Component.java:4719) ~[?:1.8.0_152-release]
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:764) ~[?:1.8.0_152-release]
at java.awt.EventQueue.access$500(EventQueue.java:98) ~[?:1.8.0_152-release]
at java.awt.EventQueue$3.run(EventQueue.java:715) ~[?:1.8.0_152-release]
at java.awt.EventQueue$3.run(EventQueue.java:709) ~[?:1.8.0_152-release]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_152-release]
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) ~[?:1.8.0_152-release]
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90) ~[?:1.8.0_152-release]
at java.awt.EventQueue$4.run(EventQueue.java:737) ~[?:1.8.0_152-release]
at java.awt.EventQueue$4.run(EventQueue.java:735) ~[?:1.8.0_152-release]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_152-release]
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) ~[?:1.8.0_152-release]
at java.awt.EventQueue.dispatchEvent(EventQueue.java:734) ~[?:1.8.0_152-release]
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) [?:1.8.0_152-release]
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) [?:1.8.0_152-release]
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) [?:1.8.0_152-release]
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) [?:1.8.0_152-release]
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) [?:1.8.0_152-release]
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) [?:1.8.0_152-release]
So it looks like the JavaFX application thread has crashed while trying to update the cursor.
This crash is still an issue even with the latest JBSDK release - jbrex8u152b1024.4
Could not build it on Arch Linux 5.0.2-arch1-1-ARCH,
The error message is This OS is not supported: Linux 5.0.2-arch1-1-ARCH
Running our JavaFX application on the JetBrains JDK results in this error:
java.lang.ClassNotFoundException: com.sun.deploy.uitoolkit.impl.fx.HostServicesFactory
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at com.sun.javafx.application.HostServicesDelegate.lambda$getInstance$0(HostServicesDelegate.java:52)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.HostServicesDelegate.getInstance(HostServicesDelegate.java:45)
at javafx.application.HostServices.<init>(HostServices.java:52)
at javafx.application.Application.getHostServices(Application.java:334)
at net.corda.demobench.views.NodeTerminalView$configureWebButton$1$2$1.run(NodeTerminalView.kt:169)
at com.sun.javafx.application.PlatformImpl.lambda$null$5(PlatformImpl.java:295)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$6(PlatformImpl.java:294)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
Basically, jre/lib/ext/jfxrt.jar
does not contain com.sun.deploy.uitoolkit.impl.fx.*
at the very least. But it is still expecting it. Our application works again if we replace JetBrain's jfxrt.jar
with the corresponding artifact from Oracle's JDK.
FileDialog.setFileNameFilter() filter is ignored on MacOS for FileDialog.LOAD mode. Although the same code works ok on Oracle JDK i.e. it greys out (in native file chooser) files which weren't accepted by filter closure .
Build: u152b1248.5
E.g. ignored *.bed files filter
JVM: Java HotSpot(TM) 64-Bit Server VM by Oracle Corporation:
They seem totally mixed.
Version 1024.12 is newer than 1036.7 though the version number is less.
Which one should I use?
I could find no explanation.
Please add an explanation to README.md.
I built a fastdebug version jvm on macOS 10.13.6 with source code and the following command
export MACOSX_DEPLOYMENT_TARGET=10.13
bash configure --with-xcode-path=/Applications/Xcode.app --with-freetype=/opt/X11 --with-freetype-include=/usr/X11/include/freetype2 --enable-debug --with-boot-jdk=/Library/Java/JavaVirtualMachines/jdk1.8.0_171.jdk/Contents/Home/
make COMPILER_WARNINGS_FATAL=false all
running java
with this jvm will cause a fatal error
openjdk version "1.8.0-internal-fastdebug"
OpenJDK Runtime Environment (build 1.8.0-internal-fastdebug-boreas_2018_09_03_10_26-b00)
OpenJDK 64-Bit Server VM (build 25.71-b00-fastdebug, mixed mode)
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGILL (0x4) at pc=0x000000010fb60d6b, pid=59101, tid=0x0000000000002403
#
# JRE version: OpenJDK Runtime Environment (8.0) (build 1.8.0-internal-fastdebug-boreas_2018_09_03_10_26-b00)
# Java VM: OpenJDK 64-Bit Server VM (25.71-b00-fastdebug mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# V [libjvm.dylib+0x760d6b] PerfDataManager::destroy()+0xab
#
# 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/boreas/work/jdk8u/hs_err_pid59101.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
#
[error occurred during error reporting , id 0x4]
Here is the log
build env:
source code tag : jb8u152-b1327
OS:macOS 10.13.6
boot jdk: 1.8.0_171 / 1.8.0_45 (both of them can reproduce the fatal error)
Xcode: 9.4.1 (os version not support Xcode 4)
XQuartz: 2.7.8
Any idea about this?
Thanks
I'd like to enable use of emoji in the UI only when the underlying JRE supports it, but I'm not sure how to detect if I'm running on your JRE or not.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.