Latest macOS build (18/10/19) crashes every time I run it

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
msSeven
Space Cadet
Posts: 4
Joined: Sat Nov 23, 2019 4:57 pm

Latest macOS build (18/10/19) crashes every time I run it

Post by msSeven »

I've been running SheepShaver for a long time and never really had any issues, but since the Catalina update I haven't been able to run it at all. I tried a simple upgrade and a clean installation, yet the app simply will not run. The error seems to be related to codesigning. This is the log:

Process: SheepShaver [86314]
Path: /Applications/Classic Environment/SheepShaver.app/Contents/MacOS/SheepShaver
Identifier: org.emaculation.sheepshaver
Version: ???
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: SheepShaver [86314]
User ID: 501

Date/Time: 2019-11-23 12:08:50.442 -0500
OS Version: Mac OS X 10.15.1 (19B88)
Report Version: 12
Bridge OS Version: 3.0 (14Y906)

Time Awake Since Boot: 360000 seconds
Time Since Wake: 1500 seconds

System Integrity Protection: enabled

Crashed Thread: 0

Exception Type: EXC_CRASH (Code Signature Invalid)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Termination Reason: Namespace CODESIGNING, Code 0x1

kernel messages:

VM Regions Near 0 (cr2):
-->
__TEXT 00000000028d9000-00000000029be000 [ 916K] r-x/r-x SM=COW

Thread 0 Crashed:
0 0x000000000b8f5000 _dyld_start + 0

Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000000000000 rcx: 0x0000000000000000 rdx: 0x0000000000000000
rdi: 0x0000000000000000 rsi: 0x0000000000000000 rbp: 0x0000000000000000 rsp: 0x00007ffeed329ba8
r8: 0x0000000000000000 r9: 0x0000000000000000 r10: 0x0000000000000000 r11: 0x0000000000000000
r12: 0x0000000000000000 r13: 0x0000000000000000 r14: 0x0000000000000000 r15: 0x0000000000000000
rip: 0x000000000b8f5000 rfl: 0x0000000000000200 cr2: 0x0000000000000000

Logical CPU: 0
Error Code: 0x00000000
Trap Number: 0


Binary Images:
0x28d9000 - 0x29bdff7 + (???) <80D632E2-E6CA-33B5-8471-E482B90553F4>
0xb8f4000 - 0xb984b5f + (733.6) <DAFEA246-2F9A-3DCB-A37C-4246D4F92770>

External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 95143262
thread_create: 0
thread_set_state: 20304

VM Region Summary:
ReadOnly portion of Libraries: Total=2644K resident=0K(0%) swapped_out_or_unallocated=2644K(100%)
Writable regions: Total=8488K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=8488K(100%)

VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
STACK GUARD 56.0M 1
Stack 8192K 1
__DATA 428K 4
__DATA_CONST 20K 1
__LINKEDIT 1148K 2
__TEXT 1496K 2
shared memory 8K 2
=========== ======= =======
TOTAL 67.0M 13

Model: MacBookPro14,2, BootROM 202.0.0.0.0, 2 processors, Dual-Core Intel Core i5, 3.1 GHz, 8 GB, SMC 2.44f2
Graphics: kHW_IntelIrisGraphics650Item, Intel Iris Plus Graphics 650, spdisplays_builtin
Memory Module: BANK 0/DIMM0, 4 GB, LPDDR3, 2133 MHz, 0x802C, 0x4D5435324C3531324D3332443250462D3039
Memory Module: BANK 1/DIMM0, 4 GB, LPDDR3, 2133 MHz, 0x802C, 0x4D5435324C3531324D3332443250462D3039
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x171), Broadcom BCM43xx 1.0 (7.77.106.3 AirPortDriverBrcmNIC-1435.3)
Bluetooth: Version 7.0.1f1, 3 services, 18 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB 3.0 Bus
USB Device: Apple T1 Controller
Thunderbolt Bus: MacBook Pro, Apple Inc., 41.3
Thunderbolt Bus: MacBook Pro, Apple Inc., 41.3
User avatar
Ronald P. Regensburg
Expert User
Posts: 7832
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: Latest macOS build (18/10/19) crashes every time I run i

