Immediate crash on launch, Mac OS
issueid=5659 11-12-2017 08:28 PM
Ancient Member
Number of reported issues by Mobius: 63
Immediate crash on launch, Mac OS
Crash!

When launching on my Mac, the ADOM crashes before anything shows up.
Suspicious message from detailed problem report:

Code:
Dyld Error Message:
  Library not loaded: @rpath/libcurl.framework/Versions/Release-7.52.1/libcurl
  Referenced from: /Users/USER/Downloads/*/ADOM.app/Contents/MacOS/ADOM
  Reason: image not found
Issue Details
Issue Number 5659
Project ADOM (Ancient Domains Of Mystery)
Category Mac OS X >= 10.5 (NotEye)
Status Fixed
Priority 1 - Highest
Affected Version ADOM 3.0.0
Fixed Version ADOM 3.0.2
Milestone (none)
Users able to reproduce bug 0
Users unable to reproduce bug 0
Assigned Users jt
Tags (none)




11-13-2017 02:48 AM
Ancient Member
FYI:
OS Version: Mac OS X 10.11.6 (15G17023)

11-13-2017 03:17 AM
Junior Member
Likewise - same message on OS X 10.9.5 (13F1911), occurs for both NotEye and non-NotEye versions of 3.0.0.

11-13-2017 06:08 AM
Senior Member
Same. 10.11.6.

11-13-2017 07:24 AM
jt jt is offline
Administrator
Fixed.

11-13-2017 07:54 PM
Senior Member
Still broken for me in 3.0.1

Code:
Dyld Error Message:
  Library not loaded: @rpath/libcurl.framework/Versions/Release-7.52.1/libcurl
  Referenced from: /Users/USER/Downloads/*/ADOM.app/Contents/MacOS/ADOM
  Reason: image not found

11-13-2017 10:02 PM
Junior Member
Also unable to boot 3.0.1. Since I'm not positive what's valuable and what isn't, here my complete detail:

Process: ADOM [39130]
Path: /Users/USER/Downloads/*/ADOM.app/Contents/MacOS/ADOM
Identifier: net.biskup.ADOM
Version: ???
Code Type: X86-64 (Native)
Parent Process: launchd [176]
Responsible: ADOM [39130]
User ID: 502

Date/Time: 2017-11-13 18:07:20.358 -0500
OS Version: Mac OS X 10.9.5 (13F1911)
Report Version: 11
Anonymous UUID: 2957B8E1-901B-2144-3C06-2E1090FEA2B9

Sleep/Wake UUID: 4A016382-80F7-45EA-B479-D70C7E64FEE3

Crashed Thread: 0

Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
Library not loaded: @rpath/libcurl.framework/Versions/Release-7.52.1/libcurl
Referenced from: /Users/USER/Downloads/*/ADOM.app/Contents/MacOS/ADOM
Reason: image not found

Binary Images:
0x7fff6425a000 - 0x7fff6428d887 dyld (239.5) <1D3130FE-FE7E-3C4C-8E74-EB51895B6BA5> /usr/lib/dyld
0x7fff90c20000 - 0x7fff90c20fff com.apple.Cocoa (6.8 - 20) <E90E99D7-A425-3301-A025-D9E0CD11918E> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x7fff95f91000 - 0x7fff95f91fff com.apple.Carbon (154 - 157) <EFC1A1C0-CB07-395A-B038-CFA2E71D3E69> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x7fff961bf000 - 0x7fff96222ffb com.apple.SystemConfiguration (1.13.1 - 1.13.1) <339A2A90-DA25-33AF-88E5-2FB38A758FEE> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration

Model: iMac14,1, BootROM IM141.0118.B12, 4 processors, Intel Core i5, 2.7 GHz, 16 GB, SMC 2.14f19
Graphics: Intel Iris Pro, Intel Iris Pro, Built-In
Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54343147533641465238412D50422020
Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54343147533641465238412D50422020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x111), Broadcom BCM43xx 1.0 (6.30.223.154.65)
Bluetooth: Version 5.2.7f4 15858, 3 services, 23 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
Serial ATA Device: APPLE SSD SD0128F, 121.33 GB
Serial ATA Device: APPLE HDD ST1000LM024, 1 TB
USB Device: USB Laser Wheel Mouse
USB Device: Apple USB SuperDrive
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
USB Device: FaceTime HD Camera (Built-in)
USB Device: Keyboard Hub
USB Device: Apple Keyboard
Thunderbolt Bus: iMac, Apple Inc., 23.10

11-14-2017 01:48 AM
Ancient Member
My best guess is that libcurl is installed by default by one of the dev tools you use, hence all your tests pass.
I would look at https://developer.apple.com/library/...rameworks.html and https://developer.apple.com/library/...P40012582-CH12 for ideas on what is needed.

If you look at either
/Library/Frameworks, or /System/Library/Frameworks, you are likely to see a libcurl.framework directory.

Now back to making dinner!

11-14-2017 09:18 AM
jt jt is offline
Administrator
I forgot to remove the dependency from the makefiles (I did remove them only from the Xcode projects). But since we need this library soon, it's probably is easier to add it to the next version.

11-14-2017 12:21 PM
jt jt is offline
Administrator
Fixed for 3.0.2.

+ Reply