Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

macOS crashes once code signed #93

Closed
ImmaZoni opened this issue Mar 14, 2022 · 3 comments · Fixed by #95
Closed

macOS crashes once code signed #93

ImmaZoni opened this issue Mar 14, 2022 · 3 comments · Fixed by #95
Labels
bug Something isn't working

Comments

@ImmaZoni
Copy link
Contributor

Allows download and installation, but once the user tries to open the program they are faced with subspace-desktop has quit unexpectedly error, below is the error log.

Process:               subspace-desktop [64002]
Path:                  /Applications/subspace-desktop.app/Contents/MacOS/subspace-desktop
Identifier:            subspace-desktop
Version:               ???
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           subspace-desktop [64002]
User ID:               501

Date/Time:             2022-03-11 18:53:01.476 -0800
OS Version:            macOS 11.2.3 (20D91)
Report Version:        12
Bridge OS Version:     5.2 (18P4347)
Anonymous UUID:        BE99EE88-7213-EAD2-CEE3-384F591BC42E

Sleep/Wake UUID:       ECD13682-8360-4F8F-8E3A-D8891196281E

Time Awake Since Boot: 4700000 seconds
Time Since Wake:       550000 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                      10a70e000-10ce0e000    [ 39.0M] r-x/r-x SM=COW  */receiptN

Thread 0 Crashed:
0   ???                           	0x0000000119eb9000 _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: 0x00007ffee54f1bd8
   r8: 0x0000000000000000   r9: 0x0000000000000000  r10: 0x0000000000000000  r11: 0x0000000000000000
  r12: 0x0000000000000000  r13: 0x0000000000000000  r14: 0x0000000000000000  r15: 0x0000000000000000
  rip: 0x0000000119eb9000  rfl: 0x0000000000000200  cr2: 0x0000000000000000
  
Logical CPU:     0
Error Code:      0x00000000
Trap Number:     0

Thread 0 instruction stream not available.

Thread 0 last branch register state not available.


Binary Images:
       0x10a70e000 -        0x10ce0dfff +??? (0) <52920B35-2571-3512-A518-C6183475CFF3> (null)
       0x119eb8000 -        0x119f53fff +??? (832.7.3) <0D4EA85F-7E30-338B-9215-314A5A5539B6> (null)

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: 5441020
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=56.6M resident=0K(0%) swapped_out_or_unallocated=56.6M(100%)
Writable regions: Total=8432K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=8432K(100%)
 
                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
STACK GUARD                       56.0M        1 
Stack                             8192K        1 
VM_ALLOCATE                          8K        2 
__DATA                             304K        4 
__DATA_CONST                      1440K        2 
__LINKEDIT                        17.0M        4 
__TEXT                            39.6M        2 
===========                     =======  ======= 
TOTAL                            122.3M       16 

Model: MacBookPro16,2, BootROM 1554.80.3.0.0 (iBridge: 18.16.14347.0.0,0), 4 processors, Quad-Core Intel Core i7, 2.3 GHz, 32 GB, SMC 
Graphics: kHW_IntelIrisPlusGraphicsItem, Intel Iris Plus Graphics, spdisplays_builtin
Memory Module: BANK 0/ChannelA-DIMM0, 16 GB, LPDDR4X, 3733 MHz, SK Hynix, -
Memory Module: BANK 2/ChannelB-DIMM0, 16 GB, LPDDR4X, 3733 MHz, SK Hynix, -
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x7BF), wl0: Sep 11 2020 17:01:15 version 9.30.440.2.32.5.61 FWID 01-1d69e4b4
Bluetooth: Version 8.0.3d9, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB 3.1 Bus
USB Device: USB2.0 Hub
USB Device: USB Receiver
USB Device: USB-C VGA Multiport Adapter
USB Device: USB2.0 Hub
USB Device: C922 Pro Stream Webcam
USB Device: USB-C Digital AV Multiport Adapter
USB Device: USB 3.1 Bus
USB Device: USB3.0 Hub
USB Device: USB3.0 Hub
USB Device: Apple T2 Bus
USB Device: Touch Bar Backlight
USB Device: Touch Bar Display
USB Device: Apple Internal Keyboard / Trackpad
USB Device: Headset
USB Device: Ambient Light Sensor
USB Device: FaceTime HD Camera (Built-in)
USB Device: Apple T2 Controller
Thunderbolt Bus: MacBook Pro, Apple Inc., 85.0
Thunderbolt Bus: MacBook Pro, Apple Inc., 85.0
@ImmaZoni ImmaZoni added bug Something isn't working new-release labels Mar 14, 2022
@ozgunozerk
Copy link
Contributor

Yes, to my research, we should check entitlements.plist under src-tauri.

@ImmaZoni
Copy link
Contributor Author

Yes, to my research, we should check entitlements.plist under src-tauri.

yes, it is likely com.apple.developer.kernel.increased-memory-limit entitlement, while im sure it would help the application, i dont think it should be needed and I saw some forum posts of people having issues with it.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>com.apple.security.files.user-selected.read-write</key>
    <true/>
</dict>
</plist>

@ozgunozerk
Copy link
Contributor

created a branch called macos-sign-fix and running a new publish workflow with pre-release:true for testing.
We can experiment on that branch @ImmaZoni

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants