rakslice / macemu

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

kanjitalk755 mingw32: crash on launch #31

Closed rakslice closed 4 years ago

rakslice commented 4 years ago

A crash on launch started happening after 5b31736785586493e3a98c2eca91f1e548765dbe merge. JIT or no JIT.

$ ./SheepShaver.5b31736785586493e3a98c2eca91f1e548765dbe.exe
SIGSEGV
  pc 0109ae00
  ea 61f14000
 r0 00000000   r1 17ff5890   r2 00000000   r3 50f14000
 r4 00000040   r5 fffffffa   r6 00003540   r7 ffffffe8
 r8 00110477   r9 61776163  r10 0000bf8c  r11 00000384
r12 0000001e  r13 61776163  r14 00000000  r15 00000001
r16 001e0f4e  r17 000a7ef0  r18 0011fdc0  r19 0010d05a
r20 17ff5a9e  r21 001a68b6  r22 17ff59da  r23 00000000
r24 001e0f7e  r25 00000000  r26 00000000  r27 000050f1
r28 001be0c4  r29 40c89e00  r30 40c60000  r31 68fff000
 f0 0.00000   f1 0.00000   f2 0.00000   f3 0.00000
 f4 0.00000   f5 0.00000   f6 0.00000   f7 0.00000
 f8 0.00000   f9 0.00000  f10 0.00000  f11 0.00000
f12 0.00000  f13 0.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 40c89e00  ctr 00000000   cr 40001c22  xer 00000000
 pc 40c6628c fpscr 00000000
SheepShaver V2.5 by Christian Bauer and Mar"c" Hellwig
Reading ROM file...
Using SDL_Renderer driver: software
Detected CPU features: MMX SSE SSE2 SSE3 SSSE3
PowerPC CPU emulator by Gwenole Beauchesne
WARNING: Unknown DiskStatus(6)
  0x40c6626c:  sth     r4,0(r3)
  0x40c66270:  addco.  r4,r4,r0
  0x40c66274:  bgelr+  cr2
  0x40c66278:  b       0x40c6d0d4
  0x40c6627c:  nop
  0x40c66280:  rlwimi  r29,r27,3,13,28
  0x40c66284:  mtlr    r29
  0x40c66288:  lhau    r27,2(r24)
 >0x40c6628c:  stb     r4,0(r3)
  0x40c66290:  addco.  r4,r4,r0
  0x40c66294:  bgelr+  cr2
  0x40c66298:  b       0x40c6d0d4
  0x40c6629c:  lhau    r27,2(r24)
  0x40c662a0:  addco.  r4,r4,r0
  0x40c662a4:  lhau    r6,2(r24)
  0x40c662a8:  stw     r4,0(r27)
rakslice commented 4 years ago
rakslice commented 4 years ago
rakslice commented 4 years ago
rakslice commented 4 years ago

This was down to just the rsrc_patches.cpp part of the change, which took out the native audio driver patching; it has since been put back.