A fatal error has been detected by the java runtime environment minecraft, what should I do?

641    Asked by AnishaDalal in Java , Asked on Oct 6, 2022

Minecraft crashes after I click "Login" at the Minecraft Launcher Window. The credentials are valid, and minecraft.net and notch are up because I have tried to launch minecraft on another computer and it works. Things that I have tried and haven't worked:

Reinstalled java

Installed Java SE7, JDK7, JRE7

Reinstalled minecraft, forced update

Deleted .minecraft and deleted Minecraft.exe

Restarted the computer

Forced minecraft to update

Checked my internet connection

Deleted everything to do with minecraft, including Windows PF files and reinstalled minecraft

Interesting Observations

I noticed that the command that the minecraft.jar file is being run with says that it can have up to 1024mb of ram. I only have ~500mb of ram, so it would be referencing pointers in an unknown location. I also notice a gl issue, which I'm not really sure how to fix

I have no idea what to do next. After Minecraft crashes, it generates a file named hs_err_pd(random number) which has some interesting crash information. The contents of the file is posted below (with personal information starred out):

Update

The issue does not have to do with Java 7. Updated log file.

#

# A fatal error has been detected by the Java Runtime Environment:

#

#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x5278b517, pid=2480, tid=228

#

# JRE version: 6.0_26-b03

# Java VM: Java HotSpot(TM) Client VM (20.1-b02 mixed mode windows-x86 )

# Problematic frame:

# C  [atioglx1.dll+0x3fb517]

#

# If you would like to submit a bug report, please visit:

#   http://java.sun.com/webapps/bugreport/crash.jsp

# The crash happened outside the Java Virtual Machine in native code.

# See problematic frame for where to report the bug.

#

---------------  T H R E A D  ---------------

