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 at macOS when Orgnanic Support selected #9665

Closed
1 of 2 tasks
jirka-malvin opened this issue Feb 9, 2023 · 16 comments
Closed
1 of 2 tasks

Crash at macOS when Orgnanic Support selected #9665

jirka-malvin opened this issue Feb 9, 2023 · 16 comments
Labels

Comments

@jirka-malvin
Copy link

Description of the bug

Alpha3 - When I choose organic support -> slice, application crash

report from Mac included

Project file & How to reproduce

choose organic support -> slice...
(with other supports it works)


Translated Report (Full Report Below)

Process: PrusaSlicer [35741]
Path: /Applications/PrusaSlicer - testovaci.app/Contents/MacOS/PrusaSlicer
Identifier: com.prusa3d.slic3r/
Version: PrusaSlicer PrusaSlicer-2.6.0-alpha3+MacOS-x64-202302031521 (PrusaSlicer-2.6.0-alpha3+MacOS-x64-202302031521)
Code Type: X86-64 (Native)
Parent Process: launchd [1]
User ID: 501

Date/Time: 2023-02-09 15:42:47.4332 +0100
OS Version: macOS 13.2 (22D49)
Report Version: 12
Bridge OS Version: 7.2 (20P3045)
Anonymous UUID: C7226EA6-CE1F-30C0-28C1-8D428740106B

Sleep/Wake UUID: 7C7398A6-99A8-4A81-B372-65987E28094D

Time Awake Since Boot: 190000 seconds
Time Since Wake: 6188 seconds

System Integrity Protection: enabled

Crashed Thread: 10 slic3r_BgSlcPcs

Exception Type: EXC_ARITHMETIC (SIGFPE)
Exception Codes: 0x0000000000000001, 0x0000000000000000

Termination Reason: Namespace SIGNAL, Code 8 Floating point exception: 8
Terminating Process: exc handler [35741]

Thread 0:: slic3r_main Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x7ff8090455c2 mach_msg2_trap + 10
1 libsystem_kernel.dylib 0x7ff809053604 mach_msg2_internal + 82
2 libsystem_kernel.dylib 0x7ff80904c635 mach_msg_overwrite + 723
3 libsystem_kernel.dylib 0x7ff8090458a8 mach_msg + 19
4 CoreFoundation 0x7ff80915fcbe __CFRunLoopServiceMachPort + 145
5 CoreFoundation 0x7ff80915e72a __CFRunLoopRun + 1360
6 CoreFoundation 0x7ff80915db60 CFRunLoopRunSpecific + 560
7 HIToolbox 0x7ff812aab766 RunCurrentEventLoopInMode + 292
8 HIToolbox 0x7ff812aab576 ReceiveNextEventCommon + 679
9 HIToolbox 0x7ff812aab2b3 _BlockUntilNextEventMatchingListInModeWithFilter + 70
10 AppKit 0x7ff80c2ae293 _DPSNextEvent + 909
11 AppKit 0x7ff80c2ad114 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1219
12 AppKit 0x7ff80c29f757 -[NSApplication run] + 586
13 PrusaSlicer 0x103bf4a7a wxGUIEventLoop::OSXDoRun() + 186
14 PrusaSlicer 0x103cdfd1d wxCFEventLoop::DoRun() + 29
15 PrusaSlicer 0x103c56755 wxEventLoopBase::Run() + 85
16 PrusaSlicer 0x103c2e4a4 wxAppConsoleBase::MainLoop() + 116
17 PrusaSlicer 0x103bb47ca wxApp::OnRun() + 26
18 PrusaSlicer 0x103c87df9 wxEntry(int&, wchar_t**) + 73
19 PrusaSlicer 0x101c9d9bc Slic3r::GUI::GUI_Run(Slic3r::GUI::GUI_InitParams&) + 236
20 PrusaSlicer 0x1010a6a77 Slic3r::CLI::run(int, char**) + 21159
21 PrusaSlicer 0x1010ab9f0 main + 352
22 dyld 0x7ff808d51310 start + 2432

Thread 1:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x7ff8090455c2 mach_msg2_trap + 10
1 libsystem_kernel.dylib 0x7ff809053604 mach_msg2_internal + 82
2 libsystem_kernel.dylib 0x7ff80904c635 mach_msg_overwrite + 723
3 libsystem_kernel.dylib 0x7ff8090458a8 mach_msg + 19
4 CoreFoundation 0x7ff80915fcbe __CFRunLoopServiceMachPort + 145
5 CoreFoundation 0x7ff80915e72a __CFRunLoopRun + 1360
6 CoreFoundation 0x7ff80915db60 CFRunLoopRunSpecific + 560
7 AppKit 0x7ff80c40f129 _NSEventThread + 132
8 libsystem_pthread.dylib 0x7ff809084259 _pthread_start + 125
9 libsystem_pthread.dylib 0x7ff80907fc7b thread_start + 15

Thread 2:
0 libsystem_kernel.dylib 0x7ff80904811a __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x7ff8090847e1 _pthread_cond_wait + 1243
2 libc++.1.dylib 0x7ff808fe0c32 std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&) + 18
3 PrusaSlicer 0x101f4eae3 Slic3r::GUI::BoostThreadWorker::run() + 163
4 PrusaSlicer 0x1021183e8 boost::(anonymous namespace)::thread_proxy(void*) + 136
5 libsystem_pthread.dylib 0x7ff809084259 _pthread_start + 125
6 libsystem_pthread.dylib 0x7ff80907fc7b thread_start + 15

Thread 3:: slic3r_tbb_7
0 libsystem_kernel.dylib 0x7ff80904553e semaphore_wait_trap + 10
1 PrusaSlicer 0x1038440d8 tbb::detail::r1::rml::private_worker::run() + 232
2 PrusaSlicer 0x103843fe9 tbb::detail::r1::rml::private_worker::thread_routine(void*) + 9
3 libsystem_pthread.dylib 0x7ff809084259 _pthread_start + 125
4 libsystem_pthread.dylib 0x7ff80907fc7b thread_start + 15

Thread 4:: slic3r_tbb_2
0 libsystem_kernel.dylib 0x7ff80904553e semaphore_wait_trap + 10
1 PrusaSlicer 0x1038440d8 tbb::detail::r1::rml::private_worker::run() + 232
2 PrusaSlicer 0x103843fe9 tbb::detail::r1::rml::private_worker::thread_routine(void*) + 9
3 libsystem_pthread.dylib 0x7ff809084259 _pthread_start + 125
4 libsystem_pthread.dylib 0x7ff80907fc7b thread_start + 15

Thread 5:: slic3r_tbb_1
0 libsystem_kernel.dylib 0x7ff80904553e semaphore_wait_trap + 10
1 PrusaSlicer 0x1038440d8 tbb::detail::r1::rml::private_worker::run() + 232
2 PrusaSlicer 0x103843fe9 tbb::detail::r1::rml::private_worker::thread_routine(void*) + 9
3 libsystem_pthread.dylib 0x7ff809084259 _pthread_start + 125
4 libsystem_pthread.dylib 0x7ff80907fc7b thread_start + 15

Thread 6:: slic3r_tbb_3
0 libsystem_kernel.dylib 0x7ff80904553e semaphore_wait_trap + 10
1 PrusaSlicer 0x1038440d8 tbb::detail::r1::rml::private_worker::run() + 232
2 PrusaSlicer 0x103843fe9 tbb::detail::r1::rml::private_worker::thread_routine(void*) + 9
3 libsystem_pthread.dylib 0x7ff809084259 _pthread_start + 125
4 libsystem_pthread.dylib 0x7ff80907fc7b thread_start + 15

Thread 7:: slic3r_tbb_4
0 libsystem_kernel.dylib 0x7ff80904553e semaphore_wait_trap + 10
1 PrusaSlicer 0x1038440d8 tbb::detail::r1::rml::private_worker::run() + 232
2 PrusaSlicer 0x103843fe9 tbb::detail::r1::rml::private_worker::thread_routine(void*) + 9
3 libsystem_pthread.dylib 0x7ff809084259 _pthread_start + 125
4 libsystem_pthread.dylib 0x7ff80907fc7b thread_start + 15

Thread 8:: slic3r_tbb_6
0 libsystem_kernel.dylib 0x7ff80904553e semaphore_wait_trap + 10
1 PrusaSlicer 0x1038440d8 tbb::detail::r1::rml::private_worker::run() + 232
2 PrusaSlicer 0x103843fe9 tbb::detail::r1::rml::private_worker::thread_routine(void*) + 9
3 libsystem_pthread.dylib 0x7ff809084259 _pthread_start + 125
4 libsystem_pthread.dylib 0x7ff80907fc7b thread_start + 15

Thread 9:: slic3r_tbb_5
0 libsystem_kernel.dylib 0x7ff80904553e semaphore_wait_trap + 10
1 PrusaSlicer 0x1038440d8 tbb::detail::r1::rml::private_worker::run() + 232
2 PrusaSlicer 0x103843fe9 tbb::detail::r1::rml::private_worker::thread_routine(void*) + 9
3 libsystem_pthread.dylib 0x7ff809084259 _pthread_start + 125
4 libsystem_pthread.dylib 0x7ff80907fc7b thread_start + 15

Thread 10 Crashed:: slic3r_BgSlcPcs
0 PrusaSlicer 0x1016c1222 Slic3r::FFFTreeSupport::generate_support_areas(Slic3r::Print&, Slic3r::BuildVolume const&, std::__1::vector<unsigned long, std::__1::allocator > const&, std::__1::function<void ()>) + 5858
1 PrusaSlicer 0x1016bf89e Slic3r::fff_tree_support_generate(Slic3r::PrintObject&, std::__1::function<void ()>) + 302
2 PrusaSlicer 0x1015d288f Slic3r::PrintObject::_generate_support_material() + 79
3 PrusaSlicer 0x1015d275e Slic3r::PrintObject::generate_support_material() + 366
4 PrusaSlicer 0x101557938 Slic3r::Print::process() + 632
5 PrusaSlicer 0x101ad49ce Slic3r::BackgroundSlicingProcess::process_fff() + 46
6 PrusaSlicer 0x101ad74fa Slic3r::BackgroundSlicingProcess::call_process(std::exception_ptr&) + 42
7 PrusaSlicer 0x101ad71ce Slic3r::BackgroundSlicingProcess::thread_proc() + 286
8 PrusaSlicer 0x101ad8e42 boost::detail::thread_dataSlic3r::BackgroundSlicingProcess::start()::$_2::run() + 18
9 PrusaSlicer 0x1021183e8 boost::(anonymous namespace)::thread_proxy(void*) + 136
10 libsystem_pthread.dylib 0x7ff809084259 _pthread_start + 125
11 libsystem_pthread.dylib 0x7ff80907fc7b thread_start + 15

Thread 11:
0 libsystem_pthread.dylib 0x7ff80907fc58 start_wqthread + 0

Thread 12:
0 libsystem_pthread.dylib 0x7ff80907fc58 start_wqthread + 0

Thread 10 crashed with X86 Thread State (64-bit):
rax: 0x00000000000445bf rbx: 0x0000000000000003 rcx: 0x0000000000000000 rdx: 0x0000000000000000
rdi: 0x0000000000000001 rsi: 0x0000000000000003 rbp: 0x000070000e2a27e0 rsp: 0x000070000e2a1a20
r8: 0x0000000000000000 r9: 0x0000000000000001 r10: 0x00007fe445a00000 r11: 0x00000000fffffe00
r12: 0x00007fe4932a32b0 r13: 0x0000000000000002 r14: 0x00000000000445c0 r15: 0x0000000000030d40
rip: 0x00000001016c1222 rfl: 0x0000000000010246 cr2: 0x0000000101681fb0

Logical CPU: 2
Error Code: 0x00000000
Trap Number: 0

Thread 10 instruction stream:
05 a9 8a 70 02 66 0f 2e-85 c8 fe ff ff 49 8d 75 ...p.f.......I.u
01 0f 97 85 80 f4 ff ff-f2 0f 10 85 90 fe ff ff ................
b9 ff ff ff 3f f2 0f 10-0d f1 62 72 02 66 0f 2e ....?.....br.f..
c8 76 27 48 89 f3 e8 bb-5c 70 02 48 89 de 0f 57 .v'H....\p.H...W
c9 f2 0f 2a 8d dc fc ff-ff f2 0f 59 c8 f2 0f 2c ...*.......Y...,
c1 89 c1 c1 e9 1f 01 c1-d1 f9 41 8d 44 0e ff 99 ..........A.D...
[f7]f9 45 01 ed 44 39 e8-44 0f 4d e8 48 8b 85 a8 ..E..D9.D.M.H... <==
f5 ff ff 48 8b 98 50 07-00 00 48 2b 98 48 07 00 ...H..P...H+.H..
00 48 c1 fb 03 49 89 f6-48 29 f3 48 8d bd 00 f5 .H...I..H).H....
ff ff 48 89 de e8 14 e8-00 00 48 c7 85 d0 fb ff ..H.......H.....
ff a7 ab aa 32 48 8d 85-d8 fb ff ff 48 c7 40 30 ....2H......H.@0
00 00 00 00 48 c7 40 28-00 00 00 00 48 c7 40 20 ....H.@(....H.@

Binary Images:
0x7ff809044000 - 0x7ff80907dff7 libsystem_kernel.dylib () /usr/lib/system/libsystem_kernel.dylib
0x7ff8090e0000 - 0x7ff809579fef com.apple.CoreFoundation (6.9) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7ff812a7c000 - 0x7ff812d73ffd com.apple.HIToolbox (2.1.1) <7bf47984-29cb-319e-a6da-0884d158f96a> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x7ff80c270000 - 0x7ff80d278ff2 com.apple.AppKit (6.9) <480a5693-f3e3-3b50-a1f3-169d12a12a0e> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x101096000 - 0x1045e5fff com.prusa3d.slic3r/ (PrusaSlicer PrusaSlicer-2.6.0-alpha3+MacOS-x64-202302031521) <1061a53d-110f-3a8f-b669-7e835d8e69df> /Applications/PrusaSlicer - testovaci.app/Contents/MacOS/PrusaSlicer
0x7ff808d4b000 - 0x7ff808ddfcaf dyld (
) <270c4224-a38f-3a22-9ba9-95968f487738> /usr/lib/dyld
0x7ff80907e000 - 0x7ff809089ff7 libsystem_pthread.dylib () <3bd433d4-15bd-3add-a612-95e4d3b20719> /usr/lib/system/libsystem_pthread.dylib
0x7ff808fd5000 - 0x7ff80902dff3 libc++.1.dylib (
) /usr/lib/libc++.1.dylib

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

                            VIRTUAL   REGION 

REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Accelerate framework 256K 2
Activity Tracing 256K 1
CG backing stores 15.5M 24
CG image 3372K 206
CG raster data 1368K 110
ColorSync 248K 29
CoreAnimation 310.8M 270
CoreGraphics 28K 6
CoreImage 32K 8
CoreServices 624K 2
CoreUI image data 5028K 41
Dispatch continuations 64.0M 1
Foundation 40K 2
Kernel Alloc Once 8K 1
MALLOC 502.7M 239
MALLOC guard page 32K 8
OpenGL GLSL 256K 3
STACK GUARD 56.0M 13
Stack 45.6M 15
VM_ALLOCATE 172.2M 378
__CTF 756 1
__DATA 29.6M 521
__DATA_CONST 35.8M 330
__DATA_DIRTY 1542K 184
__FONT_DATA 2352 1
__GLSLBUILTINS 5174K 1
__LINKEDIT 206.1M 4
__OBJC_RO 65.5M 1
__OBJC_RW 1989K 2
__TEXT 608.9M 542
dyld private memory 768K 3
mapped file 219.8M 43
shared memory 1452K 30
=========== ======= =======
TOTAL 2.3G 3022


Full Report

{"app_name":"PrusaSlicer","timestamp":"2023-02-09 15:42:49.00 +0100","app_version":"PrusaSlicer PrusaSlicer-2.6.0-alpha3+MacOS-x64-202302031521","slice_uuid":"1061a53d-110f-3a8f-b669-7e835d8e69df","build_version":"PrusaSlicer-2.6.0-alpha3+MacOS-x64-202302031521","platform":1,"bundleID":"com.prusa3d.slic3r/","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 13.2 (22D49)","roots_installed":0,"name":"PrusaSlicer","incident_id":"4DB079AC-C72A-4014-96D2-333CDA111F3D"}
{
"uptime" : 190000,
"procRole" : "Foreground",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "MacBookPro15,2",
"coalitionID" : 18930,
"osVersion" : {
"train" : "macOS 13.2",
"build" : "22D49",
"releaseType" : "User"
},
"captureTime" : "2023-02-09 15:42:47.4332 +0100",
"incident" : "4DB079AC-C72A-4014-96D2-333CDA111F3D",
"pid" : 35741,
"cpuType" : "X86-64",
"roots_installed" : 0,
"bug_type" : "309",
"procLaunch" : "2023-02-08 14:21:33.9927 +0100",
"procStartAbsTime" : 145684387737289,
"procExitAbsTime" : 190170650850649,
"procName" : "PrusaSlicer",
"procPath" : "/Applications/PrusaSlicer - testovaci.app/Contents/MacOS/PrusaSlicer",
"bundleInfo" : {"CFBundleShortVersionString":"PrusaSlicer PrusaSlicer-2.6.0-alpha3+MacOS-x64-202302031521","CFBundleVersion":"PrusaSlicer-2.6.0-alpha3+MacOS-x64-202302031521","CFBundleIdentifier":"com.prusa3d.slic3r/"},
"storeInfo" : {"deviceIdentifierForVendor":"841A0B80-0D37-5209-A2BE-B0BE5B6976F2","thirdParty":true},
"parentProc" : "launchd",
"parentPid" : 1,
"coalitionName" : "com.prusa3d.slic3r/",
"crashReporterKey" : "C7226EA6-CE1F-30C0-28C1-8D428740106B",
"throttleTimeout" : 2147483647,
"wakeTime" : 6188,
"bridgeVersion" : {"build":"20P3045","train":"7.2"},
"sleepWakeUUID" : "7C7398A6-99A8-4A81-B372-65987E28094D",
"sip" : "enabled",
"exception" : {"codes":"0x0000000000000001, 0x0000000000000000","rawCodes":[1,0],"type":"EXC_ARITHMETIC","signal":"SIGFPE"},
"termination" : {"flags":0,"code":8,"namespace":"SIGNAL","indicator":"Floating point exception: 8","byProc":"exc handler","byPid":35741},
"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" : 10,
"threads" : [{"id":1365860,"name":"slic3r_main","queue":"com.apple.main-thread","frames":[{"imageOffset":5570,"symbol":"mach_msg2_trap","symbolLocation":10,"imageIndex":0},{"imageOffset":62980,"symbol":"mach_msg2_internal","symbolLocation":82,"imageIndex":0},{"imageOffset":34357,"symbol":"mach_msg_overwrite","symbolLocation":723,"imageIndex":0},{"imageOffset":6312,"symbol":"mach_msg","symbolLocation":19,"imageIndex":0},{"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":194406,"symbol":"RunCurrentEventLoopInMode","symbolLocation":292,"imageIndex":2},{"imageOffset":193910,"symbol":"ReceiveNextEventCommon","symbolLocation":679,"imageIndex":2},{"imageOffset":193203,"symbol":"_BlockUntilNextEventMatchingListInModeWithFilter","symbolLocation":70,"imageIndex":2},{"imageOffset":254611,"symbol":"_DPSNextEvent","symbolLocation":909,"imageIndex":3},{"imageOffset":250132,"symbol":"-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]","symbolLocation":1219,"imageIndex":3},{"imageOffset":194391,"symbol":"-[NSApplication run]","symbolLocation":586,"imageIndex":3},{"imageOffset":45476474,"symbol":"wxGUIEventLoop::OSXDoRun()","symbolLocation":186,"imageIndex":4},{"imageOffset":46439709,"symbol":"wxCFEventLoop::DoRun()","symbolLocation":29,"imageIndex":4},{"imageOffset":45877077,"symbol":"wxEventLoopBase::Run()","symbolLocation":85,"imageIndex":4},{"imageOffset":45712548,"symbol":"wxAppConsoleBase::MainLoop()","symbolLocation":116,"imageIndex":4},{"imageOffset":45213642,"symbol":"wxApp::OnRun()","symbolLocation":26,"imageIndex":4},{"imageOffset":46079481,"symbol":"wxEntry(int&, wchar_t**)","symbolLocation":73,"imageIndex":4},{"imageOffset":12614076,"symbol":"Slic3r::GUI::GUI_Run(Slic3r::GUI::GUI_InitParams&)","symbolLocation":236,"imageIndex":4},{"imageOffset":68215,"symbol":"Slic3r::CLI::run(int, char**)","symbolLocation":21159,"imageIndex":4},{"imageOffset":88560,"symbol":"main","symbolLocation":352,"imageIndex":4},{"imageOffset":25360,"symbol":"start","symbolLocation":2432,"imageIndex":5}]},{"id":1365956,"name":"com.apple.NSEventThread","frames":[{"imageOffset":5570,"symbol":"mach_msg2_trap","symbolLocation":10,"imageIndex":0},{"imageOffset":62980,"symbol":"mach_msg2_internal","symbolLocation":82,"imageIndex":0},{"imageOffset":34357,"symbol":"mach_msg_overwrite","symbolLocation":723,"imageIndex":0},{"imageOffset":6312,"symbol":"mach_msg","symbolLocation":19,"imageIndex":0},{"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":1700137,"symbol":"_NSEventThread","symbolLocation":132,"imageIndex":3},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":6},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":6}]},{"id":1365985,"frames":[{"imageOffset":16666,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":26593,"symbol":"_pthread_cond_wait","symbolLocation":1243,"imageIndex":6},{"imageOffset":48178,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&)","symbolLocation":18,"imageIndex":7},{"imageOffset":15436515,"symbol":"Slic3r::GUI::BoostThreadWorker::run()","symbolLocation":163,"imageIndex":4},{"imageOffset":17310696,"symbol":"boost::(anonymous namespace)::thread_proxy(void*)","symbolLocation":136,"imageIndex":4},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":6},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":6}]},{"id":1366179,"name":"slic3r_tbb_7","frames":[{"imageOffset":5438,"symbol":"semaphore_wait_trap","symbolLocation":10,"imageIndex":0},{"imageOffset":41607384,"symbol":"tbb::detail::r1::rml::private_worker::run()","symbolLocation":232,"imageIndex":4},{"imageOffset":41607145,"symbol":"tbb::detail::r1::rml::private_worker::thread_routine(void*)","symbolLocation":9,"imageIndex":4},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":6},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":6}]},{"id":1366180,"name":"slic3r_tbb_2","frames":[{"imageOffset":5438,"symbol":"semaphore_wait_trap","symbolLocation":10,"imageIndex":0},{"imageOffset":41607384,"symbol":"tbb::detail::r1::rml::private_worker::run()","symbolLocation":232,"imageIndex":4},{"imageOffset":41607145,"symbol":"tbb::detail::r1::rml::private_worker::thread_routine(void*)","symbolLocation":9,"imageIndex":4},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":6},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":6}]},{"id":1366181,"name":"slic3r_tbb_1","frames":[{"imageOffset":5438,"symbol":"semaphore_wait_trap","symbolLocation":10,"imageIndex":0},{"imageOffset":41607384,"symbol":"tbb::detail::r1::rml::private_worker::run()","symbolLocation":232,"imageIndex":4},{"imageOffset":41607145,"symbol":"tbb::detail::r1::rml::private_worker::thread_routine(void*)","symbolLocation":9,"imageIndex":4},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":6},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":6}]},{"id":1366182,"name":"slic3r_tbb_3","frames":[{"imageOffset":5438,"symbol":"semaphore_wait_trap","symbolLocation":10,"imageIndex":0},{"imageOffset":41607384,"symbol":"tbb::detail::r1::rml::private_worker::run()","symbolLocation":232,"imageIndex":4},{"imageOffset":41607145,"symbol":"tbb::detail::r1::rml::private_worker::thread_routine(void*)","symbolLocation":9,"imageIndex":4},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":6},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":6}]},{"id":1366183,"name":"slic3r_tbb_4","frames":[{"imageOffset":5438,"symbol":"semaphore_wait_trap","symbolLocation":10,"imageIndex":0},{"imageOffset":41607384,"symbol":"tbb::detail::r1::rml::private_worker::run()","symbolLocation":232,"imageIndex":4},{"imageOffset":41607145,"symbol":"tbb::detail::r1::rml::private_worker::thread_routine(void*)","symbolLocation":9,"imageIndex":4},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":6},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":6}]},{"id":1366184,"name":"slic3r_tbb_6","frames":[{"imageOffset":5438,"symbol":"semaphore_wait_trap","symbolLocation":10,"imageIndex":0},{"imageOffset":41607384,"symbol":"tbb::detail::r1::rml::private_worker::run()","symbolLocation":232,"imageIndex":4},{"imageOffset":41607145,"symbol":"tbb::detail::r1::rml::private_worker::thread_routine(void*)","symbolLocation":9,"imageIndex":4},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":6},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":6}]},{"id":1366185,"name":"slic3r_tbb_5","frames":[{"imageOffset":5438,"symbol":"semaphore_wait_trap","symbolLocation":10,"imageIndex":0},{"imageOffset":41607384,"symbol":"tbb::detail::r1::rml::private_worker::run()","symbolLocation":232,"imageIndex":4},{"imageOffset":41607145,"symbol":"tbb::detail::r1::rml::private_worker::thread_routine(void*)","symbolLocation":9,"imageIndex":4},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":6},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":6}]},{"triggered":true,"id":1366817,"instructionState":{"instructionStream":{"bytes":[5,169,138,112,2,102,15,46,133,200,254,255,255,73,141,117,1,15,151,133,128,244,255,255,242,15,16,133,144,254,255,255,185,255,255,255,63,242,15,16,13,241,98,114,2,102,15,46,200,118,39,72,137,243,232,187,92,112,2,72,137,222,15,87,201,242,15,42,141,220,252,255,255,242,15,89,200,242,15,44,193,137,193,193,233,31,1,193,209,249,65,141,68,14,255,153,247,249,69,1,237,68,57,232,68,15,77,232,72,139,133,168,245,255,255,72,139,152,80,7,0,0,72,43,152,72,7,0,0,72,193,251,3,73,137,246,72,41,243,72,141,189,0,245,255,255,72,137,222,232,20,232,0,0,72,199,133,208,251,255,255,167,171,170,50,72,141,133,216,251,255,255,72,199,64,48,0,0,0,0,72,199,64,40,0,0,0,0,72,199,64,32],"offset":96}},"name":"slic3r_BgSlcPcs","threadState":{"r13":{"value":2},"rax":{"value":279999},"rflags":{"value":66118},"cpu":{"value":2},"r14":{"value":280000},"rsi":{"value":3},"r8":{"value":0},"cr2":{"value":4318568368},"rdx":{"value":0},"r10":{"value":140618397384704},"r9":{"value":1},"r15":{"value":200000},"rbx":{"value":3},"trap":{"value":0},"err":{"value":0},"r11":{"value":4294966784},"rip":{"value":4318827042,"matchesCrashFrame":1},"rbp":{"value":123145539954656},"rsp":{"value":123145539951136},"r12":{"value":140619698287280},"rcx":{"value":0},"flavor":"x86_THREAD_STATE","rdi":{"value":1}},"frames":[{"imageOffset":6468130,"symbol":"Slic3r::FFFTreeSupport::generate_support_areas(Slic3r::Print&, Slic3r::BuildVolume const&, std::__1::vector<unsigned long, std::__1::allocator > const&, std::__1::function<void ()>)","symbolLocation":5858,"imageIndex":4},{"imageOffset":6461598,"symbol":"Slic3r::fff_tree_support_generate(Slic3r::PrintObject&, std::__1::function<void ()>)","symbolLocation":302,"imageIndex":4},{"imageOffset":5490831,"symbol":"Slic3r::PrintObject::_generate_support_material()","symbolLocation":79,"imageIndex":4},{"imageOffset":5490526,"symbol":"Slic3r::PrintObject::generate_support_material()","symbolLocation":366,"imageIndex":4},{"imageOffset":4987192,"symbol":"Slic3r::Print::process()","symbolLocation":632,"imageIndex":4},{"imageOffset":10742222,"symbol":"Slic3r::BackgroundSlicingProcess::process_fff()","symbolLocation":46,"imageIndex":4},{"imageOffset":10753274,"symbol":"Slic3r::BackgroundSlicingProcess::call_process(std::exception_ptr&)","symbolLocation":42,"imageIndex":4},{"imageOffset":10752462,"symbol":"Slic3r::BackgroundSlicingProcess::thread_proc()","symbolLocation":286,"imageIndex":4},{"imageOffset":10759746,"symbol":"boost::detail::thread_dataSlic3r::BackgroundSlicingProcess::start()::$_2::run()","symbolLocation":18,"imageIndex":4},{"imageOffset":17310696,"symbol":"boost::(anonymous namespace)::thread_proxy(void*)","symbolLocation":136,"imageIndex":4},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":6},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":6}]},{"id":1863431,"frames":[{"imageOffset":7256,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":6}]},{"id":1863432,"frames":[{"imageOffset":7256,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":6}]}],
"usedImages" : [
{
"source" : "P",
"arch" : "x86_64",
"base" : 140703279890432,
"size" : 237560,
"uuid" : "ca136b67-0559-3f19-8b7e-9b80438090b6",
"path" : "/usr/lib/system/libsystem_kernel.dylib",
"name" : "libsystem_kernel.dylib"
},
{
"source" : "P",
"arch" : "x86_64h",
"base" : 140703280529408,
"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" : 140703441600512,
"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" : 140703332499456,
"CFBundleShortVersionString" : "6.9",
"CFBundleIdentifier" : "com.apple.AppKit",
"size" : 16814067,
"uuid" : "480a5693-f3e3-3b50-a1f3-169d12a12a0e",
"path" : "/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit",
"name" : "AppKit",
"CFBundleVersion" : "2299.40.116"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 4312358912,
"CFBundleShortVersionString" : "PrusaSlicer PrusaSlicer-2.6.0-alpha3+MacOS-x64-202302031521",
"CFBundleIdentifier" : "com.prusa3d.slic3r/",
"size" : 55902208,
"uuid" : "1061a53d-110f-3a8f-b669-7e835d8e69df",
"path" : "/Applications/PrusaSlicer - testovaci.app/Contents/MacOS/PrusaSlicer",
"name" : "PrusaSlicer",
"CFBundleVersion" : "PrusaSlicer-2.6.0-alpha3+MacOS-x64-202302031521"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 140703276773376,
"size" : 609456,
"uuid" : "270c4224-a38f-3a22-9ba9-95968f487738",
"path" : "/usr/lib/dyld",
"name" : "dyld"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 140703280128000,
"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" : 140703279435776,
"size" : 364532,
"uuid" : "b8339fb2-cbae-3d84-b080-bd19ddb2981c",
"path" : "/usr/lib/libc++.1.dylib",
"name" : "libc++.1.dylib"
}
],
"sharedCache" : {
"base" : 140703276167168,
"size" : 21474836480,
"uuid" : "61138b36-7859-3add-9c47-7e7cd2a358d0"
},
"vmSummary" : "ReadOnly portion of Libraries: Total=815.1M resident=0K(0%) swapped_out_or_unallocated=815.1M(100%)\nWritable regions: Total=1.1G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.1G(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nAccelerate framework 256K 2 \nActivity Tracing 256K 1 \nCG backing stores 15.5M 24 \nCG image 3372K 206 \nCG raster data 1368K 110 \nColorSync 248K 29 \nCoreAnimation 310.8M 270 \nCoreGraphics 28K 6 \nCoreImage 32K 8 \nCoreServices 624K 2 \nCoreUI image data 5028K 41 \nDispatch continuations 64.0M 1 \nFoundation 40K 2 \nKernel Alloc Once 8K 1 \nMALLOC 502.7M 239 \nMALLOC guard page 32K 8 \nOpenGL GLSL 256K 3 \nSTACK GUARD 56.0M 13 \nStack 45.6M 15 \nVM_ALLOCATE 172.2M 378 \n__CTF 756 1 \n__DATA 29.6M 521 \n__DATA_CONST 35.8M 330 \n__DATA_DIRTY 1542K 184 \n__FONT_DATA 2352 1 \n__GLSLBUILTINS 5174K 1 \n__LINKEDIT 206.1M 4 \n__OBJC_RO 65.5M 1 \n__OBJC_RW 1989K 2 \n__TEXT 608.9M 542 \ndyld private memory 768K 3 \nmapped file 219.8M 43 \nshared memory 1452K 30 \n=========== ======= ======= \nTOTAL 2.3G 3022 \n",
"legacyInfo" : {
"threadTriggered" : {
"name" : "slic3r_BgSlcPcs"
}
},
"trialInfo" : {
"rollouts" : [
{
"rolloutId" : "60f8ddccefea4203d95cbeef",
"factorPackIds" : {

  },
  "deploymentId" : 240000022
},
{
  "rolloutId" : "60186475825c62000ccf5450",
  "factorPackIds" : {

  },
  "deploymentId" : 240000026
}

],
"experiments" : [

]
}
}

