View Issue Details

IDProjectCategoryView StatusLast Update
0003146PartDesignBugpublic2017-09-25 14:48
ReportervectroAssigned To 
PrioritynormalSeverityminorReproducibilitysometimes
Status closedResolutionfixed 
PlatformLinuxOSUbuntuOS Version16.04
Product Version0.17 
Target VersionFixed in Version0.17 
Summary0003146: Crash in PartDesign Sweep
DescriptionSee forum discussion here: https://forum.freecadweb.org/viewtopic.php?f=19&t=20246&start=15

Crash in partdesign sweep with a non-planar face.
Steps To Reproduce[list=1]
[*] Make body Clamp active.
[*] Select bottom face of ShapeBinder (Face8, the one facing the Clamp body).
[*] Choose PartDesign Sweep
[*] Choose Sketch004 as the sweep object
[*] Set Transform mode to Multisection
[*] Add section Mirrored.Face11 (this is the face closet to Pad002)
[*] Usually Freecad crashes here. If not, remove the section and add it again.
[/list]
Additional InformationOS: Ubuntu 16.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.11670 (Git)
Build type: None
Branch: master
Hash: 7b066fe33488ddc389c4545e93647a8e59e69a2b
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: English/UnitedStates (en_US)


Program received signal SIGSEGV, Segmentation fault.
#0 /lib/x86_64-linux-gnu/libc.so.6(+0x354b0) [0x7ff2283f94b0]
#1 0x7ff1be4bf534 in PartDesign::Pipe::execute() from /usr/lib/freecad-daily/lib/_PartDesign.so+0x13e4
#2 0x7ff22a930465 in App::DocumentObject::recompute() from /usr/lib/freecad-daily/lib/libFreeCADApp.so+0x15
#3 0x7ff1a9f31d9f in Part::Feature::recompute() from /usr/lib/freecad-daily/lib/Part.so+0x1f
#4 0x7ff22a8fc03c in App::Document::_recomputeFeature(App::DocumentObject*) from /usr/lib/freecad-daily/lib/libFreeCADApp.so+0xac
#5 0x7ff1a747b0c3 in PartDesignGui::TaskPipeScaling::onSelectionChanged(Gui::SelectionChanges const&) from /usr/lib/freecad-daily/lib/PartDesignGui.so+0x83
#6 0x7ff22b31f75c in boost::signal1<void, Gui::SelectionChanges const&, boost::last_value<void>, int, std::less<int>, boost::function<void (Gui::SelectionChanges const&)> >::operator()(Gui::SelectionChanges const&) from /usr/lib/freecad-daily/lib/libFreeCADGui.so+0x3cc
#7 0x7ff22b31bc6c in Gui::SelectionSingleton::addSelection(char const*, char const*, char const*, float, float, float) from /usr/lib/freecad-daily/lib/libFreeCADGui.so+0x3fc
#8 0x7ff22b19c26f in Gui::SoFCUnifiedSelection::handleEvent(SoHandleEventAction*) from /usr/lib/freecad-daily/lib/libFreeCADGui.so+0xd5f
#9 0x7ff227d381b0 in SoNode::handleEventS(SoAction*, SoNode*) from /usr/lib/x86_64-linux-gnu/libCoin.so.80+0x90
#10 0x7ff227adbca4 in SoAction::traverse(SoNode*) from /usr/lib/x86_64-linux-gnu/libCoin.so.80+0x64
#11 0x7ff227c4267e in SoChildList::traverse(SoAction*, int, int) from /usr/lib/x86_64-linux-gnu/libCoin.so.80+0x26e
#12 0x7ff227d2c7d6 in SoGroup::doAction(SoAction*) from /usr/lib/x86_64-linux-gnu/libCoin.so.80+0x56
#13 0x7ff227d4be57 in SoSeparator::doAction(SoAction*) from /usr/lib/x86_64-linux-gnu/libCoin.so.80+0x27
#14 0x7ff227d381b0 in SoNode::handleEventS(SoAction*, SoNode*) from /usr/lib/x86_64-linux-gnu/libCoin.so.80+0x90
#15 0x7ff227adbca4 in SoAction::traverse(SoNode*) from /usr/lib/x86_64-linux-gnu/libCoin.so.80+0x64
#16 0x7ff227ae721a in SoHandleEventAction::beginTraversal(SoNode*) from /usr/lib/x86_64-linux-gnu/libCoin.so.80+0x7a
#17 0x7ff227add4f2 in SoAction::apply(SoNode*) from /usr/lib/x86_64-linux-gnu/libCoin.so.80+0x472
#18 0x7ff227c61fa9 in SoEventManager::actuallyProcessEvent(SoEvent const*) from /usr/lib/x86_64-linux-gnu/libCoin.so.80+0x89
#19 0x7ff22b20d62e in SIM::Coin3D::Quarter::QuarterWidget::processSoEvent(SoEvent const*) from /usr/lib/freecad-daily/lib/libFreeCADGui.so+0x1e
#20 0x7ff22b21a293 in SIM::Coin3D::Quarter::SoQTQuarterAdaptor::processSoEvent(SoEvent const*) from /usr/lib/freecad-daily/lib/libFreeCADGui.so+0x53
#21 0x7ff22b242859 in Gui::View3DInventorViewer::processSoEventBase(SoEvent const*) from /usr/lib/freecad-daily/lib/libFreeCADGui.so+0x9
#22 0x7ff22b229df6 in Gui::TouchpadNavigationStyle::processSoEvent(SoEvent const*) from /usr/lib/freecad-daily/lib/libFreeCADGui.so+0x2b6
#23 0x7ff22b2230d2 in Gui::NavigationStyle::processEvent(SoEvent const*) from /usr/lib/freecad-daily/lib/libFreeCADGui.so+0x72
#24 0x7ff22b242917 in Gui::View3DInventorViewer::processSoEvent(SoEvent const*) from /usr/lib/freecad-daily/lib/libFreeCADGui.so+0xa7
#25 0x7ff22b21529d in SIM::Coin3D::Quarter::EventFilter::eventFilter(QObject*, QEvent*) from /usr/lib/freecad-daily/lib/libFreeCADGui.so+0x18d
#26 0x7ff228eb0a76 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQtCore.so.4+0x86
#27 0x7ff2293ddfbc in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQtGui.so.4+0x6c
#28 0x7ff2293e50d6 in QApplication::notify(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQtGui.so.4+0x476
#29 0x7ff22b015c64 in Gui::GUIApplication::notify(QObject*, QEvent*) from /usr/lib/freecad-daily/lib/libFreeCADGui.so+0x54
#30 0x7ff228eb090d in QCoreApplication::notifyInternal(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQtCore.so.4+0x8d
#31 0x7ff2293e46dd in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) from /usr/lib/x86_64-linux-gnu/libQtGui.so.4+0x14d
#32 /usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x2493f2) [0x7ff2294623f2]
#33 0x7ff229461c83 in QApplication::x11ProcessEvent(_XEvent*) from /usr/lib/x86_64-linux-gnu/libQtGui.so.4+0x16b3
#34 /usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x272542) [0x7ff22948b542]
#35 /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x2a7) [0x7ff221b18197]
#36 /lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4a3f0) [0x7ff221b183f0]
#37 /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x2c) [0x7ff221b1849c]
#38 0x7ff228ee12ae in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/x86_64-linux-gnu/libQtCore.so.4+0x7e
#39 /usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x272616) [0x7ff22948b616]
#40 0x7ff228eaf18f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/x86_64-linux-gnu/libQtCore.so.4+0x3f
#41 0x7ff228eaf4f5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/x86_64-linux-gnu/libQtCore.so.4+0x1b5
#42 0x7ff228eb54b9 in QCoreApplication::exec() from /usr/lib/x86_64-linux-gnu/libQtCore.so.4+0x99
#43 0x7ff22afcf1d0 in Gui::Application::runApplication() from /usr/lib/freecad-daily/lib/libFreeCADGui.so+0x15b0
#44 freecad-daily(main+0x6d0) [0x403410]
#45 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7ff2283e4830]
#46 freecad-daily(_start+0x29) [0x404669]
TagsNo tags attached.

Activities

vectro

2017-07-30 22:25

reporter  

pipe-crash.fcstd (63,223 bytes)

wmayer

2017-09-25 14:48

administrator   ~0010191

https://github.com/FreeCAD/FreeCAD/commit/47cd41f25c1be55eabfe382f4a994d4b62eb8b0f#diff-4104d1fce97c7a35bad3a04fa711021bR199 fixes the crash.

Issue History

Date Modified Username Field Change
2017-07-30 22:25 vectro New Issue
2017-07-30 22:25 vectro File Added: pipe-crash.fcstd
2017-09-25 09:12 wmayer Status new => confirmed
2017-09-25 14:48 wmayer Status confirmed => closed
2017-09-25 14:48 wmayer Resolution open => fixed
2017-09-25 14:48 wmayer Fixed in Version => 0.17
2017-09-25 14:48 wmayer Note Added: 0010191