Current thread (0x49e4c400):  JavaThread "Minecraft main thread" daemon [_thread_in_native, id=228, stack(0x49c30000,0x49c80000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x000000be

Registers:

EAX=0x00000000, EBX=0x00000000, ECX=0x00000000, EDX=0x49c7f4f0

ESP=0x49c7f4b0, EBP=0x52a58040, ESI=0x00000000, EDI=0x52a8e0a8

EIP=0x5278b517, EFLAGS=0x00010206

Top of Stack: (sp=0x49c7f4b0)

0x49c7f4b0:   529de368 00000000 42353434 44324645

0x49c7f4c0:   30305c7d 4f5c3030 476e6570 72505c4c

0x49c7f4d0:   000000f0 00000065 00000000 00000000

0x49c7f4e0:   00000000 00000000 527abc8b 49c7f518

0x49c7f4f0:   00000000 00000608 00000000 00008000

0x49c7f500:   00001000 00000000 00000000 00000000

0x49c7f510:   00000000 00000000 49c7f474 49c7f55c

0x49c7f520:   49c7f55c 7c90e920 7c910060 ffffffff 

Instructions: (pc=0x5278b517)

0x5278b4f7:   e8 74 f5 ff ff b8 01 00 00 00 5f 5d 5e 5b 83 c4

0x5278b507:   30 c2 04 00 cc cc cc cc cc 83 ec 30 53 56 8b f1

0x5278b517:   8a 86 be 00 00 00 84 c0 8b da 74 1c e8 68 07 00

0x5278b527:   00 8a 86 be 00 00 00 84 c0 74 0d 5e b8 c8 00 00 

Register to memory mapping:

EAX=0x00000000 is an unknown value

EBX=0x00000000 is an unknown value

ECX=0x00000000 is an unknown value

EDX=0x49c7f4f0 is pointing into the stack for thread: 0x49e4c400

ESP=0x49c7f4b0 is pointing into the stack for thread: 0x49e4c400

EBP=0x52a58040 is an unknown value

ESI=0x00000000 is an unknown value

EDI=0x52a8e0a8 is an unknown value

Stack: [0x49c30000,0x49c80000],  sp=0x49c7f4b0,  free space=317k

Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [atioglx1.dll+0x3fb517]  atiPPHSN+0x356267
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  org.lwjgl.opengl.WindowsContextImplementation.nCreate(Ljava/nio/ByteBuffer;Ljava/nio/IntBuffer;Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;+0
j  org.lwjgl.opengl.WindowsContextImplementation.create(Lorg/lwjgl/opengl/PeerInfo;Ljava/nio/IntBuffer;Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;+10
j  org.lwjgl.opengl.Context.(Lorg/lwjgl/opengl/PeerInfo;Lorg/lwjgl/opengl/ContextAttribs;Lorg/lwjgl/opengl/Context;)V+104
j  org.lwjgl.opengl.Display.create(Lorg/lwjgl/opengl/PixelFormat;Lorg/lwjgl/opengl/Drawable;Lorg/lwjgl/opengl/ContextAttribs;)V+88
j  org.lwjgl.opengl.Display.create(Lorg/lwjgl/opengl/PixelFormat;)V+9
j  org.lwjgl.opengl.Display.create()V+13
j  net.minecraft.client.Minecraft.a()V+135
j  net.minecraft.client.Minecraft.run()V+6
j  java.lang.Thread.run()V+11
v  ~StubRoutines::call_stub
---------------  P R O C E S S  ---------------
Java Threads: ( => current thread )
=>0x49e4c400 JavaThread "Minecraft main thread" daemon [_thread_in_native, id=228, stack(0x49c30000,0x49c80000)]
  0x49e4cc00 JavaThread "Timer hack thread" daemon [_thread_blocked, id=1168, stack(0x49b80000,0x49bd0000)]
  0x48ff4400 JavaThread "Keep-Alive-Timer" daemon [_thread_blocked, id=1608, stack(0x49570000,0x495c0000)]
  0x003b6800 JavaThread "DestroyJavaVM" [_thread_blocked, id=3492, stack(0x009c0000,0x00a10000)]
  0x490ac400 JavaThread "TimerQueue" daemon [_thread_blocked, id=2700, stack(0x49510000,0x49560000)]
  0x49068400 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=3992, stack(0x494c0000,0x49510000)]
  0x4903b800 JavaThread "AWT-Windows" daemon [_thread_in_native, id=2284, stack(0x49310000,0x49360000)]
  0x4903a400 JavaThread "AWT-Shutdown" [_thread_blocked, id=1032, stack(0x492c0000,0x49310000)]
  0x49037000 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=3456, stack(0x49260000,0x492b0000)]
  0x48cdf400 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3980, stack(0x48f30000,0x48f80000)]
  0x48cdc800 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=3968, stack(0x48ee0000,0x48f30000)]
  0x48cd7c00 JavaThread "Attach Listener" daemon [_thread_blocked, id=2500, stack(0x48e90000,0x48ee0000)]
  0x48cd6400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2496, stack(0x48e40000,0x48e90000)]
  0x48cc9800 JavaThread "Finalizer" daemon [_thread_blocked, id=3056, stack(0x48df0000,0x48e40000)]
  0x48cc5000 JavaThread "Reference Handler" daemon [_thread_blocked, id=3296, stack(0x48da0000,0x48df0000)]
Other Threads:
  0x48cc1000 VMThread [stack: 0x48d50000,0x48da0000] [id=740]
  0x48cea000 WatcherThread [stack: 0x48f80000,0x48fd0000] [id=3964]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
 def new generation   total 157248K, used 79087K [0x02a90000, 0x0d530000, 0x17fe0000)
  eden space 139776K,  56% used [0x02a90000, 0x077cbc10, 0x0b310000)
  from space 17472K,   0% used [0x0b310000, 0x0b310000, 0x0c420000)
  to   space 17472K,   0% used [0x0c420000, 0x0c420000, 0x0d530000)
 tenured generation   total 349568K, used 0K [0x17fe0000, 0x2d540000, 0x42a90000)
   the space 349568K,   0% used [0x17fe0000, 0x17fe0000, 0x17fe0200, 0x2d540000)
 compacting perm gen  total 13056K, used 12886K [0x42a90000, 0x43750000, 0x46a90000)
   the space 13056K,  98% used [0x42a90000, 0x43725b78, 0x43725c00, 0x43750000)
No shared spaces configured.
Code Cache  [0x00a10000, 0x00bc0000, 0x02a10000)
 total_blobs=1031 nmethods=797 adapters=169 free_code_cache=31814784 largest_free_block=0
