JVM异常崩溃求助:EXCEPTION_ACCESS_VIOLATION错误排查无效问题咨询
Hey there, let’s dig into your problem since you’ve already worked through the common fixes like reinstalling IntelliJ/JDK, running as admin, and even resetting your PC. First, let’s recap the key symptoms to target our troubleshooting:
- You’re hitting a
EXCEPTION_ACCESS_VIOLATIONinatio6axx.dll(an AMD OpenGL driver file) when running Minecraft mods or any LWJGL-based games - Basic Java programs work, but all file IO operations throw "File Not Found" errors
- Other developers can run the same project without issues
First, address the native code crash (atio6axx.dll)
This DLL is tied directly to AMD’s graphics driver, so this is likely a GPU-related compatibility issue:
- Update or rollback your AMD graphics driver: Head to AMD’s official site to grab the latest stable driver for your card. If you’re already on the latest, try rolling back to an older version—new drivers sometimes introduce bugs with LWJGL/OpenGL workflows.
- Disable hardware acceleration: Add the VM argument
-Dsun.java2d.opengl=falseto your IntelliJ run configuration for the Minecraft mod project. This forces Java to use software rendering instead of the GPU, which can bypass driver-related crashes. - Check GPU health: If you’re on a desktop, power off your PC and reseat the GPU (loose connections can cause weird native code crashes). Also monitor your GPU temperature—overheating can lead to unexpected failures.
Next, fix the universal File IO "File Not Found" errors
Since even basic IO operations fail, this points to a system-level permission or path restriction:
- Verify directory permissions: Right-click your project folder (
C:\Users\Name\Desktop\SurvivalSnacks\run) and go to Properties > Security > Edit. Make sure your user account has full read/write access to this directory and any folders your IO programs try to interact with. - Move your project to a non-system drive: Copy your entire project to a folder on D: or another non-C: drive. System directories like
C:\Usersoften have stricter permission policies from Windows Defender or system tools that might block file access. - Temporarily disable antivirus/firewall: Windows Defender or third-party antivirus tools might be silently blocking file operations. Disable them temporarily and test your IO programs again to rule this out.
Additional checks for LWJGL compatibility
Minecraft relies on LWJGL, so mismatched native libraries could be causing conflicts:
- Sync LWJGL versions: Ensure your project uses the exact same LWJGL version as the other developers who can run it without issues. Mismatched versions can lead to native library loading failures.
- Explicitly set native library paths: In your IntelliJ project settings, confirm that LWJGL’s native libraries are loading from your project’s local files, not an outdated system-wide version. You can set this explicitly in your build.gradle file or run configuration.
System-level repair steps
Since resetting your PC didn’t fix the issue, there might be corrupted system files:
- Run these commands in Command Prompt (as administrator):
sfc /scannow(scans and repairs corrupted system files)DISM /Online /Cleanup-Image /RestoreHealth(fixes underlying Windows image corruption)
- Check recent Windows updates: If the problem started after a Windows update, try uninstalling the latest patch (Settings > Windows Update > Update history > Uninstall updates).
Original Error Log
A fatal error has been detected by the Java Runtime Environment:EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffbb88537e0, pid=18248, tid=9400JRE version: OpenJDK Runtime Environment Temurin-17.0.4.1+1 (17.0.4.1+1) (build 17.0.4.1+1)Java VM: OpenJDK 64-Bit Server VM Temurin-17.0.4.1+1 (17.0.4.1+1, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)Problematic frame:C [atio6axx.dll+0x1937e0]No core dump will be written. Minidumps are not enabled by default on client versions of WindowsAn error report file with more information is saved as:C:\Users\Name\Desktop\SurvivalSnacks\run\hs_err_pid18248.logThe crash happened outside the Java Virtual Machine in native code.See problematic frame for where to report the bug.
(Note: Full IntelliJ logs were uploaded to a text sharing platform as mentioned)
内容的提问来源于stack exchange,提问作者PhantomFoamy




