Can't seem to login in CLI mode

DrEvil

New member
I tried to get mafia to load a simple script

login My_user_name

Everything went well until it crashed, here is a dump of the command prompt

Code:
KoLmafia v12.8
Running on Windows XP
Using Java 1.6.0_11

Preparing for logout...
Logout request submitted.

Validating login server (www3.kingdomofloathing.com)...
635 players online.
Sending login request...
Initializing session for ***************...
Refreshing session data...
Synchronizing moon data...
Before: Fri Jan 23 21:44:11 EST 2009 = Carlvember 8 (71:7).
Ronald: waning crescent (7), Grimace: waxing gibbous (3)
After: Fri Jan 23 21:44:11 EST 2009 = Carlvember 8 (71:7).
Ronald: waning crescent (7), Grimace: waxing gibbous (3)
Retrieving character data...
#
# An unexpected error has been detected by Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d8d32df, pid=420, tid=3860
#
# Java VM: Java HotSpot(TM) Client VM (11.0-b16 mixed mode, sharing windows-x86)
# Problematic frame:
# V [jvm.dll+0xd32df]
#
# An error report file with more information is saved as:
# D:\My Documents\****************\hs_err_pid420.log
#
# If you would like to submit a bug report, please visit:
#  [url]http://java.sun.com/webapps/bugreport/crash.jsp[/url]
#

and our hs_err_pid420.log

Code:
#
# An unexpected error has been detected by Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d8d32df, pid=420, tid=3860
#
# Java VM: Java HotSpot(TM) Client VM (11.0-b16 mixed mode, sharing windows-x86)
# Problematic frame:
# V [jvm.dll+0xd32df]
#
# If you would like to submit a bug report, please visit:
#  [url]http://java.sun.com/webapps/bugreport/crash.jsp[/url]
#

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

