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

Slic3r crashes when using 'split' on Triffid Hunter's herringbone gears #2466

Closed
TTN- opened this Issue Dec 29, 2014 · 2 comments

Comments

Projects
None yet
2 participants
@TTN-

TTN- commented Dec 29, 2014

Slic3r version: 1.2.3-dev 13b4237
Perl v5.18.2
OS: Ubuntu, 14.04 64bit
STL file: http://www.thingiverse.com/download:49460

I add the gears to the plater, click 'split', and gives this message:
"The selected object couldn't be split because it contains only one part."
Clicking split again results in a segmentation fault.

The following procedure gives some error messages when run from a terminal:
Close and open slic3r again, re-add the part. Click split. Then click the object on the plater, and click split again.

This time it crashes, but leaves an error in the terminal:

(slic3r.pl:18774): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 17
(slic3r.pl:18774): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 17
(slic3r.pl:18774): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 17
Error in function split at src/libslic3r/TriangleMesh.cpp:253: split() requires repair()
     at /home/user/Scripts/Slic3r1.2.2-dev/lib/Slic3r/GUI/Plater.pm line 810.
    Slic3r::GUI::Plater::split_object(Slic3r::GUI::Plater=HASH(0x45bded0)) called at /home/user/Scripts/Slic3r1.2.2-dev/lib/Slic3r/GUI/Plater.pm line 236
    Slic3r::GUI::Plater::__ANON__(Slic3r::GUI::Plater=HASH(0x45bded0), Wx::CommandEvent=SCALAR(0x6d55b30)) called at ./slic3r.pl line 105
    eval {...} called at ./slic3r.pl line 105

Using 'split' on slic3r version 1.1.7 stable works fine with the stl in question.

@alexrj alexrj added this to the 1.2.4 milestone Dec 29, 2014

alexrj added a commit that referenced this issue Dec 30, 2014

Bugfix: early object destruction caused a segfault when splitting. Al…
…so fixed a memory leak and restore background processing when split only detected one part. #2466 #2398
@alexrj

This comment has been minimized.

Show comment
Hide comment
@alexrj

alexrj Dec 30, 2014

Member

Thank you @Laura3, I fixed this!

Member

alexrj commented Dec 30, 2014

Thank you @Laura3, I fixed this!

@TTN-

This comment has been minimized.

Show comment
Hide comment
@TTN-

TTN- Dec 30, 2014

Awesome thanks 👍 👍 👍 👍 👍

TTN- commented Dec 30, 2014

Awesome thanks 👍 👍 👍 👍 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment