我正在使用 xuggler 进行视频转换。我的系统中设置了以下标准
window7
xuggler 5.4 version
OS/Java 64 bit
当我运行程序时,JVM 崩溃并显示以下日志
#
# 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
#
但是我在 OS/Java 32 位中尝试过,它可以工作
如何在 64 位 Java 中实现?您能分享一下您的想法吗?
最佳答案
您能否在运行 Windows 64 位的不同计算机上复制此问题?已知 Xuggler 5.4 与某些非常特定的 x64 处理器存在兼容性问题。
如果问题特定于 Windows,您也可以考虑仅发布 32 位版本。运行 Windows 64 位的计算机也支持 32 位 JVM。
关于java - Xuggler 在 64 位中导致 JVM 崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24993855/