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.67k stars 1.93k forks source link

slicer GUI build not slicing on Mac OS (compilation issues) - crashes on gyroid infill #3182

Open Anmol6 opened 4 years ago

Anmol6 commented 4 years ago

Version

version_2.1.0-485-g050a9adf3

Operating system type + version

OS: Mac OS Mojave 10.14.6

Behavior

So I built the slicer for mac os following the instructions provided. When I click on the build/src/prusa-slicer file, the gui opens just fine. However, when I load any stl and try to slice it, I get a segmentation fault. Here's what the corresponding terminal shows

objc[3080]: Class FIFinderSyncExtensionHost is implemented in both /System/Library/PrivateFrameworks/FinderKit.framework/Versions/A/FinderKit (0x7fffad89d3d8) and /System/Library/PrivateFrameworks/FileProvider.framework/OverrideBundles/FinderSyncCollaborationFileProviderOverride.bundle/Contents/MacOS/FinderSyncCollaborationFileProviderOverride (0x1196ddf50). One of the two will be used. Which one is undefined.
Segmentation fault: 11
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

Would appreciate any help!

Is this a new feature request? No

lukasmatena commented 4 years ago

Could you try to run the executable with parameter --loglevel 9 to get more extensive log? Thanks.

norre-daroy commented 4 years ago

@Anmol6 I have the same issue . Please let me know if you have made some progress. Thanks

lukasmatena commented 4 years ago

@Anmol6 @norre-daroy Could either of you provide that log? Also try to go to Print Settings->Infill and choose different pattern than Gyroid (which is the default in our profiles), there was recently an issue with it.

lukasmatena commented 4 years ago

@Anmol6 @norre-daroy Could you please retest with latest master 32d794756ee2e7d43bafd07180e3e6f05e000265 ?

A serious bug has been fixed with dd59945098fbf55eb45e30d67471f8f265895a65, there is a chance it was a cause of your crashes as well.

norre-daroy commented 4 years ago

@lukasmatena I tried to build it again with the latest master 32d7947 changes and I got these errors Screen Shot 2019-11-15 at 2 45 12 PM

This is the git log Screen Shot 2019-11-15 at 2 45 48 PM

lukasmatena commented 4 years ago

@norre-daroy What you posted is just a report that an error appeared at some point before. You must upscroll to see the actual error message. The "expected unqualified-id" sounds serious, but I cannot see where exactly it comes from (could be the Config.cpp or anything included by it).

The commit builds fine on my Ubuntu 16.04, but the master branch is under rapid development and it is possible that some recent change broke build on OSX (or at least under some circumstances). I need to see the whole make output to be able to guess what may be wrong and if it is at your end or in the codebase.

norre-daroy commented 4 years ago

@lukasmatena Sorry, I upscroll and pasted the message

