Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash / libmagic library missing #1

Closed
setanarut opened this issue Dec 26, 2020 · 10 comments
Closed

Crash / libmagic library missing #1

setanarut opened this issue Dec 26, 2020 · 10 comments

Comments

@setanarut
Copy link
Contributor

Process:               QLMardown [1009]
Path:                  /Applications/QLMardown.app/Contents/MacOS/QLMardown
Identifier:            org.sbarex.QLMardown
Version:               1.0 (2)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           QLMardown [1009]
User ID:               501

Date/Time:             2020-12-26 23:57:41.511 +0300
OS Version:            macOS 11.1 (20C69)
Report Version:        12
Bridge OS Version:     3.0 (14Y908)
Anonymous UUID:        8B61B530-6807-470D-ACC0-1399548BB6D7


Time Awake Since Boot: 2000 seconds

System Integrity Protection: enabled

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:
  dyld: Using shared cache: 467A83CB-BA86-3F07-B652-B9256C74080A
Library not loaded: /usr/local/opt/libmagic/lib/libmagic.1.dylib
  Referenced from: /Applications/QLMardown.app/Contents/Frameworks/libwrapper_highlight.dylib
  Reason: image not found

Binary Images:
       0x10e594000 -        0x10e79bfff +org.sbarex.QLMardown (1.0 - 2) <D53EAE94-F0AF-3E45-9C3B-BEDF00FA2D17> /Applications/QLMardown.app/Contents/MacOS/QLMardown
       0x10f005000 -        0x10f180fff +libwrapper_highlight.dylib (0) <A7D06A54-A2F2-36FE-9C28-9596B5EC5059> /Applications/QLMardown.app/Contents/Frameworks/libwrapper_highlight.dylib
       0x111ce4000 -        0x111d7ffff  dyld (832.7.1) <DEA51514-B4E8-3368-979B-89D0F8397ABC> /usr/lib/dyld
    0x7fff201cc000 -     0x7fff20204fff  libobjc.A.dylib (818.2) <45EA2DE2-B612-3486-B156-2359CE279159> /usr/lib/libobjc.A.dylib
    0x7fff20291000 -     0x7fff202e6fff  libc++.1.dylib (904.4) <AE3A940A-7A9C-3F99-B175-3511528D8DFE> /usr/lib/libc++.1.dylib
    0x7fff203ac000 -     0x7fff20847fff  com.apple.CoreFoundation (6.9 - 1770.300) <EAC298C4-CE3E-3551-A832-42ED9A13EF74> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7fff21159000 -     0x7fff214bcfff  com.apple.Foundation (6.9 - 1770.300) <44A7115B-7FF0-3300-B61B-0FA71B63C715> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x7fff22c0a000 -     0x7fff2396cfff  com.apple.AppKit (6.9 - 2022.20.119) <4CB42914-672D-3AF0-A0A5-2209088A3DA0> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
    0x7fff24f0e000 -     0x7fff255a1fff  com.apple.CoreGraphics (2.0 - 1463.2.2) <323F725F-CB03-3AAD-AFBC-37B430B3FD4E> /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
    0x7fff2a531000 -     0x7fff2a532fff  libSystem.B.dylib (1292.60.1) <A7FB4899-9E04-37ED-9DD8-8FFF0400879C> /usr/lib/libSystem.B.dylib
    0x7fff2c706000 -     0x7fff2caecfff  libswiftCore.dylib (5.3.1 - 1200.2.41) <3C7C7068-C6C7-3C82-A7ED-4454766B8E0A> /usr/lib/swift/libswiftCore.dylib
    0x7fff2ff13000 -     0x7fff2ff13fff  com.apple.CoreServices (1122.11 - 1122.11) <5DDB040C-6E92-3DBE-9049-873F510F26E2> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
    0x7fff30577000 -     0x7fff306ebfff  libswiftFoundation.dylib (20) <417CD1C7-A56A-3844-AAD9-6BFC3C348C13> /usr/lib/swift/libswiftFoundation.dylib
    0x7fff31636000 -     0x7fff3164bfff  libswiftDispatch.dylib (4.40.2) <B6AAD8BA-45E1-347F-B2B1-419F3D5BEACF> /usr/lib/swift/libswiftDispatch.dylib
    0x7fff335e2000 -     0x7fff335e3fff  libswiftObjectiveC.dylib (1) <AC2752B1-F2AB-375F-89CD-1A667587D9A3> /usr/lib/swift/libswiftObjectiveC.dylib
    0x7fff335e4000 -     0x7fff335f4fff  libswiftos.dylib (1000.40.3) <35AD02CD-7223-3923-BC84-2F894DBBDE97> /usr/lib/swift/libswiftos.dylib
    0x7fff3c467000 -     0x7fff3c471fff  libswiftCoreGraphics.dylib (2) <4958FE0E-ABB6-379B-9B0A-FE170AE0A87E> /usr/lib/swift/libswiftCoreGraphics.dylib
    0x7fff3c472000 -     0x7fff3c47bfff  libswiftDarwin.dylib (??? - ???) <CDFB8363-3A90-33F3-957A-FBC114E66F8D> /usr/lib/swift/libswiftDarwin.dylib
    0x7fff3dd1a000 -     0x7fff3dd1afff  libswiftCoreFoundation.dylib (1.6) <EEDE4AFB-E921-3B6E-BEF9-85E94B86F472> /usr/lib/swift/libswiftCoreFoundation.dylib
    0x7fff3dd26000 -     0x7fff3dd26fff  libswiftXPC.dylib (1.1) <AE90953B-1D6B-3716-81D2-65B76B5AF528> /usr/lib/swift/libswiftXPC.dylib
    0x7fff3dd27000 -     0x7fff3dd27fff  libswiftCoreImage.dylib (1) <9FA55C9D-E6C2-3B24-A43E-9388EE5DE86C> /usr/lib/swift/libswiftCoreImage.dylib
    0x7fff3dd28000 -     0x7fff3dd28fff  libswiftIOKit.dylib (1) <651621B4-9381-31FC-872B-E0BB9265EE9F> /usr/lib/swift/libswiftIOKit.dylib
    0x7fff4191f000 -     0x7fff41920fff  libswiftCoreLocation.dylib (5) <53B79035-0802-3E99-AD92-1F866D9A5DED> /usr/lib/swift/libswiftCoreLocation.dylib
    0x7fff42229000 -     0x7fff4222dfff  libswiftCoreData.dylib (3) <2EB3B3C4-7463-35AB-9CC8-778065C97FC5> /usr/lib/swift/libswiftCoreData.dylib
    0x7fff464fe000 -     0x7fff46503fff  libswiftMetal.dylib (1.3.1) <24B7851E-1439-3184-96EF-2780602A61E4> /usr/lib/swift/libswiftMetal.dylib
    0x7fff4650a000 -     0x7fff46515fff  libswiftCloudKit.dylib (962) <FC90CD4E-614F-3673-9E13-81B0DF025909> /usr/lib/swift/libswiftCloudKit.dylib
    0x7fff48b0f000 -     0x7fff48b23fff  libswiftAppKit.dylib (103.10) <A8A94895-CE8D-35B2-8E1C-CC19A8140E98> /usr/lib/swift/libswiftAppKit.dylib
    0x7fff48b24000 -     0x7fff48b25fff  libswiftQuartzCore.dylib (1) <8EA8BAF8-E175-3167-B80C-0CF36505E599> /usr/lib/swift/libswiftQuartzCore.dylib
    0x7fff4f571000 -     0x7fff4f572fff  libswiftOSLog.dylib (1) <E973C27B-18D1-3814-9442-A7B18EB7D78C> /usr/lib/swift/libswiftOSLog.dylib
    0x7fff59208000 -     0x7fff5920bfff  libswiftWebKit.dylib (7610.3.7.1.9) <958BE7A5-A772-319F-85E0-489F30273410> /usr/lib/swift/libswiftWebKit.dylib

