SheepShaver UB build for Mac OS X 25-10-2009 available

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

User avatar
Ronald P. Regensburg
Expert User
Posts: 7821
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Post by Ronald P. Regensburg »

MacUser wrote:Each time after a unexpected quit a file "PPC.log" is created in the parent forlder of the app.
The log file is empty and when it is deleted it is build again after next quiting of the app.
I know. I do not know when (with which build) that started to happen. You can ignore it.
cdorje
Student Driver
Posts: 14
Joined: Fri Oct 23, 2009 3:33 pm

MBP problem

Post by cdorje »

I'm running Mac OS 10.5.8 on an MBP 2008. As I reported before, the new 18102009 build crashes when I substitute it for the 21-7-08 build which works fine. The smiley face then the splash screen come up, but it crashes before the extensions load. I also tried the 20090714 build and it crashes in the same way, however, it boots up fine on a PM G5 running OS 10.4.11. Of course, the latest build does not run on the PM G5.

Hope this helps.
David
mschmitt
Tinkerer
Posts: 80
Joined: Sun Jul 05, 2009 10:33 pm

Post by mschmitt »

MacUser wrote:Hello Ronald,

Thanks for the new 18102009 build.
Unfortunately on my MacBookPro (first version) with OSX 10.5.8 the app quits when starting up (see the screenshot just before it quits).
With the build of 19032009 all is fine.

Here are some screenshots, perhaps they are of any help.
http://www.dmmdh.nl/screenshots/sheepsh ... obleem.pdf
Your screen shots shows you have the experimental 68K dynamic compilation emulator enabled. Try turning that off.

* * *

By the way: one clue as to whether a crash could be caused by the RAM-and-ROM-anywhere changes: if there is a SIGSEGV dump with an execution address around 0x48000000, then that is a sign that something (such as an extension) is assuming the ROM is loaded at that address.

Right now we only know of one such extension: the Video Digitizer Update that came with certain Performa models.
MacUser
Tinkerer
Posts: 64
Joined: Thu Apr 20, 2006 7:24 am

Post by MacUser »

Hello mschmidtt,

I disabled the experimental 68K dynamic compilation emulator but the app keeps quiting at start up.
I also disabled all extemsions for loading (shift key trick) but that didn't help.
if there is a SIGSEGV dump with an execution address around 0x48000000, then that is a sign that something (such as an extension) is assuming the ROM is loaded at that address
Sorry but the text above is tech mambo jambo for me ;-)

Best,
Wim
M.G.
Space Cadet
Posts: 1
Joined: Sun Oct 25, 2009 9:34 pm
Location: Dakar, Senegal

Thanks !

Post by M.G. »

This is my first post here and I really would like thank you, Ronald, and everybody else working on SheepShaver for your efforts! It makes my life a lot easier being able to run Mac OS 9.0.4 on Mac OS X 10.5.8 – MacBook Unibody 13".

Keep the good Job :P
User avatar
Ronald P. Regensburg
Expert User
Posts: 7821
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Post by Ronald P. Regensburg »

I think todays (25-10-2009) UB build solves the freeze or crash at startup with the 18-10-2009 build on some (mainly PPC) machines. It solved the problem on my PowerBook G4.

Please try this build to see if it solves the problem on your machine.

http://www.xs4all.nl/~ronaldpr/sheepsha ... 091025.zip
cdorje
Student Driver
Posts: 14
Joined: Fri Oct 23, 2009 3:33 pm

PPC OK but MBP still a problem

Post by cdorje »

Hi Ronald,

I tried the 10/25 build on both my PM G5 running Tiger and my MBP running Leopard. The PM G5 now runs fine with the 10/25 build, but the MBP still quits after the splash screen. I ran the 20090319 build afterward to make sure my OS 9 disk image wasn't damaged and it boots up fine. So there's still a problem on the MBP running OS 10.5.8.

On another issue, is there a known problem with sound in certain apps? Fontographer crashes when it's about to make a funny sound that indicates a font has opened and I'm wondering if there are any settings that would bypass the problem even if it means I have to run it with no sound.

Thanks for all your efforts. It's scary to think of losing many years of work because Apple and Adobe abandon software and don't make a path to be compatible.
User avatar
Ronald P. Regensburg
Expert User
Posts: 7821
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Post by Ronald P. Regensburg »

In your previous post you wrote that the crash during startup also happened in 10.5.8 on your MBP with the 20090714 build. That is strange. Did you try startup with extensions disabled? (Press-and-hold Shift key after the SheepShaver window opens but before the MacOS welcome screen appears.)

