View Issue Details

IDProjectCategoryView StatusLast Update
0001215FreeCADBugpublic2013-12-29 13:55
ReporternahshonAssigned Towmayer 
PrioritynormalSeveritycrashReproducibilitysometimes
Status closedResolutionfixed 
Product Versiontrunk 
Target VersionFixed 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/libTKBool.so.5
(gdb) where
#0 0xa595035d in BRepFill_Sweep::BuildShell(BRepFill_TransitionStyle, int, int, double, double) () from /lib/libTKBool.so.5
#1 0xa5952002 in BRepFill_Sweep::Build(BRepFill_TransitionStyle, GeomFill_ApproxStyle, GeomAbs_Shape, int, int) () from /lib/libTKBool.so.5
#2 0xa59e434b in BRepFill_PipeShell::Build() () from /lib/libTKBool.so.5
#3 0x4a522211 in BRepOffsetAPI_MakePipeShell::Build() () from /lib/libTKOffset.so.5
#4 0xa6262cb6 in Part::Sweep::execute (this=0x9962428) at /home/itai/FreeCAD-src/FreeCAD/src/Mod/Part/App/PartFeatures.cpp:406
#5 0xb74372b5 in App::DocumentObject::recompute (this=0x9962428) at /home/itai/FreeCAD-src/FreeCAD/src/App/DocumentObject.cpp:85
#6 0xa6265fcb in Part::Feature::recompute (this=0x9962428) at /home/itai/FreeCAD-src/FreeCAD/src/Mod/Part/App/PartFeature.cpp:81
#7 0xb73f579a in App::Document::_recomputeFeature (this=0xa0fe190, Feat=0x9962428) at /home/itai/FreeCAD-src/FreeCAD/src/App/Document.cpp:1306
#8 0xb73f5484 in App::Document::recompute (this=0xa0fe190) at /home/itai/FreeCAD-src/FreeCAD/src/App/Document.cpp:1273
#9 0xa6589b3a in PartGui::SweepWidget::accept (this=0xa5ed008) at /home/itai/FreeCAD-src/FreeCAD/src/Mod/Part/Gui/TaskSweep.cpp:186
#10 0xa658a3e8 in PartGui::TaskSweep::accept (this=0xa5a4458) at /home/itai/FreeCAD-src/FreeCAD/src/Mod/Part/Gui/TaskSweep.cpp:250
#11 0xb7adcc98 in Gui::TaskView::TaskView::accept (this=0x846eec0) at /home/itai/FreeCAD-src/FreeCAD/src/Gui/TaskView/TaskView.cpp:484
#12 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
#13 0xb3da271b in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /lib/libQtCore.so.4
#14 0xb46083d6 in QDialogButtonBox::accepted() () from /lib/libQtGui.so.4
#15 0xb46084e0 in QDialogButtonBoxPrivate::_q_handleButtonClicked() () from /lib/libQtGui.so.4
#16 0xb3da271b in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /lib/libQtCore.so.4
#17 0xb48c52ee in QAbstractButton::clicked(bool) () from /lib/libQtGui.so.4
#18 0xb45d7a52 in QAbstractButtonPrivate::emitClicked() () from /lib/libQtGui.so.4
#19 0xb45d8ea8 in QAbstractButtonPrivate::click() () from /lib/libQtGui.so.4
#20 0xb45d8fae in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /lib/libQtGui.so.4
#21 0xb4215bd4 in QWidget::event(QEvent*) () from /lib/libQtGui.so.4
#22 0xb45da042 in QAbstractButton::event(QEvent*) () from /lib/libQtGui.so.4
#23 0xb4676aed in QPushButton::event(QEvent*) () from /lib/libQtGui.so.4
#24 0xb41bae94 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/libQtGui.so.4
#25 0xb41c35dc in QApplication::notify(QObject*, QEvent*) () from /lib/libQtGui.so.4
#26 0xb78d3840 in Gui::GUIApplication::notify (this=0xbfffe68c, receiver=0xa5e4f78, event=0xbfffe144) at /home/itai/FreeCAD-src/FreeCAD/src/Gui/Application.cpp:1510
#27 0xb3d8d53a in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib/libQtCore.so.4
#28 0xb41c1224 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /lib/libQtGui.so.4
#29 0xb4242908 in QETWidget::translateMouseEvent(_XEvent const*) () from /lib/libQtGui.so.4
#30 0xb4240ff3 in QApplication::x11ProcessEvent(_XEvent*) () from /lib/libQtGui.so.4
#31 0xb426bdeb in x11EventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib/libQtGui.so.4
#32 0xb368e0f6 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#33 0xb368e4a8 in g_main_context_iterate.isra.21 () from /lib/libglib-2.0.so.0
#34 0xb368e569 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#35 0xb3dbd660 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#36 0xb426bf9f in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtGui.so.4
#37 0xb3d8bf44 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#38 0xb3d8c281 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#39 0xb3d91d1f in QCoreApplication::exec() () from /lib/libQtCore.so.4
#40 0xb41b92e5 in QApplication::exec() () from /lib/libQtGui.so.4
#41 0xb78cece9 in Gui::Application::runApplication () at /home/itai/FreeCAD-src/FreeCAD/src/Gui/Application.cpp:1766
#42 0x0804f466 in main (argc=1, argv=0xbfffeea4) at /home/itai/FreeCAD-src/FreeCAD/src/Main/MainGui.cpp:310
(gdb)

Additional InformationFedora 19, 32 bit
FreeCAD 0.14, Libs: 0.14R2393 (Git)
OCE-devel-0.11-2.fc19.i686
OCE-ocaf-0.11-2.fc19.i686
OCE-modeling-0.11-2.fc19.i686
OCE-foundation-0.11-2.fc19.i686
OCE-visualization-0.11-2.fc19.i686
OCE-draw-0.11-2.fc19.i686
python-2.7.5-3.fc19.i686
Coin2-2.5.0-18.fc19.i686
qt-4.8.5-5.fc19.i686
SoQt-1.5.0-9.fc19.i686

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

Relationships

related to 0000954 closedwmayer Helix height cannot exceed 55.87mm 

Activities

wmayer

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