eventhorizon5 / skyscraper

The Skyscraper Project (Skyscrapersim) - an open source building, city, and elevator simulator
https://www.skyscrapersim.net
GNU General Public License v2.0
28 stars 7 forks source link

Application not opening on MacOS [Crash dump] #7

Closed cat1554 closed 1 year ago

cat1554 commented 1 year ago
Process:               skyscraper [48407]
Path:                  /private/var/folders/*/skyscraper.app/Contents/MacOS/skyscraper
Identifier:            com.skyscrapersim.skyscraper
Version:               1.11.0 (1.11.0)
Build Info:            Skyscraper-Unknown~Unknown
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           skyscraper [48407]
User ID:               502

Date/Time:             2022-09-27 13:35:14.811 -0500
OS Version:            Mac OS X 10.15.7 (19H1922)
Report Version:        12
Anonymous UUID:        7F6C1D93-AE12-E702-AAF7-8711FB65D3C5

Sleep/Wake UUID:       3C90CB94-ACCC-4E40-BE89-0613982931CC

Time Awake Since Boot: 88000 seconds
Time Since Wake:       720 seconds

System Integrity Protection: enabled

Notes:                 Translocated Process

Crashed Thread:        0

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    DYLD, [0x1] Library missing

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
  Library not loaded: @rpath/libSBS.dylib
  Referenced from: /private/var/folders/*/skyscraper.app/Contents/MacOS/skyscraper
  Reason: image not found

Binary Images:
       0x108297000 -        0x108424ff7 +com.skyscrapersim.skyscraper (1.11.0 - 1.11.0) <B948D556-8F3F-38D4-ACD2-CC24C5897438> /var/folders/*/skyscraper.app/Contents/MacOS/skyscraper
       0x11794f000 -        0x1179e1267  dyld (750.7) <B590797E-3F5A-3174-B7C6-1F8542668C81> /usr/lib/dyld

Model: MacBookPro9,2, BootROM 429.0.0.0.0, 2 processors, Dual-Core Intel Core i5, 2.5 GHz, 8 GB, SMC 2.2f44
Graphics: kHW_IntelHD4000Item, Intel HD Graphics 4000, spdisplays_builtin
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54343531533641465238412D50422020
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54343531533641465238412D50422020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xF5), Broadcom BCM43xx 1.0 (7.21.190.33 AirPortDriverBrcm4360-1601.1)
Bluetooth: Version 7.0.6f8, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
Serial ATA Device: WDC  WDS100T2B0A-00SM50, 1 TB
Serial ATA Device: HL-DT-ST DVDRW  GS41N
USB Device: USB 2.0 Bus
USB Device: Hub
USB Device: Hub
USB Device: Apple Internal Keyboard / Trackpad
USB Device: IR Receiver
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
USB Device: USB 2.0 Bus
USB Device: Hub
USB Device: FaceTime HD Camera (Built-in)
USB Device: USB 3.0 Bus
Thunderbolt Bus: MacBook Pro, Apple Inc., 25.1
eventhorizon5 commented 1 year ago

The problem with the crash dump is that it doesn't show what the rpath is. I might try to move things around to make the package cleaner and maybe that'll fix things.

eventhorizon5 commented 1 year ago

I moved the files around, so that should simplify the package a lot. Try downloading it again and see what happens now.

cat1554 commented 1 year ago

It appears that the dylibs now load correctly, but now the .ini file doesn't.

Error loading skyscraper.ini file
Details: Cannot open file: skyscraper.ini
eventhorizon5 commented 1 year ago

Try copying the ini and cfg files, then right-click the skyscraper app and choose "Show Package Contents", then try pasting them into the Libs folder. That might cause even more breakage, I'm assuming textures won't load, but it's worth a try. I think your MacOS version is working differently than mine, that's especially why I need a newer system.

eventhorizon5 commented 1 year ago

This has been fixed in the new build.