Edit: Your Fontographer problem is not related to this specific SheepShaver build. Please start a new topic to discuss it.
cdorje
Student Driver
Posts: 14
Joined: Fri Oct 23, 2009 3:33 pm

MBP problem is not cured by extensions off

Post by cdorje »

I tried turning off extensions while starting Sheepshaver on my MBP running 10.5.8. The splash screen comes up saying extensions off but immediately crashes. The 20090319 build works fine with the same setup.
MacUser
Tinkerer
Posts: 64
Joined: Thu Apr 20, 2006 7:24 am

Post by MacUser »

Hello Ronald,

I can confirm that the 25-10-2009 build solved the startup issue on my MBP and the app I use most (HyperCard) is running fine :-)

I am supprised that the startup problem is not solved for cdorje because we has the same machine and OSX .....
BTW, I am running OS9.0 in SheepShaver.

Wim.

PS, Ronald bedankt voor je inzet en de hartelijke groeten vanuit Ouddorp
Angler
Space Cadet
Posts: 5
Joined: Fri Oct 23, 2009 7:39 am

Post by Angler »

Ronald P. Regensburg wrote:I think todays (25-10-2009) UB build solves the freeze or crash at startup with the 18-10-2009 build on some (mainly PPC) machines. It solved the problem on my PowerBook G4.

Please try this build to see if it solves the problem on your machine.
For me, this build works, even with QuickTime 4. The ppc.log file is gone, too.

I double-checked the situation with the 18102009 build: it still crashs/terminates when using the same image file (QuickTime 4 installed).

(MacBook Pro 13,3 2,26/4/500 Mid 2009, Mac OS X 10.5.8, Mac OS 9.0.4)
User avatar
Ronald P. Regensburg
Expert User
Posts: 7821
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: MBP problem is not cured by extensions off

Post by Ronald P. Regensburg »

cdorje wrote:I tried turning off extensions while starting Sheepshaver on my MBP running 10.5.8. The splash screen comes up saying extensions off but immediately crashes. The 20090319 build works fine with the same setup.
The 20090317 build works fine and your problem starts with the 20090714 build. I cannot think of anything that changed between March and July that could cause the problem. If you want to try to find out the cause, let's start with the basics. Please post here the contents of your prefs file.

When you typ in Terminal

Code: Select all

open ~/.sheepshaver_prefs
the prefs file will open in TextEdit.
cdorje
Student Driver
Posts: 14
Joined: Fri Oct 23, 2009 3:33 pm

MBP problem not solved with extensions off

Post by cdorje »

I don't know if it matters, but I'm running OS 9.0.4 in Sheepshaver. Here are my prefs:
disk MacOS9.dmg
cdrom /dev/poll/cdrom
extfs shared
screen win/1024/768
windowmodes 0
screenmodes 0
seriala /dev/cu.Bluetooth-Modem
serialb /dev/null
rom Mac OS ROM
bootdrive 0
bootdriver 0
ramsize 268435456
frameskip 1
gfxaccel true
nocdrom false
nonet false
nosound false
nogui false
noclipconversion false
ignoresegv false
jit true
jit68k false
keyboardtype 5
ether slirp
keycodes true
keycodefile keycodes
mousewheelmode 0
mousewheellines 1
dsp /dev/dsp
mixer /dev/mixer
ignoresegv false
idlewait true
User avatar
Ronald P. Regensburg
Expert User
Posts: 7821
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Post by Ronald P. Regensburg »

In my prefs file "nogui" is "true". I wonder how it could have become "false" in your prefs file, it is not a setting you can change in the prefs editor. However, changing that to "false", as in your prefs file, does not make any difference on my iMac. In the other lines I do not see anything unusual.

Is there anything unusual about the contents of the shared folder, like files or folders with unusual names?
cdorje
Student Driver
Posts: 14
Joined: Fri Oct 23, 2009 3:33 pm

Post by cdorje »

I emptied out the shared folder and tried again. Doesn't help. March build boots fine, but July build crashes.
User avatar
Ronald P. Regensburg
Expert User
Posts: 7821
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Post by Ronald P. Regensburg »

I have no more ideas, sorry. It is very strange that on your MBP the 19-03-2009 build runs fine and the 14-07-2009 and later builds crash. Maybe someone else can think of a possible cause.
mschmitt
Tinkerer
Posts: 80
Joined: Sun Jul 05, 2009 10:33 pm

Post by mschmitt »