Current thread (0x003f6800): JavaThread "main" [_thread_in_vm, id=3860, stack(0x009e0000,0x00a30000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x00000000

Registers:
EAX=0x0303b7ac, EBX=0x003f6914, ECX=0x00000002, EDX=0x22a8acd8
ESP=0x00a2e914, EBP=0x0303b7ac, ESI=0x003f6800, EDI=0x00000000
EIP=0x6d8d32df, EFLAGS=0x00010203

Top of Stack: (sp=0x00a2e914)
0x00a2e914:  003f6914 22a8acd8 00a2ea14 0303b7a8
0x00a2e924:  003f6914 2b42d340 003f6800 00000000
0x00a2e934:  003f6800 00a2e92c 003f5ae0 6d801086
0x00a2e944:  003f6800 0303b7a8 003f6800 2b42d340
0x00a2e954:  00a2e948 00a2e94c 00a2f18c 6d9c8680
0x00a2e964:  6d9ca2e0 6d068369 003f6914 02c8be1c
0x00a2e974:  00000000 00a2e98c 6d0b47f6 003f6914
0x00a2e984:  02c8be1c 00000000 00000009 00000008 

Instructions: (pc=0x6d8d32df)
0x6d8d32cf:  10 00 55 50 53 e8 d7 d4 01 00 8b 7c 24 60 8b e8
0x6d8d32df:  8b 07 c7 44 24 28 0e 00 00 00 8b 48 08 0f b7 51 


Stack: [0x009e0000,0x00a30000], sp=0x00a2e914, free space=314k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0xd32df]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j sun.awt.windows.ThemeReader.getThemeMargins(JIII)Ljava/awt/Insets;+0
j sun.awt.windows.ThemeReader.getThemeMargins(Ljava/lang/String;III)Ljava/awt/Insets;+18
j com.sun.java.swing.plaf.windows.XPStyle.getMargin(Ljava/awt/Component;Lcom/sun/java/swing/plaf/windows/TMSchema$Part;Lcom/sun/java/swing/plaf/windows/TMSchema$State;Lcom/sun/java/swing/plaf/windows/TMSchema$Prop;)Ljava/awt/Insets;+19
j com.sun.java.swing.plaf.windows.XPStyle.getBorder(Ljava/awt/Component;Lcom/sun/java/swing/plaf/windows/TMSchema$Part;)Ljavax/swing/border/Border;+169
j com.sun.java.swing.plaf.windows.WindowsLookAndFeel$XPBorderValue.getXPValue(Ljavax/swing/UIDefaults;)Ljava/lang/Object;+11
j com.sun.java.swing.plaf.windows.WindowsLookAndFeel$XPValue.createValue(Ljavax/swing/UIDefaults;)Ljava/lang/Object;+10
j javax.swing.UIDefaults.getFromHashtable(Ljava/lang/Object;)Ljava/lang/Object;+231
j javax.swing.UIDefaults.get(Ljava/lang/Object;)Ljava/lang/Object;+2
j javax.swing.MultiUIDefaults.get(Ljava/lang/Object;)Ljava/lang/Object;+39
j javax.swing.UIDefaults.getBorder(Ljava/lang/Object;)Ljavax/swing/border/Border;+2
j javax.swing.UIManager.getBorder(Ljava/lang/Object;)Ljavax/swing/border/Border;+4
j javax.swing.LookAndFeel.installBorder(Ljavax/swing/JComponent;Ljava/lang/String;)V+18
j javax.swing.plaf.basic.BasicButtonUI.installDefaults(Ljavax/swing/AbstractButton;)V+183
j com.sun.java.swing.plaf.windows.WindowsButtonUI.installDefaults(Ljavax/swing/AbstractButton;)V+2
j javax.swing.plaf.basic.BasicButtonUI.installUI(Ljavax/swing/JComponent;)V+5
j javax.swing.JComponent.setUI(Ljavax/swing/plaf/ComponentUI;)V+135
j javax.swing.AbstractButton.setUI(Ljavax/swing/plaf/ButtonUI;)V+2
j javax.swing.JButton.updateUI()V+8
j javax.swing.AbstractButton.init(Ljava/lang/String;Ljavax/swing/Icon;)V+19
j javax.swing.JButton.<init>(Ljava/lang/String;Ljavax/swing/Icon;)V+18
j javax.swing.JButton.<init>()V+3
j com.sun.java.swing.plaf.windows.XPStyle$GlyphButton.<init>(Ljava/awt/Component;Lcom/sun/java/swing/plaf/windows/TMSchema$Part;)V+1
j com.sun.java.swing.plaf.windows.WindowsSpinnerUI.createNextButton()Ljava/awt/Component;+17
j javax.swing.plaf.basic.BasicSpinnerUI.installUI(Ljavax/swing/JComponent;)V+18
j javax.swing.JComponent.setUI(Ljavax/swing/plaf/ComponentUI;)V+135
j javax.swing.JSpinner.setUI(Ljavax/swing/plaf/SpinnerUI;)V+2
j javax.swing.JSpinner.updateUI()V+8
j javax.swing.JSpinner.<init>(Ljavax/swing/SpinnerModel;)V+34
j javax.swing.JSpinner.<init>()V+8
j net.sourceforge.kolmafia.swingui.widget.AutoHighlightSpinner.<init>()V+1
j net.sourceforge.kolmafia.swingui.ItemManageFrame$PullBudgetSpinner.<init>()V+1
j net.sourceforge.kolmafia.swingui.ItemManageFrame.<clinit>()V+36
v ~StubRoutines::call_stub
j net.sourceforge.kolmafia.persistence.ConcoctionDatabase.refreshConcoctions()V+321
j net.sourceforge.kolmafia.KoLCharacter.setAdventuresLeft(I)V+35
j net.sourceforge.kolmafia.session.ResultProcessor.tallyResult(Lnet/sourceforge/kolmafia/AdventureResult;Z)V+273
j net.sourceforge.kolmafia.session.ResultProcessor.processResult(Lnet/sourceforge/kolmafia/AdventureResult;)Z+237
j net.sourceforge.kolmafia.request.CharSheetRequest.parseStatus(Ljava/lang/String;)V+443
j net.sourceforge.kolmafia.request.CharSheetRequest.processResults()V+4
j net.sourceforge.kolmafia.request.GenericRequest.processResponse()V+171
j net.sourceforge.kolmafia.request.GenericRequest.retrieveServerReply(Ljava/io/InputStream;)Z+179
j net.sourceforge.kolmafia.request.GenericRequest.retrieveServerReply()Z+218
j net.sourceforge.kolmafia.request.GenericRequest.execute()V+232
j net.sourceforge.kolmafia.request.GenericRequest.run()V+273
j net.sourceforge.kolmafia.request.CharSheetRequest.run()V+6
j net.sourceforge.kolmafia.RequestThread.executeRequest(Lnet/sourceforge/kolmafia/request/GenericRequest;)V+36
j net.sourceforge.kolmafia.RequestThread.postRequest(Lnet/sourceforge/kolmafia/request/GenericRequest;)V+6
j net.sourceforge.kolmafia.KoLmafia.refreshSession(Z)V+45
j net.sourceforge.kolmafia.KoLmafia.refreshSession()V+2
j net.sourceforge.kolmafia.KoLmafia.initialize(Ljava/lang/String;)V+53
j net.sourceforge.kolmafia.KoLmafiaCLI.initialize(Ljava/lang/String;)V+2
j net.sourceforge.kolmafia.request.LoginRequest.processLoginRequest(Lnet/sourceforge/kolmafia/request/GenericRequest;)V+119
j net.sourceforge.kolmafia.request.GenericRequest.handleServerRedirect()Z+134
j net.sourceforge.kolmafia.request.GenericRequest.retrieveServerReply()Z+244
j net.sourceforge.kolmafia.request.GenericRequest.execute()V+232
j net.sourceforge.kolmafia.request.GenericRequest.run()V+273
j net.sourceforge.kolmafia.request.LoginRequest.run()V+133
j net.sourceforge.kolmafia.RequestThread.executeRequest(Lnet/sourceforge/kolmafia/request/GenericRequest;)V+36
j net.sourceforge.kolmafia.RequestThread.postRequest(Lnet/sourceforge/kolmafia/request/GenericRequest;)V+6
j net.sourceforge.kolmafia.KoLmafiaCLI.attemptLogin(Ljava/lang/String;)V+132
j net.sourceforge.kolmafia.KoLmafiaCLI$Login.run(Ljava/lang/String;Ljava/lang/String;)V+8
j net.sourceforge.kolmafia.KoLmafiaCLI.executeCommand(Ljava/lang/String;Ljava/lang/String;)V+99
j net.sourceforge.kolmafia.KoLmafiaCLI.executeLine(Ljava/lang/String;)V+407
j net.sourceforge.kolmafia.KoLmafiaCLI.listenForCommands()V+47
j net.sourceforge.kolmafia.KoLmafiaCLI.executeScriptCommand(Ljava/lang/String;Ljava/lang/String;)V+374
j net.sourceforge.kolmafia.KoLmafiaCLI.access$200(Lnet/sourceforge/kolmafia/KoLmafiaCLI;Ljava/lang/String;Ljava/lang/String;)V+3
j net.sourceforge.kolmafia.KoLmafiaCLI$Call.run(Ljava/lang/String;Ljava/lang/String;)V+6
j net.sourceforge.kolmafia.KoLmafiaCLI.executeCommand(Ljava/lang/String;Ljava/lang/String;)V+99
j net.sourceforge.kolmafia.KoLmafiaCLI.executeLine(Ljava/lang/String;)V+407
j net.sourceforge.kolmafia.KoLmafia.main([Ljava/lang/String;)V+1064
v ~StubRoutines::call_stub

--------------- P R O C E S S ---------------

Java Threads: ( => current thread )
 0x02f63400 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=704, stack(0x037e0000,0x03830000)]
 0x030d9800 JavaThread "AWT-Shutdown" [_thread_blocked, id=1272, stack(0x03790000,0x037e0000)]
 0x0307d800 JavaThread "Thread-3" daemon [_thread_blocked, id=3648, stack(0x03470000,0x034c0000)]
 0x02f2b400 JavaThread "AWT-Windows" daemon [_thread_in_native, id=444, stack(0x03260000,0x032b0000)]
 0x02f3f400 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=3608, stack(0x031c0000,0x03210000)]
 0x02c0bc00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=424, stack(0x02e80000,0x02ed0000)]
 0x02c08c00 JavaThread "CompilerThread0" daemon [_thread_blocked, id=2800, stack(0x02e30000,0x02e80000)]
 0x02c07400 JavaThread "Attach Listener" daemon [_thread_blocked, id=3776, stack(0x02de0000,0x02e30000)]
 0x02c06400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=4076, stack(0x02d90000,0x02de0000)]
 0x02bc3c00 JavaThread "Finalizer" daemon [_thread_blocked, id=2664, stack(0x02d40000,0x02d90000)]
 0x02bbf000 JavaThread "Reference Handler" daemon [_thread_blocked, id=452, stack(0x02cf0000,0x02d40000)]
