View Issue Details

IDProjectCategoryView StatusLast Update
0002662PartDesignBugpublic2016-12-02 16:51
Reporternormandc Assigned Toickby  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformGNU/LinuxOSUbuntu 64-BitOS Version14.04 LTS
Product Version0.17 
Fixed in Version0.17 
Summary0002662: Creating a shape binder with a selected datum element crashes FreeCAD
DescriptionIf a datum axis or datum plane is selected before creating a new shape binder, FreeCAD instantly crashes.

I know that datum geometry is probably not a proper selection for a shape binder, but this should not cause FreeCAD to crash.

I do not have a Debug build at this time so I do not know if the attached backtrace is complete. If FreeCADĀ is launched from the terminal, the following output is shown:

*** Abort *** an exception was raised, but no catch was found.
    ... The exception is:SIGSEGV 'segmentation violation' detected. Address 0
Steps To Reproduce1. Create a new document
2. Create a new body
3. Click on a datum element under the BodyOrigin
4. Click on "Create new shape binder".
Additional InformationInstalled from the Daily Builds PPA freecad-daily package.

OS: Ubuntu 14.04.5 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.8139 (Git)
Build type: None
Branch: master
Hash: 595a5dd2c768233e6e2050a68752709b23f3d3d2
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
TagsNo tags attached.
FreeCAD Information

Activities

normandc

2016-08-07 17:55

manager  

fc-017-backtrace-201608071351.log (4,677 bytes)   
#0  0x0000000000000000 in ?? ()
#1  0x00007fff52eadb4e in PartDesign::ShapeBinder::getFilteredReferences(App::PropertyLinkSubList*, Part::Feature*&, std::vector<std::string, std::allocator<std::string> >&) () from /usr/lib/freecad-daily/lib/_PartDesign.so
#2  0x00007fff52eae651 in PartDesign::ShapeBinder::execute() ()
   from /usr/lib/freecad-daily/lib/_PartDesign.so
#3  0x00007ffff6d64525 in App::DocumentObject::recompute() ()
   from /usr/lib/freecad-daily/lib/libFreeCADApp.so
#4  0x00007fffc0b77b8f in Part::Feature::recompute() ()
   from /usr/lib/freecad-daily/lib/Part.so
#5  0x00007ffff6d36c3c in App::Document::_recomputeFeature(App::DocumentObject*) () from /usr/lib/freecad-daily/lib/libFreeCADApp.so
#6  0x00007ffff6d3c8a2 in App::Document::recompute() ()
   from /usr/lib/freecad-daily/lib/libFreeCADApp.so
#7  0x00007ffff6d7ec7b in App::DocumentPy::recompute(_object*) ()
   from /usr/lib/freecad-daily/lib/libFreeCADApp.so
#8  0x00007ffff6d7ecbb in App::DocumentPy::staticCallback_recompute(_object*, _object*) () from /usr/lib/freecad-daily/lib/libFreeCADApp.so
#9  0x00007ffff65470d4 in PyEval_EvalFrameEx ()
   from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#10 0x00007ffff654854d in PyEval_EvalCodeEx ()
   from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#11 0x00007ffff6548682 in PyEval_EvalCode ()
#12 0x00007ffff65424b9 in PyRun_StringFlags ()
   from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#13 0x00007ffff69b44e4 in Base::InterpreterSingleton::runString(char const*) ()
   from /usr/lib/freecad-daily/lib/libFreeCADBase.so
#14 0x00007ffff7432ef2 in Gui::Command::doCommand(Gui::Command::DoCmd_Type, char const*, ...) () from /usr/lib/freecad-daily/lib/libFreeCADGui.so
#15 0x00007fff531a7fae in CmdPartDesignShapeBinder::activated(int) ()
   from /usr/lib/freecad-daily/lib/PartDesignGui.so
#16 0x00007ffff74383bc in Gui::Command::invoke(int) ()
   from /usr/lib/freecad-daily/lib/libFreeCADGui.so
#17 0x00007ffff53b387a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#18 0x00007ffff58caa62 in QAction::triggered(bool) ()
   from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#19 0x00007ffff58cc433 in QAction::activate(QAction::ActionEvent) ()
   from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#20 0x00007ffff5c83b92 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#21 0x00007ffff5c83cbc in QAbstractButton::mouseReleaseEvent(QMouseEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#22 0x00007ffff5d3aaca in QToolButton::mouseReleaseEvent(QMouseEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#23 0x00007ffff592051a in QWidget::event(QEvent*) ()
#24 0x00007ffff58d0e2c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
    () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#25 0x00007ffff58d75dd in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#26 0x00007ffff741466f in Gui::GUIApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/freecad-daily/lib/libFreeCADGui.so
#27 0x00007ffff539f4dd in QCoreApplication::notifyInternal(QObject*, QEvent*)
    () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#28 0x00007ffff58d6d93 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
   from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#29 0x00007ffff594b9eb in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#30 0x00007ffff594b289 in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#31 0x00007ffff5972b32 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#32 0x00007fffee23ee04 in g_main_context_dispatch ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007fffee23f048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007fffee23f0ec in g_main_context_iteration ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007ffff53cc7a1 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#36 0x00007ffff5972be6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#37 0x00007ffff539e0af in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#38 0x00007ffff539e3a5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#39 0x00007ffff53a3b79 in QCoreApplication::exec() ()
   from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#40 0x00007ffff73d3e51 in Gui::Application::runApplication() ()
   from /usr/lib/freecad-daily/lib/libFreeCADGui.so
#41 0x00000000004032c6 in main ()

wmayer

2016-12-02 16:44

administrator   ~0007508

git show 261bc46

Related Changesets

FreeCAD: master 261bc467

2016-12-02 05:50:00

poserge


Committer: wmayer Details Diff
fix 0002662 - crash when create ShapeBinder with origin selected Affected Issues
0002662
mod - src/Mod/PartDesign/App/ShapeBinder.cpp Diff File
mod - src/Mod/PartDesign/Gui/TaskShapeBinder.cpp Diff File
mod - src/Mod/PartDesign/Gui/TaskShapeBinder.h Diff File

Issue History

Date Modified Username Field Change
2016-08-07 17:55 normandc New Issue
2016-08-07 17:55 normandc Status new => assigned
2016-08-07 17:55 normandc Assigned To => ickby
2016-08-07 17:55 normandc File Added: fc-017-backtrace-201608071351.log
2016-12-02 16:44 wmayer Note Added: 0007508
2016-12-02 16:44 wmayer Status assigned => closed
2016-12-02 16:44 wmayer Resolution open => fixed
2016-12-02 16:44 wmayer Fixed in Version => 0.17
2016-12-02 16:51 wmayer Changeset attached => FreeCAD Master master 261bc467