View Issue Details

IDProjectCategoryView StatusLast Update
0003344FreeCADBugpublic2018-02-12 18:16
Reporteruphill-potato Assigned Towmayer  
PriorityhighSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Product Version0.17 
Target Version0.17Fixed in Version0.17 
Summary0003344: SIGSEGV when clicking "undo"
DescriptionWhat happens:
------------------
SIGSEGV when clicking undo
Steps To Reproduce1. Create sketch in XY-Plane in "Part Design Workbench"
2. Draw B-spline
3. Create another sketch in XZ-Plane
4. Draw rectangle
5. Sweep the rectangle along the spline
6. click "undo"

See attached screencast for the steps
Additional InformationVersion info:
---------------------
OS: Ubuntu 16.04.3 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13247 (Git)
Build type: None
Branch: master
Hash: 5022c8df5cef0690f2c8acff4bcebd82655a5f04
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)

Backtrace:
--------------------

$ freecad-daily
FreeCAD 0.17, Libs: 0.17R13247 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2018
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory
Program received signal SIGSEGV, Segmentation fault.
#0  /lib/x86_64-linux-gnu/libc.so.6(+0x354b0) [0x7f861810a4b0]
#1  0x7f858c694dfa in PartDesignGui::ViewProviderBody::updateData(App::Property const*) from /usr/lib/freecad-daily/lib/PartDesignGui.so+0x17a
0000002  0x7f861afac0df in Gui::ViewProvider::update(App::Property const*) from /usr/lib/freecad-daily/lib/libFreeCADGui.so+0x5f
0000003  0x7f861ad347cf in Gui::Document::slotChangedObject(App::DocumentObject const&, App::Property const&) from /usr/lib/freecad-daily/lib/libFreeCADGui.so+0x3f
0000004  0x7f861a640533 in boost::signal2<void, App::DocumentObject const&, App::Property const&, boost::last_value<void>, int, std::less<int>, boost::function<void (App::DocumentObject const&, App::Property const&)> >::operator()(App::DocumentObject const&, App::Property const&) from /usr/lib/freecad-daily/lib/libFreeCADApp.so+0x603
0000005  0x7f861a656261 in App::DocumentObject::onChanged(App::Property const*) from /usr/lib/freecad-daily/lib/libFreeCADApp.so+0x21
0000006  0x7f859310a2af in Part::Feature::onChanged(App::Property const*) from /usr/lib/freecad-daily/lib/Part.so+0x4f
0000007  0x7f858c2d5fa8 in PartDesign::Body::onChanged(App::Property const*) from /usr/lib/freecad-daily/lib/_PartDesign.so+0x38
0000008  0x7f861a6d2329 in App::Property::hasSetValue() from /usr/lib/freecad-daily/lib/libFreeCADApp.so+0x19
0000009  0x7f861a6e9bbc in App::PropertyLink::setValue(App::DocumentObject*) from /usr/lib/freecad-daily/lib/libFreeCADApp.so+0xcc
0000010  0x7f861a6e9c97 in App::PropertyLink::Paste(App::Property const&) from /usr/lib/freecad-daily/lib/libFreeCADApp.so+0x87
0000011  0x7f861a6b52a9 in App::TransactionObject::applyChn(App::Document&, App::TransactionalObject*, bool) from /usr/lib/freecad-daily/lib/libFreeCADApp.so+0x39
0000012  0x7f861a6b56b4 in App::Transaction::apply(App::Document&, bool) from /usr/lib/freecad-daily/lib/libFreeCADApp.so+0x84
0000013  0x7f861a6251e3 in App::Document::undo() from /usr/lib/freecad-daily/lib/libFreeCADApp.so+0x83
0000014  0x7f861ad30a33 in Gui::Document::undo(int) from /usr/lib/freecad-daily/lib/libFreeCADGui.so+0x23
0000015  0x7f861af7e94e in Gui::View3DInventor::onMsg(char const*, char const**) from /usr/lib/freecad-daily/lib/libFreeCADGui.so+0x5ee
0000016  0x7f861ad789fc in Gui::Command::invoke(int) from /usr/lib/freecad-daily/lib/libFreeCADGui.so+0x7c
0000017  0x7f8618bd5f80 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) from /usr/lib/x86_64-linux-gnu/libQtCore.so.4+0x4d0
0000018  0x7f86190e7d62 in QAction::triggered(bool) from /usr/lib/x86_64-linux-gnu/libQtGui.so.4+0x42
0000019  0x7f86190e90b3 in QAction::activate(QAction::ActionEvent) from /usr/lib/x86_64-linux-gnu/libQtGui.so.4+0x83
0000020  /usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x5a0cd3) [0x7f86194c9cd3]
0000021  0x7f86194c9e24 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) from /usr/lib/x86_64-linux-gnu/libQtGui.so.4+0x74
0000022  0x7f861958fdea in QToolButton::mouseReleaseEvent(QMouseEvent*) from /usr/lib/x86_64-linux-gnu/libQtGui.so.4+0xa
0000023  0x7f86191448d0 in QWidget::event(QEvent*) from /usr/lib/x86_64-linux-gnu/libQtGui.so.4+0x2a0
0000024  0x7f86190edfdc in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQtGui.so.4+0x8c
0000025  0x7f86190f50d6 in QApplication::notify(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQtGui.so.4+0x476
0000026  0x7f861ad53924 in Gui::GUIApplication::notify(QObject*, QEvent*) from /usr/lib/freecad-daily/lib/libFreeCADGui.so+0x54
0000027  0x7f8618bc18bd in QCoreApplication::notifyInternal(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQtCore.so.4+0x8d
0000028  0x7f86190f46dd in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) from /usr/lib/x86_64-linux-gnu/libQtGui.so.4+0x14d
0000029  /usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x2493f2) [0x7f86191723f2]
0000030  0x7f8619171c83 in QApplication::x11ProcessEvent(_XEvent*) from /usr/lib/x86_64-linux-gnu/libQtGui.so.4+0x16b3
0000031  /usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x272542) [0x7f861919b542]
0000032  /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x2a7) [0x7f861182a197]
0000033  /lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4a3f0) [0x7f861182a3f0]
0000034  /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x2c) [0x7f861182a49c]
0000035  0x7f8618bf221e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/x86_64-linux-gnu/libQtCore.so.4+0x7e
0000036  /usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x272616) [0x7f861919b616]
0000037  0x7f8618bc013f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/x86_64-linux-gnu/libQtCore.so.4+0x3f
0000038  0x7f8618bc04a5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/x86_64-linux-gnu/libQtCore.so.4+0x1b5
#39  0x7f8618bc6469 in QCoreApplication::exec() from /usr/lib/x86_64-linux-gnu/libQtCore.so.4+0x99
#40  0x7f861ad0c700 in Gui::Application::runApplication() from /usr/lib/freecad-daily/lib/libFreeCADGui.so+0x15b0
0000041  freecad-daily(main+0x8b4) [0x403834]
0000042  /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f86180f5830]
0000043  freecad-daily(_start+0x29) [0x404a79]
Tagsb-splines, crash, undo
FreeCAD Information

Activities

uphill-potato

2018-02-10 11:28

reporter  

Kunda1

2018-02-12 17:48

administrator   ~0010945

@abdullah this is b-spline related, care to check the screencast above ^ and weigh in?

wmayer

2018-02-12 18:16

administrator   ~0010946

https://github.com/FreeCAD/FreeCAD/commit/d5c890c50e05967849afc3f60a0cdf4bb6ae0c2b

Issue History

Date Modified Username Field Change
2018-02-10 11:28 uphill-potato New Issue
2018-02-10 11:28 uphill-potato File Added: vokoscreen-2018-02-10_12-19-39.mkv
2018-02-10 11:29 uphill-potato Tag Attached: crash
2018-02-10 11:29 uphill-potato Tag Attached: undo
2018-02-12 17:48 Kunda1 Note Added: 0010945
2018-02-12 17:48 Kunda1 Tag Attached: b-splines
2018-02-12 17:48 Kunda1 Target Version => 0.17
2018-02-12 18:16 wmayer Assigned To => wmayer
2018-02-12 18:16 wmayer Status new => closed
2018-02-12 18:16 wmayer Resolution open => fixed
2018-02-12 18:16 wmayer Fixed in Version => 0.17
2018-02-12 18:16 wmayer Note Added: 0010946