The obvious difference between the 19-03-2009 build and the 14-07-2009 build is that the July build contains RAM-anywhere changes.

The SheepShaver_UB_20090714 build is one Ronald created from my sources. At that point the RAM-anywhere code was disabled for PPC.

Please try the 2009-07-26 build, which is the final version of the RAM-anywhere change.

It would be helpful if you could start it from the command line and then post the resulting output, including any crash information.
cdorje
Student Driver
Posts: 14
Joined: Fri Oct 23, 2009 3:33 pm

Post by cdorje »

Where can I get the 2009-07-26 build?
cdorje
Student Driver
Posts: 14
Joined: Fri Oct 23, 2009 3:33 pm

Post by cdorje »

I found it. Here's the results of running Sheepshaver build 2009-07-26 from Terminal on my MBP. The OS 9.0.4 disk image runs fine on Sheepshaver 2009-03-19:

Yidzhin-Norbu-MPB:~ thewizard$ cd /Users/thewizard/Desktop/Sheepsaver\ stuff/SheepShaver
Yidzhin-Norbu-MPB:SheepShaver thewizard$ /Users/thewizard/Desktop/Sheepsaver\ stuff/SheepShaver/SheepShaver\ UB\ 2009-07-26.app/Contents/MacOS/SheepShaver
SheepShaver V2.3 by Christian Bauer and Mar"c" Hellwig
Reading ROM file...
Using SDL/coreaudio audio output
2009-10-26 21:34:46.519 SheepShaver[29267:10b] Warning once: This application, or a library it uses, is using NSQuickDrawView, which has been deprecated. Apps should cease use of QuickDraw and move to Quartz.
Detected CPU features: MMX SSE SSE2 SSE3 SSSE3
PowerPC CPU emulator by Gwenole Beauchesne
WARNING: Unknown DiskStatus(6)
SIGSEGV
pc 0x26dbf2c6
ea 0xf150baf7
r0 00000000 r1 212949c2 r2 00000000 r3 15473074
r4 00007400 r5 00002072 r6 fff87f9a r7 00000000
r8 f150baf3 r9 000a7fe4 r10 00000000 r11 00000108
r12 25390530 r13 00000000 r14 21294a1e r15 00000001
r16 8156c344 r17 25516ec0 r18 f150baf3 r19 15472f96
r20 21294a9e r21 1539bad6 r22 2129f400 r23 00000000
r24 154730a8 r25 00000000 r26 00000004 r27 00000004
r28 15439e54 r29 25690150 r30 25760000 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 25690150 ctr 00000000 cr 20001c88 xer 00000004
pc 25690150 fpscr 00000000
2009-10-26 21:34:49.596 SheepShaver[29267:4233] *** _NSAutoreleaseNoPool(): Object 0x14f920 of class NSCFArray autoreleased with no pool in place - just leaking
Stack: (0x94951f4f 0x9485e432 0x96c4e937 0x96cb39e2 0x96cb398c 0x96d238f0 0x96d0fc14 0x96d0f05c 0x96d23809 0x96d651ad 0x780e3e82 0x780e492c 0x780dcbdb 0x780b0f25 0x780b0fe2 0x90aa1dc7 0x90aa1cb0 0x7804b29b 0x780a2781 0x78069b6e 0x90b2f814 0x90b2f6e7 0x78068ee4 0x90aaa155 0x90aaa012)
2009-10-26 21:34:49.597 SheepShaver[29267:4233] *** _NSAutoreleaseNoPool(): Object 0x16d9d0 of class NSCFString autoreleased with no pool in place - just leaking
Stack: (0x94951f4f 0x9485e432 0x96c49607 0x9749c38a 0x9742b3cd 0x9742b74d 0x948667db 0x96c47331 0x96cb3a67 0x96cb398c 0x96d238f0 0x96d0fc14 0x96d0f05c 0x96d23809 0x96d651ad 0x780e3e82 0x780e492c 0x780dcbdb 0x780b0f25 0x780b0fe2 0x90aa1dc7 0x90aa1cb0 0x7804b29b 0x780a2781 0x78069b6e 0x90b2f814 0x90b2f6e7 0x78068ee4 0x90aaa155 0x90aaa012)
2009-10-26 21:34:49.598 SheepShaver[29267:4233] *** _NSAutoreleaseNoPool(): Object 0x10db70 of class NSCFNumber autoreleased with no pool in place - just leaking
Stack: (0x94951f4f 0x9485e432 0x96c473e6 0x96cb3a67 0x96cb398c 0x96d238f0 0x96d0fc14 0x96d0f05c 0x96d23809 0x96d651ad 0x780e3e82 0x780e492c 0x780dcbdb 0x780b0f25 0x780b0fe2 0x90aa1dc7 0x90aa1cb0 0x7804b29b 0x780a2781 0x78069b6e 0x90b2f814 0x90b2f6e7 0x78068ee4 0x90aaa155 0x90aaa012)
2009-10-26 21:34:49.599 SheepShaver[29267:4233] *** _NSAutoreleaseNoPool(): Object 0x16d170 of class NSCFDictionary autoreleased with no pool in place - just leaking
Stack: (0x94951f4f 0x9485e432 0x975111be 0x96c4740e 0x96cb3a67 0x96cb398c 0x96d238f0 0x96d0fc14 0x96d0f05c 0x96d23809 0x96d651ad 0x780e3e82 0x780e492c 0x780dcbdb 0x780b0f25 0x780b0fe2 0x90aa1dc7 0x90aa1cb0 0x7804b29b 0x780a2781 0x78069b6e 0x90b2f814 0x90b2f6e7 0x78068ee4 0x90aaa155 0x90aaa012)
2009-10-26 21:34:49.600 SheepShaver[29267:4233] *** _NSAutoreleaseNoPool(): Object 0x10d600 of class NSCFNumber autoreleased with no pool in place - just leaking
Stack: (0x94951f4f 0x9485e432 0x96c473e6 0x96cb3ac4 0x96cb398c 0x96d238f0 0x96d0fc14 0x96d0f05c 0x96d23809 0x96d651ad 0x780e3e82 0x780e492c 0x780dcbdb 0x780b0f25 0x780b0fe2 0x90aa1dc7 0x90aa1cb0 0x7804b29b 0x780a2781 0x78069b6e 0x90b2f814 0x90b2f6e7 0x78068ee4 0x90aaa155 0x90aaa012)
2009-10-26 21:34:49.601 SheepShaver[29267:4233] *** _NSAutoreleaseNoPool(): Object 0x162f90 of class NSCFDictionary autoreleased with no pool in place - just leaking
Stack: (0x94951f4f 0x9485e432 0x975111be 0x96c4740e 0x96cb3ac4 0x96cb398c 0x96d238f0 0x96d0fc14 0x96d0f05c 0x96d23809 0x96d651ad 0x780e3e82 0x780e492c 0x780dcbdb 0x780b0f25 0x780b0fe2 0x90aa1dc7 0x90aa1cb0 0x7804b29b 0x780a2781 0x78069b6e 0x90b2f814 0x90b2f6e7 0x78068ee4 0x90aaa155 0x90aaa012)
2009-10-26 21:34:49.601 SheepShaver[29267:4233] *** _NSAutoreleaseNoPool(): Object 0x160b10 of class NSCFArray autoreleased with no pool in place - just leaking
Stack: (0x94951f4f 0x9485e432 0x96cb3fb4 0x96cb3d1a 0x96d238f0 0x96d0fc14 0x96d0f05c 0x96d23809 0x96d651ad 0x780e3e82 0x780e492c 0x780dcbdb 0x780b0f25 0x780b0fe2 0x90aa1dc7 0x90aa1cb0 0x7804b29b 0x780a2781 0x78069b6e 0x90b2f814 0x90b2f6e7 0x78068ee4 0x90aaa155 0x90aaa012)
2009-10-26 21:34:49.602 SheepShaver[29267:4233] *** _NSAutoreleaseNoPool(): Object 0x1626f0 of class NSCFArray autoreleased with no pool in place - just leaking
Stack: (0x94951f4f 0x9485e432 0x96c4e937 0x96cb3e33 0x96d238f0 0x96d0fc14 0x96d0f05c 0x96d23809 0x96d651ad 0x780e3e82 0x780e492c 0x780dcbdb 0x780b0f25 0x780b0fe2 0x90aa1dc7 0x90aa1cb0 0x7804b29b 0x780a2781 0x78069b6e 0x90b2f814 0x90b2f6e7 0x78068ee4 0x90aaa155 0x90aaa012)
2009-10-26 21:34:49.607 SheepShaver[29267:4233] *** _NSAutoreleaseNoPool(): Object 0x162ed0 of class NSCFArray autoreleased with no pool in place - just leaking
Stack: (0x94951f4f 0x9485e432 0x97509bf5 0x948a50fb 0x96cb6b8b 0x96d0fca1 0x96d0f05c 0x96d23809 0x96d651ad 0x780e3e82 0x780e492c 0x780dcbdb 0x780b0f25 0x780b0fe2 0x90aa1dc7 0x90aa1cb0 0x7804b29b 0x780a2781 0x78069b6e 0x90b2f814 0x90b2f6e7 0x78068ee4 0x90aaa155 0x90aaa012)
2009-10-26 21:34:49.608 SheepShaver[29267:4233] *** _NSAutoreleaseNoPool(): Object 0x14dfb0 of class SDL_QuartzWindow autoreleased with no pool in place - just leaking
Stack: (0x94951f4f 0x9485e432 0x96d65210 0x780e3e82 0x780e492c 0x780dcbdb 0x780b0f25 0x780b0fe2 0x90aa1dc7 0x90aa1cb0 0x7804b29b 0x780a2781 0x78069b6e 0x90b2f814 0x90b2f6e7 0x78068ee4 0x90aaa155 0x90aaa012)
Yidzhin-Norbu-MPB:SheepShaver thewizard$
Gary
Student Driver
Posts: 11
Joined: Tue Oct 27, 2009 2:19 am
Location: Kansas

