[BUG] Hard consistent crash on Sweep in Part workbench

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Post Reply
User avatar
PrzemoF
Veteran
Posts: 3520
Joined: Fri Jul 25, 2014 4:52 pm
Contact:

[BUG] Hard consistent crash on Sweep in Part workbench

Post by PrzemoF »

Open attached file, unhide Path and Profile, try to Sweep using Profile and Path --> crash

Code: Select all

Thread 1 "FreeCAD" received signal SIGSEGV, Segmentation fault.
0x00007fffbc04a8ce in BRep_Tool::IsGeometric(TopoDS_Edge const&) () from /lib64/libTKBRep.so.7
(gdb) bt
#0  0x00007fffbc04a8ce in BRep_Tool::IsGeometric(TopoDS_Edge const&) () at /lib64/libTKBRep.so.7
#1  0x00007fffbc8d8a73 in BRepExtrema_ExtCC::Initialize(TopoDS_Edge const&) () at /lib64/libTKTopAlgo.so.7
#2  0x00007fffbc8d90c9 in BRepExtrema_ExtCC::BRepExtrema_ExtCC(TopoDS_Edge const&, TopoDS_Edge const&) () at /lib64/libTKTopAlgo.so.7
#3  0x00007fffbd45f9c0 in BRepFill_TrimShellCorner::ChooseSection(TopoDS_Shape const&, TopoDS_Vertex const&, TopoDS_Vertex const&, TopoDS_Shape&, gp_Pln&, bool&) () at /lib64/libTKBool.so.7
#4  0x00007fffbd460882 in BRepFill_TrimShellCorner::MakeFacesSec(int, BOPDS_DS* const&, int, int, int) () at /lib64/libTKBool.so.7
#5  0x00007fffbd46441a in BRepFill_TrimShellCorner::Perform() () at /lib64/libTKBool.so.7
#6  0x00007fffbd44b286 in BRepFill_Sweep::PerformCorner(int, BRepFill_TransitionStyle, opencascade::handle<TopTools_HArray2OfShape> const&) ()
    at /lib64/libTKBool.so.7
#7  0x00007fffbd44eb17 in BRepFill_Sweep::Build(NCollection_Map<TopoDS_Shape, TopTools_ShapeMapHasher>&, NCollection_DataMap<TopoDS_Shape, opencascade::handle<TopTools_HArray2OfShape>, TopTools_ShapeMapHasher>&, NCollection_DataMap<TopoDS_Shape, opencascade::handle<TopTools_HArray2OfShape>, TopTools_ShapeMapHasher>&, BRepFill_TransitionStyle, GeomAbs_Shape, GeomFill_ApproxStyle, int, int) () at /lib64/libTKBool.so.7
#8  0x00007fffbd4310ec in BRepFill_PipeShell::Build() () at /lib64/libTKBool.so.7
#9  0x00007fffbe1795a4 in BRepOffsetAPI_MakePipeShell::Build() () at /lib64/libTKOffset.so.7
#10 0x00007fffbeb606c9 in Part::Sweep::execute() () at /usr/lib64/freecad/lib64/Part.so
#11 0x00007ffff5af21e4 in App::DocumentObject::recompute() () at /usr/lib64/freecad/lib64/libFreeCADApp.so
#12 0x00007fffbeb63cbb in Part::Feature::recompute() () at /usr/lib64/freecad/lib64/Part.so
#13 0x00007ffff5a137d7 in App::Document::_recomputeFeature(App::DocumentObject*) () at /usr/lib64/freecad/lib64/libFreeCADApp.so
#14 0x00007ffff5a1175f in App::Document::recompute(std::vector<App::DocumentObject*, std::allocator<App::DocumentObject*> > const&, bool, bool*, int)
    () at /usr/lib64/freecad/lib64/libFreeCADApp.so
#15 0x00007fff3cd2d804 in PartGui::SweepWidget::accept() () at /usr/lib64/freecad/lib64/PartGui.so
#16 0x00007fff3cd2eb48 in PartGui::TaskSweep::accept() () at /usr/lib64/freecad/lib64/PartGui.so
#17 0x00007ffff733d3b3 in Gui::TaskView::TaskView::accept() () at /usr/lib64/freecad/lib64/libFreeCADGui.so
#18 0x00007ffff733db80 in Gui::TaskView::TaskView::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) ()
    at /usr/lib64/freecad/lib64/libFreeCADGui.so
