Xuggler crashes JVM in 64 bit - java

I am using xuggler for video converting. Following criteria are set in my system
window7
xuggler 5.4 version
OS/Java 64 bit
When I run the program JVM crashed with following log
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000006ee76520, pid=43188, tid=43624
#
# JRE version: Java(TM) SE Runtime Environment (7.0_45-b18) (build 1.7.0_45-b18)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.45-b08 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C [xuggle6677784747721795797.dll+0x736520]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
But I tried it in OS/Java 32 bit, its working
How can I acheive in 64 bit Java? Would you please share your an idea?

Can you replicate this problem on different computers running Windows 64-bit? Xuggler 5.4 has been known to have compatibility issues with some very specific x64-processors.
If the problem is specific to Windows, you can also consider only releasing a 32-bit version. Computers running Windows 64-bit also support 32-bit JVM's.

Related

EXCEPTION_ACCESS_VIOLATION when uploading code to STM32

I'm getting the following error when trying to upload code to a STM32 "Bluepill" board using the STM32duino Bootloader aka DFU method:
maple_loader v0.1
Resetting to bootloader via DTR pulse
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000007110b5db, pid=1720, tid=0x0000000000000c98
#
# JRE version: Java(TM) SE Runtime Environment (8.0_261-b12) (build 1.8.0_261-b12)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.261-b12 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C [jSSC-2.8_x86_64.dll+0xb5db]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
This doesn't happen in another one of my computers. What's happening?
Found a strange fix.
Had to change the path to the Java binary to point to the provided version inside Arduino installation folder.
This is done through Environment Variables in Windows Control panel. You may also need to uninstall any other Java versions if you have any.
I had this same issue as well and I fixed it by uninstalling both the 32-bit and 64-bit versions of Java and reinstalling only the 64-bit version.
I have not tested whether installing the 32-bit version again will cause the issue.

Can not start Glassfish server

When I attempt to run my java web application project on Netbeans 8.02, I keep getting this error:
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007fff49cf42ec, pid=2768, tid=0x0000000000002860
#
# JRE version: Java(TM) SE Runtime Environment (8.0_111-b14) (build 1.8.0_111-b14)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.111-b14 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C [chtbrkg.dll+0x242ec]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# An error report file with more information is saved as:
# C:\Users\ZOOM IT\Downloads\Compressed\java_ee_sdk-7u2\glassfish4\glassfish\domains\domain1\config\hs_err_pid2768.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.
# Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=192m; support was removed in 8.0
and this dialog box a bit later.
I am using windows 10.
java version "1.8.0_111"
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)
Cannot start GlassFish 4.1 from within Netbeans 8.0.1 Service area This problem relates to occupied port,which certainly is not my case.
This is not a problem with GlassFish. Java has failed due to a problem with this dll file: chtbrkg.dll. Looking around on the Internet, there is a hint from a Minecraft forum that this is likely related to some kind of 3rd party software and there are quite a few pages which associate that DLL with malware.
Remove the DLL and try again.
It does look like some virus chtbrkg.dll here is the details - greatis.com/blog/how-to/remove-uninstall-chtbrkg-dll-virus.h‌​tm
The issue has been verified here Eclipse Mars 2 jvm crash
Same has been reported on https://bugs.openjdk.java.net and closed as not an issue, here is the link https://bugs.openjdk.java.net/browse/JDK-8171850
Please uninstall virus from above mentioned approach and try.

Why does JVM error occur?

#
# 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
#
I am writing chat App in javaFx..and I am using eclipse IDE..
My Application is running well but I don't know why suddenly application has been stopped.
It sounds like you're running JavaFX with Java 8 on Linux, and you've run into this bug:
https://bugs.openjdk.java.net/browse/JDK-8141687
App crashes while starting Main.class in JavaFx
ava version "1.8.0_60" Java(TM) SE Runtime Environment (build
1.8.0_60-b27) Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)
ADDITIONAL OS VERSION INFORMATION : Mint17.2 Cinnamon 64Bit
SUGGESTION: Try a different version of Java/JavaFX.
Run sudo update-alternatives --config java to see what alternatives are already present on your system. I would downgrade to Java 1.7 if possible.
https://askubuntu.com/questions/272187/setting-jdk-7-as-default
If there are no suitable candidates, use apt-get install openjdk-7-jdk:
https://www.digitalocean.com/community/tutorials/how-to-install-java-on-ubuntu-with-apt-get
I had the same issue (except that it was java-8-oracle build 101) and found out why it was happening:
I have a login screen that appears before my main application and that screen gets closed after the login occurs and, apparently, closing it (or even hiding it) and showing a new window makes it crash.

JRE throws an exception and glassfish is terminated at windows 64 bit machine

I've JDK 1.8 and using NetBeans IDE 8.0 to develop my vaadin 7.5.3 application. No idea whats causing this exception.
Detail of the Exception
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000006fc26a6b, pid=6200, tid=12848
#
# JRE version: Java(TM) SE Runtime Environment (8.0-b132) (build 1.8.0-b132)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.0-b70 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# V [jvm.dll+0x2b6a6b]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# An error report file with more information is saved as:
# C:\Program Files\glassfish-4.0\glassfish\domains\domain1\config\hs_err_pid6200.log
Compiled method (c1) 1102730 563 2 java.lang.NullPointerException::<init> (5 bytes)
total in heap [0x0000000002dc4290,0x0000000002dc4600] = 880
relocation [0x0000000002dc43b0,0x0000000002dc43e8] = 56
main code [0x0000000002dc4400,0x0000000002dc44c0] = 192
stub code [0x0000000002dc44c0,0x0000000002dc4568] = 168
metadata [0x0000000002dc4568,0x0000000002dc4588] = 32
scopes data [0x0000000002dc4588,0x0000000002dc45b0] = 40
scopes pcs [0x0000000002dc45b0,0x0000000002dc45f0] = 64
dependencies [0x0000000002dc45f0,0x0000000002dc4600] = 16
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
#
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=192m; support was removed in 8.0
Update
here is hs_err_pid6200.log file http://pastebin.com/RNGkvvtQ
And I'm using jRebel and xrebel
here is my JVM options:
the Xrebel trial period was over and apparently the glassfish server start crashing often after tht, I've removed the xrebel from my JVM options and currently there is no JRE exception So I think the problem was with the out dated Xrebel. hope this helps someone

Java - Xuggle Crashing on Windows 7 64 bit

I am using xuggle-xuggler-5.4.jar file in my Java application (to extract media information like duration, bitrate etc), and it crashes the whole application at "container.open()". It generates a log file containing the following message:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000011226520, pid=15980, tid=16324
#
# JRE version: Java(TM) SE Runtime Environment (7.0_45-b18) (build 1.7.0_45-b18)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.45-b08 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C [xuggle7723496972795585954.dll+0x736520]
---------
Can you provide jar file for xuggle 5.5 version. If not please suggest a good API / framework which provides media information.
Thanks,
Xuggle seems to have a problem running with a 64 bit Java version.
Try it with a 32 bit Java version.
I know it's more a workaround than a solution, but since I switch to the 32 bit Java version, I didn't experiment this problem anymore.
Hope this help.

Categories