rakslice / macemu

Basilisk II and SheepShaver Macintosh emulators
0 stars 0 forks source link

SheepShaver mystery crash #43

Closed rakslice closed 3 years ago

rakslice commented 3 years ago

Testing in Windows x86 32-bit with Mac OS 9.0.4.

During boot, after the screen draws but before the first extension icon is displayed.

SIGSEGV
  pc 004687cc
  ea 10ffffff
 r0 009a82ac   r1 0bff4da8   r2 008dd248   r3 0000010f
 r4 00000000   r5 0bff5044   r6 00000005   r7 f400b21c
 r8 008dd37c   r9 00000010  r10 0bff4de4  r11 001de890
r12 008dd308  r13 008cb0a0  r14 000054b8  r15 0c000190
r16 008d2220  r17 008d2200  r18 02618000  r19 00003000
r20 008dd808  r21 00000016  r22 00000001  r23 008dd7d0
r24 008dd7a0  r25 00000000  r26 008dd818  r27 00000000
r28 00000000  r29 0bff5044  r30 00000005  r31 008dd37d
 f0 0.00000   f1 0.00000   f2 0.00000   f3 0.00000
 f4 4503599631312538.00000   f5 4503599631312430.00000   f6 4503599627370496.00000   f7 4503599627370496.00000
 f8 98548375.00000   f9 0.00000  f10 0.00000  f11 0.00000
f12 108000.00000  f13 8.00000  f14 0.00000  f15 0.00000
f16 0.00000  f17 0.00000  f18 0.00000  f19 0.00000
f20 0.00000  f21 0.00000  f22 0.00000  f23 0.00000
f24 0.00000  f25 0.00000  f26 0.00000  f27 0.00000
f28 0.00000  f29 0.00000  f30 0.00000  f31 0.00000
 lr 009a9018  ctr 001d9658   cr 24000448  xer 00000000
 pc 009a8fe4 fpscr 02008000
SheepShaver V2.5 by Christian Bauer and Mar"c" Hellwig
Reading ROM file...
Using SDL/wasapi audio output
Using SDL_Renderer driver: software
Detected CPU features: MMX SSE SSE2 SSE3 SSSE3
PowerPC CPU emulator by Gwenole Beauchesne
WARNING: Unknown DiskStatus(6)
  0x  9a8fc4:  lbz     r7,0(r3)
  0x  9a8fc8:  mr      r31,r4
  0x  9a8fcc:  addi    r3,r3,1
  0x  9a8fd0:  extsb.  r7,r7
  0x  9a8fd4:  li      r28,0
  0x  9a8fd8:  stb     r7,61(r1)
  0x  9a8fdc:  li      r9,1
  0x  9a8fe0:  beq-    0x9a900c
 >0x  9a8fe4:  addi    r7,r1,60
  0x  9a8fe8:  neg     r7,r7
  0x  9a8fec:  addi    r10,r1,60
  0x  9a8ff0:  addi    r8,r3,-1
  0x  9a8ff4:  add     r9,r9,r10
  0x  9a8ff8:  lbzu    r4,1(r8)
  0x  9a8ffc:  extsb.  r4,r4
  0x  9a9000:  stbu    r4,1(r9)
  0x  9a9004:  bne+    0x9a8ff8
rakslice commented 3 years ago

The crash repeats every boot if I retry a normal boot.

Booting extensions off works okay, and subsequent boots sometimes work normally with no change at all.

rakslice commented 3 years ago

This has the feel of a problem with an outside factor like something persisting between runs, network behaviour differences, etc.