Dynamic libraries:
0x00400000 - 0x00424000     C:Program FilesJavajre6binjavaw.exe
0x7c900000 - 0x7c9b2000     C:WINDOWSsystem32ntdll.dll
0x7c800000 - 0x7c8f6000     C:WINDOWSsystem32kernel32.dll
0x77dd0000 - 0x77e6b000     C:WINDOWSsystem32ADVAPI32.dll
0x77e70000 - 0x77f03000     C:WINDOWSsystem32RPCRT4.dll
0x77fe0000 - 0x77ff1000     C:WINDOWSsystem32Secur32.dll
0x7e410000 - 0x7e4a1000     C:WINDOWSsystem32USER32.dll
0x77f10000 - 0x77f59000     C:WINDOWSsystem32GDI32.dll
0x76390000 - 0x763ad000     C:WINDOWSsystem32IMM32.DLL
0x629c0000 - 0x629c9000     C:WINDOWSsystem32LPK.DLL
0x74d90000 - 0x74dfb000     C:WINDOWSsystem32USP10.dll
0x7c340000 - 0x7c396000     C:Program FilesJavajre6binmsvcr71.dll
0x6d7f0000 - 0x6da9f000     C:Program FilesJavajre6binclientjvm.dll
0x76b40000 - 0x76b6d000     C:WINDOWSsystem32WINMM.dll
0x6bd00000 - 0x6bd0d000     C:WINDOWSsystem32SYNCOR11.DLL
0x6d7a0000 - 0x6d7ac000     C:Program FilesJavajre6binverify.dll
0x6d320000 - 0x6d33f000     C:Program FilesJavajre6binjava.dll
0x76bf0000 - 0x76bfb000     C:WINDOWSsystem32PSAPI.DLL
0x6d7e0000 - 0x6d7ef000     C:Program FilesJavajre6binzip.dll
0x6d000000 - 0x6d14b000     C:Program FilesJavajre6binawt.dll
0x73000000 - 0x73026000     C:WINDOWSsystem32WINSPOOL.DRV
0x77c10000 - 0x77c68000     C:WINDOWSsystem32msvcrt.dll
0x774e0000 - 0x7761e000     C:WINDOWSsystem32ole32.dll
0x773d0000 - 0x774d3000     C:WINDOWSWinSxSx86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.6028_x-ww_61e65202COMCTL32.dll
0x77f60000 - 0x77fd6000     C:WINDOWSsystem32SHLWAPI.dll
0x5d090000 - 0x5d12a000     C:WINDOWSsystem32comctl32.dll
0x5ad70000 - 0x5ada8000     C:WINDOWSsystem32uxtheme.dll
0x74720000 - 0x7476c000     C:WINDOWSsystem32MSCTF.dll
0x755c0000 - 0x755ee000     C:WINDOWSsystem32msctfime.ime
0x7c9c0000 - 0x7d1d7000     C:WINDOWSsystem32shell32.dll
0x6d230000 - 0x6d27f000     C:Program FilesJavajre6binfontmanager.dll
0x6d600000 - 0x6d613000     C:Program FilesJavajre6binnet.dll
0x71ab0000 - 0x71ac7000     C:WINDOWSsystem32WS2_32.dll
0x71aa0000 - 0x71aa8000     C:WINDOWSsystem32WS2HELP.dll
0x6d620000 - 0x6d629000     C:Program FilesJavajre6binnio.dll
0x71a50000 - 0x71a8f000     C:WINDOWSSystem32mswsock.dll
0x76f20000 - 0x76f47000     C:WINDOWSsystem32DNSAPI.dll
0x76d60000 - 0x76d79000     C:WINDOWSsystem32iphlpapi.dll
0x76fb0000 - 0x76fb8000     C:WINDOWSSystem32winrnr.dll
0x76f60000 - 0x76f8c000     C:WINDOWSsystem32WLDAP32.dll
0x64000000 - 0x64025000     C:Program FilesBonjourmdnsNSP.dll
0x76fc0000 - 0x76fc6000     C:WINDOWSsystem32rasadhlp.dll
0x662b0000 - 0x66308000     C:WINDOWSsystem32hnetcfg.dll
0x71a90000 - 0x71a98000     C:WINDOWSSystem32wshtcpip.dll
0x68000000 - 0x68036000     C:WINDOWSsystem32rsaenh.dll
0x769c0000 - 0x76a74000     C:WINDOWSsystem32USERENV.dll
0x5b860000 - 0x5b8b5000     C:WINDOWSsystem32netapi32.dll
0x605d0000 - 0x605d9000     C:WINDOWSSystem32mslbui.dll
0x6d780000 - 0x6d788000     C:Program FilesJavajre6binsunmscapi.dll
0x77a80000 - 0x77b15000     C:WINDOWSsystem32CRYPT32.dll
0x77b20000 - 0x77b32000     C:WINDOWSsystem32MSASN1.dll
0x4a220000 - 0x4a28b000     C:Documents and Settings***********Application Data.minecraftbinnativeslwjgl.dll
0x5ed00000 - 0x5edcc000     C:WINDOWSsystem32OPENGL32.dll
0x68b20000 - 0x68b40000     C:WINDOWSsystem32GLU32.dll
0x73760000 - 0x737ab000     C:WINDOWSsystem32DDRAW.dll
0x73bc0000 - 0x73bc6000     C:WINDOWSsystem32DCIMAN32.dll
0x77c00000 - 0x77c08000     C:WINDOWSsystem32VERSION.dll
0x6d350000 - 0x6d356000     C:Program FilesJavajre6binjawt.dll
0x69000000 - 0x694ff000     C:WINDOWSsystem32atioglxx.dll
0x52390000 - 0x52a08000     C:WINDOWSsystem32atioglx1.dll
VM Arguments:
jvm_args: -Xms512m -Xmx1024m 
java_command: C:Documents and Settings******************DesktopMinecraft.exe
Launcher Type: SUN_STANDARD
Environment Variables:
CLASSPATH=.;C:Program FilesJavajre6libextQTJava.zip
PATH=C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem;C:Program FilesPC-Doctor for Windowsservices;C:Program FilesATI TechnologiesATI Control Panel;C:WINDOWSsystem32WindowsPowerShellv1.0;C:WINDOWSsystem32WindowsPowerShellv1.0;C:Program FilesQuickTimeQTSystem;C:Program FilesJavajre6bin
USERNAME=********
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 15 Model 2 Stepping 9, GenuineIntel