=>0x003f6800 JavaThread "main" [_thread_in_vm, id=3860, stack(0x009e0000,0x00a30000)]

Other Threads:
 0x02bbd800 VMThread [stack: 0x02ca0000,0x02cf0000] [id=2556]
 0x02c0d400 WatcherThread [stack: 0x02ed0000,0x02f20000] [id=3724]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 def new generation  total 1344K, used 868K [0x229d0000, 0x22b40000, 0x22eb0000)
 eden space 1216K, 62% used [0x229d0000, 0x22a8f298, 0x22b00000)
 from space 128K, 81% used [0x22b00000, 0x22b19ed8, 0x22b20000)
 to  space 128K,  0% used [0x22b20000, 0x22b20000, 0x22b40000)
 tenured generation  total 17460K, used 11109K [0x22eb0000, 0x23fbd000, 0x269d0000)
  the space 17460K, 63% used [0x22eb0000, 0x23989790, 0x23989800, 0x23fbd000)
 compacting perm gen total 12288K, used 4175K [0x269d0000, 0x275d0000, 0x2a9d0000)
  the space 12288K, 33% used [0x269d0000, 0x26de3e70, 0x26de4000, 0x275d0000)
  ro space 8192K, 63% used [0x2a9d0000, 0x2aee3ae8, 0x2aee3c00, 0x2b1d0000)
  rw space 12288K, 53% used [0x2b1d0000, 0x2b8383f8, 0x2b838400, 0x2bdd0000)