Model: MacBookPro15,2, BootROM 1916.80.2.0.0 (iBridge: 20.16.3045.0.0,0), 4 processors, Quad-Core Intel Core i5, 2,3 GHz, 8 GB, SMC
Graphics: Intel Iris Plus Graphics 655, Intel Iris Plus Graphics 655, Built-In
Memory Module: BANK 0/ChannelA-DIMM0, 4 GB, LPDDR3, 2133 MHz, SK Hynix, H9CCNNNBJTALAR-NVD
Memory Module: BANK 2/ChannelB-DIMM0, 4 GB, LPDDR3, 2133 MHz, SK Hynix, H9CCNNNBJTALAR-NVD
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x7BF), wl0: Dec 1 2022 17:15:41 version 9.30.489.6.32.5.85 FWID 01-c30a5043
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: USB3.0 5K Graphic Docking, Ethernet, en5
Network Service: Wi-Fi, AirPort, en0
USB Device: USB3.0 Hub
USB Device: USB5734
USB Device: USB3.1 Hub
USB Device: USB3.0 5K Graphic Docking
USB Device: USB31Bus
USB Device: USB2.0 Hub
USB Device: Dell KB216 Wired Keyboard
USB Device: USB2734
USB Device: Hub Controller
USB Device: USB2.1 Hub
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., 47.5
Thunderbolt Bus: MacBook Pro, Apple Inc., 47.5

