View Issue Details

IDProjectCategoryView StatusLast Update
0003344FreeCADBugpublic2018-02-12 18:16
Reporteruphill-potatoAssigned 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:
--------------------
[code=plain]
$ 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
#2 0x7f861afac0df in Gui::ViewProvider::update(App::Property const*) from /usr/lib/freecad-daily/lib/libFreeCADGui.so+0x5f
#3 0x7f861ad347cf in Gui::Document::slotChangedObject(App::DocumentObject const&, App::Property const&) from /usr/lib/freecad-daily/lib/libFreeCADGui.so+0x3f
#4 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
#5 0x7f861a656261 in App::DocumentObject::onChanged(App::Property const*) from /usr/lib/freecad-daily/lib/libFreeCADApp.so+0x21
#6 0x7f859310a2af in Part::Feature::onChanged(App::Property const*) from /usr/lib/freecad-daily/lib/Part.so+0x4f
#7 0x7f858c2d5fa8 in PartDesign::Body::onChanged(App::Property const*) from /usr/lib/freecad-daily/lib/_PartDesign.so+0x38
#8 0x7f861a6d2329 in App::Property::hasSetValue() from /usr/lib/freecad-daily/lib/libFreeCADApp.so+0x19
#9 0x7f861a6e9bbc in App::PropertyLink::setValue(App::DocumentObject*) from /usr/lib/freecad-daily/lib/libFreeCADApp.so+0xcc
#10 0x7f861a6e9c97 in App::PropertyLink::Paste(App::Property const&) from /usr/lib/freecad-daily/lib/libFreeCADApp.so+0x87
#11 0x7f861a6b52a9 in App::TransactionObject::applyChn(App::Document&, App::TransactionalObject*, bool) from /usr/lib/freecad-daily/lib/libFreeCADApp.so+0x39
#12 0x7f861a6b56b4 in App::Transaction::apply(App::Document&, bool) from /usr/lib/freecad-daily/lib/libFreeCADApp.so+0x84
#13 0x7f861a6251e3 in App::Document::undo() from /usr/lib/freecad-daily/lib/libFreeCADApp.so+0x83
#14 0x7f861ad30a33 in Gui::Document::undo(int) from /usr/lib/freecad-daily/lib/libFreeCADGui.so+0x23
#15 0x7f861af7e94e in Gui::View3DInventor::onMsg(char const*, char const**) from /usr/lib/freecad-daily/lib/libFreeCADGui.so+0x5ee
#16 0x7f861ad789fc in Gui::Command::invoke(int) from /usr/lib/freecad-daily/lib/libFreeCADGui.so+0x7c
#17 0x7f8618bd5f80 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) from /usr/lib/x86_64-linux-gnu/libQtCore.so.4+0x4d0
#18 0x7f86190e7d62 in QAction::triggered(bool) from /usr/lib/x86_64-linux-gnu/libQtGui.so.4+0x42
#19 0x7f86190e90b3 in QAction::activate(QAction::ActionEvent) from /usr/lib/x86_64-linux-gnu/libQtGui.so.4+0x83
#20 /usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x5a0cd3) [0x7f86194c9cd3]
#21 0x7f86194c9e24 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) from /usr/lib/x86_64-linux-gnu/libQtGui.so.4+0x74
#22 0x7f861958fdea in QToolButton::mouseReleaseEvent(QMouseEvent*) from /usr/lib/x86_64-linux-gnu/libQtGui.so.4+0xa
#23 0x7f86191448d0 in QWidget::event(QEvent*) from /usr/lib/x86_64-linux-gnu/libQtGui.so.4+0x2a0
#24 0x7f86190edfdc in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQtGui.so.4+0x8c
#25 0x7f86190f50d6 in QApplication::notify(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQtGui.so.4+0x476
#26 0x7f861ad53924 in Gui::GUIApplication::notify(QObject*, QEvent*) from /usr/lib/freecad-daily/lib/libFreeCADGui.so+0x54
#27 0x7f8618bc18bd in QCoreApplication::notifyInternal(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQtCore.so.4+0x8d
#28 0x7f86190f46dd in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) from /usr/lib/x86_64-linux-gnu/libQtGui.so.4+0x14d
#29 /usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x2493f2) [0x7f86191723f2]
#30 0x7f8619171c83 in QApplication::x11ProcessEvent(_XEvent*) from /usr/lib/x86_64-linux-gnu/libQtGui.so.4+0x16b3
#31 /usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x272542) [0x7f861919b542]
#32 /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x2a7) [0x7f861182a197]
#33 /lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4a3f0) [0x7f861182a3f0]
#34 /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x2c) [0x7f861182a49c]
#35 0x7f8618bf221e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/x86_64-linux-gnu/libQtCore.so.4+0x7e
#36 /usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x272616) [0x7f861919b616]
#37 0x7f8618bc013f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/x86_64-linux-gnu/libQtCore.so.4+0x3f
#38 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
#41 freecad-daily(main+0x8b4) [0x403834]
#42 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f86180f5830]
#43 freecad-daily(_start+0x29) [0x404a79]
[/code]
Tagsb-splines, crash, undo

Activities

uphill-potato

2018-02-10 11:28

reporter  

vokoscreen-2018-02-10_12-19-39.mkv (1,745,437 bytes)

Kunda1

2018-02-12 17:48

manager   ~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