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

PrusaSlicer crashes on MacOS when attempting to upload gcode to printer (2.9.0-beta1) #13750

Closed
2 tasks
pipcorona opened this issue Dec 13, 2024 · 10 comments
Closed
2 tasks

Comments

@pipcorona
Copy link

Description of the bug

When trying to upload gcode to a physical printer, the application crashes. I can see a message that it is resolving the IP address, and once it resolves it crashes. I was able to export the gcode to my computer and then upload through the browser. I am attempting to upload to a Prusa XL.

Project file & How to reproduce

Slice a model, attempt to upload to physical printer. This is happening with multiple models.

Checklist of files included above

  • Project file
  • Screenshot

Version of PrusaSlicer

2.9.0-beta1

Operating system

15.2 (24C101)

Printer model

Prusa XL

@audiorazor
Copy link

Same issue here.

@pipcorona
Copy link
Author

I forgot to put I have confirmed that PrusaSlicer does have full local network access in the Privacy and Security Settings.

@JohnOCFII
Copy link

JohnOCFII commented Dec 14, 2024

Similar issue while attempting to send to a MK4S via PrusaConnect. Saving to GCODE locally on my Mac worked fine.

Steps to reproduce:

  • Slice file
  • Press Send to Connect
  • Select Printer -- Confirm
  • Boom!
PrusaSlicer
Version:   2.9.0-beta1
Build:     PrusaSlicer-2.9.0-beta1

Operating System:    Macintosh
System Architecture: 64 bit
System Version:      macOS Version 15.2 (Build 24C101)
Total RAM size [MB]: 34,360MB
OpenGL installation
GL version:   4.1.0 (4.1 Metal - 89.3)
Profile:      Core
Vendor:       Apple
Renderer:     Apple M1 Pro
GLSL version: 4.10.0
Textures compression:       Enabled
Mutisampling: Enabled (4 samples)
<details>
<summary>Installed extensions:</summary>
GL_APPLE_client_storage
GL_APPLE_container_object_shareable
GL_APPLE_flush_render
GL_APPLE_rgb_422
GL_APPLE_row_bytes
GL_APPLE_texture_range
GL_ARB_ES2_compatibility
GL_ARB_blend_func_extended
GL_ARB_draw_buffers_blend
GL_ARB_draw_indirect
GL_ARB_explicit_attrib_location
GL_ARB_gpu_shader5
GL_ARB_gpu_shader_fp64
GL_ARB_instanced_arrays
GL_ARB_internalformat_query
GL_ARB_occlusion_query2
GL_ARB_sample_shading
GL_ARB_sampler_objects
GL_ARB_separate_shader_objects
GL_ARB_shader_bit_encoding
GL_ARB_shader_subroutine
GL_ARB_shading_language_include
GL_ARB_tessellation_shader
GL_ARB_texture_buffer_object_rgb32
GL_ARB_texture_cube_map_array
GL_ARB_texture_gather
GL_ARB_texture_query_lod
GL_ARB_texture_rgb10_a2ui
GL_ARB_texture_storage
GL_ARB_texture_swizzle
GL_ARB_timer_query
GL_ARB_transform_feedback2
GL_ARB_transform_feedback3
GL_ARB_vertex_attrib_64bit
GL_ARB_vertex_type_2_10_10_10_rev
GL_ARB_viewport_array
GL_EXT_debug_label
GL_EXT_debug_marker
GL_EXT_framebuffer_multisample_blit_scaled
GL_EXT_texture_compression_s3tc
GL_EXT_texture_filter_anisotropic
GL_EXT_texture_sRGB_decode
GL_NV_texture_barrier
</details>
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               PrusaSlicer [5008]
Path:                  /Applications/Other Apps/PrusaSlicer-2.9.0-b1.app/Contents/MacOS/PrusaSlicer
Identifier:            com.prusa3d.slic3r/
Version:               PrusaSlicer PrusaSlicer-2.9.0-beta1 (PrusaSlicer-2.9.0-beta1)
Code Type:             ARM-64 (Native)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2024-12-13 18:20:09.8942 -0600
OS Version:            macOS 15.2 (24C101)
Report Version:        12
Anonymous UUID:        E1A9B3E8-17C0-3635-633F-31D076EC9805

Sleep/Wake UUID:       00285188-CC3A-4EB4-85FE-F7BA32D43519

Time Awake Since Boot: 22000 seconds
Time Since Wake:       1383 seconds

System Integrity Protection: enabled

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

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000

Termination Reason:    Namespace SIGNAL, Code 6 Abort trap: 6
Terminating Process:   PrusaSlicer [5008]

Application Specific Information:
abort() called