#19 0x00007ffff3b6491b in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5
#20 0x00007ffff464b516 in QDialogButtonBoxPrivate::_q_handleButtonClicked() () at /lib64/libQt5Widgets.so.5
#21 0x00007ffff3b6491b in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5
#22 0x00007ffff45a3aa6 in QAbstractButton::clicked(bool) () at /lib64/libQt5Widgets.so.5
#23 0x00007ffff45a3cce in QAbstractButtonPrivate::emitClicked() () at /lib64/libQt5Widgets.so.5
#24 0x00007ffff45a5113 in QAbstractButtonPrivate::click() () at /lib64/libQt5Widgets.so.5
#25 0x00007ffff45a52d5 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () at /lib64/libQt5Widgets.so.5
#26 0x00007ffff44efc7e in QWidget::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#27 0x00007ffff44acab6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
--Type <RET> for more, q to quit, c to continue without paging--c
#28 0x00007ffff44b63a3 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#29 0x00007ffff6fc7775 in Gui::GUIApplication::notify(QObject*, QEvent*) () at /usr/lib64/freecad/lib64/libFreeCADGui.so
#30 0x00007ffff3b3a3e8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#31 0x00007ffff44b54b7 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () at /lib64/libQt5Widgets.so.5
#32 0x00007ffff450bc8d in QWidgetWindow::handleMouseEvent(QMouseEvent*) () at /lib64/libQt5Widgets.so.5
#33 0x00007ffff450ec8c in QWidgetWindow::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#34 0x00007ffff44acab6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#35 0x00007ffff44b6150 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#36 0x00007ffff6fc7775 in Gui::GUIApplication::notify(QObject*, QEvent*) () at /usr/lib64/freecad/lib64/libFreeCADGui.so
#37 0x00007ffff3b3a3e8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#38 0x00007ffff3f17b83 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /lib64/libQt5Gui.so.5
#39 0x00007ffff3f1937b in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /lib64/libQt5Gui.so.5
#40 0x00007ffff3ef56eb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Gui.so.5
#41 0x00007fffe1208d5e in xcbSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5XcbQpa.so.5
#42 0x00007ffff1979570 in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#43 0x00007ffff1979900 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#44 0x00007ffff19799a3 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#45 0x00007ffff3b8f825 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#46 0x00007ffff3b391db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#47 0x00007ffff3b410b6 in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#48 0x00007ffff6ead409 in Gui::Application::runApplication() () at /usr/lib64/freecad/lib64/libFreeCADGui.so
#49 0x0000000000409148 in main ()
OS: Fedora 31 (Workstation Edition) (GNOME/gnome-xorg)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.pre_20639 (Git)
Build type: Unknown
Python version: 3.7.6
Qt version: 5.13.2
Coin version: 3.1.3
OCC version: 7.4.0.beta
Locale: Polish/Poland (pl_PL)
Attachments
CompFilter-bottom-v.1.1.FCStd
(8.58 KiB) Downloaded 20 times
vocx
Veteran
Posts: 5197
Joined: Thu Oct 18, 2018 9:18 pm

Re: [BUG] Hard consistent crash on Sweep in Part workbench

Post by vocx »

PrzemoF wrote: Mon Apr 20, 2020 5:27 pm Open attached file, unhide Path and Profile, try to Sweep using Profile and Path --> crash
Yes, I have to confirm that this happens with Part Sweep, but PartDesign can create a PartDesign AdditivePipe, and it works in this case.

Code: Select all

Thread 1 "FreeCAD" received signal SIGSEGV, Segmentation fault.
0x00007fffc298fdda in TopoDS_Iterator::Initialize(TopoDS_Shape const&, bool, bool) () from /usr/lib/x86_64-linux-gnu/libTKBRep.so.7
(gdb) bt
#0  0x00007fffc298fdda in TopoDS_Iterator::Initialize(TopoDS_Shape const&, bool, bool) () at /usr/lib/x86_64-linux-gnu/libTKBRep.so.7
#1  0x00007fffc2991d65 in TopExp::Vertices(TopoDS_Edge const&, TopoDS_Vertex&, TopoDS_Vertex&, bool) ()
    at /usr/lib/x86_64-linux-gnu/libTKBRep.so.7
