[SOLVED] FC compilation fails with OCCT 7.6.0 beta.

Having trouble installing or compiling FreeCAD? Get help here.
wmayer
Site Admin
Posts: 17521
Joined: Thu Feb 19, 2009 10:32 am

Re: [SOLVED] FC compilation fails with OCCT 7.6.0 beta.

Post by wmayer »

When running the FEM unit tests it throws this exception:
Unhandled std::exception caught in GUIApplication::notify.
The error message is: stoi
The Start button of the unit test dialog stays greyed out afterwards. I have to figure out by what this is caused.
wmayer
Site Admin
Posts: 17521
Joined: Thu Feb 19, 2009 10:32 am

Re: [SOLVED] FC compilation fails with OCCT 7.6.0 beta.

Post by wmayer »

wmayer wrote: Mon Oct 11, 2021 12:37 pm The error message is: stoi
Apparently this is caused by the netgen library. So, when switching off Netgen support everything works as expected.
user1234
Posts: 733
Joined: Mon Jul 11, 2016 5:08 pm

Re: FC compilation fails with OCCT 7.6.0 beta.

Post by user1234 »

I get a few minutes and tried to test the 0.20master. It compiles fine except the flat mesh.

Code: Select all

/home/user/Programs/FreeCAD/sourcecode/src/Mod/MeshPart/App/MeshFlattening.cpp: In constructor ‘FaceUnwrapper::FaceUnwrapper(const TopoDS_Face&)’:
/home/user/Programs/FreeCAD/sourcecode/src/Mod/MeshPart/App/MeshFlattening.cpp:147:64: error: ‘class Poly_Triangulation’ has no member named ‘UVNodes’; did you mean ‘UVNode’?
  147 |         const TColgp_Array1OfPnt2d &_uv_nodes = triangulation->UVNodes();
      |                                                                ^~~~~~~
      |                                                                UVNode
/home/user/Programs/FreeCAD/sourcecode/src/Mod/MeshPart/App/MeshFlattening.cpp:158:55: error: ‘class Poly_Triangulation’ has no member named ‘Nodes’; did you mean ‘Node’?
  158 |     const TColgp_Array1OfPnt &_nodes = triangulation->Nodes();
      |                                                       ^~~~~
      |                                                       Node
/home/user/Programs/FreeCAD/sourcecode/src/Mod/MeshPart/App/MeshFlattening.cpp:168:67: warning: ‘const Poly_Array1OfTriangle& Poly_Triangulation::Triangles() const’ is deprecated: Deprecated method, Triangle() should be used instead [-Wdeprecated-declarations]
  168 |     const Poly_Array1OfTriangle &_tris = triangulation->Triangles();
      |                                                                   ^
In file included from /home/user/Programs/FreeCAD/sourcecode/src/Mod/MeshPart/App/MeshFlattening.cpp:27:
/usr/local/include/opencascade/Poly_Triangulation.hxx:318:32: note: declared here
  318 |   const Poly_Array1OfTriangle& Triangles() const { return myTriangles; }
      |                                ^~~~~~~~~
make[2]: *** [src/Mod/MeshPart/App/CMakeFiles/flatmesh.dir/build.make:95: src/Mod/MeshPart/App/CMakeFiles/flatmesh.dir/MeshFlattening.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:3664: src/Mod/MeshPart/App/CMakeFiles/flatmesh.dir/all] Error 2
make: *** [Makefile:149: all] Error 2

note: BUILD_ENABLE_CXX_STD-STRINGS:INTERNAL=C++17

Code: Select all

OS: Debian GNU/Linux 11 (bullseye) (X-Cinnamon/lightdm-xsession)
Word size of FreeCAD: 64-bit
Version: 0.20.26075 (Git)
Build type: Debug
Branch: master
Hash: 2a6700deab657803f6cff87892d4fb290cec895e
Python version: 3.9.2
Qt version: 5.15.2
Coin version: 4.0.0
OCC version: 7.6.0.beta
Locale: English/United States (en_US)
Maybe related? https://tracker.dev.opencascade.org/view.php?id=32133

Greetings
user1234
wmayer
Site Admin
Posts: 17521
Joined: Thu Feb 19, 2009 10:32 am

Re: [SOLVED] FC compilation fails with OCCT 7.6.0 beta.

Post by wmayer »

I get a few minutes and tried to test the 0.20master. It compiles fine except the flat mesh.
I haven't enabled the flat mesh option. But it should be easy to port that code, too.