Working here so far

Post by Gary »

New user here, thrilled to find this and have it actually work. Is there somewhere we can send donations?

Installed the version suggested for PPC on a 1.25ghz G4 eMac this weekend, all flaws/crashes were my fault. Used the 1.0 ROM. Runs FileMaker Pro 5, my speed calculation file showed it running at exactly half the native processor speed (still very nice). Installed Alias Sketch, creates and renders just beautifully.

Today I installed the 25-10-2009 build on a new (last month's, anyway) iMac, 2.66ghz core duo intel, using the 1.0 ROM. Took a little while, but I've got it printing to the main network printer. Will install things in it later, but it works nicely so far except for a single apparent bug:

On shutdown, an error comes up that the "unix disk can't be used because it can't be found". If it's just a restart, the problem persists. If it's a shutdown and then a cold start then there's no problem. This may be a mere annoyance, with the thing being unmounted and the finder then looking for it or it's desktop file.

I installed MacOS 9.0.4 in both instances.

The network IP thing could stand to be fixed, but I'm not experienced with that sort of thing.

Is there any particular ROM that is optimal?
mschmitt
Tinkerer
Posts: 80
Joined: Sun Jul 05, 2009 10:33 pm

Post by mschmitt »

cdorje wrote:I found it. Here's the results of running Sheepshaver build 2009-07-26 from Terminal on my MBP. The OS 9.0.4 disk image runs fine on Sheepshaver 2009-03-19:
The ea (effective address) of 0xf150baf7 is the reason for the SIGSEGV -- it is way out of bounds.

Have you tried setting the preference to ignore memory access errors, just to see what happens?
cdorje
Student Driver
Posts: 14
Joined: Fri Oct 23, 2009 3:33 pm

Post by cdorje »

"Ignore memory access errors" did the trick. It now opens in the latest build. Is it dangerous to run this way? Could it overwrite memory used by other applications?
mschmitt
Tinkerer
Posts: 80
Joined: Sun Jul 05, 2009 10:33 pm

Post by mschmitt »

cdorje wrote:"Ignore memory access errors" did the trick. It now opens in the latest build. Is it dangerous to run this way? Could it overwrite memory used by other applications?
It can't touch memory used by other applications; each process has its own address space. And even within the SheepShaver address space, it should only be able to mess around with its own storage.

The real question is why you should have to turn off the memory protection. Something isn't right, but SheepShaver is far from a perfect emulation, so who knows?
cdorje
Student Driver
Posts: 14
Joined: Fri Oct 23, 2009 3:33 pm

Post by cdorje »

The other big question is why running the identical disk image and settings in older versions of SheepShaver did not run into the illegal memory problem?
mschmitt
Tinkerer
Posts: 80
Joined: Sun Jul 05, 2009 10:33 pm

Post by mschmitt »

cdorje wrote:The other big question is why running the identical disk image and settings in older versions of SheepShaver did not run into the illegal memory problem?
Let's assume that the difference is due to the repositioning of the RAM and ROM starting addresses.

I can think of two possibilities:
  1. The shifting of the RAM and ROM is causing a problem
  2. There is a bug in SheepShaver or the emulated programs (Mac OS, extensions etc.) that we were getting away with, but the repositioning shifted things so that now the bug is exposed.
The second theory is not that improbable. I've seen it before in other programming environments.
Post Reply