Post by Ronald P. Regensburg »

You say you used the 18/10/19 build, but my build of that date has Identifier: com.emaculation.sheepshaver while the log mentions Identifier: org.emaculation.sheepshaver which could refer to a couple of earlier builds (September and first week of October) that were signed or notarized by emendelson.

Which build do you use, where did you download it, and how did you do the upgrade?
msSeven
Space Cadet
Posts: 4
Joined: Sat Nov 23, 2019 4:57 pm

Re: Latest macOS build (18/10/19) crashes every time I run i

Post by msSeven »

I downloaded it from the official forum page: https://www.emaculation.com/forum/viewt ... =20&t=7360, and I could've that it was after the 18th. But as it turns out it was actually one of the earlier builds that you mentioned, October 11th I believe. I just downloaded it again tonight and it runs perfectly. Thank you!
msSeven
Space Cadet
Posts: 4
Joined: Sat Nov 23, 2019 4:57 pm

Re: Latest macOS build (18/10/19) crashes every time I run i

Post by msSeven »

After a few days the application starts crashing again with the same error. It's as if the codesigning expires.

Process: SheepShaver [5533]
Path: /Applications/Classic Environment/SheepShaver.app/Contents/MacOS/SheepShaver
Identifier: com.emaculation.sheepshaver
Version: ???
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: SheepShaver [5533]
User ID: 501

Date/Time: 2019-11-28 18:42:26.707 -0500
OS Version: Mac OS X 10.15.1 (19B88)
Report Version: 12
Bridge OS Version: 3.0 (14Y906)

Time Awake Since Boot: 50000 seconds
Time Since Wake: 2300 seconds

System Integrity Protection: enabled

Crashed Thread: 0

Exception Type: EXC_CRASH (Code Signature Invalid)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Termination Reason: Namespace CODESIGNING, Code 0x1

kernel messages:

VM Regions Near 0 (cr2):
-->
__TEXT 000000000555c000-0000000005640000 [ 912K] r-x/r-x SM=COW

Thread 0 Crashed:
0 0x000000000baf4000 _dyld_start + 0

Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000000000000 rcx: 0x0000000000000000 rdx: 0x0000000000000000
rdi: 0x0000000000000000 rsi: 0x0000000000000000 rbp: 0x0000000000000000 rsp: 0x00007ffeea6a6ba8
r8: 0x0000000000000000 r9: 0x0000000000000000 r10: 0x0000000000000000 r11: 0x0000000000000000
r12: 0x0000000000000000 r13: 0x0000000000000000 r14: 0x0000000000000000 r15: 0x0000000000000000
rip: 0x000000000baf4000 rfl: 0x0000000000000200 cr2: 0x0000000000000000

Logical CPU: 0
Error Code: 0x00000000
Trap Number: 0


Binary Images:
0x555c000 - 0x563fff7 + (???) <0A485BE0-73B3-348A-A296-977904734985>
0xbaf3000 - 0xbb83b5f + (733.6) <DAFEA246-2F9A-3DCB-A37C-4246D4F92770>

External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 10645529
thread_create: 0
thread_set_state: 2556

VM Region Summary:
ReadOnly portion of Libraries: Total=2636K resident=0K(0%) swapped_out_or_unallocated=2636K(100%)
Writable regions: Total=8488K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=8488K(100%)

VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
STACK GUARD 56.0M 1
Stack 8192K 1
__DATA 428K 4
__DATA_CONST 20K 1
__LINKEDIT 1144K 2
__TEXT 1492K 2
shared memory 8K 2
=========== ======= =======
TOTAL 67.0M 13