Checklist of files included above

  • Project file
  • Screenshot

Version of PrusaSlicer

in report

Operating system

MacOS 13.2 Ventura

Printer model

my version of 3D printer - not rellevant

@bubnikv
Copy link
Collaborator

bubnikv commented Feb 9, 2023

Division by zero in Organic supports
FFFTreeSupport::generate_support_areas()

@kubispe1
Copy link
Collaborator

Potentially duplicate: #9555

@lukasmatena
Copy link
Collaborator

Should be fixed in 2.6.0-alpha4. Please retest and let us know if problems persist. Closing.

@jirka-malvin
Copy link
Author

jirka-malvin commented Feb 23, 2023 via email

@lukasmatena
Copy link
Collaborator

@jirka-malvin Thanks for the offer. At this point, it might be enough to provide a project file (3mf) that suffers from this problem. Could you please post it here?

@bubnikv
Copy link
Collaborator

bubnikv commented Mar 3, 2023

@jirka-malvin Thanks for the offer. At this point, it might be enough to provide a project file (3mf) that suffers from this problem. Could you please post it here?

@jirka-malvin
Copy link
Author

medieval_Revised.3mf.zip

enclosed ... Jiri

@lukasmatena
Copy link
Collaborator

We are unable to reproduce the problem in 2.6.0-alpha4.