#2  0x00007fffc29920a1 in TopExp::CommonVertex(TopoDS_Edge const&, TopoDS_Edge const&, TopoDS_Vertex&) ()
    at /usr/lib/x86_64-linux-gnu/libTKBRep.so.7
#3  0x00007fffc33ffd11 in BRepFill_TrimShellCorner::ChooseSection(TopoDS_Shape const&, TopoDS_Vertex const&, TopoDS_Vertex const&, TopoDS_Shape&, gp_Pln&, bool&) () at /usr/lib/x86_64-linux-gnu/libTKBool.so.7
#4  0x00007fffc3401f82 in BRepFill_TrimShellCorner::MakeFacesSec(int, BOPDS_DS* const&, int, int, int) ()
    at /usr/lib/x86_64-linux-gnu/libTKBool.so.7
#5  0x00007fffc3404962 in BRepFill_TrimShellCorner::Perform() () at /usr/lib/x86_64-linux-gnu/libTKBool.so.7
#6  0x00007fffc33ea2db in BRepFill_Sweep::PerformCorner(int, BRepFill_TransitionStyle, opencascade::handle<TopTools_HArray2OfShape> const&) () at /usr/lib/x86_64-linux-gnu/libTKBool.so.7
#7  0x00007fffc33ee4b3 in BRepFill_Sweep::Build(NCollection_Map<TopoDS_Shape, TopTools_ShapeMapHasher>&, NCollection_DataMap<TopoDS_Shape, opencascade::handle<TopTools_HArray2OfShape>, TopTools_ShapeMapHasher>&, NCollection_DataMap<TopoDS_Shape, opencascade::handle<TopTools_HArray2OfShape>, TopTools_ShapeMapHasher>&, BRepFill_TransitionStyle, GeomAbs_Shape, GeomFill_ApproxStyle, int, int) ()
    at /usr/lib/x86_64-linux-gnu/libTKBool.so.7
#8  0x00007fffc33cf60b in BRepFill_PipeShell::Build() () at /usr/lib/x86_64-linux-gnu/libTKBool.so.7
#9  0x00007fffc129bef0 in BRepOffsetAPI_MakePipeShell::Build() () at /usr/lib/x86_64-linux-gnu/libTKOffset.so.7
#10 0x00007fffc5b6562b in Part::Sweep::execute() (this=0x55555bcfa0e0) at /opt/freecad-source-vocx/src/Mod/Part/App/PartFeatures.cpp:568
#11 0x00007ffff53ae961 in App::DocumentObject::recompute() (this=0x55555bcfa0e0) at /opt/freecad-source-vocx/src/App/DocumentObject.cpp:111
#12 0x00007fffc5b68de3 in Part::Feature::recompute() (this=0x55555bcfa0e0) at /opt/freecad-source-vocx/src/Mod/Part/App/PartFeature.cpp:100
#13 0x00007ffff52bc0f8 in App::Document::_recomputeFeature(App::DocumentObject*) (this=0x555557285a00, Feat=0x55555bcfa0e0)
    at /opt/freecad-source-vocx/src/App/Document.cpp:3675
---Type <return> to continue, or q <return> to quit---
#14 0x00007ffff52b9e80 in App::Document::recompute(std::vector<App::DocumentObject*, std::allocator<App::DocumentObject*> > const&, bool, bool*, int) (this=0x555557285a00, objs=std::vector of length 0, capacity 0, force=false, hasError=0x0, options=0)
    at /opt/freecad-source-vocx/src/App/Document.cpp:3426
#15 0x00007fff6a91ceb2 in PartGui::SweepWidget::accept() (this=0x55555bd3fbc0)
    at /opt/freecad-source-vocx/src/Mod/Part/Gui/TaskSweep.cpp:345
#16 0x00007fff6a91e39e in PartGui::TaskSweep::accept() (this=0x55555ba539e0) at /opt/freecad-source-vocx/src/Mod/Part/Gui/TaskSweep.cpp:479
#17 0x00007ffff6edd473 in Gui::TaskView::TaskView::accept() (this=0x555555e4b590)
    at /opt/freecad-source-vocx/src/Gui/TaskView/TaskView.cpp:780
#18 0x00007ffff6eddc62 in Gui::TaskView::TaskView::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x555555e4b590, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffffffc0f0) at /opt/freecad-build-debug-vocx/src/Gui/TaskView/moc_TaskView.cpp:354
#19 0x00007ffff29ed555 in QMetaObject::activate(QObject*, int, int, void**) (sender=sender@entry=0x55555bd3fdc0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0) at kernel/qobject.cpp:3767
#20 0x00007ffff29edc27 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x55555bd3fdc0, m=m@entry=0x7ffff3e0e740 <QDialogButtonBox::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0)
    at kernel/qobject.cpp:3629
#21 0x00007ffff38ce083 in QDialogButtonBox::accepted() (this=this@entry=0x55555bd3fdc0) at .moc/moc_qdialogbuttonbox.cpp:281
#22 0x00007ffff38ce6a0 in QDialogButtonBoxPrivate::_q_handleButtonClicked() (this=<optimized out>) at widgets/qdialogbuttonbox.cpp:862
#23 0x00007ffff29ed555 in QMetaObject::activate(QObject*, int, int, void**) (sender=sender@entry=0x555557030fe0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fffffffc280) at kernel/qobject.cpp:3767
#24 0x00007ffff29edc27 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x555557030fe0, m=m@entry=0x7ffff3e05780 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fffffffc280)
    at kernel/qobject.cpp:3629
#25 0x00007ffff382dba2 in QAbstractButton::clicked(bool) (this=this@entry=0x555557030fe0, _t1=<optimized out>)
---Type <return> to continue, or q <return> to quit---
    at .moc/moc_qabstractbutton.cpp:308
#26 0x00007ffff382ddba in QAbstractButtonPrivate::emitClicked() (this=0x55555bb9e530) at widgets/qabstractbutton.cpp:414
#27 0x00007ffff382f19a in QAbstractButtonPrivate::click() (this=0x55555bb9e530) at widgets/qabstractbutton.cpp:407
#28 0x00007ffff382f38d in QAbstractButton::mouseReleaseEvent(QMouseEvent*) (this=0x555557030fe0, e=0x7fffffffc950)
    at widgets/qabstractbutton.cpp:1011
#29 0x00007ffff377b048 in QWidget::event(QEvent*) (this=0x555557030fe0, event=0x7fffffffc950) at kernel/qwidget.cpp:9280
#30 0x00007ffff373c83c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=
    0x5555558b3030, receiver=receiver@entry=0x555557030fe0, e=e@entry=0x7fffffffc950) at kernel/qapplication.cpp:3722
#31 0x00007ffff374465f in QApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=0x555557030fe0, e=0x7fffffffc950)
    at kernel/qapplication.cpp:3198
#32 0x00007ffff6b167e6 in Gui::GUIApplication::notify(QObject*, QEvent*) (this=
    0x7fffffffd4a0, receiver=0x555557030fe0, event=0x7fffffffc950) at /opt/freecad-source-vocx/src/Gui/GuiApplication.cpp:91
#33 0x00007ffff29be8d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=receiver@entry=0x555557030fe0, event=event@entry=0x7fffffffc950) at kernel/qcoreapplication.cpp:1024
#34 0x00007ffff3743632 in QCoreApplication::sendEvent(QObject*, QEvent*) (event=<optimized out>, receiver=<optimized out>)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:233
#35 0x00007ffff3743632 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) (receiver=receiver@entry=0x555557030fe0, event=event@entry=0x7fffffffc950, alienWidget=alienWidget@entry=0x555557030fe0, nativeWidget=0x7fffffffd4e0, buttonDown=buttonDown@entry=0x7ffff3e2e7d0 <qt_button_down>, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2704
#36 0x00007ffff379616b in QWidgetWindow::handleMouseEvent(QMouseEvent*) (this=this@entry=0x555556d018a0, event=event@entry=0x7fffffffcf70)
    at kernel/qwidgetwindow.cpp:628
#37 0x00007ffff37987da in QWidgetWindow::event(QEvent*) (this=0x555556d018a0, event=0x7fffffffcf70) at kernel/qwidgetwindow.cpp:250
---Type <return> to continue, or q <return> to quit---
#38 0x00007ffff373c83c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x5555558b3030, receiver=receiver@entry=0x555556d018a0, e=e@entry=0x7fffffffcf70) at kernel/qapplication.cpp:3722
#39 0x00007ffff3744104 in QApplication::notify(QObject*, QEvent*) (this=0x7fffffffd4a0, receiver=0x555556d018a0, e=0x7fffffffcf70)
    at kernel/qapplication.cpp:3481