Model: MacBookPro13,3, BootROM 429.60.3.0.0, 4 processors, Quad-Core Intel Core i7, 2,7 GHz, 16 GB, SMC 2.38f11
Graphics: kHW_IntelHDGraphics530Item, Intel HD Graphics 530, spdisplays_builtin
Graphics: kHW_AMDRadeonPro455Item, AMD Radeon Pro 455, spdisplays_pcie_device, 2 GB
Memory Module: BANK 0/DIMM0, 8 GB, LPDDR3, 2133 MHz, 0x802C, 0x4D5435324C31473332443450472D30393320
Memory Module: BANK 1/DIMM0, 8 GB, LPDDR3, 2133 MHz, 0x802C, 0x4D5435324C31473332443450472D30393320
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x15A), Broadcom BCM43xx 1.0 (7.77.111.1 AirPortDriverBrcmNIC-1675.1)
Bluetooth: Version 8.0.2f9, 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.2
Thunderbolt Bus: MacBook Pro, Apple Inc., 41.2
@setanarut
Copy link
Contributor Author

require brew install libmagic.

@sbarex
Copy link
Owner

sbarex commented Dec 26, 2020

sorry,
I was convinced that I statically linked the magic library, obviously I did something wrong!

@sbarex
Copy link
Owner

sbarex commented Dec 26, 2020

I hope I fixed the bug with the latest commit, I also updated the precompiled release.

@setanarut

This comment has been minimized.

@sbarex
Copy link
Owner

sbarex commented Dec 26, 2020

yes... it's on my to-do list! 😄

@setanarut

This comment has been minimized.

@sbarex
Copy link
Owner

sbarex commented Dec 26, 2020

1. Can you share your to-to list and progress, (on https://github.com/sbarex/QLMarkdown/projects)?

Into TODO.md file there is the my list

2. Can you enable Discussions feature for this FOSS project, discussions are always useful.

enabled

3. Is there multi-language support? Are you open to contributors for translation into other languages?

not at the moment, especially until the main core of the application is complete. But any contribution is welcome!

@relikd
Copy link
Contributor

relikd commented Dec 27, 2020

I got another crash on Catalina.

Crashing on exception: *** -[NSKeyedUnarchiver decodeObjectForKey:]: cannot decode object of class (WKWebView) for key (NS.objects) because no class named "WKWebView" was found; the class needs to be defined in source code or linked in from a library (ensure the class is part of the correct target). If the class was renamed, use setClassName:forClass: to add a class translation mapping to NSKeyedUnarchiver

@sbarex
Copy link
Owner

sbarex commented Dec 27, 2020

I got another crash on Catalina.

Crashing on exception: *** -[NSKeyedUnarchiver decodeObjectForKey:]: cannot decode object of class (WKWebView) for key (NS.objects) because no class named "WKWebView" was found; the class needs to be defined in source code or linked in from a library (ensure the class is part of the correct target). If the class was renamed, use setClassName:forClass: to add a class translation mapping to NSKeyedUnarchiver

Ok, I fix in next release... for now I'm busy (I'm going crazy!) making sparkle work...

@setanarut setanarut changed the title Crash Crash / libmagic library missing Dec 27, 2020
@setanarut
Copy link
Contributor Author

please open separate issue, and hide off-topic messages

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants