prusa3d / PrusaSlicer

G-code generator for 3D printers (RepRap, Makerbot, Ultimaker etc.)
https://www.prusa3d.com/prusaslicer/
GNU Affero General Public License v3.0
7.72k stars 1.93k forks source link

PrusaSlicer 2.6.0-Alpha4 crashes on start on OS X Ventura 13.2.1 #9780

Closed kb9ysc closed 1 year ago

kb9ysc commented 1 year ago

Description of the bug

Prusaslicer 2.6.0 Alpha 4 (and 3) crashes on startup.

Expected behavior is that the program starts up.

Appears to have started after upgrade to Ventura 13.2.1.

Project file & How to reproduce

When I try to start PrusaSlicer 2.6.0-Alpha4, it crashes upon load. I just updated to OS X 13.2.1, and that's when the issue started. I saw the issue with Alpha3 but Alpha 4 is doing the same. I even tried to download the sources and compile locally, it was still doing the same. Then downloaded Alpha4 when I noticed it was available.

Strangely enough, PrusaSlicer 2.5.0 works fine.

The loading screen goes away too fast for me to see what text it says when it crashes.

There is no project file, as it crashes before the UI even starts.

When I run from the command line (with loglevel6) I get this:

./PrusaSlicer --loglevel 6 [2023-02-18 21:18:58.537269] [0x00007ff858c3a680] [trace] Initializing StaticPrintConfigs [2023-02-18 21:18:58.627093] [0x00007ff858c3a680] [trace] App updater default download path: "/Users/ameizeli/Downloads" [2023-02-18 21:18:58.627258] [0x00007ff858c3a680] [debug] full path: 1348679226012280357 [2023-02-18 21:18:58.627310] [0x00007ff858c3a680] [debug] single instance: undefined. other params: ./PrusaSlicer;--loglevel;6 [2023-02-18 21:18:58.627338] [0x00007ff858c3a680] [debug] full lock path: /Users/ameizeli/Library/Application Support/PrusaSlicer-alpha/cache/1348679226012280357.lock [2023-02-18 21:18:58.627693] [0x00007ff858c3a680] [debug] Creating lockfile. [2023-02-18 21:18:58.627734] [0x00007ff858c3a680] [info] Instance check: Another instance not found or single-instance not set. [2023-02-18 21:18:58.798057] [0x00007ff858c3a680] [trace] System language detected (user locales and such): en_US [2023-02-18 21:18:58.802830] [0x00007ff858c3a680] [trace] Best translation language detected (may be different from user locales): en [2023-02-18 21:18:58.803070] [0x00007ff858c3a680] [trace] Switching wxLocales to en [2023-02-18 21:18:58.922986] [0x00007ff858c3a680] [info] Checking if indices need to be installed from resources... [2023-02-18 21:18:59.407384] [0x00007ff858c3a680] [info] 3dx mac handler starts [2023-02-18 21:18:59.407561] [0x00007ff858c3a680] [error] 3dx drivers module loading error: dlopen(/Library/Frameworks/3DconnexionClient.framework/3DconnexionClient, 0x0005): tried: '/Library/Frameworks/3DconnexionClient.framework/3DconnexionClient' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Library/Frameworks/3DconnexionClient.framework/3DconnexionClient' (no such file), '/Library/Frameworks/3DconnexionClient.framework/3DconnexionClient' (no such file), '/System/Library/Frameworks/3DconnexionClient.framework/3DconnexionClient' (no such file, not in dyld cache) [2023-02-18 21:18:59.407573] [0x00007ff858c3a680] [info] 3dx drivers loaded: NO [2023-02-18 21:18:59.411653] [0x00007ff858c3a680] [info] Undo / Redo snapshot taken: New Project, Undo / Redo stack memory: 0MB Resident memory: 108MB; Peak memory usage: 108MB [2023-02-18 21:18:59.495936] [0x00007ff858c3a680] [debug] BuildVolume bed_shape clasified as: Rectangle [2023-02-18 21:18:59.607722] [0x00007ff858c3a680] [debug] GLCanvas3D: Use Retina OpenGL: true [2023-02-18 21:18:59.607746] [0x00007ff858c3a680] [debug] GLCanvas3D: Use Retina OpenGL: true [1] 21908 segmentation fault ./PrusaSlicer --loglevel 6


The report that is generated that OS X wants to send to apple is as follows:


Translated Report (Full Report Below)

Process: PrusaSlicer [21908] Path: /Users/USER/Desktop/PrusaSlicer.app/Contents/MacOS/PrusaSlicer Identifier: com.prusa3d.slic3r/ Version: PrusaSlicer PrusaSlicer-2.6.0-alpha4+MacOS-x64-202302180021 (PrusaSlicer-2.6.0-alpha4+MacOS-x64-202302180021) Code Type: X86-64 (Native) Parent Process: zsh [2966] Responsible: iTerm2 [753] User ID: 501

Date/Time: 2023-02-18 21:19:00.3018 -0600 OS Version: macOS 13.2.1 (22D68) Report Version: 12 Bridge OS Version: 7.2 (20P3045) Anonymous UUID: 481FC38E-1FBC-BD99-77B0-CB8D8FCCFDC3

Time Awake Since Boot: 52000 seconds

System Integrity Protection: enabled

Crashed Thread: 0 slic3r_main Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000014 Exception Codes: 0x0000000000000001, 0x0000000000000014

Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11 Terminating Process: exc handler [21908]

VM Region Info: 0x14 is not in any region. Bytes before following region: 140737486979052 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL UNUSED SPACE AT START --->
shared memory 7fffffeb0000-7fffffeb1000 [ 4K] r-x/r-x SM=SHM

Thread 0 Crashed:: slic3r_main Dispatch queue: com.apple.main-thread 0 PrusaSlicer 0x10b546625 ImFont::CalcTextSizeA(float, float, float, char const, char const, char const) const + 69 1 PrusaSlicer 0x10b4dfeb0 ImGui::CalcTextSize(char const, char const, bool, float) + 112 2 PrusaSlicer 0x109bcb464 Slic3r::GUI::NotificationManager::HintNotification::count_spaces() + 36 3 PrusaSlicer 0x109bccf3d Slic3r::GUI::NotificationManager::HintNotification::init() + 29 4 PrusaSlicer 0x109bcde99 Slic3r::GUI::NotificationManager::HintNotification::retrieve_data(bool) + 425 5 PrusaSlicer 0x109b9cddd Slic3r::GUI::NotificationManager::HintNotification::HintNotification(Slic3r::GUI::NotificationManager::NotificationData const&, Slic3r::GUI::NotificationManager::NotificationIDProvider&, wxEvtHandler, bool) + 221 6 PrusaSlicer 0x109b99b56 Slic3r::GUI::NotificationManager::push_hint_notification(bool) + 310 7 PrusaSlicer 0x10987fa60 Slic3r::GUI::GUI_App::post_init() + 1424 8 PrusaSlicer 0x1098a1273 wxEventFunctorFunctor<wxEventTypeTag, Slic3r::GUI::GUI_App::on_init_inner()::$_6>::operator()(wxEvtHandler, wxEvent&) + 67 9 PrusaSlicer 0x10b8adf9e wxEvtHandler::SearchDynamicEventTable(wxEvent&) + 222 10 PrusaSlicer 0x10b8add0b wxEvtHandler::ProcessEventLocally(wxEvent&) + 59 11 PrusaSlicer 0x10b8adc20 wxEvtHandler::ProcessEvent(wxEvent&) + 96 12 PrusaSlicer 0x10b806c0a wxAppConsoleBase::ProcessIdle() + 74 13 PrusaSlicer 0x10b61ae76 wxAppBase::ProcessIdle() + 22 14 PrusaSlicer 0x10b78ccfa wxApp::ProcessIdle() + 26 15 PrusaSlicer 0x10b8b7c6c wxCFEventLoop::OSXCommonModeObserverCallBack(CFRunLoopObserver, int, void) + 92 16 CoreFoundation 0x7ff8153d8092 CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION + 23 17 CoreFoundation 0x7ff8153d7fba CFRunLoopDoObservers + 482 18 CoreFoundation 0x7ff8153d7665 __CFRunLoopRun + 1163 19 CoreFoundation 0x7ff8153d6b60 CFRunLoopRunSpecific + 560 20 HIToolbox 0x7ff81ed24766 RunCurrentEventLoopInMode + 292 21 HIToolbox 0x7ff81ed24576 ReceiveNextEventCommon + 679 22 HIToolbox 0x7ff81ed242b3 _BlockUntilNextEventMatchingListInModeWithFilter + 70 23 AppKit 0x7ff8185272f3 _DPSNextEvent + 909 24 AppKit 0x7ff818526174 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1219 25 AppKit 0x7ff8185187b7 -[NSApplication run] + 586 26 PrusaSlicer 0x10b7ccffa wxGUIEventLoop::OSXDoRun() + 186 27 PrusaSlicer 0x10b8b829d wxCFEventLoop::DoRun() + 29 28 PrusaSlicer 0x10b82ecd5 wxEventLoopBase::Run() + 85 29 PrusaSlicer 0x10b806a24 wxAppConsoleBase::MainLoop() + 116 30 PrusaSlicer 0x10b78cd4a wxApp::OnRun() + 26 31 PrusaSlicer 0x10b860379 wxEntry(int&, wchar_t) + 73 32 PrusaSlicer 0x109877938 Slic3r::GUI::GUI_Run(Slic3r::GUI::GUI_InitParams&) + 248 33 PrusaSlicer 0x108c81cb7 Slic3r::CLI::run(int, char**) + 21159 34 PrusaSlicer 0x108c86c30 main + 352 35 dyld 0x7ff814fca310 start + 2432

Thread 1: 0 libsystem_pthread.dylib 0x7ff8152f8c58 start_wqthread + 0

Thread 2: 0 libsystem_pthread.dylib 0x7ff8152f8c58 start_wqthread + 0

Thread 3: 0 libsystem_pthread.dylib 0x7ff8152f8c58 start_wqthread + 0

Thread 4: 0 libsystem_pthread.dylib 0x7ff8152f8c58 start_wqthread + 0

Thread 5:: com.apple.NSEventThread 0 libsystem_kernel.dylib 0x7ff8152be5c2 mach_msg2_trap + 10 1 libsystem_kernel.dylib 0x7ff8152cc604 mach_msg2_internal + 82 2 libsystem_kernel.dylib 0x7ff8152c5635 mach_msg_overwrite + 723 3 libsystem_kernel.dylib 0x7ff8152be8a8 mach_msg + 19 4 CoreFoundation 0x7ff8153d8cbe CFRunLoopServiceMachPort + 145 5 CoreFoundation 0x7ff8153d772a CFRunLoopRun + 1360 6 CoreFoundation 0x7ff8153d6b60 CFRunLoopRunSpecific + 560 7 AppKit 0x7ff818688179 _NSEventThread + 132 8 libsystem_pthread.dylib 0x7ff8152fd259 _pthread_start + 125 9 libsystem_pthread.dylib 0x7ff8152f8c7b thread_start + 15

Thread 6: 0 libsystem_kernel.dylib 0x7ff8152c111a psynch_cvwait + 10 1 libsystem_pthread.dylib 0x7ff8152fd7e1 _pthread_cond_wait + 1243 2 libc++.1.dylib 0x7ff815259c32 std::__1::condition_variable::wait(std::1::unique_lock&) + 18 3 PrusaSlicer 0x109b263c3 Slic3r::GUI::BoostThreadWorker::run() + 163 4 PrusaSlicer 0x109cf0798 boost::(anonymous namespace)::thread_proxy(void*) + 136 5 libsystem_pthread.dylib 0x7ff8152fd259 _pthread_start + 125 6 libsystem_pthread.dylib 0x7ff8152f8c7b thread_start + 15

Thread 0 crashed with X86 Thread State (64-bit): rax: 0x0000000000000001 rbx: 0x0000000000000000 rcx: 0x0000000000000008 rdx: 0x000000010c0915b8 rdi: 0xfffffffffffffff8 rsi: 0x000000000000aa00 rbp: 0x00007ff7b7286ca0 rsp: 0x00007ff7b7286c20 r8: 0x0000000000000000 r9: 0x00000000000015f0 r10: 0x0000000000000090 r11: 0x0000000000000240 r12: 0x000000010c0915b9 r13: 0x000000010c0915b8 r14: 0x00007ff7b7286d40 r15: 0x0000000000000000 rip: 0x000000010b546625 rfl: 0x0000000000010202 cr2: 0x0000000000000014

Logical CPU: 0 Error Code: 0x00000004 (no mapping for user data read) Trap Number: 14

Thread 0 instruction stream: 48 89 d8 48 83 c4 28 5b-41 5c 41 5d 41 5e 41 5f H..H..([A\A]A^A_ 5d c3 66 0f 1f 84 00 00-00 00 00 55 48 89 e5 41 ].f........UH..A 57 41 56 41 55 41 54 53-48 83 ec 58 48 89 cb 49 WAVAUATSH..XH..I 89 d4 49 89 f5 f3 0f 11-55 cc f3 0f 11 4d c8 0f ..I.....U....M.. 29 45 b0 49 89 ff 48 85-d2 0f 84 d0 01 00 00 4d )E.I..H........M 39 ec 48 89 5d 80 0f 86-de 01 00 00 0f 28 45 b0 9.H.]........(E. [f3]41 0f 5e 47 14 f3 0f-11 45 d0 49 8d 47 10 48 .A.^G....E.I.G.H <== 89 45 88 0f 57 e4 f3 0f-10 45 cc 0f 57 db 0f 2e .E..W....E..W... c4 0f 86 be 01 00 00 0f-57 e4 45 31 f6 4c 89 eb ........W.E1.L.. eb 1b 66 0f 1f 84 00 00-00 00 00 49 89 dd 45 31 ..f........I..E1 f6 4c 89 eb 4d 39 e5 0f-83 78 02 00 00 4d 85 f6 .L..M9...x...M.. 74 29 4c 39 f3 73 60 0f-be 03 89 45 d4 85 c0 0f t)L9.s`....E....

Binary Images: 0x108c72000 - 0x10c1bdfff com.prusa3d.slic3r/ (PrusaSlicer PrusaSlicer-2.6.0-alpha4+MacOS-x64-202302180021) <32163dfa-8768-37a6-864e-ed0a7cfc97b1> /Users/USER/Desktop/PrusaSlicer.app/Contents/MacOS/PrusaSlicer 0x7ff815359000 - 0x7ff8157f2fef com.apple.CoreFoundation (6.9) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation 0x7ff81ecf5000 - 0x7ff81efecffd com.apple.HIToolbox (2.1.1) <7bf47984-29cb-319e-a6da-0884d158f96a> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox 0x7ff8184e9000 - 0x7ff8194f1ff2 com.apple.AppKit (6.9) <540cedfd-5a35-3f35-8953-dcb7c4834eb5> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit 0x7ff814fc4000 - 0x7ff815058caf dyld () /usr/lib/dyld 0x7ff8152f7000 - 0x7ff815302ff7 libsystem_pthread.dylib () <3bd433d4-15bd-3add-a612-95e4d3b20719> /usr/lib/system/libsystem_pthread.dylib 0x7ff8152bd000 - 0x7ff8152f6ff7 libsystem_kernel.dylib () <87ff381c-4d30-3087-bab7-a5a53d232c00> /usr/lib/system/libsystem_kernel.dylib 0x7ff81524e000 - 0x7ff8152a6ff3 libc++.1.dylib () /usr/lib/libc++.1.dylib 0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???

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=656.9M resident=0K(0%) swapped_out_or_unallocated=656.9M(100%) Writable regions: Total=738.4M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=738.4M(100%)

                            VIRTUAL   REGION 

REGION TYPE SIZE COUNT (non-coalesced) =========== ======= ======= Accelerate framework 384K 3 Activity Tracing 256K 1 CG backing stores 6960K 12 CG image 7820K 175 CG raster data 964K 100 ColorSync 244K 28 CoreAnimation 81.1M 203 CoreGraphics 20K 4 CoreImage 8K 2 CoreUI image data 3968K 38 Foundation 16K 1 Kernel Alloc Once 8K 1 MALLOC 370.7M 71 MALLOC guard page 32K 8 MALLOC_NANO (reserved) 256.0M 1 reserved VM address space (unallocated) STACK GUARD 56.0M 7 Stack 14.5M 7 VM_ALLOCATE 428K 42 CTF 756 1 DATA 24.9M 399 DATA_CONST 21.7M 232 __DATA_DIRTY 881K 129 FONT_DATA 2352 1 GLSLBUILTINS 5174K 1 LINKEDIT 206.1M 3 OBJC_RO 65.5M 1 __OBJC_RW 1989K 2 TEXT 450.7M 420 dyld private memory 768K 3 mapped file 187.4M 29 shared memory 1312K 19 =========== ======= ======= TOTAL 1.7G 1944 TOTAL, minus reserved VM space 1.5G 1944


Full Report

{"app_name":"PrusaSlicer","timestamp":"2023-02-18 21:19:00.00 -0600","app_version":"PrusaSlicer PrusaSlicer-2.6.0-alpha4+MacOS-x64-202302180021","slice_uuid":"32163dfa-8768-37a6-864e-ed0a7cfc97b1","build_version":"PrusaSlicer-2.6.0-alpha4+MacOS-x64-202302180021","platform":1,"bundleID":"com.prusa3d.slic3r\/","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 13.2.1 (22D68)","roots_installed":0,"name":"PrusaSlicer","incident_id":"9615EF4F-3784-4ED1-8398-461D6D0E8950"} { "uptime" : 52000, "procRole" : "Foreground", "version" : 2, "userID" : 501, "deployVersion" : 210, "modelCode" : "MacBookPro16,2", "coalitionID" : 802, "osVersion" : { "train" : "macOS 13.2.1", "build" : "22D68", "releaseType" : "User" }, "captureTime" : "2023-02-18 21:19:00.3018 -0600", "incident" : "9615EF4F-3784-4ED1-8398-461D6D0E8950", "pid" : 21908, "cpuType" : "X86-64", "roots_installed" : 0, "bug_type" : "309", "procLaunch" : "2023-02-18 21:18:58.2033 -0600", "procStartAbsTime" : 52402352215904, "procExitAbsTime" : 52404449789255, "procName" : "PrusaSlicer", "procPath" : "\/Users\/USER\/Desktop\/PrusaSlicer.app\/Contents\/MacOS\/PrusaSlicer", "bundleInfo" : {"CFBundleShortVersionString":"PrusaSlicer PrusaSlicer-2.6.0-alpha4+MacOS-x64-202302180021","CFBundleVersion":"PrusaSlicer-2.6.0-alpha4+MacOS-x64-202302180021","CFBundleIdentifier":"com.prusa3d.slic3r\/"}, "storeInfo" : {"deviceIdentifierForVendor":"EA6DA13E-7905-5F3D-94EC-4A7CEAA08522","thirdParty":true}, "parentProc" : "zsh", "parentPid" : 2966, "coalitionName" : "com.googlecode.iterm2", "crashReporterKey" : "481FC38E-1FBC-BD99-77B0-CB8D8FCCFDC3", "responsiblePid" : 753, "responsibleProc" : "iTerm2", "bridgeVersion" : {"build":"20P3045","train":"7.2"}, "sip" : "enabled", "vmRegionInfo" : "0x14 is not in any region. Bytes before following region: 140737486979052\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n---> \n shared memory 7fffffeb0000-7fffffeb1000 [ 4K] r-x\/r-x SM=SHM ", "exception" : {"codes":"0x0000000000000001, 0x0000000000000014","rawCodes":[1,20],"type":"EXC_BAD_ACCESS","signal":"SIGSEGV","subtype":"KERN_INVALID_ADDRESS at 0x0000000000000014"}, "termination" : {"flags":0,"code":11,"namespace":"SIGNAL","indicator":"Segmentation fault: 11","byProc":"exc handler","byPid":21908}, "vmregioninfo" : "0x14 is not in any region. Bytes before following region: 140737486979052\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n---> \n shared memory 7fffffeb0000-7fffffeb1000 [ 4K] r-x\/r-x SM=SHM ", "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" : [{"queue":"com.apple.main-thread","instructionState":{"instructionStream":{"bytes":[72,137,216,72,131,196,40,91,65,92,65,93,65,94,65,95,93,195,102,15,31,132,0,0,0,0,0,85,72,137,229,65,87,65,86,65,85,65,84,83,72,131,236,88,72,137,203,73,137,212,73,137,245,243,15,17,85,204,243,15,17,77,200,15,41,69,176,73,137,255,72,133,210,15,132,208,1,0,0,77,57,236,72,137,93,128,15,134,222,1,0,0,15,40,69,176,243,65,15,94,71,20,243,15,17,69,208,73,141,71,16,72,137,69,136,15,87,228,243,15,16,69,204,15,87,219,15,46,196,15,134,190,1,0,0,15,87,228,69,49,246,76,137,235,235,27,102,15,31,132,0,0,0,0,0,73,137,221,69,49,246,76,137,235,77,57,229,15,131,120,2,0,0,77,133,246,116,41,76,57,243,115,96,15,190,3,137,69,212,133,192,15],"offset":96}},"frames":[{"imageOffset":42812965,"symbol":"ImFont::CalcTextSizeA(float, float, float, char const, char const, char const) const","symbolLocation":69,"imageIndex":0},{"imageOffset":42393264,"symbol":"ImGui::CalcTextSize(char const, char const, bool, float)","symbolLocation":112,"imageIndex":0},{"imageOffset":16094308,"symbol":"Slic3r::GUI::NotificationManager::HintNotification::count_spaces()","symbolLocation":36,"imageIndex":0},{"imageOffset":16101181,"symbol":"Slic3r::GUI::NotificationManager::HintNotification::init()","symbolLocation":29,"imageIndex":0},{"imageOffset":16105113,"symbol":"Slic3r::GUI::NotificationManager::HintNotification::retrieve_data(bool)","symbolLocation":425,"imageIndex":0},{"imageOffset":15904221,"symbol":"Slic3r::GUI::NotificationManager::HintNotification::HintNotification(Slic3r::GUI::NotificationManager::NotificationData const&, Slic3r::GUI::NotificationManager::NotificationIDProvider&, wxEvtHandler, bool)","symbolLocation":221,"imageIndex":0},{"imageOffset":15891286,"symbol":"Slic3r::GUI::NotificationManager::push_hint_notification(bool)","symbolLocation":310,"imageIndex":0},{"imageOffset":12638816,"symbol":"Slic3r::GUI::GUI_App::post_init()","symbolLocation":1424,"imageIndex":0},{"imageOffset":12776051,"symbol":"wxEventFunctorFunctor<wxEventTypeTag, Slic3r::GUI::GUI_App::on_init_inner()::$_6>::operator()(wxEvtHandler, wxEvent&)","symbolLocation":67,"imageIndex":0},{"imageOffset":46383006,"symbol":"wxEvtHandler::SearchDynamicEventTable(wxEvent&)","symbolLocation":222,"imageIndex":0},{"imageOffset":46382347,"symbol":"wxEvtHandler::ProcessEventLocally(wxEvent&)","symbolLocation":59,"imageIndex":0},{"imageOffset":46382112,"symbol":"wxEvtHandler::ProcessEvent(wxEvent&)","symbolLocation":96,"imageIndex":0},{"imageOffset":45698058,"symbol":"wxAppConsoleBase::ProcessIdle()","symbolLocation":74,"imageIndex":0},{"imageOffset":43683446,"symbol":"wxAppBase::ProcessIdle()","symbolLocation":22,"imageIndex":0},{"imageOffset":45198586,"symbol":"wxApp::ProcessIdle()","symbolLocation":26,"imageIndex":0},{"imageOffset":46423148,"symbol":"wxCFEventLoop::OSXCommonModeObserverCallBack(CFRunLoopObserver, int, void)","symbolLocation":92,"imageIndex":0},{"imageOffset":520338,"symbol":"CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION","symbolLocation":23,"imageIndex":1},{"imageOffset":520122,"symbol":"CFRunLoopDoObservers","symbolLocation":482,"imageIndex":1},{"imageOffset":517733,"symbol":"__CFRunLoopRun","symbolLocation":1163,"imageIndex":1},{"imageOffset":514912,"symbol":"CFRunLoopRunSpecific","symbolLocation":560,"imageIndex":1},{"imageOffset":194406,"symbol":"RunCurrentEventLoopInMode","symbolLocation":292,"imageIndex":2},{"imageOffset":193910,"symbol":"ReceiveNextEventCommon","symbolLocation":679,"imageIndex":2},{"imageOffset":193203,"symbol":"_BlockUntilNextEventMatchingListInModeWithFilter","symbolLocation":70,"imageIndex":2},{"imageOffset":254707,"symbol":"_DPSNextEvent","symbolLocation":909,"imageIndex":3},{"imageOffset":250228,"symbol":"-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]","symbolLocation":1219,"imageIndex":3},{"imageOffset":194487,"symbol":"-[NSApplication run]","symbolLocation":586,"imageIndex":3},{"imageOffset":45461498,"symbol":"wxGUIEventLoop::OSXDoRun()","symbolLocation":186,"imageIndex":0},{"imageOffset":46424733,"symbol":"wxCFEventLoop::DoRun()","symbolLocation":29,"imageIndex":0},{"imageOffset":45862101,"symbol":"wxEventLoopBase::Run()","symbolLocation":85,"imageIndex":0},{"imageOffset":45697572,"symbol":"wxAppConsoleBase::MainLoop()","symbolLocation":116,"imageIndex":0},{"imageOffset":45198666,"symbol":"wxApp::OnRun()","symbolLocation":26,"imageIndex":0},{"imageOffset":46064505,"symbol":"wxEntry(int&, wchar_t)","symbolLocation":73,"imageIndex":0},{"imageOffset":12605752,"symbol":"Slic3r::GUI::GUI_Run(Slic3r::GUI::GUI_InitParams&)","symbolLocation":248,"imageIndex":0},{"imageOffset":64695,"symbol":"Slic3r::CLI::run(int, char*)","symbolLocation":21159,"imageIndex":0},{"imageOffset":85040,"symbol":"main","symbolLocation":352,"imageIndex":0},{"imageOffset":25360,"symbol":"start","symbolLocation":2432,"imageIndex":4}],"id":409753,"triggered":true,"threadState":{"r13":{"value":4496889272,"symbolLocation":140263,"symbol":"TextValue::ArgType2"},"rax":{"value":1},"rflags":{"value":66050},"cpu":{"value":0},"r14":{"value":140701906529600},"rsi":{"value":43520},"r8":{"value":0},"cr2":{"value":20},"rdx":{"value":4496889272,"symbolLocation":140263,"symbol":"TextValue::ArgType2"},"r10":{"value":144},"r9":{"value":5616},"r15":{"value":0},"rbx":{"value":0},"trap":{"value":14,"description":"(no mapping for user data read)"},"err":{"value":4},"r11":{"value":576},"rip":{"value":4485047845,"matchesCrashFrame":1},"rbp":{"value":140701906529440},"rsp":{"value":140701906529312},"r12":{"value":4496889273,"symbolLocation":140264,"symbol":"TextValue::ArgType2"},"rcx":{"value":8},"flavor":"x86_THREAD_STATE","rdi":{"value":18446744073709551608}},"name":"slic3r_main"},{"id":409760,"frames":[{"imageOffset":7256,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":5}]},{"id":409761,"frames":[{"imageOffset":7256,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":5}]},{"id":409772,"frames":[{"imageOffset":7256,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":5}]},{"id":409774,"frames":[{"imageOffset":7256,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":5}]},{"id":409782,"name":"com.apple.NSEventThread","frames":[{"imageOffset":5570,"symbol":"mach_msg2_trap","symbolLocation":10,"imageIndex":6},{"imageOffset":62980,"symbol":"mach_msg2_internal","symbolLocation":82,"imageIndex":6},{"imageOffset":34357,"symbol":"mach_msg_overwrite","symbolLocation":723,"imageIndex":6},{"imageOffset":6312,"symbol":"mach_msg","symbolLocation":19,"imageIndex":6},{"imageOffset":523454,"symbol":"CFRunLoopServiceMachPort","symbolLocation":145,"imageIndex":1},{"imageOffset":517930,"symbol":"CFRunLoopRun","symbolLocation":1360,"imageIndex":1},{"imageOffset":514912,"symbol":"CFRunLoopRunSpecific","symbolLocation":560,"imageIndex":1},{"imageOffset":1700217,"symbol":"_NSEventThread","symbolLocation":132,"imageIndex":3},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":5},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":5}]},{"id":409799,"frames":[{"imageOffset":16666,"symbol":"psynch_cvwait","symbolLocation":10,"imageIndex":6},{"imageOffset":26593,"symbol":"_pthread_cond_wait","symbolLocation":1243,"imageIndex":5},{"imageOffset":48178,"symbol":"std::1::condition_variable::wait(std::__1::unique_lock&)","symbolLocation":18,"imageIndex":7},{"imageOffset":15418307,"symbol":"Slic3r::GUI::BoostThreadWorker::run()","symbolLocation":163,"imageIndex":0},{"imageOffset":17295256,"symbol":"boost::(anonymous namespace)::thread_proxy(void)","symbolLocation":136,"imageIndex":0},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":5},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":5}]}], "usedImages" : [ { "source" : "P", "arch" : "x86_64", "base" : 4442234880, "CFBundleShortVersionString" : "PrusaSlicer PrusaSlicer-2.6.0-alpha4+MacOS-x64-202302180021", "CFBundleIdentifier" : "com.prusa3d.slic3r\/", "size" : 55885824, "uuid" : "32163dfa-8768-37a6-864e-ed0a7cfc97b1", "path" : "\/Users\/USER\/Desktop\/PrusaSlicer.app\/Contents\/MacOS\/PrusaSlicer", "name" : "PrusaSlicer", "CFBundleVersion" : "PrusaSlicer-2.6.0-alpha4+MacOS-x64-202302180021" }, { "source" : "P", "arch" : "x86_64h", "base" : 140703484448768, "CFBundleShortVersionString" : "6.9", "CFBundleIdentifier" : "com.apple.CoreFoundation", "size" : 4825072, "uuid" : "c2615780-0140-315c-a455-7e03bb22d3d6", "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation", "name" : "CoreFoundation", "CFBundleVersion" : "1953.300" }, { "source" : "P", "arch" : "x86_64", "base" : 140703645519872, "CFBundleShortVersionString" : "2.1.1", "CFBundleIdentifier" : "com.apple.HIToolbox", "size" : 3112958, "uuid" : "7bf47984-29cb-319e-a6da-0884d158f96a", "path" : "\/System\/Library\/Frameworks\/Carbon.framework\/Versions\/A\/Frameworks\/HIToolbox.framework\/Versions\/A\/HIToolbox", "name" : "HIToolbox" }, { "source" : "P", "arch" : "x86_64", "base" : 140703536418816, "CFBundleShortVersionString" : "6.9", "CFBundleIdentifier" : "com.apple.AppKit", "size" : 16814067, "uuid" : "540cedfd-5a35-3f35-8953-dcb7c4834eb5", "path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit", "name" : "AppKit", "CFBundleVersion" : "2299.40.118" }, { "source" : "P", "arch" : "x86_64", "base" : 140703480692736, "size" : 609456, "uuid" : "bba77709-6cad-3592-ab03-09d0f7b8610e", "path" : "\/usr\/lib\/dyld", "name" : "dyld" }, { "source" : "P", "arch" : "x86_64", "base" : 140703484047360, "size" : 49144, "uuid" : "3bd433d4-15bd-3add-a612-95e4d3b20719", "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib", "name" : "libsystem_pthread.dylib" }, { "source" : "P", "arch" : "x86_64", "base" : 140703483809792, "size" : 237560, "uuid" : "87ff381c-4d30-3087-bab7-a5a53d232c00", "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib", "name" : "libsystem_kernel.dylib" }, { "source" : "P", "arch" : "x86_64", "base" : 140703483355136, "size" : 364532, "uuid" : "b8339fb2-cbae-3d84-b080-bd19ddb2981c", "path" : "\/usr\/lib\/libc++.1.dylib", "name" : "libc++.1.dylib" }, { "size" : 0, "source" : "A", "base" : 0, "uuid" : "00000000-0000-0000-0000-000000000000" } ], "sharedCache" : { "base" : 140703480086528, "size" : 21474836480, "uuid" : "57815a20-af2c-3b56-9006-23abde7962b0" }, "vmSummary" : "ReadOnly portion of Libraries: Total=656.9M resident=0K(0%) swapped_out_or_unallocated=656.9M(100%)\nWritable regions: Total=738.4M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=738.4M(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nAccelerate framework 384K 3 \nActivity Tracing 256K 1 \nCG backing stores 6960K 12 \nCG image 7820K 175 \nCG raster data 964K 100 \nColorSync 244K 28 \nCoreAnimation 81.1M 203 \nCoreGraphics 20K 4 \nCoreImage 8K 2 \nCoreUI image data 3968K 38 \nFoundation 16K 1 \nKernel Alloc Once 8K 1 \nMALLOC 370.7M 71 \nMALLOC guard page 32K 8 \nMALLOC_NANO (reserved) 256.0M 1 reserved VM address space (unallocated)\nSTACK GUARD 56.0M 7 \nStack 14.5M 7 \nVM_ALLOCATE 428K 42 \nCTF 756 1 \nDATA 24.9M 399 \nDATA_CONST 21.7M 232 \n__DATA_DIRTY 881K 129 \nFONT_DATA 2352 1 \nGLSLBUILTINS 5174K 1 \nLINKEDIT 206.1M 3 \nOBJC_RO 65.5M 1 \n__OBJC_RW 1989K 2 \nTEXT 450.7M 420 \ndyld private memory 768K 3 \nmapped file 187.4M 29 \nshared memory 1312K 19 \n=========== ======= ======= \nTOTAL 1.7G 1944 \nTOTAL, minus reserved VM space 1.5G 1944 \n", "legacyInfo" : { "threadTriggered" : { "name" : "slic3r_main", "queue" : "com.apple.main-thread" } }, "trialInfo" : { "rollouts" : [ { "rolloutId" : "61fd92db295c182621ececc3", "factorPackIds" : {

  },
  "deploymentId" : 240000324
},
{
  "rolloutId" : "63a0a6cfd1cdb67d083006d0",
  "factorPackIds" : {

  },
  "deploymentId" : 240000003
}

], "experiments" : [

] } }

Model: MacBookPro16,2, BootROM 1916.80.2.0.0 (iBridge: 20.16.3045.0.0,0), 4 processors, Quad-Core Intel Core i5, 2 GHz, 16 GB, SMC Graphics: Intel Iris Plus Graphics, Intel Iris Plus Graphics, Built-In Display: Color LCD, 2560 x 1600 Retina, Main, MirrorOff, Online Display: HP 27q, 2560 x 1440 (QHD/WQHD - Wide Quad High Definition), MirrorOff, Online Display: Acer KG281K, 5120 x 2880 (5K/UHD+ - Ultra High Definition Plus), MirrorOff, Online Memory Module: BANK 0/ChannelA-DIMM0, 8 GB, LPDDR4X, 3733 MHz, Micron, MT53E1G32D4NQ-053 Memory Module: BANK 2/ChannelB-DIMM0, 8 GB, LPDDR4X, 3733 MHz, Micron, MT53E1G32D4NQ-053 AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x7BF), wl0: Dec 1 2022 17:36:56 version 9.30.489.6.32.5.85 FWID 01-23419ed2 Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports Network Service: Wi-Fi, AirPort, en0 USB Device: USB31Bus USB Device: 6ft USB-C to HDMI Cable USB Device: USB2.0 Hub USB Device: USB2.0 Hub USB Device: hub_device USB Device: KB800 Kinesis Freestyle USB Device: hub_device USB Device: USB 2.0 FD USB Device: USB Billboard Device USB Device: USB31Bus USB Device: USB3.0 Hub USB Device: USB3.0 Hub USB Device: USB 10/100/1000 LAN USB Device: hub_device USB Device: hub_device USB Device: HD-WHU3/R1 USB Device: USB to ATA/ATAPI Bridge USB Device: USB3.0-CRW USB Device: T2Bus USB Device: Touch Bar Backlight USB Device: Touch Bar Display 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 Pro, Apple Inc., 86.0 Thunderbolt Bus: MacBook Pro, Apple Inc., 86.0

Checklist of files included above

Version of PrusaSlicer

PrusaSlicer 2.6.0-Alpha4

Operating system

OS X Ventura 13.2.1

Printer model

Prusa MK3S

kb9ysc commented 1 year ago

A follow up note: I wiped out my preferences in ~Library/Application Support/PrusaSlicer-alpha/ (deleted the whole directory in fact). That seemed to do the trick, as Alpha 4 seems now to be starting up fine. I zipped up the prefs folder if anyone wants me to upload it. But for now I'm closing this as it doesnt seem likely it's an issue with the software itself.

lukasmatena commented 1 year ago

If you can still reproduce it with the old configuration folder, we would be glad if you could share it. Thanks.

lukasmatena commented 1 year ago

After reading #9774 - can you confirm that the crash happens even with our builds from github and not just your locally-compiled ones?

kb9ysc commented 1 year ago

I've attached my preferences folder that was causing the issue. and yes, this crash occurs with the github builds and also my locally-compiled ones. I was able to reproduce the issue again by putting the attached prefs back in place. (tested with the github build.)

On Sun, Feb 19, 2023 at 12:07 AM Lukáš Matěna @.***> wrote:

After reading #9774 https://github.com/prusa3d/PrusaSlicer/issues/9774

  • can you confirm that the crash happens even with our builds from github and not just your locally-compiled ones?

— Reply to this email directly, view it on GitHub https://github.com/prusa3d/PrusaSlicer/issues/9780#issuecomment-1435902681, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKPBYAGTVOLJE5LMC2VGLITWYG2DBANCNFSM6AAAAAAVAW4DEE . You are receiving this because you modified the open/close state.Message ID: @.***>

lukasmatena commented 1 year ago

@kb9ysc There is no attachment. You have to upload it using the web interface, email attachments do not work. Thanks.

kb9ysc commented 1 year ago

Hopefully this works:

PrusaSlicer-alpha.zip

Thanks!

lukasmatena commented 1 year ago

This seems to be the same issue as #9774. What is surprising to me is that you claim that wiping the config folder has helped. It should still crash when "show_hints" configuration option is true, and its default is true. Could you check whether your now running slicer has "Preferences->GUI->Show "Tip of the day" notification after start" enabled or not? Thanks.

kb9ysc commented 1 year ago

Yes, it is enabled.

I've uploaded a copy of my working prefs folder. For this one, I made a copy of my 2.5.0 prefs folder and started up Alph4 with it-- but completely wiping the prefs also worked.

PrusaSlicer-alpha-working.zip

kocikdav commented 1 year ago

Please try this build. It is alpha4 build with just fix of this issue. MacOS: https://slicerbuilds.prusa3d.com/files/DK/PrusaSlicer-2.6.0-alpha4+1-dk-hints-public-MacOS-universal-g6cb994706-202302201434.dmg Linux: https://slicerbuilds.prusa3d.com/files/DK/PrusaSlicer-2.6.0-alpha4+1-dk-hints-public-linux-x64-GTK3-g6cb9947-202302201436.AppImage

If it works and you are downloading from Printables.com, please try starting PrusaSlicer via the download button there. Unfortunately we do not poses a computer with this bug and I would like to test this works as well.

kb9ysc commented 1 year ago

I tried to download the build, and it asked me for a username/password. I tried to use my printables Username/password but that didn't work.

lukasmatena commented 1 year ago

@kb9ysc Please use prusaslicer/slicer. Thanks.

kb9ysc commented 1 year ago

Thanks. It did work. Here is what I did:

so something in the fix you did must have changed something in the settings such that the github Alpha4 no longer crashed at startup.

PrusaSlicer-alpha-post.zip

Screenshot 2023-02-20 at 5 40 09 PM
kb9ysc commented 1 year ago

Forgot to add: I also uploaded the settings file after the above steps were done.

regexident commented 1 year ago

I'm pretty sure I'm seeing the same crash with both, v2.6.1 as well as v2.7.0-alpha1 (on macOS "Sonoma" 14.2 Beta (23C5030f)).

Somehow today PrusaSlicer stopped working as expected and is refusing to show an empty project window on launch, let alone open one when choosing "File > New Project".

When choosing "File > Open Project …" and selecting a project (any) it crashes the app.

  1. Open "PrusaSlicer".
  2. Choose "File > Open Project…" and select an existing project.
  3. The app crashes.
Thread 0 Crashed:: slic3r_main Dispatch queue: com.apple.main-thread
0   PrusaSlicer                            0x110b63a95 ImFont::CalcTextSizeA(float, float, float, char const*, char const*, char const**) const + 69
1   PrusaSlicer                            0x110afd2d0 ImGui::CalcTextSize(char const*, char const*, bool, float) + 112
2   PrusaSlicer                            0x10f157174 Slic3r::GUI::NotificationManager::PopNotification::count_spaces() + 36
3   PrusaSlicer                            0x10f15bc8c Slic3r::GUI::NotificationManager::ProgressBarNotification::init() + 44
4   PrusaSlicer                            0x10f161d99 Slic3r::GUI::NotificationManager::SlicingProgressNotification::set_status_text(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) + 249
5   PrusaSlicer                            0x10f16aaff Slic3r::GUI::NotificationManager::set_slicing_progress_percentage(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, float) + 351
6   PrusaSlicer                            0x10ee73898 Slic3r::GUI::Plater::priv::on_slicing_update(Slic3r::SlicingStatusEvent&) + 200
7   PrusaSlicer                            0x110ecc61e wxEvtHandler::SearchDynamicEventTable(wxEvent&) + 222
8   PrusaSlicer                            0x110ecc38b wxEvtHandler::ProcessEventLocally(wxEvent&) + 59
9   PrusaSlicer                            0x110ecc2a0 wxEvtHandler::ProcessEvent(wxEvent&) + 96
10  PrusaSlicer                            0x110ecc11b wxEvtHandler::ProcessPendingEvents() + 235
11  PrusaSlicer                            0x110e25837 wxAppConsoleBase::ProcessPendingEvents() + 119
12  PrusaSlicer                            0x110ed62d2 wxCFEventLoop::OSXCommonModeObserverCallBack(__CFRunLoopObserver*, int, void*) + 66
13  CoreFoundation                      0x7ff8073ed796 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
14  CoreFoundation                      0x7ff8073ed6ba __CFRunLoopDoObservers + 493
15  CoreFoundation                      0x7ff8073ecc3c __CFRunLoopRun + 850
16  CoreFoundation                      0x7ff8073ec322 CFRunLoopRunSpecific + 557
17  HIToolbox                           0x7ff811dbc9d9 RunCurrentEventLoopInMode + 292
18  HIToolbox                           0x7ff811dbc616 ReceiveNextEventCommon + 201
19  HIToolbox                           0x7ff811dbc531 _BlockUntilNextEventMatchingListInModeWithFilter + 66
20  AppKit                              0x7ff80a9f728d _DPSNextEvent + 880
21  AppKit                              0x7ff80b2eb7b8 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1304
22  AppKit                              0x7ff80a9e8803 -[NSApplication run] + 603
23  PrusaSlicer                            0x110deb68a wxGUIEventLoop::OSXDoRun() + 186
24  PrusaSlicer                            0x110ed691d wxCFEventLoop::DoRun() + 29
25  PrusaSlicer                            0x110e4d355 wxEventLoopBase::Run() + 85
26  PrusaSlicer                            0x110e250a4 wxAppConsoleBase::MainLoop() + 116
27  PrusaSlicer                            0x110dab3ca wxApp::OnRun() + 26
28  PrusaSlicer                            0x110e7e9f9 wxEntry(int&, wchar_t**) + 73
29  PrusaSlicer                            0x10ee038f8 Slic3r::GUI::GUI_Run(Slic3r::GUI::GUI_InitParams&) + 248
30  PrusaSlicer                            0x10e0f2707 Slic3r::CLI::run(int, char**) + 21559
31  PrusaSlicer                            0x10e0f6f20 main + 352
32  dyld                                0x7ff806f89386 start + 1942

I tried deleting the configuration folder ("Help > Show Configuration Folder") in case it was corrupted, but even with a new and clean one the crash happens.

I was using the very same v2.7.0-alpha1 just fine the day before (and on the same macOS "Sonoma" 14.2 Beta (23C5030f)).