#40 0x00007ffff6b167e6 in Gui::GUIApplication::notify(QObject*, QEvent*) (this=0x7fffffffd4a0, receiver=0x555556d018a0, event=0x7fffffffcf70) at /opt/freecad-source-vocx/src/Gui/GuiApplication.cpp:91
#41 0x00007ffff29be8d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=receiver@entry=0x555556d018a0, event=event@entry=0x7fffffffcf70) at kernel/qcoreapplication.cpp:1024
#42 0x00007ffff2f80583 in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) (event=0x7fffffffcf70, receiver=0x555556d018a0)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#43 0x00007ffff2f80583 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) (e=0x555556f9dab0)
    at kernel/qguiapplication.cpp:1952
#44 0x00007ffff2f82055 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) (e=e@entry=0x555556f9dab0) at kernel/qguiapplication.cpp:1733
#45 0x00007ffff2f592eb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=...)
    at kernel/qwindowsysteminterface.cpp:946
#46 0x00007fffe2b41260 in userEventSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at qeventdispatcher_glib.cpp:77
#47 0x00007fffed306417 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#48 0x00007fffed306650 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#49 0x00007fffed3066dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#50 0x00007ffff2a1788f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x555555a0fd70, flags=...)
    at kernel/qeventdispatcher_glib.cpp:423
#51 0x00007ffff29bc90a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffffffd320, flags=..., 
---Type <return> to continue, or q <return> to quit---
    flags@entry=...) at kernel/qeventloop.cpp:212
#52 0x00007ffff29c59b4 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1297
#53 0x00007ffff69e0412 in Gui::Application::runApplication() () at /opt/freecad-source-vocx/src/Gui/Application.cpp:2139
#54 0x000055555555ca9d in main(int, char**) (argc=2, argv=0x7fffffffdf08) at /opt/freecad-source-vocx/src/Main/MainGui.cpp:301
The only recent commit that may affect PartFeatures.cpp could be this one git commit f501198832.

Code: Select all

OS: Ubuntu 18.04.4 LTS (ubuntu:GNOME/ubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.20654 (Git)
Build type: Debug
Branch: master
Hash: 2ce452c6505f52cd5dfcc0252f69260e3a6f600b
Python version: 3.6.9
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
fcaduser
Posts: 448
Joined: Wed Feb 19, 2014 6:53 pm
Location: Near Paris, France

Re: [BUG] Hard consistent crash on Sweep in Part workbench

Post by fcaduser »

Crash confirmed using Part->Sweep

--------------------------------------------------------------------------------
OS: Debian GNU/Linux 10 (buster) (GNOME/gnome)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.20639 (Git)
Build type: Release
Branch: master
Hash: 45aef7b028a54c5420db49ff3284fc7377475e90
Python version: 3.7.3
Qt version: 5.11.3
Coin version: 4.0.0a
OCC version: 7.4.1.dev
Locale: French/France (fr_FR)
wmayer
Founder
Posts: 20319
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: [BUG] Hard consistent crash on Sweep in Part workbench

Post by wmayer »

vocx wrote: Mon Apr 20, 2020 6:17 pm Yes, I have to confirm that this happens with Part Sweep, but PartDesign can create a PartDesign AdditivePipe, and it works in this case.
The crash can also be reproduced with the Part design Sweep function. The difference between Part and Part design Sweep is that the transition mode has different default values. For Part it's set to "Right Corner" and for Part design it's "Transformed".

When you create a Part design Sweep and change the transition mode then it crashes, too. So, it's not a FreeCAD issue but an OCC issue.
vocx
Veteran
Posts: 5197
Joined: Thu Oct 18, 2018 9:18 pm

Re: [BUG] Hard consistent crash on Sweep in Part workbench

Post by vocx »

wmayer wrote: Tue Apr 21, 2020 9:53 am ...
When you create a Part design Sweep and change the transition mode then it crashes, too. So, it's not a FreeCAD issue but an OCC issue.
Interesting.

Just for reference in this thread we have shown the bug with OCCT 7.3 and 7.4, so the bug may have been present also in older versions of FreeCAD and OCCT.
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
Post Reply