Dynamic libraries:
0x00400000 - 0x00424000 	C:\windows\system32\java.exe
0x7c920000 - 0x7c9b2000 	C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c91a000 	C:\WINDOWS\system32\kernel32.dll
0x77da0000 - 0x77e49000 	C:\WINDOWS\system32\ADVAPI32.dll
0x77e50000 - 0x77ee3000 	C:\WINDOWS\system32\RPCRT4.dll
0x7c340000 - 0x7c396000 	C:\Program Files\Java\jre6\bin\msvcr71.dll
0x6d800000 - 0x6da56000 	C:\Program Files\Java\jre6\bin\client\jvm.dll
0x77d10000 - 0x77da0000 	C:\WINDOWS\system32\USER32.dll
0x77ef0000 - 0x77f35000 	C:\WINDOWS\system32\GDI32.dll
0x76b10000 - 0x76b3a000 	C:\windows\system32\WINMM.dll
0x76300000 - 0x7631d000 	C:\WINDOWS\system32\IMM32.DLL
0x62c20000 - 0x62c29000 	C:\windows\system32\LPK.DLL
0x73fb0000 - 0x7401b000 	C:\windows\system32\USP10.dll
0x6d280000 - 0x6d288000 	C:\Program Files\Java\jre6\bin\hpi.dll
0x76bc0000 - 0x76bcb000 	C:\windows\system32\PSAPI.DLL
0x6d7b0000 - 0x6d7bc000 	C:\Program Files\Java\jre6\bin\verify.dll
0x6d320000 - 0x6d33f000 	C:\Program Files\Java\jre6\bin\java.dll
0x6d7f0000 - 0x6d7ff000 	C:\Program Files\Java\jre6\bin\zip.dll
0x6d000000 - 0x6d138000 	C:\Program Files\Java\jre6\bin\awt.dll
0x72f70000 - 0x72f96000 	C:\windows\system32\WINSPOOL.DRV
0x77be0000 - 0x77c38000 	C:\WINDOWS\system32\msvcrt.dll
0x77180000 - 0x772bd000 	C:\WINDOWS\system32\ole32.dll
0x4cba0000 - 0x4cca2000 	C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2149_x-ww_a84b1f06\comctl32.dll
0x77f40000 - 0x77fb6000 	C:\WINDOWS\system32\SHLWAPI.dll
0x5adc0000 - 0x5adf6000 	C:\WINDOWS\system32\uxtheme.dll
0x6d220000 - 0x6d274000 	C:\Program Files\Java\jre6\bin\fontmanager.dll
0x74680000 - 0x746cb000 	C:\WINDOWS\system32\MSCTF.dll
0x4c0d0000 - 0x4c0fe000 	C:\WINDOWS\system32\msctfime.ime
0x773a0000 - 0x77b91000 	C:\WINDOWS\system32\shell32.dll
0x0ffd0000 - 0x0fff8000 	C:\windows\system32\rsaenh.dll
0x759d0000 - 0x75a7e000 	C:\WINDOWS\system32\USERENV.dll
0x5fdd0000 - 0x5fe24000 	C:\WINDOWS\system32\netapi32.dll
0x6d610000 - 0x6d623000 	C:\Program Files\Java\jre6\bin\net.dll
0x71a20000 - 0x71a37000 	C:\windows\system32\WS2_32.dll
0x71a10000 - 0x71a18000 	C:\windows\system32\WS2HELP.dll
0x719c0000 - 0x719fe000 	C:\WINDOWS\System32\mswsock.dll
0x76ef0000 - 0x76f17000 	C:\windows\system32\DNSAPI.dll
0x76f80000 - 0x76f88000 	C:\WINDOWS\System32\winrnr.dll
0x76f30000 - 0x76f5d000 	C:\WINDOWS\system32\WLDAP32.dll
0x76f90000 - 0x76f95000 	C:\windows\system32\rasadhlp.dll
0x6d630000 - 0x6d639000 	C:\Program Files\Java\jre6\bin\nio.dll
0x60fd0000 - 0x61024000 	C:\windows\system32\hnetcfg.dll
0x71a00000 - 0x71a08000 	C:\WINDOWS\System32\wshtcpip.dll

