View Issue Details

IDProjectCategoryView StatusLast Update
0001215FreeCADBugpublic2013-12-29 13:55
Reporternahshon Assigned Towmayer  
Status closedResolutionfixed 
Product Versiontrunk 
Fixed in Version0.14 
Summary0001215: Sweeping along a helix causes exception
DescriptionUse "Created primitives..." from the Part menu to create an ellipse and a helix.
Ellipse parameters (on XY plane):
  Major radius 4.0
  Minor radius 2.0
  Angle 1 0.0
  Angle 2 360.0
Helix parameters (extends along the Z axis):
  Pitch 5.0
  Height 200.0
  Radius 5.0
  Angle 0.0

then use the Sweep tool to sweep the ellipse along the helix. In the sweep tool set (check) the "Create Solid" and the "Frenet" options.

Result (in most cases) segmentation fault in OpenCASCADE code.
If an exception does not happen immediately, change the Helix parameters from the Data tab and refresh.

Gdb stack trace:
Program received signal SIGSEGV, Segmentation fault.
0xa595035d in BRepFill_Sweep::BuildShell(BRepFill_TransitionStyle, int, int, double, double) () from /lib/
(gdb) where
#0 0xa595035d in BRepFill_Sweep::BuildShell(BRepFill_TransitionStyle, int, int, double, double) () from /lib/
#1 0xa5952002 in BRepFill_Sweep::Build(BRepFill_TransitionStyle, GeomFill_ApproxStyle, GeomAbs_Shape, int, int) () from /lib/
0000002 0xa59e434b in BRepFill_PipeShell::Build() () from /lib/
0000003 0x4a522211 in BRepOffsetAPI_MakePipeShell::Build() () from /lib/
0000004 0xa6262cb6 in Part::Sweep::execute (this=0x9962428) at /home/itai/FreeCAD-src/FreeCAD/src/Mod/Part/App/PartFeatures.cpp:406
0000005 0xb74372b5 in App::DocumentObject::recompute (this=0x9962428) at /home/itai/FreeCAD-src/FreeCAD/src/App/DocumentObject.cpp:85
0000006 0xa6265fcb in Part::Feature::recompute (this=0x9962428) at /home/itai/FreeCAD-src/FreeCAD/src/Mod/Part/App/PartFeature.cpp:81
0000007 0xb73f579a in App::Document::_recomputeFeature (this=0xa0fe190, Feat=0x9962428) at /home/itai/FreeCAD-src/FreeCAD/src/App/Document.cpp:1306
0000008 0xb73f5484 in App::Document::recompute (this=0xa0fe190) at /home/itai/FreeCAD-src/FreeCAD/src/App/Document.cpp:1273
0000009 0xa6589b3a in PartGui::SweepWidget::accept (this=0xa5ed008) at /home/itai/FreeCAD-src/FreeCAD/src/Mod/Part/Gui/TaskSweep.cpp:186
0000010 0xa658a3e8 in PartGui::TaskSweep::accept (this=0xa5a4458) at /home/itai/FreeCAD-src/FreeCAD/src/Mod/Part/Gui/TaskSweep.cpp:250
0000011 0xb7adcc98 in Gui::TaskView::TaskView::accept (this=0x846eec0) at /home/itai/FreeCAD-src/FreeCAD/src/Gui/TaskView/TaskView.cpp:484
0000012 0xb7add10a in Gui::TaskView::TaskView::qt_static_metacall (_o=0x846eec0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfffda58)
    at /home/itai/FreeCAD-src/build/src/Gui/TaskView/moc_TaskView.cpp:242
0000013 0xb3da271b in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /lib/
0000014 0xb46083d6 in QDialogButtonBox::accepted() () from /lib/
0000015 0xb46084e0 in QDialogButtonBoxPrivate::_q_handleButtonClicked() () from /lib/
0000016 0xb3da271b in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /lib/
0000017 0xb48c52ee in QAbstractButton::clicked(bool) () from /lib/
0000018 0xb45d7a52 in QAbstractButtonPrivate::emitClicked() () from /lib/
0000019 0xb45d8ea8 in QAbstractButtonPrivate::click() () from /lib/
0000020 0xb45d8fae in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /lib/
0000021 0xb4215bd4 in QWidget::event(QEvent*) () from /lib/
0000022 0xb45da042 in QAbstractButton::event(QEvent*) () from /lib/
0000023 0xb4676aed in QPushButton::event(QEvent*) () from /lib/
0000024 0xb41bae94 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/
0000025 0xb41c35dc in QApplication::notify(QObject*, QEvent*) () from /lib/
0000026 0xb78d3840 in Gui::GUIApplication::notify (this=0xbfffe68c, receiver=0xa5e4f78, event=0xbfffe144) at /home/itai/FreeCAD-src/FreeCAD/src/Gui/Application.cpp:1510
0000027 0xb3d8d53a in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib/
0000028 0xb41c1224 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /lib/
0000029 0xb4242908 in QETWidget::translateMouseEvent(_XEvent const*) () from /lib/
0000030 0xb4240ff3 in QApplication::x11ProcessEvent(_XEvent*) () from /lib/
0000031 0xb426bdeb in x11EventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib/
0000032 0xb368e0f6 in g_main_context_dispatch () from /lib/
0000033 0xb368e4a8 in g_main_context_iterate.isra.21 () from /lib/
0000034 0xb368e569 in g_main_context_iteration () from /lib/
0000035 0xb3dbd660 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/
0000036 0xb426bf9f in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/
0000037 0xb3d8bf44 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/
0000038 0xb3d8c281 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/
#39 0xb3d91d1f in QCoreApplication::exec() () from /lib/
#40 0xb41b92e5 in QApplication::exec() () from /lib/
0000041 0xb78cece9 in Gui::Application::runApplication () at /home/itai/FreeCAD-src/FreeCAD/src/Gui/Application.cpp:1766
0000042 0x0804f466 in main (argc=1, argv=0xbfffeea4) at /home/itai/FreeCAD-src/FreeCAD/src/Main/MainGui.cpp:310

Additional InformationFedora 19, 32 bit
FreeCAD 0.14, Libs: 0.14R2393 (Git)

This bug is possibly related to 0000954.
TagsNo tags attached.
FreeCAD Information


related to 0000954 closedwmayer Helix height cannot exceed 55.87mm 



2013-12-29 13:55

administrator   ~0003988

git show 775e6eb

Issue History

Date Modified Username Field Change
2013-08-15 09:02 nahshon New Issue
2013-12-29 13:54 wmayer Assigned To => wmayer
2013-12-29 13:54 wmayer Status new => assigned
2013-12-29 13:54 wmayer Relationship added related to 0000954
2013-12-29 13:55 wmayer Note Added: 0003988
2013-12-29 13:55 wmayer Status assigned => closed
2013-12-29 13:55 wmayer Resolution open => fixed
2013-12-29 13:55 wmayer Fixed in Version => 0.14