darlinghq / darling

Darwin/macOS emulation layer for Linux
http://www.darlinghq.org
GNU General Public License v3.0
11.43k stars 442 forks source link

HelloWorld.app Segfaults #746

Closed TheBrokenRail closed 4 years ago

TheBrokenRail commented 4 years ago

OS

Ubuntu 20.04 Beta

Log

Darling [~/Documents]$ HelloWorld.app/Contents/MacOS/HelloWorld 
Segmentation fault: 11 (core dumped)
Darling [~/Documents]$ lldb/lldb HelloWorld.app/Contents/
Info.plist  MacOS/      PkgInfo     Resources/  
Darling [~/Documents]$ lldb/lldb HelloWorld.app/Contents/MacOS/HelloWorld 
(lldb) target create "HelloWorld.app/Contents/MacOS/HelloWorld"
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/E90A6789-29FD-31EF-8089-E11AB44E88EA.dSYM based on UUID
Debug symbols not found at /Users/<USERNAME>/Documents/HelloWorld.app/Contents/MacOS/HelloWorld
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/2C6C945C-91E0-3B1A-816B-3B7D13D8F3B7.dSYM based on UUID
Debug symbols not found at /usr/lib/dyld
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/298600EA-A826-358C-83E6-D0F52ED87114.dSYM based on UUID
Debug symbols not found at /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/56839BB3-1A4C-37FC-9DD9-93E2709D12F6.dSYM based on UUID
Debug symbols not found at /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/5824A43A-A986-3B2C-9D09-67DE8C690F9F.dSYM based on UUID
Debug symbols not found at /usr/lib/libobjc.A.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/1D4C873C-6E01-3937-888C-DABAA9B49DF6.dSYM based on UUID
Debug symbols not found at /usr/lib/libSystem.B.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/9BC2E0D2-7874-38D7-A872-66CC60CE9645.dSYM based on UUID
Debug symbols not found at /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/3C8DEA1F-2B74-3E8D-AE4B-1682DA92BE51.dSYM based on UUID
Debug symbols not found at /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/0E979BF2-844C-3CA5-8424-762CCB3FA4F2.dSYM based on UUID
Debug symbols not found at /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/F0F31DE6-4F65-33CB-BD2A-5F55F0BF495F.dSYM based on UUID
Debug symbols not found at /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/18166DA0-79D5-3EC4-8802-9F1E356A259B.dSYM based on UUID
Debug symbols not found at /usr/lib/libxml2.2.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/BA4EA295-9EB7-387B-9410-DEE3DEF8D4F4.dSYM based on UUID
Debug symbols not found at /usr/lib/libicucore.A.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/4E5DCD2C-652F-3D33-A435-D889DEF6B6B6.dSYM based on UUID
Debug symbols not found at /usr/lib/libc++.1.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/61D09959-DFBE-30CF-B835-80D3165492E3.dSYM based on UUID
Debug symbols not found at /usr/lib/system/libunwind.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/4B7B3BA8-1C26-3BF7-B691-AA03C76CFB6D.dSYM based on UUID
Debug symbols not found at /usr/lib/system/libsystem_malloc.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/2342AF61-4487-31A9-9BEC-30D50422BF10.dSYM based on UUID
Debug symbols not found at /usr/lib/system/libdyld.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/EDCA65EC-A04D-3C04-BE7E-FA2B7DF744AE.dSYM based on UUID
Debug symbols not found at /usr/lib/system/libsystem_blocks.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/B406CEC0-1C74-3986-AD95-4F0CC499CE6A.dSYM based on UUID
Debug symbols not found at /usr/lib/system/libsystem_m.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/7B6B453E-0005-3E34-B239-93FE3A7F0A4A.dSYM based on UUID
Debug symbols not found at /usr/lib/system/libmacho.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/BA62079E-5D65-319B-B8EE-8BCCB4DBBEE9.dSYM based on UUID
Debug symbols not found at /usr/lib/system/libsystem_pthread.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/E9A2C6F7-3E8C-3201-AE3A-8E2E61DCA280.dSYM based on UUID
Debug symbols not found at /usr/lib/system/libdispatch.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/2E58CD21-378D-3AE9-B139-F8C190D3D79B.dSYM based on UUID
Debug symbols not found at /usr/lib/system/libcompiler_rt.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/C8B42C06-F03B-3F48-92E0-64F752C53A15.dSYM based on UUID
Debug symbols not found at /usr/lib/system/libsystem_c.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/85B8BB65-CF67-398F-B892-D0CA6630D4E6.dSYM based on UUID
Debug symbols not found at /usr/lib/system/libsystem_platform.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/622DFEE2-D214-3296-90FF-426EDBFBFFDF.dSYM based on UUID
Debug symbols not found at /usr/lib/system/libsystem_kernel.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/86AD2FF6-7694-3897-9658-3B74FDB2FC67.dSYM based on UUID
Debug symbols not found at /usr/lib/libc++abi.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/612C8F26-CDBB-3037-B64B-6404EB0FEE6A.dSYM based on UUID
Debug symbols not found at /usr/lib/system/libsystem_sandbox.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/85115AF2-7ABC-303A-A4CD-18BCABA807A8.dSYM based on UUID
Debug symbols not found at /usr/lib/system/libquarantine.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/44FCC442-5E24-30B2-8BF0-F5972DDBCCA0.dSYM based on UUID
Debug symbols not found at /usr/lib/system/libremovefile.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/C57E2B6C-2109-38D7-8077-CDC1BEDDA5CC.dSYM based on UUID
Debug symbols not found at /usr/lib/system/libcopyfile.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/A5A731E5-8924-38C1-92A3-C756300E6697.dSYM based on UUID
Debug symbols not found at /usr/lib/system/libsystem_coreservices.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/DCC31EEA-BFB0-36DB-A000-119584A99062.dSYM based on UUID
Debug symbols not found at /usr/lib/system/libsystem_coretls.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/4F59FECE-414C-3109-8F0B-590A45CEB0A1.dSYM based on UUID
Debug symbols not found at /usr/lib/system/libsystem_trace.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/BFE98496-0AB0-3A63-A27B-A6EA577D85A2.dSYM based on UUID
Debug symbols not found at /usr/lib/system/libkeymgr.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/9B9389D0-D778-3864-81C8-863F9F86F0DC.dSYM based on UUID
Debug symbols not found at /usr/lib/system/libsystem_info.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/73FB795D-6A25-315A-8778-85CEDDD61A34.dSYM based on UUID
Debug symbols not found at /usr/lib/system/libsystem_notify.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/B3AF1F9F-53A8-3EE4-A7BD-8E6E067ED691.dSYM based on UUID
Debug symbols not found at /usr/lib/system/libsystem_asl.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/90759E6C-152F-362D-9EB6-F5D5ED5D82F9.dSYM based on UUID
Debug symbols not found at /usr/lib/system/libsystem_duct.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/D792012C-450D-360F-BD1F-282CD72FA006.dSYM based on UUID
Debug symbols not found at /usr/lib/system/libxpc.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/07217E26-27BF-324F-9647-DC638F308AAC.dSYM based on UUID
Debug symbols not found at /usr/lib/system/libcorecrypto.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/1EAA9AAC-096B-3500-8B04-08605EEB3E91.dSYM based on UUID
Debug symbols not found at /usr/lib/system/libcommonCrypto.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/E5A74C22-BFAF-38FD-B590-604575E6C4FD.dSYM based on UUID
Debug symbols not found at /usr/lib/system/libsystem_dnssd.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/71A85861-08B2-3A83-A091-43CD3F70162E.dSYM based on UUID
Debug symbols not found at /usr/lib/system/libsystem_networkextension.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/78777008-6C16-3E46-BD72-77BE67156F42.dSYM based on UUID
Debug symbols not found at /usr/lib/system/liblaunch.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/43648D93-48CB-3DDC-82A0-62DEDFDA891E.dSYM based on UUID
Debug symbols not found at /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/CC9A5CBD-71F9-3733-96BC-F1B14DB42442.dSYM based on UUID
Debug symbols not found at /System/Library/Frameworks/CoreText.framework/Versions/A/CoreText
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/C0A13424-142C-33BD-84D1-370ED2B05C68.dSYM based on UUID
Debug symbols not found at /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/73EEB78F-66DB-3C36-8565-05FB1E69E56E.dSYM based on UUID
Debug symbols not found at /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/C069D00A-C1DD-353E-8474-709FAD6FEDBA.dSYM based on UUID
Debug symbols not found at /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/900846C9-C2A9-3359-A432-E60A0A55F702.dSYM based on UUID
Debug symbols not found at /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/585A7B05-7960-303C-A4CF-4311F34D89AD.dSYM based on UUID
Debug symbols not found at /System/Library/PrivateFrameworks/Onyx2D.framework/Versions/A/Onyx2D
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/E2643B77-42A9-3BE8-934B-6C9E41E23244.dSYM based on UUID
Debug symbols not found at /usr/lib/native/libFreeType.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/5E2C901F-B147-373A-A804-7DE15A13D39A.dSYM based on UUID
Debug symbols not found at /usr/lib/native/libfontconfig.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/7EC733BB-852E-34A9-978D-8911FE01D9C2.dSYM based on UUID
Debug symbols not found at /usr/lib/native/libjpeg.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/AA63E543-305C-30F2-A6F4-87E524F50295.dSYM based on UUID
Debug symbols not found at /usr/lib/native/libpng.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/F298D61D-1AE6-34FB-A430-4F86CB6FD15E.dSYM based on UUID
Debug symbols not found at /usr/lib/native/libtiff.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/FBCB7B8B-3050-33F1-970F-04E7898DE378.dSYM based on UUID
Debug symbols not found at /System/Library/Frameworks/CoreImage.framework/Versions/A/CoreImage
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/6E907A1C-343B-3716-B62E-47290FCAEC9C.dSYM based on UUID
Debug symbols not found at /System/Library/Frameworks/Security.framework/Versions/A/Security
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/9B8DA54A-B17B-35B7-9D10-239C299D6232.dSYM based on UUID
Debug symbols not found at /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/1388AAE1-0D3C-3FFF-9D59-88FF1C542315.dSYM based on UUID
Debug symbols not found at /usr/lib/libz.1.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/2641CD9E-0606-365C-82F4-D094C98C071A.dSYM based on UUID
Debug symbols not found at /usr/lib/libresolv.9.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/A0070E22-7776-32B3-A6E1-F24A9AB973C0.dSYM based on UUID
Debug symbols not found at /System/Library/Frameworks/ColorSync.framework/Versions/A/ColorSync
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/AE187C09-7EB4-3222-BEA3-0FE6E5EE7448.dSYM based on UUID
Debug symbols not found at /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/1E27487F-AD09-3895-8B43-2F4EA7AE2AC8.dSYM based on UUID
Debug symbols not found at /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSyncLegacy.framework/Versions/A/ColorSyncLegacy
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/00B22042-859A-3268-84C3-DE489B84C438.dSYM based on UUID
Debug symbols not found at /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/617943C6-DF45-383A-88D1-9CD20157C463.dSYM based on UUID
Debug symbols not found at /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/B128843D-00E6-3CC3-9428-C93753B62928.dSYM based on UUID
Debug symbols not found at /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/E1B4F6D7-9FED-3CE1-8E6B-A46581D744D8.dSYM based on UUID
Debug symbols not found at /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/73BBDC60-2216-32B1-8A3F-8E734DDECCBA.dSYM based on UUID
Debug symbols not found at /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/70C95C56-2E18-3E1D-A95E-7047FF9D37C3.dSYM based on UUID
Debug symbols not found at /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/4125FCE1-8787-3D35-B347-0F9388D60EE3.dSYM based on UUID
Debug symbols not found at /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/B63558F1-B89A-36F6-A0E8-DAEDE783FCFC.dSYM based on UUID
Debug symbols not found at /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/563030C8-7B41-30DA-BAC7-33EBFFFE950D.dSYM based on UUID
Debug symbols not found at /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/F20083D9-7297-3512-9987-41C79D452F44.dSYM based on UUID
Debug symbols not found at /usr/lib/native/libEGL.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/0A8C4860-4CFA-353D-AEB0-C8250A1D6247.dSYM based on UUID
Debug symbols not found at /usr/lib/native/libgif.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/EE1451BD-702E-36E6-B10C-8D9C7075ACD5.dSYM based on UUID
Debug symbols not found at /usr/lib/darling/libelfloader.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/E8985D84-6890-3E61-BE31-E616B43AC11C.dSYM based on UUID
Debug symbols not found at /usr/lib/libpam.2.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/187790F1-5B44-3F39-9A39-64F5813B7F2F.dSYM based on UUID
Debug symbols not found at /usr/lib/libbsm.0.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/B822362D-F2DE-327E-96D6-81D51DB8BA07.dSYM based on UUID
Debug symbols not found at /usr/lib/libauto.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/597DC55E-6755-313D-8D30-0797EF0C62BE.dSYM based on UUID
Debug symbols not found at /usr/lib/libxar.1.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/80BE7D59-93DC-349A-A07F-0B71AD49F6DC.dSYM based on UUID
Debug symbols not found at /usr/lib/libsqlite3.0.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/3392D5B8-FD34-3908-9114-79E320DA9190.dSYM based on UUID
Debug symbols not found at /System/Library/Frameworks/CryptoTokenKit.framework/Versions/A/CryptoTokenKit
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/0D2754EB-1DA5-37A0-9B22-E97860D9C04F.dSYM based on UUID
Debug symbols not found at /System/Library/Frameworks/LocalAuthentication.framework/Versions/A/LocalAuthentication
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/362DFB05-E054-34D8-82C6-08433BC6017E.dSYM based on UUID
Debug symbols not found at /usr/lib/libDiagnosticMessagesClient.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/845D79FA-1EB9-3EA9-8B35-06588BE8BD26.dSYM based on UUID
Debug symbols not found at /usr/lib/libbz2.1.0.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/704EEB1A-ED6F-31A3-85C2-D12228F55CB0.dSYM based on UUID
Debug symbols not found at /usr/lib/libssl.0.9.8.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/C1D69561-2CE8-37A0-9317-97B785CFEE52.dSYM based on UUID
Debug symbols not found at /usr/lib/libcrypto.0.9.8.dylib
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/5CAEB877-8CEC-35BB-BFB0-9E9C4FA805C1.dSYM based on UUID
Debug symbols not found at /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/FSEvents.framework/Versions/A/FSEvents
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/C84726D0-7219-38B4-8003-53BE1C9F6C5B.dSYM based on UUID
Debug symbols not found at /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/045F7F9E-1935-3864-8B20-C3EC8AB66151.dSYM based on UUID
Debug symbols not found at /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/4DE4AE75-B6B4-32C5-8858-8473475CCBF1.dSYM based on UUID
Debug symbols not found at /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/C5F51E9B-2302-32DD-81CC-8DE065FB381D.dSYM based on UUID
Debug symbols not found at /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/893B5607-47FD-330C-9E25-4763D8C5C778.dSYM based on UUID
Debug symbols not found at /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/678FFA6B-C7C9-3CB5-BA5E-D783EFD58256.dSYM based on UUID
Debug symbols not found at /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/E7D533A3-8D21-3EE7-AEE6-94B3BCA25510.dSYM based on UUID
Debug symbols not found at /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/7EEE930E-4699-3350-8421-1A659B002221.dSYM based on UUID
Debug symbols not found at /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
Didn't find debug symbols at /System/Library/Caches/dsym/uuid/EC63C18C-0901-3A04-BA71-98DD5354FB5E.dSYM based on UUID
Debug symbols not found at /usr/lib/libiconv.2.dylib
Current executable set to 'HelloWorld.app/Contents/MacOS/HelloWorld' (x86_64).
(lldb) run
Process 76 launched: '/Users/<USERNAME>/Documents/HelloWorld.app/Contents/MacOS/HelloWorld' (x86_64)
Process 76 stopped
* thread #1, name = 'HelloWorld', stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)
    frame #0: 0x00007ffff745834c CoreFoundation`CFStringGetLength + 76
