Java - Xuggle Crashing on Windows 7 64 bit - java

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.

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.

Newly installed Geogebra doesn't open (persumably JDK issue)

Just now installed geogebra on my Ubuntu 16.04 (with plain old sudo apt-get install geogebra)
when I try to open it I get:
GeoGebra 4.0.34.0 (Debian version 4.0.34.0+dfsg1-3) 22 June 2012 Java 9-internal
*** Message from [geogebra.main.Application.setUpLogging]
/tmp/GeoGebraLog_hltazoiolj.txt
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f9a380b8009, pid=25913, tid=25915
#
# JRE version: OpenJDK Runtime Environment (9.0) (build 9-internal+0-2016-04-14-195246.buildd.src)
# Java VM: OpenJDK 64-Bit Server VM (9-internal+0-2016-04-14-195246.buildd.src, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# C [libjava.so+0x1d009] JNU_GetEnv+0x19
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %P" (or dumping to /mnt/storage/programs/linux/installers/core.25913)
#
# An error report file with more information is saved as:
# /mnt/storage/programs/linux/installers/hs_err_pid25913.log
[thread 25945 also had an error]
#
# 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.
#
Aborted (core dumped)
I guess it has to do with my JDK, but I have no actual clue what to do. my java -version output:
openjdk version "9-internal"
OpenJDK Runtime Environment (build 9-internal+0-2016-04-14-195246.buildd.src)
OpenJDK 64-Bit Server VM (build 9-internal+0-2016-04-14-195246.buildd.src, mixed mode)
Can anyone help me figure out how to fix this?
Java 9 isn't officially released so I highly doubt any major Java app is using it yet. I don't know how you got that setup, but I would recommend you install JDK 8 instead
update-java-alternatives should be available as a command (depending on your OS), but after you install JDK 8, you can run that and select it to set Java 8 as the Java version for your system.
Or you could edit PATH and JAVA_HOME yourself, but I wouldn't recommend it when there's easier / safer ways.

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.

STS 3.7.0 crashes on start-up, Windows 7, 64 bit

I recently downloaded the zip file of spring tool suite(3.7.0) from it's official web page(https://spring.io/tools/sts/all). After unzipping it and double clicking the sts.exe file, it asks for the namespace. After that when sts loads, the dashboard appears but after few seconds the application crashes. I'm getting the following error popup..
And also a log file is generated whose first few lines are..
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ILLEGAL_INSTRUCTION (0xc000001d) at pc=0x000007fee5f4ca90, pid=5020, tid=3860
#
# JRE version: Java(TM) SE Runtime Environment (8.0_60-b27) (build 1.8.0_60-b27)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.60-b23 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C [msvcr120.dll+0x8ca90]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# 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.
#
I can't seem to understand where I am going wrong. I installed both 32, 64 bit JDK on my machine just in case but still nothing. Is it because windows did not install properly on my laptop?? Please help..
EDIT 1:
In response to #Pendlimarri's comment below, the different forms of Java installed in my control panel are..
I too got the same problem. I fixed by uninstalling the 1.8.0_60 update from Control Panel.
This might be a bug in 1.8.0_60.
FWIW, it's probably because STS is 32-bit and your JDK is 64-bit - change one or the other and it should work

Xuggler crashes JVM in 64 bit

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.

Categories