Error when Opening KoLmafia

vguno

New member
It started not working this week. Whenever I try to open the file, it produces an error log file instead.

Attached is the error message. I'm not really well-versed with coding so I'm stumped.

Code:
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x64eeb2c4, pid=17480, tid=0x0000221c
#
# JRE version: Java(TM) SE Runtime Environment (8.0_231-b11) (build 1.8.0_231-b11)
# Java VM: Java HotSpot(TM) Client VM (25.231-b11 mixed mode, sharing windows-x86 )
# Problematic frame:
# C  [atioglxx.dll+0xddb2c4]
#
# 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.
#

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

Current thread (0x16a34400):  JavaThread "AWT-EventQueue-0" [_thread_in_native, id=8732, stack(0x16160000,0x161b0000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x0000118b

Registers:
EAX=0x00000000, EBX=0x00000000, ECX=0x002cabf0, EDX=0x16190380
ESP=0x16190018, EBP=0x16190368, ESI=0x002cabf0, EDI=0x00000000
EIP=0x64eeb2c4, EFLAGS=0x00010206

Top of Stack: (sp=0x16190018)
0x16190018:   00000000 002cabf0 00000000 f4b2ffc2
0x16190028:   746e5ff8 db010ffd 00000000 16190308
0x16190038:   6425252a db010ffd 002fbdd0 002fbc20
0x16190048:   161904e4 16190044 00000001 00240022
0x16190058:   002ca718 16190054 00000001 00000000
0x16190068:   00000000 00000000 16190068 00000000
0x16190078:   00000000 00000000 00000000 00000000
0x16190088:   16190068 6a41c3b8 00000030 00000020 

Instructions: (pc=0x64eeb2c4)
0x64eeb2a4:   00 5f 5e 5b 8b e5 5d c3 cc cc cc cc 55 8b ec 81
0x64eeb2b4:   ec 44 03 00 00 53 56 8b f1 89 55 f8 57 8b 46 10
0x64eeb2c4:   80 b8 8b 11 00 00 00 74 2e 83 78 14 02 74 28 68
0x64eeb2d4:   68 34 81 65 e8 ae e5 61 00 83 c4 04 85 c0 74 17 


Register to memory mapping:

EAX=0x00000000 is an unknown value
EBX=0x00000000 is an unknown value
ECX=0x002cabf0 is an unknown value
EDX=0x16190380 is pointing into the stack for thread: 0x16a34400
ESP=0x16190018 is pointing into the stack for thread: 0x16a34400
EBP=0x16190368 is pointing into the stack for thread: 0x16a34400
ESI=0x002cabf0 is an unknown value
EDI=0x00000000 is an unknown value


Stack: [0x16160000,0x161b0000],  sp=0x16190018,  free space=192k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [atioglxx.dll+0xddb2c4]
C  [atioglxx.dll+0xddb2a5]
C  [atioglxx.dll+0xddaf46]
C  [atioglxx.dll+0x2363fc]
C  [atioglxx.dll+0xc068ec]
C  [atioglxx.dll+0xc06af4]
C  [atioglxx.dll+0xc0654c]
C  [atioglxx.dll+0x116a7a]
C  [atioglxx.dll+0x115dee]
C  [opengl32.dll+0x21aa4]
C  [opengl32.dll+0x21c5d]
C  [opengl32.dll+0x37db4]
C  [opengl32.dll+0x38bbc]
C  [gdi32full.dll+0xe932f]
C  [awt.dll+0xaac84]
j  sun.awt.Win32GraphicsDevice.getMaxConfigsImpl(I)I+0
j  sun.awt.Win32GraphicsDevice.getMaxConfigs(I)I+10
j  sun.awt.Win32GraphicsDevice.getConfigurations()[Ljava/awt/GraphicsConfiguration;+69
j  net.sourceforge.kolmafia.swingui.GenericFrame.restorePosition()V+44
j  net.sourceforge.kolmafia.swingui.GenericFrame.setVisible(Z)V+5
j  net.sourceforge.kolmafia.CreateFrameRunnable.createFrame(Z)Ljavax/swing/JFrame;+220
j  net.sourceforge.kolmafia.CreateFrameRunnable.run()V+192
j  java.awt.event.InvocationEvent.dispatch()V+11
j  java.awt.EventQueue.dispatchEventImpl(Ljava/awt/AWTEvent;Ljava/lang/Object;)V+21
j  java.awt.EventQueue.access$500(Ljava/awt/EventQueue;Ljava/awt/AWTEvent;Ljava/lang/Object;)V+3
j  java.awt.EventQueue$3.run()Ljava/lang/Void;+32
j  java.awt.EventQueue$3.run()Ljava/lang/Object;+1
v  ~StubRoutines::call_stub
V  [jvm.dll+0x15c3d5]
V  [jvm.dll+0x2260ae]
V  [jvm.dll+0x15c46e]
V  [jvm.dll+0x10c35f]
C  [java.dll+0x102f]
j  java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/security/AccessControlContext;)Ljava/lang/Object;+18
j  java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+46
j  java.awt.EventDispatchThread.pumpOneEventForFilters(I)V+140
j  java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V+35
j  java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+11
j  java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
j  java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3
j  java.awt.EventDispatchThread.run()V+9
v  ~StubRoutines::call_stub
V  [jvm.dll+0x15c3d5]
V  [jvm.dll+0x2260ae]
V  [jvm.dll+0x15c46e]
V  [jvm.dll+0x15c5f6]
V  [jvm.dll+0x15c667]
V  [jvm.dll+0x1002bf]
V  [jvm.dll+0x17f7e0]
V  [jvm.dll+0x18005a]
V  [jvm.dll+0x1c6c56]
C  [msvcr100.dll+0x5c556]
C  [msvcr100.dll+0x5c600]
C  [KERNEL32.DLL+0x18494]
C  [ntdll.dll+0x641c8]
C  [ntdll.dll+0x64198]
C  0x00000000

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  sun.awt.Win32GraphicsDevice.getMaxConfigsImpl(I)I+0
j  sun.awt.Win32GraphicsDevice.getMaxConfigs(I)I+10
j  sun.awt.Win32GraphicsDevice.getConfigurations()[Ljava/awt/GraphicsConfiguration;+69
j  net.sourceforge.kolmafia.swingui.GenericFrame.restorePosition()V+44
j  net.sourceforge.kolmafia.swingui.GenericFrame.setVisible(Z)V+5
j  net.sourceforge.kolmafia.CreateFrameRunnable.createFrame(Z)Ljavax/swing/JFrame;+220
j  net.sourceforge.kolmafia.CreateFrameRunnable.run()V+192
j  java.awt.event.InvocationEvent.dispatch()V+11
j  java.awt.EventQueue.dispatchEventImpl(Ljava/awt/AWTEvent;Ljava/lang/Object;)V+21
j  java.awt.EventQueue.access$500(Ljava/awt/EventQueue;Ljava/awt/AWTEvent;Ljava/lang/Object;)V+3
j  java.awt.EventQueue$3.run()Ljava/lang/Void;+32
j  java.awt.EventQueue$3.run()Ljava/lang/Object;+1
v  ~StubRoutines::call_stub
j  java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+0
j  java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/security/AccessControlContext;)Ljava/lang/Object;+18
j  java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+46
j  java.awt.EventDispatchThread.pumpOneEventForFilters(I)V+140
j  java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V+35
j  java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+11
j  java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
j  java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3
j  java.awt.EventDispatchThread.run()V+9
v  ~StubRoutines::call_stub
 

vguno

New member
This is a bug in your Java runtime. When did you last update Java?

I've been uninstalling it and installing it again all morning. I tried installing JDK and JRE then trying to open the file with the javaw.exe file of each.
 

fronobulax

Developer
Staff member
Since restorePosition is the first thing referenced that is from KoLmafia and it does use data from <characterName>_prefs.txt, consider copying that file (just in case as a backup) and then deleting any preference that has the string "Frame" and the preference KoLDesktop from it and rerunning. If the issue is bad data because of a corrupt file, that might resolve this,
 

xKiv

Active member
EXCEPTION_ACCESS_VIOLATION - something with memory? This might be a wrong lead, but I suggest trying memcheck or something like that.
 
Top