Crash out of the Blue

Game of universal domination. New dice available free upon request.
Post Reply
Chrome
Lux Newbie
Posts: 1
Joined: Wed May 21, 2003 3:02 am
Location: Earth

Crash out of the Blue

Post by Chrome » Sat Oct 11, 2003 2:56 am

Virtually never crashes for me. Developing nicely.

Out of the blue crash. Console:
Lux version 3.5 is now starting under user chrome
-> OS: Mac OS X 10.2.8 ppc
-> VM: 1.4.1_01 / 48.0
-> MRJ: 69.1
-> home: /Users/chrome
-> working: /
-> support: /Users/chrome/Library/Application Support/Lux/
Lux -> initialize the prefs window
LuxWorld@86113d: There was an error in Yakool@daeb2d's attackPhase():
java.lang.NullPointerException
at Board.attack(Board.java:78 )
at SmartAgentBase.attackAlongPath(SmartAgentBase.java:849)
at SmartAgentBase.attackToKillContinent(SmartAgentBase.java:814)
at SmartAgentBase.attackToKillPlayer(SmartAgentBase.java:796)
at Yakool.attackPhase(Yakool.java:62)
at LuxWorld.takeCurrentComputerPlayersTurn(LuxWorld.java:903)
at LuxWorld.takeTurnsLoop(LuxWorld.java:851)
at LuxWorld.run(LuxWorld.java:2005)
at java.lang.Thread.run(Thread.java:554)
LuxWorld@86113d: Lux -> an exception was caught in a killed game thread. No need to worry about this.
LuxWorld@4d103e: oops. Communist@b6f019 called fortifyArmies() with an origin country with 0 movable armies.
LuxWorld@4d103e: oops. Communist@b6f019 called fortifyArmies() with an origin country with 0 movable armies.
LuxWorld@4d103e: oops. Communist@b6f019 called fortifyArmies() with an origin country with 0 movable armies.
LuxWorld@4d103e: oops. Communist@b6f019 called fortifyArmies() with an origin country with 0 movable armies.
LuxWorld@4d103e: oops. Communist@b6f019 called fortifyArmies() with an origin country with 0 movable armies.
Oct 10 23:09:59 Oedipus /Volumes/Yin/GAMES/_BOARD_/_RISK_/LUX/Lux.app/Contents/MacOS/Lux: An error report file has been saved as /Users/chrome/Library/Logs/JavaNativeCrash_pid2770.log. Please refer to the file for further information.

Oct 10 23:10:00 Oedipus crashdump: Crash report written to: /Users/chrome/Library/Logs/CrashReporter/Lux.crash.log


Crash Log:
Date/Time: 2003-10-10 23:10:00 -0600
OS Version: 10.2.8 (Build 6R73)
Host: Oedipus.local.

Command: Lux
PID: 2770

Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x0000001e

Thread 0 Crashed:
#0 0x966b98bc in JVM_GetCPMethodClassNameUTF
#1 0x91e8747c in __JAVAMethodInvoke
#2 0x91e8772c in JAVAMethodInvokeBoolean
#3 0x91e8d870 in _NSInvokeJavaMethod
#4 0x91e89cbc in _BRIDGEMethodImp
#5 0x930768a0 in -[NSView _propagateDirtyRectsToOpaqueAncestors]
#6 0x97df29d0 in -[NSArray makeObjectsPerformSelector:withObject:]
#7 0x93076868 in -[NSView _propagateDirtyRectsToOpaqueAncestors]
#8 0x97df29d0 in -[NSArray makeObjectsPerformSelector:withObject:]
#9 0x93076868 in -[NSView _propagateDirtyRectsToOpaqueAncestors]
#10 0x930a570c in -[NSView displayIfNeeded]
#11 0x930b5608 in -[NSWindow displayIfNeeded]
#12 0x930a03b0 in _handleWindowNeedsDisplay
#13 0x90148464 in __CFRunLoopDoObservers
#14 0x901487d4 in __CFRunLoopRun
#15 0x90180f58 in CFRunLoopRunSpecific
#16 0x969a3b70 in RunCurrentEventLoopInMode
#17 0x969b3b00 in ReceiveNextEventCommon
#18 0x969dabbc in BlockUntilNextEventMatchingListInMode
#19 0x9308dedc in _DPSNextEvent
#20 0x930a0158 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
#21 0x930b1d88 in -[NSApplication run]
#22 0x9315fc58 in NSApplicationMain
#23 0x00002e20 in _start (crt.c:267)
#24 0x00002ca0 in start


PPC Thread State:
srr0: 0x966b98bc srr1: 0x0000f030 vrsave: 0x00000000
xer: 0x20000000 lr: 0x966b9850 ctr: 0x90000e20 mq: 0x00000000
r0: 0x966c17e4 r1: 0xbfffe100 r2: 0x6e801358 r3: 0xbfffe1fc
r4: 0x6b000210 r5: 0x0021c454 r6: 0x0021c464 r7: 0x0021c46c
r8: 0x00000000 r9: 0x00000000 r10: 0x6e003890 r11: 0x00000000
r12: 0x6e003890 r13: 0x00000000 r14: 0x00000000 r15: 0x00000001
r16: 0x00000000 r17: 0xbffff730 r18: 0x00000000 r19: 0x00000000
r20: 0xbfffe670 r21: 0x0021bf14 r22: 0xa66a36f0 r23: 0xbfffe150
r24: 0xbfffe290 r25: 0xbfffe2a0 r26: 0x0021bea0 r27: 0x04fd8430
r28: 0xbfffe1c0 r29: 0x6e003890 r30: 0x0021c46c r31: 0x966b95d0

Didn't know if i should include JavaNativeCrash_pid2770.log since it was lengthy.

Looks like that naughty communist was trying to cheat by moving armies he didn't have.
:wink:

User avatar
dustin
Lux Creator
Lux Creator
Posts: 10998
Joined: Thu May 15, 2003 2:01 am
Location: Cascadia
Contact:

Re: Crash out of the Blue

Post by dustin » Wed Oct 15, 2003 2:29 pm

Thanks for the log. It's OK that you didn't include the java native crash log. This is the crash that happens inside some of apple's code. I'm hoping that it's fixed in panther.
Chrome wrote:Looks like that naughty communist was trying to cheat by moving armies he didn't have.
The game engine checks all AI moves to make sure they are proper (as the messages tell). Thus sometimes it is easier to code the AIs to perform a repeated action, even if it won't always work. Rest assured that the AIs are unable to cheat.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 117 guests