@jirka-malvin
Copy link
Author

jirka-malvin commented Mar 6, 2023 via email

@lukasmatena
Copy link
Collaborator

@jirka-malvin I just tried to recompile 2.6.0-alpha4 in Debug mode and found a failling assert, which may lead us to the cause of the problem. Could you please try to disable Print Settings -> Layer and Perimeters -> Avoid crossing perimeters and let us know if the crash still occurs? Thanks.

By the way, your model is hideously broken. I would assume that fixing it will make things better. That's of course not an excuse, PrusaSlicer should not crash on it. I just wouldn't be surprised if the slicing was still wrong even if the crash is fixed.

@jirka-malvin
Copy link
Author

jirka-malvin commented Mar 6, 2023 via email

@kubispe1 kubispe1 added the OSX label Apr 13, 2023
@kubispe1
Copy link
Collaborator

I probably detect the issue. I used @jirka-malvin 's model and turn on Organic supports. Then I can reproduce crash for my Mac and even for Win. Issue is in 2.6.0a4, 2.6.0a6, 2.6.0a6+73(actual master)

  • My feeling is that model has quite a lot of open edges (I am not able to fix it in Netfabb) with combination support_material_treshold = 90°
  • I think, deeper investigation is required. Can I ask you @lukasmatena to check it?
    3mf: medieval_Revised_Fail.zip

@lukasmatena
Copy link
Collaborator

@kubispe1 Thanks, this helped. It seems related to #10158.

@kubispe1
Copy link
Collaborator

Ok fine, issue is selected for development:
SPE-1658

lukasmatena pushed a commit that referenced this issue May 13, 2023
Reworked (again!) connecting of islands into a Z-graph.
Implemented various heuristics to handle self-intersecting and
mutually intersecting ExPolygons on the same layer.
@kubispe1
Copy link
Collaborator

"This crash should be fixed with PS 2.6.0-beta1. If any issues persist, please let us know. Thank you.

@jirka-malvin
Copy link
Author

I confirm, that it was fixed and tested in 2.6.0 - beta 2. Everything is working now.

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

No branches or pull requests

4 participants