Open espydude opened 1 year ago
Also issues here on the latest alpha4_prerelease on my macbook M1
Running from cli gives:
❯ ./PrusaSlicer
dyld[89448]: Library not loaded: /usr/local/opt/zstd/lib/libzstd.1.dylib
Referenced from: <60F48D3F-2866-3CB5-868F-0E8C69CE1C0E> /Applications/PrusaSlicer.app/Contents/MacOS/PrusaSlicer
Reason: tried: '/usr/local/opt/zstd/lib/libzstd.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/zstd/lib/libzstd.1.dylib' (no such file), '/usr/local/opt/zstd/lib/libzstd.1.dylib' (no such file), '/usr/local/lib/libzstd.1.dylib' (no such file), '/usr/lib/libzstd.1.dylib' (no such file, not in dyld cache)
[1] 89448 abort ./PrusaSlicer
Superslicer also has that same issue, I found a solution, that is simple and small to install:
1>> Install HomeBrew
2 >> run brew install zstd
3>> if you are running a M1/M2 chip also do cd <full-path-to-the-app-dir, eg. /Applications>
and sudo xattr -cr ./PrusaSlicer.app
Just tried this, but unfortunately no success. No time to look into it further at the moment, but here is the error report
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: Namespace DYLD, Code 1 Library missing
Library not loaded: /usr/local/opt/zstd/lib/libzstd.1.dylib
Referenced from: <60F48D3F-2866-3CB5-868F-0E8C69CE1C0E> /Applications/PrusaSlicer.app/Contents/MacOS/PrusaSlicer
Reason: tried: '/usr/local/opt/zstd/lib/libzstd.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/zstd/lib/libzstd.1.dylib' (no such file), '/usr/local/opt/zstd/lib/libzstd.1.dylib' (no such file), '/usr/local/lib/libzstd.1.dylib' (no such file), '/usr/lib/libzstd.1.dylib' (no such file, not in dyld cache)
(terminated at launch; ignore backtrace)
Thread 0 Crashed:
0 Rosetta Runtime Routines 0x10cb9a9a8 ???
1 <translation info unavailable> 0x10cc2f91c ???
2 dyld 0x207479d07 abort_with_payload_wrapper_internal + 82
3 dyld 0x207479d39 abort_with_payload + 9
4 dyld 0x2074011e1 dyld4::halt(char const*) + 375
5 dyld 0x2073fe660 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 4502
6 dyld 0x2073fd281 start + 2289
Thread 1:: com.apple.rosetta.exceptionserver
0 runtime 0x7ff7ffc4c614 0x7ff7ffc48000 + 17940
1 runtime 0x7ff7ffc58530 0x7ff7ffc48000 + 66864
2 runtime 0x7ff7ffc59f30 0x7ff7ffc48000 + 73520
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000006 x1: 0x0000000000000001 x2: 0x000000030d95e9a0 x3: 0x0000000000000075
x4: 0x000000030d95e5a0 x5: 0x0000000000000000 x6: 0x636f6c2f7273752f x7: 0x000000206f2f6c61
x8: 0x000000030d95e5a0 x9: 0x0000000000000000 x10: 0x0000000000000075 x11: 0x000000030d95e5a0
x12: 0x0000000000000075 x13: 0x000000030d95e9a0 x14: 0x0000000000000001 x15: 0x0000000000000006
x16: 0x0000000000000209 x17: 0x0000000000000000 x18: 0x8000000114bfbb80 x19: 0x000000010cb90000
x20: 0x00000000000007ff x21: 0x0000000114c00fa0 x22: 0xffffffffffffffff x23: 0x000000010cb9a97c
x24: 0x0000000207479d07 x25: 0x000000010cb9a248 x26: 0x000000010cc2d608 x27: 0x0000000000000000
x28: 0x0000000207460b4a fp: 0x000000002c000000 lr: 0x000000010cc2f91c
sp: 0x0000000114bfbb80 pc: 0x000000010cb9a9a8 cpsr: 0x80001000
far: 0x000000010cc2f000 esr: 0x56000080 Address size fault
Binary Images:
0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
0x2073f7000 - 0x20748efff dyld (*) <bba77709-6cad-3592-ab03-09d0f7b8610e> /usr/lib/dyld
0x7ff7ffc48000 - 0x7ff7ffc77fff runtime (*) <f066db2c-ed38-3f37-8d21-81d15fa908fe> /usr/libexec/rosetta/runtime
@tdamsma
HomeBrew is messing up on M1 mac's with setting up the correct storage dir.
Symlink the lib using a find search: sudo mkdir -p usr/local/opt/zstd/lib/ && find / -name "libzstd.1.dylib" -exec ln -s {} /usr/local/opt/zstd/lib/libzstd.1.dylib \;
Reason: tried: '/usr/local/opt/zstd/lib/libzstd.1.dylib' (mach-o file, but is an incompatible
architecture (have 'arm64', need 'x86_64'))
So I needed an x86 version of zstd. I followed https://medium.com/mkdir-awesome/how-to-install-x86-64-homebrew-packages-on-apple-m1-macbook-54ba295230f to install brew for x86. After symlinking the correct x86 version of zstd everything works:
sudo ln -s /usr/local/homebrew/Cellar/zstd/1.5.4/lib/libzstd.1.dylib /usr/local/opt/zstd/lib/libzstd.1.dylib
Description of the bug
When I launch the most current prebuilt Mac OS Binaries it immediately crash after I click to allow it to run. MacOS bug report below. Thak you!
Translated Report (Full Report Below)
Process: PrusaSlicer [31136] Path: /Applications/PrusaSlicer.app/Contents/MacOS/PrusaSlicer Identifier: com.merill.slic3r/ Version: Pleccer Pleccer-2.6.0-beta1_2023-03-08 (Pleccer-2.6.0-beta1_2023-03-08) Code Type: X86-64 (Native) Parent Process: launchd [1] User ID: 501
Date/Time: 2023-03-21 12:23:23.8486 -0400 OS Version: macOS 13.0.1 (22A400) Report Version: 12 Bridge OS Version: 7.0 (20P420) Anonymous UUID: 3A10701A-25B6-70FE-1036-5BD8B6BC6112
Sleep/Wake UUID: C008D24F-91CF-4B6B-8E46-0D515B60B006
Time Awake Since Boot: 380000 seconds Time Since Wake: 8030 seconds
System Integrity Protection: disabled
Crashed Thread: 0
Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: Namespace DYLD, Code 1 Library missing Library not loaded: /usr/local/opt/zstd/lib/libzstd.1.dylib Referenced from: <60F48D3F-2866-3CB5-868F-0E8C69CE1C0E> /Applications/PrusaSlicer.app/Contents/MacOS/PrusaSlicer Reason: tried: '/usr/local/opt/zstd/lib/libzstd.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/zstd/lib/libzstd.1.dylib' (no such file), '/usr/local/opt/zstd/lib/libzstd.1.dylib' (no such file), '/usr/local/lib/libzstd.1.dylib' (no such file), '/usr/lib/libzstd.1.dylib' (no such file, not in dyld cache) (terminated at launch; ignore backtrace)
Thread 0 Crashed: 0 dyld 0x7ff81b4ee83a __abort_with_payload + 10 1 dyld 0x7ff81b5079c7 abort_with_payload_wrapper_internal + 82 2 dyld 0x7ff81b5079f9 abort_with_payload + 9 3 dyld 0x7ff81b48f1e1 dyld4::halt(char const) + 375 4 dyld 0x7ff81b48c660 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const) + 4502 5 dyld 0x7ff81b48b281 start + 2289
Thread 0 crashed with X86 Thread State (64-bit): rax: 0x0000000002000209 rbx: 0x0000000000000000 rcx: 0x00007ff7b0743548 rdx: 0x00007ff7b07439b0 rdi: 0x0000000000000006 rsi: 0x0000000000000001 rbp: 0x00007ff7b0743590 rsp: 0x00007ff7b0743548 r8: 0x00007ff7b07435b0 r9: 0x0000000000000000 r10: 0x0000000000000075 r11: 0x0000000000000246 r12: 0x0000000000000075 r13: 0x00007ff7b07439b0 r14: 0x0000000000000001 r15: 0x0000000000000006 rip: 0x00007ff81b4ee83a rfl: 0x0000000000000246 cr2: 0x0000000114750000
Logical CPU: 0 Error Code: 0x02000209 Trap Number: 133
Binary Images: 0x7ff81b485000 - 0x7ff81b51954f dyld (*) <28fd2071-57f3-3873-87bf-e4f674a82de6> /usr/lib/dyld
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: 0 thread_create: 0 thread_set_state: 0
VM Region Summary: ReadOnly portion of Libraries: Total=258.5M resident=0K(0%) swapped_out_or_unallocated=258.5M(100%) Writable regions: Total=8948K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=8948K(100%)
REGION TYPE SIZE COUNT (non-coalesced) =========== ======= ======= STACK GUARD 56.0M 1 Stack 8192K 1 VM_ALLOCATE 8K 2 DATA 2539K 3 DATA_CONST 20K 1 __DATA_DIRTY 7K 1 LINKEDIT 205.1M 3 TEXT 53.5M 2 dyld private memory 512K 2 shared memory 4K 1 =========== ======= ======= TOTAL 325.5M 17
Full Report
{"app_name":"PrusaSlicer","timestamp":"2023-03-21 12:23:23.00 -0400","app_version":"Pleccer Pleccer-2.6.0-beta1_2023-03-08","slice_uuid":"60f48d3f-2866-3cb5-868f-0e8c69ce1c0e","build_version":"Pleccer-2.6.0-beta1_2023-03-08","platform":1,"bundleID":"com.merill.slic3r\/","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 13.0.1 (22A400)","roots_installed":0,"name":"PrusaSlicer","incident_id":"863E6E4B-CD35-4B20-AE61-42839B3C4441"} { "uptime" : 380000, "procRole" : "Background", "version" : 2, "userID" : 501, "deployVersion" : 210, "modelCode" : "MacBookAir8,2", "coalitionID" : 13790, "osVersion" : { "train" : "macOS 13.0.1", "build" : "22A400", "releaseType" : "User" }, "captureTime" : "2023-03-21 12:23:23.8486 -0400", "incident" : "863E6E4B-CD35-4B20-AE61-42839B3C4441", "pid" : 31136, "cpuType" : "X86-64", "roots_installed" : 0, "bug_type" : "309", "procLaunch" : "2023-03-21 12:23:16.9847 -0400", "procStartAbsTime" : 386114085815281, "procExitAbsTime" : 386120945126772, "procName" : "PrusaSlicer", "procPath" : "\/Applications\/PrusaSlicer.app\/Contents\/MacOS\/PrusaSlicer", "bundleInfo" : {"CFBundleShortVersionString":"Pleccer Pleccer-2.6.0-beta1_2023-03-08","CFBundleVersion":"Pleccer-2.6.0-beta1_2023-03-08","CFBundleIdentifier":"com.merill.slic3r\/"}, "storeInfo" : {"deviceIdentifierForVendor":"AFF46090-49AE-5DF8-8696-B8FA65652C2C","thirdParty":true}, "parentProc" : "launchd", "parentPid" : 1, "coalitionName" : "com.merill.slic3r\/", "crashReporterKey" : "3A10701A-25B6-70FE-1036-5BD8B6BC6112", "wakeTime" : 8030, "bridgeVersion" : {"build":"20P420","train":"7.0"}, "sleepWakeUUID" : "C008D24F-91CF-4B6B-8E46-0D515B60B006", "sip" : "disabled", "exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"}, "termination" : {"code":1,"flags":518,"namespace":"DYLD","indicator":"Library missing","details":["(terminated at launch; ignore backtrace)"],"reasons":["Library not loaded: \/usr\/local\/opt\/zstd\/lib\/libzstd.1.dylib","Referenced from: <60F48D3F-2866-3CB5-868F-0E8C69CE1C0E> \/Applications\/PrusaSlicer.app\/Contents\/MacOS\/PrusaSlicer","Reason: tried: '\/usr\/local\/opt\/zstd\/lib\/libzstd.1.dylib' (no such file), '\/System\/Volumes\/Preboot\/Cryptexes\/OS\/usr\/local\/opt\/zstd\/lib\/libzstd.1.dylib' (no such file), '\/usr\/local\/opt\/zstd\/lib\/libzstd.1.dylib' (no such file), '\/usr\/local\/lib\/libzstd.1.dylib' (no such file), '\/usr\/lib\/libzstd.1.dylib' (no such file, not in dyld cache)"]}, "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0}, "faultingThread" : 0, "threads" : [{"triggered":true,"id":1986653,"threadState":{"r13":{"value":140701794056624},"rax":{"value":33554953},"rflags":{"value":582},"cpu":{"value":0},"r14":{"value":1},"rsi":{"value":1},"r8":{"value":140701794055600},"cr2":{"value":4638179328},"rdx":{"value":140701794056624},"r10":{"value":117},"r9":{"value":0},"r15":{"value":6},"rbx":{"value":0},"trap":{"value":133},"err":{"value":33554953},"r11":{"value":582},"rip":{"value":140703586773050,"matchesCrashFrame":1},"rbp":{"value":140701794055568},"rsp":{"value":140701794055496},"r12":{"value":117},"rcx":{"value":140701794055496},"flavor":"x86_THREAD_STATE","rdi":{"value":6}},"frames":[{"imageOffset":432186,"symbol":"abort_with_payload","symbolLocation":10,"imageIndex":0},{"imageOffset":534983,"symbol":"abort_with_payload_wrapper_internal","symbolLocation":82,"imageIndex":0},{"imageOffset":535033,"symbol":"abort_with_payload","symbolLocation":9,"imageIndex":0},{"imageOffset":41441,"symbol":"dyld4::halt(char const)","symbolLocation":375,"imageIndex":0},{"imageOffset":30304,"symbol":"dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const)","symbolLocation":4502,"imageIndex":0},{"imageOffset":25217,"symbol":"start","symbolLocation":2289,"imageIndex":0}]}], "usedImages" : [ { "source" : "P", "arch" : "x86_64", "base" : 140703586340864, "size" : 607568, "uuid" : "28fd2071-57f3-3873-87bf-e4f674a82de6", "path" : "\/usr\/lib\/dyld", "name" : "dyld" } ], "sharedCache" : { "base" : 140703585734656, "size" : 21474836480, "uuid" : "840e528a-0c70-3c6a-b7b4-4f05f32ccc51" }, "vmSummary" : "ReadOnly portion of Libraries: Total=258.5M resident=0K(0%) swapped_out_or_unallocated=258.5M(100%)\nWritable regions: Total=8948K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=8948K(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nSTACK GUARD 56.0M 1 \nStack 8192K 1 \nVM_ALLOCATE 8K 2 \nDATA 2539K 3 \nDATA_CONST 20K 1 \n__DATA_DIRTY 7K 1 \nLINKEDIT 205.1M 3 \n__TEXT 53.5M 2 \ndyld private memory 512K 2 \nshared memory 4K 1 \n=========== ======= ======= \nTOTAL 325.5M 17 \n", "legacyInfo" : { "threadTriggered" : {
} }, "trialInfo" : { "rollouts" : [ { "rolloutId" : "62699e1ec1ff2978b47f6c3b", "factorPackIds" : { "SIRI_FIND_MY_CONFIGURATION_FILES" : "631f72d1de559130376df1fb" }, "deploymentId" : 240000023 }, { "rolloutId" : "5ffde50ce2aacd000d47a95f", "factorPackIds" : {
], "experiments" : [
] } }
Model: MacBookAir8,2, BootROM 1916.40.8.0.0 (iBridge: 20.16.420.0.0,0), 2 processors, Dual-Core Intel Core i5, 1.6 GHz, 16 GB, SMC Graphics: Intel UHD Graphics 617, Intel UHD Graphics 617, Built-In Display: Color LCD, 2560 x 1600 Retina, Main, MirrorOff, Online Memory Module: BANK 0/DIMM0, 8 GB, LPDDR3, 2133 MHz, 0x80AD, 0x483943434E4E4E4641474D4C4C522D4E5644 Memory Module: BANK 1/DIMM0, 8 GB, LPDDR3, 2133 MHz, 0x80AD, 0x483943434E4E4E4641474D4C4C522D4E5644 AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x843), wl0: Sep 14 2022 23:33:16 version 9.30.489.3.32.5.75 FWID 01-68032604 Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports Network Service: Wi-Fi, AirPort, en0 USB Device: USB30Bus USB Device: T2Bus 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 Air, Apple Inc., 47.5
Project file & How to reproduce
It doesn't launch far enough for me to open it up to get to that point so I am unable to attach the file,
Checklist of files included above
Version of PrusaSlicer
Pleccer-2.6.0-beta1_2023-03-08
Operating system
macOS 13.0.1
Printer model
Xvico X3