VM Arguments:
jvm_args: -Djava.awt.headless=true -Duser.dir=C:\**********\kol -Duser.home=C:\**********\kol 
java_command: C:\**************\km.jar --CLI login.txt
Launcher Type: SUN_STANDARD

Environment Variables:
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;
USERNAME=**********
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 15 Model 43 Stepping 1, AuthenticAMD



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

OS: Windows XP Build 2600 Service Pack 2, v.2149

CPU:total 2 (2 cores per cpu, 1 threads per core) family 15 model 43 stepping 1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, mmxext, 3dnow, 3dnowext

Memory: 4k page, physical 2096620k(1476356k free), swap 3512748k(3009764k free)

vm_info: Java HotSpot(TM) Client VM (11.0-b16) for windows-x86 JRE (1.6.0_11-b03), built on Nov 10 2008 02:15:12 by "java_re" with MS VC++ 7.1

time: Fri Jan 23 21:44:14 2009
elapsed time: 9 seconds

Logging in with GUI mode is fine, just that any attempt to login in pure CLI mode dies when it gets to "Retrieving character data..."


Any ideas on how to fix that?
 
I am unable to duplicate this, but that doesn't necessarily mean anything - the code path that crashed appears to be related to being in ronin, which I'm currently unable to test, and is definitely related to some Windows XP-specific code, which I'm unable to test at all.

Please confirm the following:
1. This is a softcore character in ronin, right?
2. Did CLI mode ever work on this same machine, and if so, what was the most recent KoLmafia version that worked?
 
It is a softcore character, he is out of ronin, NS is dead.

It worked before the rollover on Fri Jan 23 EST and can't seem to work after it.
I'm tried the latest build and the latest official version, both failed.

Just tried it then(in the morning) and CLI mode managed to login, but the same error kept happening on yesterday afternoon. Could it be a time related issue?

EDIT ----

Its just past 3pm and just after rollover. CLI mode cant login anymore, it crashed at the same place.
 
Back
Top