#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007ff17a60c678, pid=4219, tid=140673779791616
#
# JRE version: Java(TM) SE Runtime Environment (8.0-b124) (build 1.8.0-ea-b124)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.0-b66 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# V [libjvm.so+0x665678] jni_invoke_nonstatic(JNIEnv_*, JavaValue*, _jobject*, JNICallType, _jmethodID*, JNI_ArgumentPusher*, Thread*)+0x38
#
# 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:
# /media/data/K's World/javaFX/ChatApp/hs_err_pid4219.log
Compiled method (c1) 16675 988 3 java.util.concurrent.atomic.AtomicBoolean::set (14 bytes)
total in heap [0x00007ff16535ef50,0x00007ff16535f2a0] = 848
relocation [0x00007ff16535f070,0x00007ff16535f0a0] = 48
main code [0x00007ff16535f0a0,0x00007ff16535f1c0] = 288
stub code [0x00007ff16535f1c0,0x00007ff16535f250] = 144
metadata [0x00007ff16535f250,0x00007ff16535f258] = 8
scopes data [0x00007ff16535f258,0x00007ff16535f268] = 16
scopes pcs [0x00007ff16535f268,0x00007ff16535f298] = 48
dependencies [0x00007ff16535f298,0x00007ff16535f2a0] = 8
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
#
我在javaFx中编写聊天App,我正在使用eclipse IDE .. 我的应用程序运行良好,但我不知道为什么突然停止应用程序。
答案 0 :(得分:3)
听起来你在Linux上使用Java 8运行JavaFX,而且你遇到了这个错误:
https://bugs.openjdk.java.net/browse/JDK-8141687
在JavaFx中启动Main.class时应用程序崩溃
ava version“1.8.0_60”Java(TM)SE运行时环境(构建 1.8.0_60-b27)Java HotSpot(TM)64位服务器VM(内置25.60-b23,混合模式)
其他操作系统版本信息:Mint17.2 Cinnamon 64Bit
建议:尝试使用不同版本的Java / JavaFX。
运行sudo update-alternatives --config java
以查看系统中已存在的替代方案。如果可能的话,我会降级到Java 1.7。
如果没有合适的候选人,请使用apt-get install openjdk-7-jdk
:
答案 1 :(得分:1)
我有同样的问题(除了它是java-8-oracle build 101)并找出它发生的原因:
我的主应用程序之前出现了一个登录屏幕,登录后该屏幕关闭,显然,关闭它(甚至隐藏它)并显示一个新窗口会使其崩溃。