---------------  S Y S T E M  ---------------

OS: Windows XP Build 2600 Service Pack 3

CPU:total 2 (1 cores per cpu, 2 threads per core) family 15 model 2 stepping 9, cmov, cx8, fxsr, mmx, sse, sse2, ht

Memory: 4k page, physical 523244k(80324k free), swap 1278552k(391804k free)

vm_info: Java HotSpot(TM) Client VM (20.1-b02) for windows-x86 JRE (1.6.0_26-b03), built on May  4 2011 00:50:59 by "java_re" with MS VC++ 7.1 (VS2003) time: Mon Aug 08 16:10:07 2011 elapsed time: 31 seconds

Answered by Anisha Dalal

Regarding your question - A fatal error has been detected by the java runtime environment minecraft, what should I do?


Looking at the DLL which is triggering the access violation, I was able to find a thread on the JogAmp forum which appears to be discussing the same issue. (JogAmp is a multimedia library similar to JLWGL, which Minecraft uses.) It looks like the root problem is that ATI's XP drivers make incorrect assumptions about the capabilities of "older" cards. (They don't mention how "old" is too old.) ATI doesn't appear to have fixed the problem, so the JogAmp devs worked around it themselves. Presumably, the JLWGL folks could do the same, but that wouldn't get you playing Minecraft very soon. There are a few other options, however. Not great options, but you might find them workable:

As it sounds like you've played Minecraft on this computer before, it may well only be newer video drivers that cause the problem. Downgrading your drivers (though again, it isn't clear how "old" they would need to be) may work as well.

The problem does not appear to occur on Windows 7. Only certain video chipsets are affected. Getting a new card (or even just a different card, as long as it isn't the same model) should work.



Your Answer

Interviews

Parent Categories