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 with vase mode without G1 Z5 F5000 in start gcode #8150

Closed
1 of 2 tasks
7ocb opened this issue Apr 2, 2022 · 9 comments
Closed
1 of 2 tasks

Crash with vase mode without G1 Z5 F5000 in start gcode #8150

7ocb opened this issue Apr 2, 2022 · 9 comments

Comments

@7ocb
Copy link

7ocb commented Apr 2, 2022

Description of the bug

If custom start GCODE does not contain G1 Z5 F5000 ; lift nozzle, then slicer crashes trying to slice in vase mode:

(prusa-slicer:163690): Tracker-CRITICAL **: 18:57:08.173: tracker_sparql_connection_close: assertion 'TRACKER_IS_SPARQL_CONNECTION (connection)' failed

(prusa-slicer:163690): Gtk-CRITICAL **: 18:57:08.173: Could not init tracker3 search engine: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Tracker3.Miner.Files was not provided by any .service files

(prusa-slicer:163690): Tracker-CRITICAL **: 18:57:08.535: tracker_sparql_connection_close: assertion 'TRACKER_IS_SPARQL_CONNECTION (connection)' failed

(prusa-slicer:163690): Gtk-CRITICAL **: 18:57:08.535: Could not init tracker3 search engine: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Tracker3.Miner.Files was not provided by any .service files
/usr/include/c++/11.2.0/bits/stl_algo.h:3658: constexpr const _Tp& std::clamp(const _Tp&, const _Tp&, const _Tp&) [with _Tp = long unsigned int]: Assertion '!(__hi < __lo)' failed.
zsh: IOT instruction (core dumped)  prusa-slicer

Project file & How to reproduce

platers.zip

There are two plates, one is "working", which is working, and one is "crashing" which crashes slicer when trying to generate gcode.

The only difference is that "crashing" one does not have G1 Z5 F5000 ; lift nozzle in "printer settings -> custom gcode -> start gcode".

Checklist of files included above

  • Project file
  • Screenshot

Version of PrusaSlicer

2.4.1

Operating system

Linux elkbook 5.16.15-arch1-1 #1 SMP PREEMPT Thu, 17 Mar 2022 00:30:09 +0000 x86_64 GNU/Linux

Printer model

Ender 2

@combolek
Copy link
Contributor

combolek commented Apr 2, 2022

Does it happen with the pre-built AppImage? I cannot reproduce it with PrusaSlicer-2.4.1+linux-x64-GTK3-202203101056.AppImage or the latest master built from source:
image

@7ocb
Copy link
Author

7ocb commented Apr 3, 2022

@combolek

  1. My fault! I just named files wrong :(

Crashing one was named working. There is updated zip (with same platers but renamed):

platers-fixed.zip

  1. AppImage version does not crash, but instead seems to produce no traces:

2022-04-03--10-43-02

@combolek
Copy link
Contributor

combolek commented Apr 3, 2022

I can now reproduce your result with the AppImage but I think this is only an issue with the preview. If you export the G-code file, it seems fine. You can even reopen it in prusa-slicer to preview it.

Also, this issue seems to be fixed in the latest master.

@7ocb
Copy link
Author

7ocb commented Apr 3, 2022

@combolek you are right. I built the 2.5.0-alpha0 and it seem to generate traces.

@rtyr
Copy link
Collaborator

rtyr commented Apr 4, 2022

It is likely related to #8032, which is already fixed in the master.

@rtyr rtyr reopened this Apr 5, 2022
@rtyr
Copy link
Collaborator

rtyr commented Apr 5, 2022

We were not able to reproduce the crash on Linux with 2.4.1. We will be releasing 2.4.2-rc soon, which will hopefully fix your issue. It would be nice, if you could retest it again with rc and let us know.

@lukasmatena
Copy link
Collaborator

This should be fixed in the just released 2.4.2-rc1. Can you please confirm? Thanks.

@7ocb
Copy link
Author

7ocb commented Apr 6, 2022

@lukasmatena

I tried PrusaSlicer-2.4.2-rc1+linux-x64-GTK3-202204051358.AppImage and PrusaSlicer-2.4.2-rc1+linux-x64-GTK3-202204051358.tar.bz2 , both seem to behave as expected: no crash, traces created and visible in preview.

@rtyr
Copy link
Collaborator

rtyr commented Apr 6, 2022

Thanks. Closing.

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

5 participants