Runtime problems (illegal instruction, segfault)

About SheepShaver, a PPC Mac emulator for Windows, MacOS X, and Linux that can run System 7.5.3 to MacOS 9.0.4.

Moderators: Cat_7, Ronald P. Regensburg, ClockWise

Post Reply
arkadio
Space Cadet
Posts: 4
Joined: Mon May 24, 2004 8:20 pm
Contact:

Runtime problems (illegal instruction, segfault)

Post by arkadio »

Hello people.
I have built SheepShaver from SRPM on SuSE 9.0 and ran into different problems. When I start it with JIT enabled, it won't boot:

Code: Select all

Reading ROM file...
Illegal Instruction
When I disable JIT in prefs, it starts to boot, but while MacOS 8.1 is "Starting up...", it crashes:

Code: Select all

/home/arkadio> SheepShaver
SheepShaver V2.2 by Christian Bauer and Mar"c" Hellwig
Reading ROM file...
Using /dev/dsp audio output
PowerPC CPU emulator by Gwenole Beauchesne
SIGSEGV
  pc 0x80a7bc1
  ea 0x3fff
 r0 00000000   r1 217f78fc   r2 00000000   r3 217f78fc
 r4 00003fff   r5 40c60c64   r6 0000382e   r7 00000000
 r8 00003fff   r9 000000fd  r10 019a00af  r11 00000004
r12 ffff00af  r13 0000019a  r14 00000001  r15 0000000c
r16 00003fff  r17 201ee370  r18 00003fff  r19 201ee370
r20 2026b610  r21 20279089  r22 217f7918  r23 00000000
r24 2026d984  r25 00000020  r26 00000000  r27 00000c40
r28 00000000  r29 40c98080  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 40c98080  ctr 40c9c170   cr 40501c20  xer 00000000
 pc 40c98080 fpscr 00000000
The problem persists both when I have #defined DYNGEN_DIRECT_BLOCK_CHAINING 0
and when leaving it out.

Code: Select all

Linux firebird 2.4.20-4GB #1 Tue May 13 08:07:43 PDT 2003
CPU: AMD-K6(tm) 3D processor stepping 0c
GCC -- Thread model: posix
gcc version 3.3 20030226 (prerelease) (SuSE Linux)

RPM is:
%define name            SheepShaver
%define version         2.2
%define release         14
%define cvsdate         20040705
%define mon_active      1
%define mon_version     3.0
%define mon_snapshot    20030206

config is:
disk /mnt/home/mac/MacOS_E.HFV
extfs /home/arkadio
windowmodes 2
screenmodes 0
seriala /dev/ttyS0
serialb /dev/ttyS1
rom /mnt/home/mac/Rom/PowerPC.rom
bootdrive 0
bootdriver 0
ramsize 33554432
frameskip 8
gfxaccel false
nocdrom true
nonet false
nosound false
nogui false
noclipconversion false
jit false
jit68k false
keyboardtype 5
keycodes false
dsp /dev/dsp
mixer /dev/mixer
ignoresegv false
idlewait true
PS: same HFS image but with different ROM is successfully booted by Basilisk on the same machine
User avatar
Trombone Bob
Tinkerer
Posts: 83
Joined: Mon Apr 26, 2004 3:32 pm
Location: Utah, USA

Post by Trombone Bob »

Is the rom your using for sheepshaver a new world rom or an old world rom? If it is a new world you cant boot os 8.1 only 8.5-9.0.4 try using the rom from the Mac-on-linux website and use it to boot 8.5 or greater. If all you have is 8.1 you will have to extract an old world rom from some early 603 power mac.
Post Reply