Model: MacBookPro14,2, BootROM 202.0.0.0.0, 2 processors, Dual-Core Intel Core i5, 3.1 GHz, 8 GB, SMC 2.44f2
Graphics: kHW_IntelIrisGraphics650Item, Intel Iris Plus Graphics 650, spdisplays_builtin
Memory Module: BANK 0/DIMM0, 4 GB, LPDDR3, 2133 MHz, 0x802C, 0x4D5435324C3531324D3332443250462D3039
Memory Module: BANK 1/DIMM0, 4 GB, LPDDR3, 2133 MHz, 0x802C, 0x4D5435324C3531324D3332443250462D3039
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x171), Broadcom BCM43xx 1.0 (7.77.106.3 AirPortDriverBrcmNIC-1435.3)
Bluetooth: Version 7.0.1f1, 3 services, 18 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB 3.0 Bus
USB Device: Apple T1 Controller
Thunderbolt Bus: MacBook Pro, Apple Inc., 41.3
Thunderbolt Bus: MacBook Pro, Apple Inc., 41.3
User avatar
adespoton
Forum All-Star
Posts: 4276
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Latest macOS build (18/10/19) crashes every time I run i

Post by adespoton »

That's really odd... what result do you get if you run

Code: Select all

codesign -dv --verbose=4  /Applications/Classic Environment/SheepShaver.app
Also: I wonder if this is at all related to the fact that Apple's signing certificate expired last month? This should already be fixed in Catalina, and I'm not having these issues, but it seems like the culprit from the error presented.
User avatar
Ronald P. Regensburg
Expert User
Posts: 7832
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: Latest macOS build (18/10/19) crashes every time I run i

Post by Ronald P. Regensburg »

My signing certificate expires July 2024 and notarization for this build completed successfully.

Really strange. Anyone else having this issue with my latest SheepShaver build and Catalina?

Edit:
If I do

Code: Select all

codesign -dv --verbose=4
on the copy of that build on my Mac (Mojave), I get

Code: Select all

Executable=/Users/ronald/Applications/SheepShaver/Mac OS 9.0.4 (test)/SheepShaver-notarized-3.app/Contents/MacOS/SheepShaver
Identifier=com.emaculation.sheepshaver
Format=app bundle with Mach-O thin (x86_64)
CodeDirectory v=20500 size=15655 flags=0x10000(runtime) hashes=480+5 location=embedded
VersionPlatform=1
VersionMin=657152
VersionSDK=659200
Hash type=sha256 size=32
CandidateCDHash sha1=650f05a1b3480b53bc132a60283906f68f4839d8
CandidateCDHash sha256=c812a2efbb8853efa186b6ad92f7382ddd9b740c
Hash choices=sha1,sha256
Page size=4096
CDHash=c812a2efbb8853efa186b6ad92f7382ddd9b740c
Signature size=9068
Authority=Developer ID Application: Ronald P Regensburg (JTM2A69KSS)
Authority=Developer ID Certification Authority
Authority=Apple Root CA
Timestamp=18 Oct 2019 at 11:16:57
Info.plist entries=24
TeamIdentifier=JTM2A69KSS
Runtime Version=10.15.0
Sealed Resources version=2 rules=13 files=6
Internal requirements count=1 size=188
Last edited by Ronald P. Regensburg on Fri Nov 29, 2019 8:28 pm, edited 1 time in total.
Reason:  
emendelson
Forum All-Star
Posts: 1726
Joined: Tue Oct 14, 2008 12:12 am

Re: Latest macOS build (18/10/19) crashes every time I run i

Post by emendelson »

Your build (which I downloaded again a few minutes ago) runs perfectly in Catalina here. I wonder if the problem may be with the ROM or disk image? Or perhaps try deleting the PRAM file and see what happens?
msSeven
Space Cadet
Posts: 4
Joined: Sat Nov 23, 2019 4:57 pm

Re: Latest macOS build (18/10/19) crashes every time I run i

Post by msSeven »

Actually please disregard my last message. Embarrassingly enough, I realized I restored the old version from a backup which made my issue return. The latest build works just fine on my end as well. Thank you for your help.
Post Reply