EDIT:
git commit 29408ee3d7
user1234
Posts: 733
Joined: Mon Jul 11, 2016 5:08 pm

Re: [SOLVED] FC compilation fails with OCCT 7.6.0 beta.

Post by user1234 »

I sound like a broken record, but as always many thanks! It compiles fine on Debian 11.

Greetings
user1234
Syres
Posts: 1254
Joined: Thu Aug 09, 2018 11:14 am

Re: [SOLVED] FC compilation fails with OCCT 7.6.0 beta.

Post by Syres »

user1234 wrote: ping
fcaduser wrote: ping
Could either/both please test a bug I might have found that doesn't appear in OCC7.3 but does in OCC7.6beta.

Steps are:

Open the attached file and change to the Surface Wb
Click the Filling... icon
Click on Line001.Edge1 and get a hard crash


Restart FreeCAD and repeats steps but click on Arc.Edge1 then Line001.Edge1 and finally Line002.Edge1 and click OK Surface004 created successfully.

OS: Linux Mint 19.3 (X-Cinnamon/cinnamon)
Word size of FreeCAD: 64-bit
Version: 0.20.26172 (Git)
Build type: Release
Branch: master
Hash: 890c40fcb66e47bd145999e7c3625644bff66a74
Python version: 3.6.9
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.6.0.beta
Locale: English/UnitedKingdom (en_GB)

Edit: Attach the file
Attachments
CurvesFail_Syres.FCStd
(30.75 KiB) Downloaded 8 times
wmayer
Site Admin
Posts: 17521
Joined: Thu Feb 19, 2009 10:32 am

Re: [SOLVED] FC compilation fails with OCCT 7.6.0 beta.

Post by wmayer »

Syres wrote: Wed Oct 20, 2021 2:56 pm Could either/both please test a bug I might have found that doesn't appear in OCC7.3 but does in OCC7.6beta.
Confirmed all of your observations. However, in the past I have also seen random crashes with OCC7.3.
user1234
Posts: 733
Joined: Mon Jul 11, 2016 5:08 pm

Re: [SOLVED] FC compilation fails with OCCT 7.6.0 beta.

Post by user1234 »

Yes, FreeCAD crashes. But if it is really OCCT related?

Code: Select all

Err: Program received signal SIGSEGV, Segmentation fault.
Err: #0  /lib/x86_64-linux-gnu/libc.so.6(+0x3bd60) [0x7f0bd301cd60]
Err: #1  0x7f0b2fe31e04 in GeomPlate_BuildPlateSurface::Disc2dContour(int, NCollection_Sequence<gp_XY>&) from /usr/local/lib/libTKGeomAlgo.so.7+0xb4
Err: #2  0x7f0b3cf1ce88 in BRepFill_Filling::Build() from /usr/local/lib/libTKBool.so.7+0xce8
Err: #3  0x7f0b24f9f3cb in Surface::Filling::execute() from /home/user/Programs/FreeCADmaster/Mod/Surface/Surface.so+0x56d
Err: #4  0x7f0bd58f1388 in App::DocumentObject::recompute() from /home/user/Programs/FreeCADmaster/lib/libFreeCADApp.so+0xd8
Err: #5  0x7f0b3d3e6a3b in Part::Feature::recompute() from /home/user/Programs/FreeCADmaster/Mod/Part/Part.so+0x1b
Err: #6  0x7f0bd5812503 in App::Document::_recomputeFeature(App::DocumentObject*) from /home/user/Programs/FreeCADmaster/lib/libFreeCADApp.so+0x1b5
Err: #7  0x7f0bd5813112 in App::Document::recomputeFeature(App::DocumentObject*, bool) from /home/user/Programs/FreeCADmaster/lib/libFreeCADApp.so+0xf8
Err: #8  0x7f0bd58f1573 in App::DocumentObject::recomputeFeature(bool) from /home/user/Programs/FreeCADmaster/lib/libFreeCADApp.so+0x3f
Err: #9  0x7f0b24ec95ea in SurfaceGui::FillingPanel::onSelectionChanged(Gui::SelectionChanges const&) from /home/user/Programs/FreeCADmaster/Mod/Surface/SurfaceGui.so+0x144a
Err: #10  0x7f0bd749056e in Gui::SelectionObserver::_onSelectionChanged(Gui::SelectionChanges const&) from /home/user/Programs/FreeCADmaster/lib/libFreeCADGui.so+0x54
Err: #11  0x7f0bd74b0c8c in boost::_mfi::mf1<void, Gui::SelectionObserver, Gui::SelectionChanges const&>::operator()(Gui::SelectionObserver*, Gui::SelectionChanges const&) const from /home/user/Programs/FreeCADmaster/lib/libFreeCADGui.so+0x70
Err: #12  0x7f0bd74b046f in void boost::_bi::list2<boost::_bi::value<Gui::SelectionObserver*>, boost::arg<1> >::operator()<boost::_mfi::mf1<void, Gui::SelectionObserver, Gui::SelectionChanges const&>, boost::_bi::rrlist1<Gui::SelectionChanges const&> >(boost::_bi::type<void>, boost::_mfi::mf1<void, Gui::SelectionObserver, Gui::SelectionChanges const&>&, boost::_bi::rrlist1<Gui::SelectionChanges const&>&, int) from /home/user/Programs/FreeCADmaster/lib/libFreeCADGui.so+0x6b
Err: #13  0x7f0bd74afa9e in void boost::_bi::bind_t<void, boost::_mfi::mf1<void, Gui::SelectionObserver, Gui::SelectionChanges const&>, boost::_bi::list2<boost::_bi::value<Gui::SelectionObserver*>, boost::arg<1> > >::operator()<Gui::SelectionChanges const&>(Gui::SelectionChanges const&) from /home/user/Programs/FreeCADmaster/lib/libFreeCADGui.so+0x40
Err: #14  0x7f0bd74aef05 in boost::detail::function::void_function_obj_invoker1<boost::_bi::bind_t<void, boost::_mfi::mf1<void, Gui::SelectionObserver, Gui::SelectionChanges const&>, boost::_bi::list2<boost::_bi::value<Gui::SelectionObserver*>, boost::arg<1> > >, void, Gui::SelectionChanges const&>::invoke(boost::detail::function::function_buffer&, Gui::SelectionChanges const&) from /home/user/Programs/FreeCADmaster/lib/libFreeCADGui.so+0x2b
Err: #15  0x7f0bd715b17d in boost::function1<void, Gui::SelectionChanges const&>::operator()(Gui::SelectionChanges const&) const from /home/user/Programs/FreeCADmaster/lib/libFreeCADGui.so+0x5d
Err: #16  0x7f0bd7159222 in boost::signals2::detail::void_type boost::signals2::detail::call_with_tuple_args<boost::signals2::detail::void_type>::m_invoke<boost::function<void (Gui::SelectionChanges const&)>, 0u, Gui::SelectionChanges const&>(boost::function<void (Gui::SelectionChanges const&)>&, boost::signals2::detail::unsigned_meta_array<0u>, std::tuple<Gui::SelectionChanges const&> const&, boost::enable_if<boost::is_void<boost::function<void (Gui::SelectionChanges const&)>::result_type>, void>::type*) const from /home/user/Programs/FreeCADmaster/lib/libFreeCADGui.so+0x36
Err: #17  0x7f0bd715639c in boost::signals2::detail::void_type boost::signals2::detail::call_with_tuple_args<boost::signals2::detail::void_type>::operator()<boost::function<void (Gui::SelectionChanges const&)>, Gui::SelectionChanges const&, 1ul>(boost::function<void (Gui::SelectionChanges const&)>&, std::tuple<Gui::SelectionChanges const&> const&, mpl_::size_t<1ul>) const from /home/user/Programs/FreeCADmaster/lib/libFreeCADGui.so+0x2e
Err: #18  0x7f0bd7152d30 in boost::signals2::detail::void_type boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type, Gui::SelectionChanges const&>::operator()<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (Gui::SelectionChanges const&), boost::function<void (Gui::SelectionChanges const&)> >, boost::signals2::mutex> > >(boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (Gui::SelectionChanges const&), boost::function<void (Gui::SelectionChanges const&)> >, boost::signals2::mutex> > const&) const from /home/user/Programs/FreeCADmaster/lib/libFreeCADGui.so+0x48
Err: #19  0x7f0bd714e732 in boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type, Gui::SelectionChanges const&>, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (Gui::SelectionChanges const&), boost::function<void (Gui::SelectionChanges const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (Gui::SelectionChanges const&), boost::function<void (Gui::SelectionChanges const&)> >, boost::signals2::mutex> >::dereference() const from /home/user/Programs/FreeCADmaster/lib/libFreeCADGui.so+0x54
Err: #20  0x7f0bd714a118 in boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type, Gui::SelectionChanges const&>, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (Gui::SelectionChanges const&), boost::function<void (Gui::SelectionChanges const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (Gui::SelectionChanges const&), boost::function<void (Gui::SelectionChanges const&)> >, boost::signals2::mutex> >::reference boost::iterators::iterator_core_access::dereference<boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type, Gui::SelectionChanges const&>, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (Gui::SelectionChanges const&), boost::function<void (Gui::SelectionChanges const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (Gui::SelectionChanges const&), boost::function<void (Gui::SelectionChanges const&)> >, boost::signals2::mutex> > >(boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type, Gui::SelectionChanges const&>, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (Gui::SelectionChanges const&), boost::function<void (Gui::SelectionChanges const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (Gui::SelectionChanges const&), boost::function<void (Gui::SelectionChanges const&)> >, boost::signals2::mutex> > const&) from /home/user/Programs/FreeCADmaster/lib/libFreeCADGui.so+0x18
Err: #21  0x7f0bd7145294 in boost::iterators::detail::iterator_facade_base<boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type, Gui::SelectionChanges const&>, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (Gui::SelectionChanges const&), boost::function<void (Gui::SelectionChanges const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (Gui::SelectionChanges const&), boost::function<void (Gui::SelectionChanges const&)> >, boost::signals2::mutex> >, boost::signals2::detail::void_type, boost::iterators::single_pass_traversal_tag, boost::signals2::detail::void_type const&, long, false, false>::operator*() const from /home/user/Programs/FreeCADmaster/lib/libFreeCADGui.so+0x20
Err: #22  0x7f0bd713f437 in void boost::signals2::optional_last_value<void>::operator()<boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type, Gui::SelectionChanges const&>, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (Gui::SelectionChanges const&), boost::function<void (Gui::SelectionChanges const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (Gui::SelectionChanges const&), boost::function<void (Gui::SelectionChanges const&)> >, boost::signals2::mutex> > >(boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type, Gui::SelectionChanges const&>, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (Gui::SelectionChanges const&), boost::function<void (Gui::SelectionChanges const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (Gui::SelectionChanges const&), boost::function<void (Gui::SelectionChanges const&)> >, boost::signals2::mutex> >, boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type, Gui::SelectionChanges const&>, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (Gui::SelectionChanges const&), boost::function<void (Gui::SelectionChanges const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (Gui::SelectionChanges const&), boost::function<void (Gui::SelectionChanges const&)> >, boost::signals2::mutex> >) const from /home/user/Programs/FreeCADmaster/lib/libFreeCADGui.so+0x29
Err: #23  0x7f0bd7138fe2 in void boost::signals2::detail::combiner_invoker<void>::operator()<boost::signals2::optional_last_value<void>, boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type, Gui::SelectionChanges const&>, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (Gui::SelectionChanges const&), boost::function<void (Gui::SelectionChanges const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (Gui::SelectionChanges const&), boost::function<void (Gui::SelectionChanges const&)> >, boost::signals2::mutex> > >(boost::signals2::optional_last_value<void>&, boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type, Gui::SelectionChanges const&>, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (Gui::SelectionChanges const&), boost::function<void (Gui::SelectionChanges const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (Gui::SelectionChanges const&), boost::function<void (Gui::SelectionChanges const&)> >, boost::signals2::mutex> >, boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type, Gui::SelectionChanges const&>, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (Gui::SelectionChanges const&), boost::function<void (Gui::SelectionChanges const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (Gui::SelectionChanges const&), boost::function<void (Gui::SelectionChanges const&)> >, boost::signals2::mutex> >) const from /home/user/Programs/FreeCADmaster/lib/libFreeCADGui.so+0x34
Err: #24  0x7f0bd7133236 in boost::signals2::detail::signal_impl<void (Gui::SelectionChanges const&), boost::signals2::optional_last_value<void>, int, std::less<int>, boost::function<void (Gui::SelectionChanges const&)>, boost::function<void (boost::signals2::connection const&, Gui::SelectionChanges const&)>, boost::signals2::mutex>::operator()(Gui::SelectionChanges const&) from /home/user/Programs/FreeCADmaster/lib/libFreeCADGui.so+0x202
Err: #25  0x7f0bd712e71c in boost::signals2::signal<void (Gui::SelectionChanges const&), boost::signals2::optional_last_value<void>, int, std::less<int>, boost::function<void (Gui::SelectionChanges const&)>, boost::function<void (boost::signals2::connection const&, Gui::SelectionChanges const&)>, boost::signals2::mutex>::operator()(Gui::SelectionChanges const&) from /home/user/Programs/FreeCADmaster/lib/libFreeCADGui.so+0x32
Err: #26  0x7f0bd7494de5 in Gui::SelectionSingleton::slotSelectionChanged(Gui::SelectionChanges const&) from /home/user/Programs/FreeCADmaster/lib/libFreeCADGui.so+0x2a1
Err: #27  0x7f0bd74b1228 in boost::_mfi::mf1<void, Gui::SelectionSingleton, Gui::SelectionChanges const&>::operator()(Gui::SelectionSingleton*, Gui::SelectionChanges const&) const from /home/user/Programs/FreeCADmaster/lib/libFreeCADGui.so+0x70
Err: #28  0x7f0bd74b0a25 in void boost::_bi::list2<boost::_bi::value<Gui::SelectionSingleton*>, boost::arg<1> >::operator()<boost::_mfi::mf1<void, Gui::SelectionSingleton, Gui::SelectionChanges const&>, boost::_bi::rrlist1<Gui::SelectionChanges const&> >(boost::_bi::type<void>, boost::_mfi::mf1<void, Gui::SelectionSingleton, Gui::SelectionChanges const&>&, boost::_bi::rrlist1<Gui::SelectionChanges const&>&, int) from /home/user/Programs/FreeCADmaster/lib/libFreeCADGui.so+0x6b
Err: #29  0x7f0bd74b0308 in void boost::_bi::bind_t<void, boost::_mfi::mf1<void, Gui::SelectionSingleton, Gui::SelectionChanges const&>, boost::_bi::list2<boost::_bi::value<Gui::SelectionSingleton*>, boost::arg<1> > >::operator()<Gui::SelectionChanges const&>(Gui::SelectionChanges const&) from /home/user/Programs/FreeCADmaster/lib/libFreeCADGui.so+0x40
Err: #30  0x7f0bd74af9c3 in boost::detail::function::void_function_obj_invoker1<boost::_bi::bind_t<void, boost::_mfi::mf1<void, Gui::SelectionSingleton, Gui::SelectionChanges const&>, boost::_bi::list2<boost::_bi::value<Gui::SelectionSingleton*>, boost::arg<1> > >, void, Gui::SelectionChanges const&>::invoke(boost::detail::function::function_buffer&, Gui::SelectionChanges const&) from /home/user/Programs/FreeCADmaster/lib/libFreeCADGui.so+0x2b
Err: #31  0x7f0bd715b17d in boost::function1<void, Gui::SelectionChanges const&>::operator()(Gui::SelectionChanges const&) const from /home/user/Programs/FreeCADmaster/lib/libFreeCADGui.so+0x5d
Err: #32  0x7f0bd7159222 in boost::signals2::detail::void_type boost::signals2::detail::call_with_tuple_args<boost::signals2::detail::void_type>::m_invoke<boost::function<void (Gui::SelectionChanges const&)>, 0u, Gui::SelectionChanges const&>(boost::function<void (Gui::SelectionChanges const&)>&, boost::signals2::detail::unsigned_meta_array<0u>, std::tuple<Gui::SelectionChanges const&> const&, boost::enable_if<boost::is_void<boost::function<void (Gui::SelectionChanges const&)>::result_type>, void>::type*) const from /home/user/Programs/FreeCADmaster/lib/libFreeCADGui.so+0x36
Err: #33  0x7f0bd715639c in boost::signals2::detail::void_type boost::signals2::detail::call_with_tuple_args<boost::signals2::detail::void_type>::operator()<boost::function<void (Gui::SelectionChanges const&)>, Gui::SelectionChanges const&, 1ul>(boost::function<void (Gui::SelectionChanges const&)>&, std::tuple<Gui::SelectionChanges const&> const&, mpl_::size_t<1ul>) const from /home/user/Programs/FreeCADmaster/lib/libFreeCADGui.so+0x2e
Err: #34  0x7f0bd7152d30 in boost::signals2::detail::void_type boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type, Gui::SelectionChanges const&>::operator()<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (Gui::SelectionChanges const&), boost::function<void (Gui::SelectionChanges const&)> >, boost::signals2::mutex> > >(boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (Gui::SelectionChanges const&), boost::function<void (Gui::SelectionChanges const&)> >, boost::signals2::mutex> > const&) const from /home/user/Programs/FreeCADmaster/lib/libFreeCADGui.so+0x48
Err: #35  0x7f0bd714e732 in boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type, Gui::SelectionChanges const&>, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (Gui::SelectionChanges const&), boost::function<void (Gui::SelectionChanges const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (Gui::SelectionChanges const&), boost::function<void (Gui::SelectionChanges const&)> >, boost::signals2::mutex> >::dereference() const from /home/user/Programs/FreeCADmaster/lib/libFreeCADGui.so+0x54
Err: #36  0x7f0bd714a118 in boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type, Gui::SelectionChanges const&>, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (Gui::SelectionChanges const&), boost::function<void (Gui::SelectionChanges const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (Gui::SelectionChanges const&), boost::function<void (Gui::SelectionChanges const&)> >, boost::signals2::mutex> >::reference boost::iterators::iterator_core_access::dereference<boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type, Gui::SelectionChanges const&>, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (Gui::SelectionChanges const&), boost::function<void (Gui::SelectionChanges const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (Gui::SelectionChanges const&), boost::function<void (Gui::SelectionChanges const&)> >, boost::signals2::mutex> > >(boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type, Gui::SelectionChanges const&>, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (Gui::SelectionChanges const&), boost::function<void (Gui::SelectionChanges const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (Gui::SelectionChanges const&), boost::function<void (Gui::SelectionChanges const&)> >, boost::signals2::mutex> > const&) from /home/user/Programs/FreeCADmaster/lib/libFreeCADGui.so+0x18
Err: #37  0x7f0bd7145294 in boost::iterators::detail::iterator_facade_base<boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type, Gui::SelectionChanges const&>, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (Gui::SelectionChanges const&), boost::function<void (Gui::SelectionChanges const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (Gui::SelectionChanges const&), boost::function<void (Gui::SelectionChanges const&)> >, boost::signals2::mutex> >, boost::signals2::detail::void_type, boost::iterators::single_pass_traversal_tag, boost::signals2::detail::void_type const&, long, false, false>::operator*() const from /home/user/Programs/FreeCADmaster/lib/libFreeCADGui.so+0x20
Err: #38  0x7f0bd713f437 in void boost::signals2::optional_last_value<void>::operator()<boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type, Gui::SelectionChanges const&>, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (Gui::SelectionChanges const&), boost::function<void (Gui::SelectionChanges const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (Gui::SelectionChanges const&), boost::function<void (Gui::SelectionChanges const&)> >, boost::signals2::mutex> > >(boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type, Gui::SelectionChanges const&>, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (Gui::SelectionChanges const&), boost::function<void (Gui::SelectionChanges const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (Gui::SelectionChanges const&), boost::function<void (Gui::SelectionChanges const&)> >, boost::signals2::mutex> >, boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type, Gui::SelectionChanges const&>, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (Gui::SelectionChanges const&), boost::function<void (Gui::SelectionChanges const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (Gui::SelectionChanges const&), boost::function<void (Gui::SelectionChanges const&)> >, boost::signals2::mutex> >) const from /home/user/Programs/FreeCADmaster/lib/libFreeCADGui.so+0x29
Err: #39  0x7f0bd7138fe2 in void boost::signals2::detail::combiner_invoker<void>::operator()<boost::signals2::optional_last_value<void>, boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type, Gui::SelectionChanges const&>, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (Gui::SelectionChanges const&), boost::function<void (Gui::SelectionChanges const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (Gui::SelectionChanges const&), boost::function<void (Gui::SelectionChanges const&)> >, boost::signals2::mutex> > >(boost::signals2::optional_last_value<void>&, boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type, Gui::SelectionChanges const&>, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (Gui::SelectionChanges const&), boost::function<void (Gui::SelectionChanges const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (Gui::SelectionChanges const&), boost::function<void (Gui::SelectionChanges const&)> >, boost::signals2::mutex> >, boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type, Gui::SelectionChanges const&>, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (Gui::SelectionChanges const&), boost::function<void (Gui::SelectionChanges const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (Gui::SelectionChanges const&), boost::function<void (Gui::SelectionChanges const&)> >, boost::signals2::mutex> >) const from /home/user/Programs/FreeCADmaster/lib/libFreeCADGui.so+0x34
Err: #40  0x7f0bd7133236 in boost::signals2::detail::signal_impl<void (Gui::SelectionChanges const&), boost::signals2::optional_last_value<void>, int, std::less<int>, boost::function<void (Gui::SelectionChanges const&)>, boost::function<void (boost::signals2::connection const&, Gui::SelectionChanges const&)>, boost::signals2::mutex>::operator()(Gui::SelectionChanges const&) from /home/user/Programs/FreeCADmaster/lib/libFreeCADGui.so+0x202
Err: #41  0x7f0bd712e71c in boost::signals2::signal<void (Gui::SelectionChanges const&), boost::signals2::optional_last_value<void>, int, std::less<int>, boost::function<void (Gui::SelectionChanges const&)>, boost::function<void (boost::signals2::connection const&, Gui::SelectionChanges const&)>, boost::signals2::mutex>::operator()(Gui::SelectionChanges const&) from /home/user/Programs/FreeCADmaster/lib/libFreeCADGui.so+0x32
Err: #42  0x7f0bd7494037 in Gui::SelectionSingleton::notify(Gui::SelectionChanges&&) from /home/user/Programs/FreeCADmaster/lib/libFreeCADGui.so+0x1db
Err: #43  0x7f0bd7497952 in Gui::SelectionSingleton::addSelection(char const*, char const*, char const*, float, float, float, std::vector<Gui::SelectionSingleton::SelObj, std::allocator<Gui::SelectionSingleton::SelObj> > const*, bool) from /home/user/Programs/FreeCADmaster/lib/libFreeCADGui.so+0x828
Err: #44  0x7f0bd71f2589 in Gui::SoFCUnifiedSelection::setSelection(std::vector<Gui::SoFCUnifiedSelection::PickedInfo, std::allocator<Gui::SoFCUnifiedSelection::PickedInfo> > const&, bool) from /home/user/Programs/FreeCADmaster/lib/libFreeCADGui.so+0xeeb
Err: #45  0x7f0bd71f2eb0 in Gui::SoFCUnifiedSelection::handleEvent(SoHandleEventAction*) from /home/user/Programs/FreeCADmaster/lib/libFreeCADGui.so+0x246
Err: #46  0x7f0bd2a00633 in SoAction::traverse(SoNode*) from /lib/x86_64-linux-gnu/libCoin.so.80c+0x63
Err: #47  0x7f0bd2b8aee8 in SoChildList::traverse(SoAction*, int, int) from /lib/x86_64-linux-gnu/libCoin.so.80c+0x168
Err: #48  0x7f0bd2bd39e8 in SoGroup::doAction(SoAction*) from /lib/x86_64-linux-gnu/libCoin.so.80c+0x58
Err: #49  0x7f0bd2becaf8 in SoSeparator::doAction(SoAction*) from /lib/x86_64-linux-gnu/libCoin.so.80c+0x28
Err: #50  0x7f0bd2a00633 in SoAction::traverse(SoNode*) from /lib/x86_64-linux-gnu/libCoin.so.80c+0x63
Err: #51  0x7f0bd2a09893 in SoHandleEventAction::beginTraversal(SoNode*) from /lib/x86_64-linux-gnu/libCoin.so.80c+0xa3
Err: #52  0x7f0bd2a00ad2 in SoAction::apply(SoNode*) from /lib/x86_64-linux-gnu/libCoin.so.80c+0x282
Err: #53  0x7f0bd2ba2539 in SoEventManager::actuallyProcessEvent(SoEvent const*) from /lib/x86_64-linux-gnu/libCoin.so.80c+0x69
Err: #54  0x7f0bd72a3ff0 in SIM::Coin3D::Quarter::QuarterWidget::processSoEvent(SoEvent const*) from /home/user/Programs/FreeCADmaster/lib/libFreeCADGui.so+0x56
Err: #55  0x7f0bd72acc37 in SIM::Coin3D::Quarter::SoQTQuarterAdaptor::processSoEvent(SoEvent const*) from /home/user/Programs/FreeCADmaster/lib/libFreeCADGui.so+0x195
Err: #56  0x7f0bd72fbf6d in Gui::View3DInventorViewer::processSoEventBase(SoEvent const*) from /home/user/Programs/FreeCADmaster/lib/libFreeCADGui.so+0x23
Err: #57  0x7f0bd72becfd in Gui::NavigationStyle::processSoEvent(SoEvent const*) from /home/user/Programs/FreeCADmaster/lib/libFreeCADGui.so+0x1c7
Err: #58  0x7f0bd72c4ef6 in Gui::CADNavigationStyle::processSoEvent(SoEvent const*) from /home/user/Programs/FreeCADmaster/lib/libFreeCADGui.so+0x1070
Err: #59  0x7f0bd72beaaa in Gui::NavigationStyle::processEvent(SoEvent const*) from /home/user/Programs/FreeCADmaster/lib/libFreeCADGui.so+0x1be
Err: #60  0x7f0bd72fbf42 in Gui::View3DInventorViewer::processSoEvent(SoEvent const*) from /home/user/Programs/FreeCADmaster/lib/libFreeCADGui.so+0x15c
Err: #61  0x7f0bd729c525 in SIM::Coin3D::Quarter::EventFilter::eventFilter(QObject*, QEvent*) from /home/user/Programs/FreeCADmaster/lib/libFreeCADGui.so+0x165
Err: #62  0x7f0bd363ad33 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) from /lib/x86_64-linux-gnu/libQt5Core.so.5+0x93
Err: #63  0x7f0bd40ff14e in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x6e
Err: #64  0x7f0bd410604b in QApplication::notify(QObject*, QEvent*) from /lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x49b
Err: #65  0x7f0bd6ec6fa5 in Gui::GUIApplication::notify(QObject*, QEvent*) from /home/user/Programs/FreeCADmaster/lib/libFreeCADGui.so+0xff
Err: #66  0x7f0bd363afca in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /lib/x86_64-linux-gnu/libQt5Core.so.5+0x12a
Err: #67  0x7f0bd4105076 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) from /lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x1d6
Err: #68  /lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x1bb011) [0x7f0bd4157011]
Err: #69  /lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x1be33e) [0x7f0bd415a33e]
Err: #70  0x7f0bd40ff15f in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x7f
Err: #71  0x7f0bd6ec6fa5 in Gui::GUIApplication::notify(QObject*, QEvent*) from /home/user/Programs/FreeCADmaster/lib/libFreeCADGui.so+0xff
Err: #72  0x7f0bd363afca in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /lib/x86_64-linux-gnu/libQt5Core.so.5+0x12a
Err: #73  0x7f0bd3a15583 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) from /lib/x86_64-linux-gnu/libQt5Gui.so.5+0x653
Err: #74  0x7f0bd39eb64c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /lib/x86_64-linux-gnu/libQt5Gui.so.5+0xac
Err: #75  /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5(+0x697da) [0x7f0bcda007da]
Err: #76  /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x25b) [0x7f0bd13e7e6b]
Err: #77  /lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x52118) [0x7f0bd13e8118]
Err: #78  /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x2f) [0x7f0bd13e81cf]
Err: #79  0x7f0bd369251f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /lib/x86_64-linux-gnu/libQt5Core.so.5+0x5f
Err: #80  0x7f0bd363998b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) from /lib/x86_64-linux-gnu/libQt5Core.so.5+0x12b
Err: #81  0x7f0bd3641c00 in QCoreApplication::exec() from /lib/x86_64-linux-gnu/libQt5Core.so.5+0x90
Err: #82  0x7f0bd6d9ff90 in Gui::Application::runApplication() from /home/user/Programs/FreeCADmaster/lib/libFreeCADGui.so+0x260e
Err: #83  /home/user/Programs/FreeCADmaster/bin/FreeCAD(+0xa27a) [0x564e1708a27a]
Err: #84  /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea) [0x7f0bd3007d0a]
Err: #85  /home/user/Programs/FreeCADmaster/bin/FreeCAD(+0x957a) [0x564e1708957a]

Code: Select all

OS: Debian GNU/Linux 11 (bullseye) (X-Cinnamon/lightdm-xsession)
Word size of FreeCAD: 64-bit
Version: 0.20.26174 (Git)
Build type: Debug
Branch: master
Hash: b93aa77a1c67c2990c7dd76a8752b5ed6d48a847
Python version: 3.9.2
Qt version: 5.15.2
Coin version: 4.0.0
OCC version: 7.6.0.beta
Locale: English/United States (en_US)
Greetings
user1234
user1234
Posts: 733
Joined: Mon Jul 11, 2016 5:08 pm

Re: [SOLVED] FC compilation fails with OCCT 7.6.0 beta.

Post by user1234 »

Syres wrote: Wed Oct 20, 2021 2:56 pm estart FreeCAD and repeats steps but click on Arc.Edge1 then Line001.Edge1 and finally Line002.Edge1 and click OK Surface004 created successfully.
Yes, but the geometry is invalid, check with geometry check.

Greetings
user1234

edit: typo
wmayer
Site Admin
Posts: 17521
Joined: Thu Feb 19, 2009 10:32 am

Re: [SOLVED] FC compilation fails with OCCT 7.6.0 beta.

Post by wmayer »

user1234 wrote: Wed Oct 20, 2021 9:25 pm But if it is really OCCT related?
Yes and no. At least we can avoid to call the execute() function if only one curve has been selected because the algorithm will fail anyway.
Post Reply