Thread 0 Crashed:: slic3r_main Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	       0x18b39b720 __pthread_kill + 8
1   libsystem_pthread.dylib       	       0x18b3d3f70 pthread_kill + 288
2   libsystem_c.dylib             	       0x18b2e0908 abort + 128
3   libclang_rt.asan_osx_dynamic.dylib	       0x10e1ce1bc __sanitizer::Abort() + 68
4   libclang_rt.asan_osx_dynamic.dylib	       0x10e1cd884 __sanitizer::Die() + 212
5   libclang_rt.asan_osx_dynamic.dylib	       0x10e1b31c0 __asan::ScopedInErrorReport::~ScopedInErrorReport() + 1124
6   libclang_rt.asan_osx_dynamic.dylib	       0x10e1b2498 __asan::ReportGenericError(unsigned long, unsigned long, unsigned long, unsigned long, bool, unsigned long, unsigned int, bool) + 1436
7   libclang_rt.asan_osx_dynamic.dylib	       0x10e19f05c wrap_wcslen + 392
8   PrusaSlicer                   	       0x1082e6324 Slic3r::GUI::PrintHostQueueDialog::on_progress(Slic3r::GUI::PrintHostQueueDialog::Event&) + 2300
9   PrusaSlicer                   	       0x10a8f3054 wxEvtHandler::SearchDynamicEventTable(wxEvent&) + 360
10  PrusaSlicer                   	       0x10a8f2cc8 wxEvtHandler::ProcessEventLocally(wxEvent&) + 88
11  PrusaSlicer                   	       0x10a8f2a90 wxEvtHandler::ProcessEvent(wxEvent&) + 56
12  PrusaSlicer                   	       0x10a8f26d8 wxEvtHandler::ProcessPendingEvents() + 320
13  PrusaSlicer                   	       0x10a8322f4 wxAppConsoleBase::ProcessPendingEvents() + 252
14  PrusaSlicer                   	       0x10a8fc3e4 wxCFEventLoop::OSXCommonModeObserverCallBack(__CFRunLoopObserver*, int, void*) + 84
15  CoreFoundation                	       0x18b4bbbd8 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 36
16  CoreFoundation                	       0x18b4bbac4 __CFRunLoopDoObservers + 552
17  CoreFoundation                	       0x18b4bb0f4 __CFRunLoopRun + 788
18  CoreFoundation                	       0x18b4ba724 CFRunLoopRunSpecific + 588
19  HIToolbox                     	       0x196a12530 RunCurrentEventLoopInMode + 292
20  HIToolbox                     	       0x196a1817c ReceiveNextEventCommon + 216
21  HIToolbox                     	       0x196a18508 _BlockUntilNextEventMatchingListInModeWithFilter + 76
22  AppKit                        	       0x18f025034 _DPSNextEvent + 660
23  AppKit                        	       0x18f9892d4 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 688
24  AppKit                        	       0x18f018060 -[NSApplication run] + 480
25  PrusaSlicer                   	       0x10a7f9068 wxGUIEventLoop::OSXDoRun() + 140
26  PrusaSlicer                   	       0x10a8fcdb8 wxCFEventLoop::DoRun() + 40
27  PrusaSlicer                   	       0x10a861658 wxEventLoopBase::Run() + 192
28  PrusaSlicer                   	       0x10a8316d8 wxAppConsoleBase::MainLoop() + 208
29  PrusaSlicer                   	       0x10a7b8e2c wxApp::OnRun() + 36
30  PrusaSlicer                   	       0x10a897e94 wxEntry(int&, wchar_t**) + 88
31  PrusaSlicer                   	       0x1078cd688 Slic3r::GUI::GUI_Run(Slic3r::GUI::GUI_InitParams&) + 700
32  PrusaSlicer                   	       0x104e6f384 Slic3r::CLI::run(int, char**) + 53740
33  PrusaSlicer                   	       0x104e860f0 main + 656
34  dyld                          	       0x18b054274 start + 2840

@pgkovakas
Copy link

slicer_crash.mov

Same crash on mac, MK4S HF 0.4 nozzle

@malcinator
Copy link

malcinator commented Dec 14, 2024

Same issue here only uploading to from MacOS 15.2 to Repetier-Server, worked as expected in the 2.9.0-alpha version.

@PGlyre
Copy link

PGlyre commented Dec 14, 2024

Same problem for me and I have Apple M1 with macOS 15.2
This problem was not present in the alpha version

@SachCZ
Copy link
Collaborator

SachCZ commented Dec 14, 2024

Hello, thank you for the report! There has been an issue during the software release on mac. We have accidentally released a testing version. We have fixed the situation just now. Please re-download the version from https://github.com/prusa3d/PrusaSlicer/releases/tag/version_2.9.0-beta1

To make absolutely sure it is the correct one:

  • the dmg size is 119.1 MB on disk and 114 MB on github
  • the sha256 of the correct dmg file is aef88582fd5414cc34650bd2efcc131346f39d7556cd9988d5b2b3b057d75eb4 (for advanced users)

The incorrect version had around one hundred and seventy four MB (I am intentionally not putting the number here for anyone just skimming through).
We are very sorry for the trouble caused.

@pipcorona
Copy link
Author

I can confirm the new release file solves the problem.

@Grifnz
Copy link

Grifnz commented Dec 16, 2024

The Beta1 of 2.9.0 is still crashing for me when it tries to login to my connect account.

@SachCZ
Copy link
Collaborator

SachCZ commented Dec 16, 2024

Hello @Grifnz, that is a different problem than described here in this issue.

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

8 participants