CoreFoundation`CFStringGetLength:
->  0x7ffff745834c <+76>: movq   (%rax), %rax
    0x7ffff745834f <+79>: movq   %rax, -0x58(%rbp)
    0x7ffff7458353 <+83>: cmpq   $0x0, -0x58(%rbp)
    0x7ffff7458358 <+88>: jne    0x7ffff7458367            ; <+103>
(lldb) bt
* thread #1, name = 'HelloWorld', stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)
  * frame #0: 0x00007ffff745834c CoreFoundation`CFStringGetLength + 76
    frame #1: 0x00007ffff745121f CoreFoundation`__CFStringAppendFormatCore + 255
    frame #2: 0x00007ffff7450da8 CoreFoundation`_CFStringCreateWithFormatAndArgumentsAux2 + 184
    frame #3: 0x00007ffff7450ce0 CoreFoundation`CFStringCreateWithFormatAndArguments + 64
    frame #4: 0x00007ffff74f3036 CoreFoundation`+[NSException raise:format:arguments:] + 70
    frame #5: 0x00007ffff7dfccb9 Foundation`-[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 489
    frame #6: 0x00007ffff7ece10b Foundation`-[NSUnarchiver readHeader] + 235
    frame #7: 0x00007ffff7ecde69 Foundation`-[NSUnarchiver initForReadingWithData:] + 473
    frame #8: 0x00007ffff76a4a8b AppKit`-[NSNib instantiateNibWithExternalNameTable:] + 363
    frame #9: 0x00007ffff76a80b6 AppKit`-[NSBundle(NSNibLoading) loadNibFile:externalNameTable:withZone:] + 614
    frame #10: 0x00007ffff76a7e47 AppKit`+[NSBundle(NSNibLoading) loadNibNamed:owner:] + 183
    frame #11: 0x00007ffff766fb84 AppKit`NSApplicationMain + 724
    frame #12: 0x00007ffff7ffcee2 HelloWorld`main + 34
    frame #13: 0x00007ffff6766bad libdyld.dylib`start + 1
bugaevc commented 4 years ago

Yep, investigating right now.

bugaevc commented 4 years ago

Turns out the other issue I was seeing was due to some yet uncommitted fixes I have locally, so that leaves us with the keyed nib detection issue. It should be fixed in https://github.com/darlinghq/darling-cocotron/commit/090c334c1ecdd90bb54489cee1aaea843224351a (note the submodule in the main repo hasn't been updated yet).