I get an error whenever I try runnning my mcp client - java

I'm trying to run my mcp (minecraft coder pack) client in eclipse. I'm on macos catalina and I get this error all the time
Here is my error
[19:41:45] [Client thread/INFO]: (Session ID is token:0:Player380)
[19:41:48] [Client thread/INFO]: LWJGL Version: 2.9.2
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGILL (0x4) at pc=0x00007fff2dba7abc, pid=21640, tid=9731
#
# JRE version: OpenJDK Runtime Environment (16.0.1+9) (build 16.0.1+9-24)
# Java VM: OpenJDK 64-Bit Server VM (16.0.1+9-24, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-amd64)
# Problematic frame:
# C [AppKit+0x3e5abc] -[NSOpenGLContext setView:]+0xe5
#
# No core dump will be written. 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/palmtrww/Desktop/ce poopy/jars/hs_err_pid21640.log
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#``

Related

In Linux, Java uses Rxtx serial port to appear abnormal, but Windows is work

In Linux, Java uses Rxtx serial port to appear abnormal, but Windows works.
when i click 'start' button, jvm error :
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f83aa558d9d, pid=21887, tid=0x00007f83aa316700
#
# JRE version: Java(TM) SE Runtime Environment (8.0_171-b11) (build 1.8.0_171-b11)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.171-b11 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [librxtxSerial.so+0x6d9d] read_byte_array+0x3d
#
# 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:
# /root/Workspaces/MyEclipse 2017/telegram/hs_err_pid21887.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

A fatal error has been detected by the Java Runtime Environment Ubuntu 14.04

I have developed Java App for Serial Communication on Windows.I want to run this Java App Jar on Ubuntu 14.04.
Java Version for both Windows and Linux is 1.7 64-bit
Whenever I try to run this Jar on Ubuntu 14.04 I get the below error :
swapnilc#cms:~/Desktop/Janvi/testcode$ java -jar Test.jar
Experimental: JNI_OnLoad called.
Stable Library
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version = RXTX-2.1-7
RXTX Warning: Removing stale lock file. /var/lock/LCK..ttyUSB0
Got PortList:: gnu.io.CommPortEnumerator#4fa666bf
Current PortID :: gnu.io.CommPortIdentifier#35a3ae73
Port in Use :: /dev/ttyUSB0
Started
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f30f5b99462, pid=13867, tid=139848257709824
#
# JRE version: OpenJDK Runtime Environment (7.0_131) (build 1.7.0_131-b00)
# Java VM: OpenJDK 64-Bit Server VM (24.131-b00 mixed mode linux-amd64 compressed oops)
# Derivative: IcedTea 2.6.9
# Distribution: Ubuntu 14.04 LTS, package 7u131-2.6.9-0ubuntu0.14.04.2
# Problematic frame:
# C [librxtxSerial.so+0x6462] read_byte_array+0x52
#
# 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:
# /home/swapnilc/Desktop/Janvi/testcode/hs_err_pid13867.log
#
# If you would like to submit a bug report, please include
# instructions on how to reproduce the bug and visit:
# http://icedtea.classpath.org/bugzilla
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted (core dumped)
This runs fine on Windows.

Android studio crashed every time

Every time I tried to start the android studio it crashed with following message .
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f7638f2cc5f, pid=15720, tid=0x00007f76381f9700
#
# JRE version: OpenJDK Runtime Environment (8.0_76-b03) (build 1.8.0_76-release-b03)
# Java VM: OpenJDK 64-Bit Server VM (25.76-b03 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# V [libjvm.so+0x821c5f] void ParScanClosure::do_oop_work<unsigned int>(unsigned int*, bool, bool) [clone .constprop.309]+0xdf
#
# 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:
# /home/mithun/java_error_in_STUDIO_15720.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
#
Aborted (core dumped)
My OS: ubuntu 16.04
Android studio version : 2.2 (tried with 2.3 too same error)
Tried changing java version from java 7 to openjdk 8

Eclipse crashes while trying to export application

I tried to export my android application and it just crashed with the following code. Tried several times still the error stays glued. Anyway out of this?
Following is the Log:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGBUS (0x7) at pc=0x00007fea9e58ee3e, pid=4241, tid=140644277511936
#
# JRE version: OpenJDK Runtime Environment (7.0_55-b14) (build 1.7.0_55-b14)
# Java VM: OpenJDK 64-Bit Server VM (24.51-b03 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [libc.so.6+0x98e3e] envz_strip+0x61e
#
# 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:
# /opt/adt-bundle-linux-x86_64-20140624/eclipse/hs_err_pid4241.log
#
# If you would like to submit a bug report, please include
# instructions on how to reproduce the bug and visit:
# http://icedtea.classpath.org/bugzilla
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
First right click on the project and refresh it. Then export it using archive file.
I hope this solves your problem.

Cannot call showSaveDialog in JavaFX on Ubuntu 13.10

I'm trying to call showSaveDialog in the following way:
FileChooser fileChooser = new FileChooser();
fileChooser.setTitle(title);
return fileChooser.showSaveDialog(null);
But the whole program is aborted with the following output:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f7d783e3500, pid=22008, tid=140176664483584
#
# JRE version: Java(TM) SE Runtime Environment (7.0_51-b13) (build 1.7.0_51-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.51-b03 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [libgdk-x11-2.0.so.0+0x6a500] gdk_window_set_geometry_hints+0x0
#
# 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:
# /home/sk_/projects/mjolnirr/hs_err_pid22008.log
#
# 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.
#
How can I get it working?
Had this when using vlcj and fixed it by adding JVM option -DVLCJ_INITX=no
Found solution here

Categories

Resources