Scanning dependencies of target imgui Scanning dependencies of target glew Scanning dependencies of target encoding-check Scanning dependencies of target expat [ 1%] Building CXX object src/build-utils/CMakeFiles/encoding-check.dir/encoding-check.cpp.o [ 1%] Building C object CMakeFiles/glew.dir/src/glew/src/glew.c.o [ 2%] Building C object CMakeFiles/expat.dir/src/expat/xmlparse.c.o [ 3%] Building CXX object src/imgui/CMakeFiles/imgui.dir/imgui.cpp.o [ 3%] Linking CXX executable encoding-check [ 3%] Built target encoding-check [ 3%] Building C object CMakeFiles/expat.dir/src/expat/xmlrole.c.o Scanning dependencies of target admesh [ 3%] Building CXX object src/admesh/CMakeFiles/admesh.dir/connect.cpp.o [ 3%] Building C object CMakeFiles/expat.dir/src/expat/xmltok.c.o [ 4%] Linking C static library libexpat.a [ 4%] Built target expat Scanning dependencies of target avrdude-conf-gen [ 4%] Building CXX object src/avrdude/CMakeFiles/avrdude-conf-gen.dir/conf-generate.cpp.o /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/admesh/connect.cpp:219:16: warning: unused variable 'temp' [-Wunused-variable] HashEdge temp = link->next; ^ [ 5%] Linking CXX executable avrdude-conf-gen [ 5%] Built target avrdude-conf-gen [ 5%] Building CXX object src/imgui/CMakeFiles/imgui.dir/imgui_demo.cpp.o Scanning dependencies of target nowide [ 5%] Building CXX object src/boost/CMakeFiles/nowide.dir/nowide/iostream.cpp.o 1 warning generated. [ 5%] Building CXX object src/admesh/CMakeFiles/admesh.dir/normals.cpp.o [ 5%] Linking CXX static library libnowide.a /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libnowide.a(iostream.cpp.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libnowide.a(iostream.cpp.o) has no symbols warning: /Library/Developer/CommandLineTools/usr/bin/ranlib: warning for library: libnowide.a the table of contents is empty (no object file members in the library define global symbols) [ 5%] Built target nowide [ 5%] Building CXX object src/imgui/CMakeFiles/imgui.dir/imgui_draw.cpp.o Scanning dependencies of target clipper [ 6%] Building CXX object src/clipper/CMakeFiles/clipper.dir/clipper.cpp.o /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/admesh/normals.cpp:195:21: warning: unused variable 'temp' [-Wunused-variable] stl_normal temp = head->next; // Delete this facet fro... ^ 1 warning generated. [ 7%] Building CXX object src/admesh/CMakeFiles/admesh.dir/shared.cpp.o [ 8%] Building CXX object src/imgui/CMakeFiles/imgui.dir/imgui_widgets.cpp.o [ 8%] Building CXX object src/admesh/CMakeFiles/admesh.dir/stl_io.cpp.o [ 8%] Building CXX object src/clipper/CMakeFiles/clipper.dir/clipper_z.cpp.o [ 8%] Building CXX object src/admesh/CMakeFiles/admesh.dir/stlinit.cpp.o [ 8%] Linking CXX static library libimgui.a [ 8%] Built target imgui [ 9%] Building CXX object src/admesh/CMakeFiles/admesh.dir/util.cpp.o In file included from /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/admesh/stlinit.cpp:31: In file included from /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/deps/build/destdir/usr/local/include/boost/detail/endian.hpp:9: /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/deps/build/destdir/usr/local/include/boost/predef/detail/endiancompat.h:11:9: warning: The use of BOOST_ENDIAN and BOOST_BYTE_ORDER is deprecated. Please include <boost/predef/other/endian.h> and use BOOSTENDIAN_BYTE instead [-W#pragma-messages]

pragma message("The use of BOOST_*_ENDIAN and BOOST_BYTE_ORDER is depre...

    ^

1 warning generated. Scanning dependencies of target miniz_static [ 9%] Building C object src/miniz/CMakeFiles/miniz_static.dir/miniz.c.o [ 9%] Linking CXX static library libclipper.a [ 9%] Built target clipper Scanning dependencies of target glu-libtess [ 9%] Building C object src/glu-libtess/CMakeFiles/glu-libtess.dir/src/dict.c.o [ 9%] Linking CXX static library libadmesh.a [ 9%] Building C object src/glu-libtess/CMakeFiles/glu-libtess.dir/src/geom.c.o [ 9%] Built target admesh [ 10%] Building C object src/glu-libtess/CMakeFiles/glu-libtess.dir/src/memalloc.c.o Scanning dependencies of target polypartition [ 10%] Building C object src/glu-libtess/CMakeFiles/glu-libtess.dir/src/mesh.c.o [ 11%] Building CXX object src/polypartition/CMakeFiles/polypartition.dir/polypartition.cpp.o [ 11%] Building C object src/glu-libtess/CMakeFiles/glu-libtess.dir/src/normal.c.o [ 12%] Building C object src/glu-libtess/CMakeFiles/glu-libtess.dir/src/priorityq.c.o [ 12%] Building C object src/glu-libtess/CMakeFiles/glu-libtess.dir/src/render.c.o [ 12%] Building C object src/glu-libtess/CMakeFiles/glu-libtess.dir/src/sweep.c.o [ 13%] Building C object src/glu-libtess/CMakeFiles/glu-libtess.dir/src/tess.c.o [ 13%] Building C object src/glu-libtess/CMakeFiles/glu-libtess.dir/src/tessmono.c.o [ 13%] Linking C static library libglu-libtess.a [ 13%] Built target glu-libtess Scanning dependencies of target poly2tri [ 14%] Building CXX object src/poly2tri/CMakeFiles/poly2tri.dir/common/shapes.cc.o [ 15%] Linking C static library libminiz_static.a [ 15%] Built target miniz_static [ 15%] Building CXX object src/poly2tri/CMakeFiles/poly2tri.dir/sweep/advancing_front.cc.o Scanning dependencies of target libnest2d [ 15%] Linking CXX static library libpolypartition.a [ 15%] Building CXX object src/poly2tri/CMakeFiles/poly2tri.dir/sweep/cdt.cc.o [ 15%] Built target polypartition Scanning dependencies of target Shiny [ 15%] Building C object src/Shiny/CMakeFiles/Shiny.dir/ShinyManager.c.o [ 16%] Building C object src/Shiny/CMakeFiles/Shiny.dir/ShinyNode.c.o [ 16%] Building C object src/Shiny/CMakeFiles/Shiny.dir/ShinyNodePool.c.o [ 16%] Building C object src/Shiny/CMakeFiles/Shiny.dir/ShinyNodeState.c.o [ 17%] Building C object src/Shiny/CMakeFiles/Shiny.dir/ShinyOutput.c.o [ 17%] Building C object src/Shiny/CMakeFiles/Shiny.dir/ShinyTools.c.o [ 17%] Building C object src/Shiny/CMakeFiles/Shiny.dir/ShinyZone.c.o [ 18%] Linking C static library libShiny.a /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libShiny.a(ShinyManager.c.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libShiny.a(ShinyNode.c.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libShiny.a(ShinyNodePool.c.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libShiny.a(ShinyNodeState.c.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libShiny.a(ShinyOutput.c.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libShiny.a(ShinyTools.c.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libShiny.a(ShinyZone.c.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libShiny.a(ShinyManager.c.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libShiny.a(ShinyNode.c.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libShiny.a(ShinyNodePool.c.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libShiny.a(ShinyNodeState.c.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libShiny.a(ShinyOutput.c.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libShiny.a(ShinyTools.c.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libShiny.a(ShinyZone.c.o) has no symbols warning: /Library/Developer/CommandLineTools/usr/bin/ranlib: warning for library: libShiny.a the table of contents is empty (no object file members in the library define global symbols) [ 18%] Built target Shiny [ 19%] Building CXX object src/poly2tri/CMakeFiles/poly2tri.dir/sweep/sweep.cc.o Scanning dependencies of target timeutils_tests [ 19%] Building CXX object tests/timeutils/CMakeFiles/timeutils_tests.dir/timeutils_tests_main.cpp.o [ 19%] Building CXX object src/poly2tri/CMakeFiles/poly2tri.dir/sweep/sweep_context.cc.o [ 19%] Building CXX object src/libnest2d/CMakeFiles/libnest2d.dir/src/libnest2d.cpp.o [ 19%] Linking CXX static library libpoly2tri.a [ 19%] Built target poly2tri [ 19%] Building CXX object tests/timeutils/CMakeFiles/timeutils_tests.dir///src/libslic3r/Time.cpp.o Scanning dependencies of target encoding-check-libslic3r_gui [ 19%] Checking source files encodings for target libslic3r_gui [ 19%] Built target encoding-check-libslic3r_gui Scanning dependencies of target encoding-check-avrdude-slic3r [ 20%] Checking source files encodings for target avrdude-slic3r [ 20%] Built target encoding-check-avrdude-slic3r Scanning dependencies of target encoding-check-avrdude [ 20%] Checking source files encodings for target avrdude [ 20%] Built target encoding-check-avrdude Scanning dependencies of target encoding-check-semver [ 20%] Checking source files encodings for target semver [ 20%] Built target encoding-check-semver Scanning dependencies of target encoding-check-libslic3r [ 20%] Checking source files encodings for target libslic3r In file included from /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libnest2d/src/libnest2d.cpp:1: In file included from /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libnest2d/include/libnest2d/libnest2d.hpp:16: /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libnest2d/include/libnest2d/nester.hpp:835:47: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] if(infl > 0) std::for_each(from, to, [this, infl](Item& item) { ^ /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libnest2d/src/libnest2d.cpp:8:61: note: in instantiation of function template specialization 'libnest2d::_Nester<libnest2d::placers::_NofitPolyPlacer<ClipperLib::Polygon, libnest2d::_Box >, libnest2d::selections::_FirstFitSelection

::execute<std::1::wrap_iter<libnest2d::_Item > ' requested here template std::size_t _Nester<NfpPlacer, FirstFitSelection>::execute( ^ In file included from /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libnest2d/src/libnest2d.cpp:1: In file included from /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libnest2d/include/libnest2d/libnest2d.hpp:16: /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libnest2d/include/libnest2d/nester.hpp:835:47: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] if(infl > 0) std::for_each(from, to, [this, infl](Item& item) { ^ /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libnest2d/src/libnest2d.cpp:10:68: note: in instantiation of function template specialization 'libnest2d::_Nester<libnest2d::placers::_BottomLeftPlacer, libnest2d::selections::_FirstFitSelection ::execute<std::1::wrap_iter<libnest2d::_Item > ' requested here template std::size_t _Nester<BottomLeftPlacer, FirstFitSelection>::execute( ^ [ 20%] Built target encoding-check-libslic3r Scanning dependencies of target gen_conf_h [ 20%] Generating avrdude-slic3r.conf.h [ 20%] Built target gen_conf_h Scanning dependencies of target global-encoding-check [ 20%] Built target global-encoding-check Scanning dependencies of target avrdude [ 20%] Building C object src/avrdude/CMakeFiles/avrdude.dir/arduino.c.o [ 21%] Building C object src/avrdude/CMakeFiles/avrdude.dir/avr.c.o [ 21%] Building C object src/avrdude/CMakeFiles/avrdude.dir/avrpart.c.o [ 21%] Building C object src/avrdude/CMakeFiles/avrdude.dir/avr910.c.o [ 22%] Building C object src/avrdude/CMakeFiles/avrdude.dir/bitbang.c.o [ 22%] Building C object src/avrdude/CMakeFiles/avrdude.dir/buspirate.c.o [ 22%] Building C object src/avrdude/CMakeFiles/avrdude.dir/butterfly.c.o [ 23%] Building C object src/avrdude/CMakeFiles/avrdude.dir/config.c.o [ 23%] Building C object src/avrdude/CMakeFiles/avrdude.dir/config_gram.c.o [ 23%] Building C object src/avrdude/CMakeFiles/avrdude.dir/crc16.c.o [ 24%] Building C object src/avrdude/CMakeFiles/avrdude.dir/fileio.c.o [ 24%] Building C object src/avrdude/CMakeFiles/avrdude.dir/lexer.c.o [ 24%] Building C object src/avrdude/CMakeFiles/avrdude.dir/linuxgpio.c.o [ 25%] Building C object src/avrdude/CMakeFiles/avrdude.dir/lists.c.o [ 25%] Building C object src/avrdude/CMakeFiles/avrdude.dir/pgm.c.o [ 25%] Building C object src/avrdude/CMakeFiles/avrdude.dir/pgm_type.c.o [ 26%] Building C object src/avrdude/CMakeFiles/avrdude.dir/pickit2.c.o [ 26%] Building C object src/avrdude/CMakeFiles/avrdude.dir/pindefs.c.o [ 26%] Building C object src/avrdude/CMakeFiles/avrdude.dir/safemode.c.o [ 27%] Building C object src/avrdude/CMakeFiles/avrdude.dir/ser_avrdoper.c.o [ 27%] Building C object src/avrdude/CMakeFiles/avrdude.dir/serbb_posix.c.o [ 27%] Building C object src/avrdude/CMakeFiles/avrdude.dir/serbb_win32.c.o [ 28%] Building C object src/avrdude/CMakeFiles/avrdude.dir/ser_posix.c.o [ 28%] Building C object src/avrdude/CMakeFiles/avrdude.dir/ser_win32.c.o [ 28%] Building C object src/avrdude/CMakeFiles/avrdude.dir/stk500.c.o [ 29%] Building C object src/avrdude/CMakeFiles/avrdude.dir/stk500generic.c.o [ 29%] Building C object src/avrdude/CMakeFiles/avrdude.dir/stk500v2.c.o [ 29%] Building C object src/avrdude/CMakeFiles/avrdude.dir/term.c.o [ 30%] Building C object src/avrdude/CMakeFiles/avrdude.dir/update.c.o [ 30%] Building C object src/avrdude/CMakeFiles/avrdude.dir/wiring.c.o [ 30%] Building C object src/avrdude/CMakeFiles/avrdude.dir/main.c.o [ 31%] Building CXX object src/avrdude/CMakeFiles/avrdude.dir/avrdude-slic3r.cpp.o [ 31%] Linking CXX static library libavrdude.a /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libavrdude.a(ser_avrdoper.c.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libavrdude.a(serbb_win32.c.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libavrdude.a(ser_win32.c.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libavrdude.a(ser_avrdoper.c.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libavrdude.a(serbb_win32.c.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libavrdude.a(ser_win32.c.o) has no symbols [ 31%] Built target avrdude Scanning dependencies of target semver [ 32%] Building C object src/semver/CMakeFiles/semver.dir/semver.c.o [ 32%] Linking C static library libsemver.a [ 32%] Built target semver Scanning dependencies of target avrdude-slic3r [ 32%] Building CXX object src/avrdude/CMakeFiles/avrdude-slic3r.dir/main-standalone.cpp.o [ 32%] Linking CXX executable avrdude-slic3r [ 32%] Built target avrdude-slic3r 2 warnings generated. [ 33%] Linking CXX static library liblibnest2d.a [ 33%] Built target libnest2d Scanning dependencies of target libnest2d_tests Scanning dependencies of target libslic3r [ 33%] Building CXX object tests/libnest2d/CMakeFiles/libnest2d_tests.dir/libnest2d_tests_main.cpp.o [ 34%] Linking CXX executable timeutils_tests [ 34%] Built target timeutils_tests [ 34%] Building CXX object tests/libnest2d/CMakeFiles/libnest2d_tests.dir/printer_parts.cpp.o [ 34%] Building CXX object src/libslic3r/CMakeFiles/libslic3r.dir/pchheader.cpp.o In file included from /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/tests/libnest2d/libnest2d_tests_main.cpp:5: In file included from /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libnest2d/include/libnest2d/libnest2d.hpp:16: /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libnest2d/include/libnest2d/nester.hpp:835:47: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] if(infl > 0) std::for_each(from, to, [this, infl](Item& item) { ^ /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/tests/libnest2d/libnest2d_tests_main.cpp:375:13: note: in instantiation of function template specialization 'libnest2d::_Nester<libnest2d::placers::_BottomLeftPlacer, libnest2d::selections::_FirstFitSelection ::execute<std::1::wrap_iter<libnest2d::_Rectangle > >' requested here arrange.execute(rects.begin(), rects.end()); ^ [ 34%] Building CXX object src/libslic3r/CMakeFiles/libslic3r.dir/BoundingBox.cpp.o In file included from /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/BoundingBox.cpp:1: In file included from /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/BoundingBox.hpp:6: In file included from /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/Polygon.hpp:9: /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/Polyline.hpp:68:19: warning: 'lines' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Lines lines() const; ^ /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/MultiPoint.hpp:40:19: note: overridden virtual function is here virtual Lines lines() const = 0; ^ In file included from /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/BoundingBox.cpp:1: In file included from /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/BoundingBox.hpp:6: /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/Polygon.hpp:42:19: warning: 'lines' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Lines lines() const; ^ /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/MultiPoint.hpp:40:19: note: overridden virtual function is here virtual Lines lines() const = 0; ^ In file included from /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/BoundingBox.cpp:1: In file included from /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/BoundingBox.hpp:4: In file included from /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/libslic3r.h:7: /Library/Developer/CommandLineTools/usr/include/c++/v1/memory:1880:58: warning: destructor called on non-final 'Slic3r::Polyline' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] _LIBCPP_INLINE_VISIBILITY void destroy(pointer p) {p->~_Tp();} ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/memory:1742:18: note: in instantiation of member function 'std::1::allocator::destroy' requested here {a.destroy(p);} ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/memory:1595:14: note: in instantiation of function template specialization 'std::1::allocator_traits<std::1::allocator ::destroy' requested here {destroy(has_destroy<allocator_type, _Tp>(), a, p);} ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/split_buffer:296:25: note: in instantiation of function template specialization 'std::__1::allocator_traits<std::1::allocator ::destroy' requested here alloc_traits::destroy(alloc(), to_raw_pointer(--_end)); ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/split_buffer:141:10: note: in instantiation of member function 'std::1::split_buffer<Slic3r::Polyline, std::1::allocator &>::destruct_at_end' requested here {destruct_at_end(new_last, false_type());} ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/split_buffer:88:10: note: in instantiation of member function 'std::1::split_buffer<Slic3r::Polyline, std::1::allocator &>::destruct_at_end' requested here {destruct_at_end(begin_);} ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/__split_buffer:341:5: note: in instantiation of member function 'std::1::split_buffer<Slic3r::Polyline, std::1::allocator &>::clear' requested here clear(); ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/vector:2027:57: note: in instantiation of member function 'std::1::__split_buffer<Slic3r::Polyline, std::1::allocator &>::~split_buffer' requested here __split_buffer<value_type, allocator_type&> v(recommend(... ^ /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/Polyline.hpp:128:9: note: in instantiation of function template specialization 'std::1::vector<Slic3r::Polyline, std::1::allocator ::insert<std::1::wrap_iter<const Slic3r::Polyline *> >' requested here dst.insert(dst.end(), src.begin(), src.end()); ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/memory:1880:64: note: qualify call to silence this warning _LIBCPP_INLINE_VISIBILITY void destroy(pointer p) {p->~_Tp();} ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/memory:1880:58: warning: destructor called on non-final 'Slic3r::Polygon' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] _LIBCPP_INLINE_VISIBILITY void destroy(pointer p) {p->~_Tp();} ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/memory:1742:18: note: in instantiation of member function 'std::1::allocator::destroy' requested here {a.destroy(p);} ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/memory:1595:14: note: in instantiation of function template specialization 'std::1::allocator_traits<std::1::allocator ::destroy' requested here {destroy(has_destroy<allocator_type, _Tp*>(), a, p);} ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/vector:421:25: note: in instantiation of function template specialization 'std::__1::allocator_traits<std::1::allocator ::destroy' requested here alloc_traits::destroy(__alloc(), _VSTD::to_raw_pointer(--s... ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/vector:364:29: note: in instantiation of member function 'std::1::vector_base<Slic3r::Polygon, std::1::allocator >::destruct_at_end' requested here void clear() _NOEXCEPT {destruct_at_end(begin_);} ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/vector:458:9: note: in instantiation of member function 'std::1::vector_base<Slic3r::Polygon, std::1::allocator >::clear' requested here clear(); ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/iterator:1427:74: note: in instantiation of member function 'std::1::vector_base<Slic3r::Polygon, std::1::allocator >::~vector_base' requested here template <class _Tp, class _Alloc> friend class _LIBCPP_TEMPLATE_VIS vector; ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/memory:1880:64: note: qualify call to silence this warning _LIBCPP_INLINE_VISIBILITY void destroy(pointer p) {p->~_Tp();} ^ 4 warnings generated. [ 35%] Building CXX object src/libslic3r/CMakeFiles/libslic3r.dir/BridgeDetector.cpp.o In file included from /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/pchheader.cpp:1: In file included from /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/pchheader.hpp:110: In file included from /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/BoundingBox.hpp:6: In file included from /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/Polygon.hpp:9: /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/Polyline.hpp:68:19: warning: 'lines' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Lines lines() const; ^ /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/MultiPoint.hpp:40:19: note: overridden virtual function is here virtual Lines lines() const = 0; ^ In file included from /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/pchheader.cpp:1: In file included from /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/pchheader.hpp:110: In file included from /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/BoundingBox.hpp:6: /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/Polygon.hpp:42:19: warning: 'lines' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Lines lines() const; ^ /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/MultiPoint.hpp:40:19: note: overridden virtual function is here virtual Lines lines() const = 0; ^ In file included from /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/BridgeDetector.cpp:1: In file included from /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/BridgeDetector.hpp:5: In file included from /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/ExPolygon.hpp:5: In file included from /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/Polygon.hpp:9: /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/Polyline.hpp:68:19: warning: 'lines' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Lines lines() const; ^ /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/MultiPoint.hpp:40:19: note: overridden virtual function is here virtual Lines lines() const = 0; ^ In file included from /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/BridgeDetector.cpp:1: In file included from /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/BridgeDetector.hpp:5: In file included from /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/ExPolygon.hpp:5: /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/Polygon.hpp:42:19: warning: 'lines' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Lines lines() const; ^ /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/MultiPoint.hpp:40:19: note: overridden virtual function is here virtual Lines lines() const = 0; ^ In file included from /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/BridgeDetector.cpp:1: In file included from /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/BridgeDetector.hpp:4: In file included from /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/libslic3r.h:7: /Library/Developer/CommandLineTools/usr/include/c++/v1/memory:1880:58: warning: destructor called on non-final 'Slic3r::Polyline' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] _LIBCPP_INLINE_VISIBILITY void destroy(pointer p) {p->~_Tp();} ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/memory:1742:18: note: in instantiation of member function 'std::1::allocator::destroy' requested here {a.destroy(p);} ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/memory:1595:14: note: in instantiation of function template specialization 'std::1::allocator_traits<std::1::allocator ::destroy' requested here {destroy(has_destroy<allocator_type, _Tp>(), a, p);} ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/split_buffer:296:25: note: in instantiation of function template specialization 'std::__1::allocator_traits<std::1::allocator ::destroy' requested here alloc_traits::destroy(alloc(), to_raw_pointer(--_end)); ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/split_buffer:141:10: note: in instantiation of member function 'std::1::split_buffer<Slic3r::Polyline, std::1::allocator &>::destruct_at_end' requested here {destruct_at_end(new_last, false_type());} ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/split_buffer:88:10: note: in instantiation of member function 'std::1::split_buffer<Slic3r::Polyline, std::1::allocator &>::destruct_at_end' requested here {destruct_at_end(begin_);} ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/__split_buffer:341:5: note: in instantiation of member function 'std::1::split_buffer<Slic3r::Polyline, std::1::allocator &>::clear' requested here clear(); ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/vector:2027:57: note: in instantiation of member function 'std::1::__split_buffer<Slic3r::Polyline, std::1::allocator &>::~split_buffer' requested here __split_buffer<value_type, allocator_type&> v(recommend(... ^ /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/Polyline.hpp:128:9: note: in instantiation of function template specialization 'std::1::vector<Slic3r::Polyline, std::1::allocator ::insert<std::1::__wrap_iter<const Slic3r::Polyline > >' requested here dst.insert(dst.end(), src.begin(), src.end()); ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/memory:1880:64: note: qualify call to silence this warning _LIBCPP_INLINE_VISIBILITY void destroy(pointer p) {p->~_Tp();} ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/memory:1880:58: warning: destructor called on non-final 'Slic3r::Polygon' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] _LIBCPP_INLINE_VISIBILITY void destroy(pointer p) {p->~_Tp();} ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/memory:1742:18: note: in instantiation of member function 'std::1::allocator::destroy' requested here {a.destroy(p);} ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/memory:1595:14: note: in instantiation of function template specialization 'std::1::allocator_traits<std::1::allocator ::destroy' requested here {destroy(has_destroy<allocator_type, _Tp>(), a, p);} ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/vector:421:25: note: in instantiation of function template specialization 'std::1::allocator_traits<std::1::allocator ::destroy' requested here alloc_traits::destroy(alloc(), _VSTD::to_raw_pointer(--s... ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/vector:364:29: note: in instantiation of member function 'std::1::vector_base<Slic3r::Polygon, std::1::allocator >::destruct_at_end' requested here void clear() _NOEXCEPT {destruct_at_end(begin_);} ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/vector:458:9: note: in instantiation of member function 'std::1::vector_base<Slic3r::Polygon, std::1::allocator >::clear' requested here clear(); ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/iterator:1427:74: note: in instantiation of member function 'std::1::vector_base<Slic3r::Polygon, std::1::allocator >::~vector_base' requested here template <class _Tp, class _Alloc> friend class _LIBCPP_TEMPLATE_VIS vector; ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/memory:1880:64: note: qualify call to silence this warning _LIBCPP_INLINE_VISIBILITY void destroy(pointer p) {p->~_Tp();} ^ In file included from /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/pchheader.cpp:1: In file included from /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/pchheader.hpp:25: In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/algorithm:644: /Library/Developer/CommandLineTools/usr/include/c++/v1/memory:1880:58: warning: destructor called on non-final 'Slic3r::Polyline' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] _LIBCPP_INLINE_VISIBILITY void destroy(pointer p) {p->~_Tp();} ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/memory:1742:18: note: in instantiation of member function 'std::1::allocator::destroy' requested here {a.destroy(p);} ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/memory:1595:14: note: in instantiation of function template specialization 'std::1::allocator_traits<std::1::allocator ::destroy' requested here {destroy(__has_destroy<allocator_type, _Tp>(), a, p);} ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/split_buffer:296:25: note: in instantiation of function template specialization 'std::__1::allocator_traits<std::1::allocator ::destroy' requested here alloc_traits::destroy(alloc(), to_raw_pointer(--_end)); ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/split_buffer:141:10: note: in instantiation of member function 'std::1::split_buffer<Slic3r::Polyline, std::1::allocator &>::destruct_at_end' requested here {destruct_at_end(new_last, false_type());} ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/split_buffer:88:10: note: in instantiation of member function 'std::1::split_buffer<Slic3r::Polyline, std::1::allocator &>::destruct_at_end' requested here {destruct_at_end(begin_);} ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/__split_buffer:341:5: note: in instantiation of member function 'std::1::split_buffer<Slic3r::Polyline, std::1::allocator &>::clear' requested here clear(); ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/vector:2027:57: note: in instantiation of member function 'std::1::__split_buffer<Slic3r::Polyline, std::1::allocator &>::~split_buffer' requested here __split_buffer<value_type, allocator_type&> v(recommend(... ^ /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/Polyline.hpp:128:9: note: in instantiation of function template specialization 'std::1::vector<Slic3r::Polyline, std::1::allocator ::insert<std::1::wrap_iter<const Slic3r::Polyline *> >' requested here dst.insert(dst.end(), src.begin(), src.end()); ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/memory:1880:64: note: qualify call to silence this warning _LIBCPP_INLINE_VISIBILITY void destroy(pointer p) {p->~_Tp();} ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/memory:1880:58: warning: destructor called on non-final 'Slic3r::Polygon' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] _LIBCPP_INLINE_VISIBILITY void destroy(pointer p) {p->~_Tp();} ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/memory:1742:18: note: in instantiation of member function 'std::1::allocator::destroy' requested here {a.destroy(p);} ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/memory:1595:14: note: in instantiation of function template specialization 'std::1::allocator_traits<std::1::allocator ::destroy' requested here {destroy(has_destroy<allocator_type, _Tp*>(), a, p);} ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/vector:421:25: note: in instantiation of function template specialization 'std::__1::allocator_traits<std::1::allocator ::destroy' requested here alloc_traits::destroy(__alloc(), _VSTD::to_raw_pointer(--s... ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/vector:364:29: note: in instantiation of member function 'std::1::vector_base<Slic3r::Polygon, std::1::allocator >::destruct_at_end' requested here void clear() _NOEXCEPT {destruct_at_end(begin_);} ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/vector:458:9: note: in instantiation of member function 'std::1::vector_base<Slic3r::Polygon, std::1::allocator >::clear' requested here clear(); ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/iterator:1427:74: note: in instantiation of member function 'std::1::vector_base<Slic3r::Polygon, std::1::allocator >::~vector_base' requested here template <class _Tp, class _Alloc> friend class _LIBCPP_TEMPLATE_VIS vector; ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/memory:1880:64: note: qualify call to silence this warning _LIBCPP_INLINE_VISIBILITY void destroy(pointer p) {p->~_Tp();} ^ 4 warnings generated. [ 35%] Building CXX object src/libslic3r/CMakeFiles/libslic3r.dir/ClipperUtils.cpp.o 4 warnings generated. [ 35%] Building CXX object src/libslic3r/CMakeFiles/libslic3r.dir/Config.cpp.o In file included from /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/ClipperUtils.cpp:1: In file included from /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/ClipperUtils.hpp:6: In file included from /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/ExPolygon.hpp:5: In file included from /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/Polygon.hpp:9: /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/Polyline.hpp:68:19: warning: 'lines' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Lines lines() const; ^ /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/MultiPoint.hpp:40:19: note: overridden virtual function is here virtual Lines lines() const = 0; ^ In file included from /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/ClipperUtils.cpp:1: In file included from /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/ClipperUtils.hpp:6: In file included from /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/ExPolygon.hpp:5: /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/Polygon.hpp:42:19: warning: 'lines' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Lines lines() const; ^ /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/MultiPoint.hpp:40:19: note: overridden virtual function is here virtual Lines lines() const = 0; ^ In file included from /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/ClipperUtils.cpp:1: In file included from /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/ClipperUtils.hpp:4: In file included from /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/libslic3r.h:7: /Library/Developer/CommandLineTools/usr/include/c++/v1/memory:1880:58: warning: destructor called on non-final 'Slic3r::Polyline' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] _LIBCPP_INLINE_VISIBILITY void destroy(pointer p) {p->~_Tp();} ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/memory:1742:18: note: in instantiation of member function 'std::1::allocator::destroy' requested here {a.destroy(p);} ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/memory:1595:14: note: in instantiation of function template specialization 'std::1::allocator_traits<std::1::allocator ::destroy' requested here {destroy(has_destroy<allocator_type, _Tp>(), a, p);} ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/split_buffer:296:25: note: in instantiation of function template specialization 'std::__1::allocator_traits<std::1::allocator ::destroy' requested here alloc_traits::destroy(alloc(), to_raw_pointer(--_end)); ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/split_buffer:141:10: note: in instantiation of member function 'std::1::split_buffer<Slic3r::Polyline, std::1::allocator &>::destruct_at_end' requested here {destruct_at_end(new_last, false_type());} ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/split_buffer:88:10: note: in instantiation of member function 'std::1::split_buffer<Slic3r::Polyline, std::1::allocator &>::destruct_at_end' requested here {destruct_at_end(begin_);} ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/__split_buffer:341:5: note: in instantiation of member function 'std::1::split_buffer<Slic3r::Polyline, std::1::allocator &>::clear' requested here clear(); ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/vector:2027:57: note: in instantiation of member function 'std::1::__split_buffer<Slic3r::Polyline, std::1::allocator &>::~split_buffer' requested here __split_buffer<value_type, allocator_type&> v(recommend(... ^ /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/Polyline.hpp:128:9: note: in instantiation of function template specialization 'std::1::vector<Slic3r::Polyline, std::1::allocator ::insert<std::1::__wrap_iter<const Slic3r::Polyline > >' requested here dst.insert(dst.end(), src.begin(), src.end()); ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/memory:1880:64: note: qualify call to silence this warning _LIBCPP_INLINE_VISIBILITY void destroy(pointer p) {p->~_Tp();} ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/memory:1880:58: warning: destructor called on non-final 'Slic3r::Polygon' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] _LIBCPP_INLINE_VISIBILITY void destroy(pointer p) {p->~_Tp();} ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/memory:1742:18: note: in instantiation of member function 'std::1::allocator::destroy' requested here {a.destroy(p);} ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/memory:1595:14: note: in instantiation of function template specialization 'std::1::allocator_traits<std::1::allocator ::destroy' requested here {destroy(has_destroy<allocator_type, _Tp*>(), a, p);} ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/vector:421:25: note: in instantiation of function template specialization 'std::1::allocator_traits<std::1::allocator ::destroy' requested here alloc_traits::destroy(alloc(), _VSTD::to_raw_pointer(--s... ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/vector:364:29: note: in instantiation of member function 'std::1::vector_base<Slic3r::Polygon, std::1::allocator >::destruct_at_end' requested here void clear() _NOEXCEPT {destruct_at_end(begin_);} ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/vector:458:9: note: in instantiation of member function 'std::1::vector_base<Slic3r::Polygon, std::1::allocator >::clear' requested here clear(); ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/iterator:1427:74: note: in instantiation of member function 'std::1::vector_base<Slic3r::Polygon, std::1::allocator >::~vector_base' requested here template <class _Tp, class _Alloc> friend class _LIBCPP_TEMPLATE_VIS vector; ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/memory:1880:64: note: qualify call to silence this warning _LIBCPP_INLINE_VISIBILITY void destroy(pointer p) {__p->~_Tp();} ^ In file included from /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/Config.cpp:2: /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/Utils.hpp:197:17: error: expected a qualified name after 'typename' inline typename const CONTAINER_TYPE::value_type& prev_value_modulo(type... ^ /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/src/libslic3r/Utils.hpp:197:17: error: expected unqualified-id 2 errors generated. make[2]: [src/libslic3r/CMakeFiles/libslic3r.dir/Config.cpp.o] Error 1 make[2]: Waiting for unfinished jobs.... 4 warnings generated. make[1]: [src/libslic3r/CMakeFiles/libslic3r.dir/all] Error 2 make[1]: Waiting for unfinished jobs.... 1 warning generated. [ 36%] Linking CXX executable libnest2d_tests [ 36%] Built target libnest2d_tests [ 37%] Linking C static library libglew.a [ 37%] Built target glew make: *** [all] Error 2

lukasmatena commented 4 years ago

@norre-daroy Thanks, I tried to fix it with https://github.com/prusa3d/PrusaSlicer/commit/bbb519ad0eceba5a2a6812b853fa2192bd8c9594. Please, try that.

norre-daroy commented 4 years ago

@lukasmatena The fix bbb519a worked. But the slicer GUI still not slicing. Below is the log

Norres-MacBook-Air:build ninja.n$ /Users/ninja.n/WebDev/ORDSolutions/PrusaSlicer/build/src/prusa-slicer --loglevel 9 [2019-11-18 13:53:28.510074] [0x000000010eeee5c0] [info] Checking if indices need to be installed from resources... [2019-11-18 13:53:28.533695] [0x000000010eeee5c0] [trace] System language detected (user locales and such): en_CA [2019-11-18 13:53:28.545328] [0x000000010eeee5c0] [trace] Best translation language detected (may be different from user locales): en_GB [2019-11-18 13:53:28.545386] [0x000000010eeee5c0] [trace] Switching wxLocales to en_GB [2019-11-18 13:53:28.937743] [0x000000010eeee5c0] [debug] GLCanvas3D: Use Retina OpenGL: true [2019-11-18 13:53:28.937774] [0x000000010eeee5c0] [debug] GLCanvas3D: Use Retina OpenGL: true [2019-11-18 13:53:28.942486] [0x000000010eeee5c0] [info] Undo / Redo snapshot taken: New Project, Undo / Redo stack memory: 0MB Resident memory: 37MB; Peak memory usage: 37MB [2019-11-18 13:53:30.335665] [0x000000010eeee5c0] [debug] GLCanvas3D: Use Retina OpenGL: true [2019-11-18 13:53:30.335705] [0x000000010eeee5c0] [debug] GLCanvas3D: Use Retina OpenGL: true [2019-11-18 13:53:31.367768] [0x000000010eeee5c0] [debug] TriangleMesh::repair() started [2019-11-18 13:53:31.371182] [0x000000010eeee5c0] [debug] TriangleMesh::repair() finished [2019-11-18 13:53:31.371215] [0x000000010eeee5c0] [trace] TriangleMeshSlicer::require_shared_vertices - start [2019-11-18 13:53:31.371224] [0x000000010eeee5c0] [trace] TriangleMeshSlicer::require_shared_vertices - stl_generate_shared_vertices [2019-11-18 13:53:31.371560] [0x000000010eeee5c0] [trace] TriangleMeshSlicer::require_shared_vertices - end [2019-11-18 13:53:31.379499] [0x000000010eeee5c0] [debug] TriangleMesh::repair() started [2019-11-18 13:53:31.380024] [0x000000010eeee5c0] [debug] TriangleMesh::repair() finished [2019-11-18 13:53:31.380041] [0x000000010eeee5c0] [trace] TriangleMeshSlicer::require_shared_vertices - start [2019-11-18 13:53:31.380048] [0x000000010eeee5c0] [trace] TriangleMeshSlicer::require_shared_vertices - stl_generate_shared_vertices [2019-11-18 13:53:31.380065] [0x000000010eeee5c0] [trace] TriangleMeshSlicer::require_shared_vertices - end [2019-11-18 13:53:32.086635] [0x000000010eeee5c0] [info] Checking for cached configuration updates... [2019-11-18 13:53:32.095155] [0x000000010eeee5c0] [debug] Vendor: Prusa Research, version installed: 1.0.3, version cached: 1.0.4 [2019-11-18 13:53:32.097163] [0x000000010eeee5c0] [info] Downloaded index for PrusaResearch is the same as installed one, not offering an update. [2019-11-18 13:53:32.097286] [0x000000010eeee5c0] [info] No configuration updates available. [2019-11-18 13:53:32.147922] [0x000070000e74c000] [info] Downloading PrusaSlicer online version from: https://files.prusa3d.com/wp-content/uploads/repository/PrusaSlicer-settings-master/live/PrusaSlicer.version

< HTTP/1.1 200 OK < Server: nginx < Date: Mon, 18 Nov 2019 18:53:32 GMT < Content-Length: 6 < Connection: keep-alive < X-Accel-Version: 0.01 < Last-Modified: Mon, 18 Nov 2019 18:01:05 GMT < ETag: "6-597a2bb39439e" < Accept-Ranges: bytes < X-Powered-By: PleskLin <

< HTTP/1.1 200 OK < Server: nginx < Date: Mon, 18 Nov 2019 18:53:32 GMT < Content-Type: application/octet-stream < Content-Length: 5690 < Last-Modified: Mon, 18 Nov 2019 18:01:05 GMT < Connection: keep-alive < ETag: "5dd2dc61-163a" < X-Powered-By: PleskLin < Accept-Ranges: bytes <

< HTTP/1.1 200 OK < Server: nginx < Date: Mon, 18 Nov 2019 18:53:33 GMT < Content-Type: application/octet-stream < Content-Length: 124533 < Last-Modified: Mon, 18 Nov 2019 18:01:05 GMT < Connection: keep-alive < ETag: "5dd2dc61-1e675" < X-Powered-By: PleskLin < Accept-Ranges: bytes <

lukasmatena commented 4 years ago

@norre-daroy Thank you very much. The log indicates it crashed during infill generation, which may be a sign of more bugs in recently reworked gyroid infill calculation. You can try to verify that by turning the infill off (Print Settings->Infill density - set to 0%) or setting different infill than gyroid.

Could you please enclose a 3MF (File->Save As) so we can try to reproduce the issue here? (The 3MF contains the model and all config.) Thanks.

norre-daroy commented 4 years ago

@lukasmatena It didn't crash when I turned off the infill and changed the infill gyroid. I also enclosed the 3MF. However, I also noticed that it hangs when 'generating g-code' in the terminal

norre-ninja-prusaSlicer.3mf.zip

lukasmatena commented 4 years ago

@norre-daroy Thanks. It does not crash on my Ubuntu 16.04, but @FidelCapo managed to reproduce it on OSX. I enclose an ASAN report that he provided for reference.

Probably @bubnikv will be interested.

Note: it is necessary to turn on gyroid infill after loading the 3MF.

ASAN report ==55892==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x603000c80d60 at pc 0x00010fc5b88e bp 0x7000052d65f0 sp 0x7000052d65e8 READ of size 8 at 0x603000c80d60 thread T17 #0 0x10fc5b88d in Slic3r::mark_boundary_segments_touching_infill(std::__1::vector >, std::__1::allocator > > > const&, std::__1::vector >, std::__1::allocator > > >&, Slic3r::BoundingBox const&, std::__1::vector > const&, double, double)::Visitor::operator()(int, int) (PrusaSlicer:x86_64+0x10029888d) #1 0x10fc52c17 in void Slic3r::EdgeGrid::Grid::visit_cells_intersecting_line >, std::__1::allocator > > > const&, std::__1::vector >, std::__1::allocator > > >&, Slic3r::BoundingBox const&, std::__1::vector > const&, double, double)::Visitor>(Slic3r::Point, Slic3r::Point, Slic3r::mark_boundary_segments_touching_infill(std::__1::vector >, std::__1::allocator > > > const&, std::__1::vector >, std::__1::allocator > > >&, Slic3r::BoundingBox const&, std::__1::vector > const&, double, double)::Visitor&) const (PrusaSlicer:x86_64+0x10028fc17) #2 0x10fc52586 in Slic3r::mark_boundary_segments_touching_infill(std::__1::vector >, std::__1::allocator > > > const&, std::__1::vector >, std::__1::allocator > > >&, Slic3r::BoundingBox const&, std::__1::vector > const&, double, double) (PrusaSlicer:x86_64+0x10028f586) #3 0x10fc551e4 in Slic3r::Fill::connect_infill(std::__1::vector >&&, Slic3r::ExPolygon const&, std::__1::vector >&, Slic3r::FillParams const&) (PrusaSlicer:x86_64+0x1002921e4) #4 0x10fc6ba84 in Slic3r::FillGyroid::_fill_surface_single(Slic3r::FillParams const&, unsigned int, std::__1::pair const&, Slic3r::ExPolygon&, std::__1::vector >&) (PrusaSlicer:x86_64+0x1002a8a84) #5 0x10fc51125 in Slic3r::Fill::fill_surface(Slic3r::Surface const*, Slic3r::FillParams const&) (PrusaSlicer:x86_64+0x10028e125) #6 0x10fc45093 in Slic3r::Layer::make_fills() (PrusaSlicer:x86_64+0x100282093) #7 0x1103821ec in tbb::interface9::internal::start_for, Slic3r::PrintObject::infill()::$_3, tbb::auto_partitioner const>::execute() (PrusaSlicer:x86_64+0x1009bf1ec) #8 0x111a036a8 in tbb::internal::custom_scheduler::local_wait_for_all(tbb::task&, tbb::task*) (PrusaSlicer:x86_64+0x1020406a8) #9 0x1119f7059 in tbb::internal::arena::process(tbb::internal::generic_scheduler&) (PrusaSlicer:x86_64+0x102034059) #10 0x1119fe424 in tbb::internal::market::process(rml::job&) (PrusaSlicer:x86_64+0x10203b424) #11 0x1119ff437 in tbb::internal::rml::private_worker::run() (PrusaSlicer:x86_64+0x10203c437) #12 0x1119ff3d8 in tbb::internal::rml::private_worker::thread_routine(void*) (PrusaSlicer:x86_64+0x10203c3d8) #13 0x7fff73b2d2ea in _pthread_body (libsystem_pthread.dylib:x86_64+0x32ea) #14 0x7fff73b30248 in _pthread_start (libsystem_pthread.dylib:x86_64+0x6248) #15 0x7fff73b2c40c in thread_start (libsystem_pthread.dylib:x86_64+0x240c)