View Issue Details

IDProjectCategoryView StatusLast Update
0004117Part[FreeCAD] Bugpublic2019-09-08 18:24
ReporterfcaduserAssigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status acknowledgedResolutionopen 
Product Version[FreeCAD] 0.19 
Target VersionFixed in Version 
Summary0004117: Crash during extrusion
Description---------------------------------------------------
OS: Debian GNU/Linux 10 (buster) (GNOME/gnome)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18072 (Git)
Build type: Release
Branch: master
Hash: e9f60b9191107385d41262a381007216d1cbe432
Python version: 3.7.3
Qt version: 5.11.3
Coin version: 4.0.0a
OCC version: 7.3.1.dev
Locale: French/France (fr_FR)
---------------------------------------------------

OCCT used : a22151d (tarball related to issue 0030927)
http://git.dev.opencascade.org/gitweb/?p=occt.git;a=shortlog

---------------------------------------------------

Doing an extrusion (keeping the default parameters from extrusion feature) with the unique sketch systematically crashes FC.
Additional InformationDiscussion thread: https://forum.freecadweb.org/viewtopic.php?f=8&t=39182
TagsNo tags attached.

Activities

fcaduser

2019-09-06 11:49

reporter  

crash.FCStd (7,722 bytes)

Kunda1

2019-09-07 15:13

administrator   ~0013552

Last edited: 2019-09-07 17:28

View 2 revisions

@fcaduser since you're using a dev version of OCC can you also generate a backtrace and post here. Also please familiarize yourself with out guidelines of opening a thread on the forum before opening a ticket. This saves the bug triage volunteers from doing it. thanks

fcaduser

2019-09-08 17:59

reporter   ~0013558

Here is the backtrace. (I upload it because the text formatting do a mess.)

gdb.txt (9,400 bytes)
(gdb) run
Starting program: /home/mainuser/softwares/freecad_2019-08-27/bin/FreeCAD 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
FreeCAD 0.19, Libs: 0.19R18072 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2019
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

Sheet Metal workbench loaded
[New Thread 0x7fffecf37700 (LWP 3607)]
[New Thread 0x7fffe6ed4700 (LWP 3608)]
[New Thread 0x7fffe66b1700 (LWP 3609)]
[New Thread 0x7fffe5e7c700 (LWP 3610)]
[New Thread 0x7fffe566a700 (LWP 3611)]
[New Thread 0x7fffd7237700 (LWP 3612)]
[New Thread 0x7fffd6a36700 (LWP 3613)]
[New Thread 0x7fffd6235700 (LWP 3614)]
[New Thread 0x7fffd5a34700 (LWP 3615)]
[New Thread 0x7fffd5233700 (LWP 3616)]
[New Thread 0x7fffd4a32700 (LWP 3617)]
[New Thread 0x7fffb7fff700 (LWP 3618)]
[New Thread 0x7fffb77fe700 (LWP 3619)]
[New Thread 0x7fffb6ffd700 (LWP 3620)]
[New Thread 0x7fffb67fc700 (LWP 3621)]
[Thread 0x7fffb67fc700 (LWP 3621) exited]
[Detaching after fork from child process 3624]
[New Thread 0x7fffb67fc700 (LWP 3626)]
[New Thread 0x7fff543ff700 (LWP 3627)]
[Thread 0x7fffe66b1700 (LWP 3609) exited]
connect failed: Aucun fichier ou dossier de ce type
[New Thread 0x7fffe66b1700 (LWP 3629)]
[New Thread 0x7fff521ff700 (LWP 3630)]
[New Thread 0x7fff519fe700 (LWP 3631)]
[Thread 0x7fffe66b1700 (LWP 3629) exited]
[Thread 0x7fff519fe700 (LWP 3631) exited]
[New Thread 0x7fff519fe700 (LWP 3632)]
[New Thread 0x7fffe66b1700 (LWP 3633)]
[New Thread 0x7fff50a07700 (LWP 3634)]
[New Thread 0x7fff43fff700 (LWP 3635)]
[New Thread 0x7fff437fe700 (LWP 3636)]
[New Thread 0x7fff42b82700 (LWP 3637)]
[Thread 0x7fff521ff700 (LWP 3630) exited]

Thread 1 "FreeCAD" received signal SIGSEGV, Segmentation fault.
0x00007fffa1fbbd25 in TopLoc_Location::Multiplied(TopLoc_Location const&) const () from /home/mainuser/softwares/occt/lib/libTKMath.so.7
(gdb) bt
#0  0x00007fffa1fbbd25 in TopLoc_Location::Multiplied(TopLoc_Location const&) const () at /home/mainuser/softwares/occt/lib/libTKMath.so.7
#1  0x00007fffa0da02a1 in BRep_Tool::Surface(TopoDS_Face const&, TopLoc_Location&) () at /home/mainuser/softwares/occt/lib/libTKBRep.so.7
#2  0x00007fffa0db50a4 in BRepAdaptor_Surface::Initialize(TopoDS_Face const&, bool) () at /home/mainuser/softwares/occt/lib/libTKBRep.so.7
#3  0x00007fffa0db53aa in BRepAdaptor_Surface::BRepAdaptor_Surface(TopoDS_Face const&, bool) () at /home/mainuser/softwares/occt/lib/libTKBRep.so.7
#4  0x00007fffa27424ad in Part::FaceMakerBullseye::FaceDriller::getWireDirection(gp_Pln const&, TopoDS_Wire const&) () at /home/mainuser/softwares/freecad_2019-08-27/lib/Part.so
#5  0x00007fffa2742aae in Part::FaceMakerBullseye::FaceDriller::FaceDriller(gp_Pln, TopoDS_Wire) () at /home/mainuser/softwares/freecad_2019-08-27/lib/Part.so
#6  0x00007fffa2743196 in Part::FaceMakerBullseye::Build_Essence() () at /home/mainuser/softwares/freecad_2019-08-27/lib/Part.so
#7  0x00007fffa273bbe8 in Part::FaceMaker::Build() () at /home/mainuser/softwares/freecad_2019-08-27/lib/Part.so
#8  0x00007fffa25aa25b in Part::Extrusion::extrudeShape(Part::TopoShape, Part::Extrusion::ExtrusionParameters) () at /home/mainuser/softwares/freecad_2019-08-27/lib/Part.so
#9  0x00007fffa25ab770 in Part::Extrusion::execute() () at /home/mainuser/softwares/freecad_2019-08-27/lib/Part.so
#10 0x00007ffff68bd3e9 in App::DocumentObject::recompute() () at /home/mainuser/softwares/freecad_2019-08-27/lib/libFreeCADApp.so
#11 0x00007fffa25bc8ab in Part::Feature::recompute() () at /home/mainuser/softwares/freecad_2019-08-27/lib/Part.so
#12 0x00007ffff686595c in App::Document::_recomputeFeature(App::DocumentObject*) () at /home/mainuser/softwares/freecad_2019-08-27/lib/libFreeCADApp.so
#13 0x00007ffff6879544 in App::Document::recompute(std::vector<App::DocumentObject*, std::allocator<App::DocumentObject*> > const&, bool, bool*, int) ()
    at /home/mainuser/softwares/freecad_2019-08-27/lib/libFreeCADApp.so
#14 0x00007ffff68fb13c in App::DocumentPy::recompute(_object*) () at /home/mainuser/softwares/freecad_2019-08-27/lib/libFreeCADApp.so
#15 0x00007ffff68fb2d3 in App::DocumentPy::staticCallback_recompute(_object*, _object*) () at /home/mainuser/softwares/freecad_2019-08-27/lib/libFreeCADApp.so
#16 0x00007ffff5c9ccc9 in _PyMethodDef_RawFastCallKeywords () at /lib/x86_64-linux-gnu/libpython3.7m.so.1.0
#17 0x00007ffff5c9da05 in _PyCFunction_FastCallKeywords () at /lib/x86_64-linux-gnu/libpython3.7m.so.1.0
#18 0x00007ffff5a9ecb0 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.7m.so.1.0
#19 0x00007ffff5bc61e6 in _PyEval_EvalCodeWithName () at /lib/x86_64-linux-gnu/libpython3.7m.so.1.0
#20 0x00007ffff5bc646e in PyEval_EvalCodeEx () at /lib/x86_64-linux-gnu/libpython3.7m.so.1.0
#21 0x00007ffff5bc723b in PyEval_EvalCode () at /lib/x86_64-linux-gnu/libpython3.7m.so.1.0
#22 0x00007ffff5b94feb in PyRun_StringFlags () at /lib/x86_64-linux-gnu/libpython3.7m.so.1.0
#23 0x00007ffff65ba474 in Base::InterpreterSingleton::runString[abi:cxx11](char const*) () at /home/mainuser/softwares/freecad_2019-08-27/lib/libFreeCADBase.so
#24 0x00007ffff7056adc in Gui::Command::_runCommand(char const*, int, Gui::Command::DoCmd_Type, char const*) () at /home/mainuser/softwares/freecad_2019-08-27/lib/libFreeCADGui.so
#25 0x00007ffff7056c49 in Gui::Command::_doCommand(char const*, int, Gui::Command::DoCmd_Type, char const*, ...) () at /home/mainuser/softwares/freecad_2019-08-27/lib/libFreeCADGui.so
#26 0x00007ffff7056d52 in Gui::Command::updateActive() () at /home/mainuser/softwares/freecad_2019-08-27/lib/libFreeCADGui.so
#27 0x00007fff50b64a0e in PartGui::DlgExtrusion::apply() () at /home/mainuser/softwares/freecad_2019-08-27/lib/PartGui.so
#28 0x00007fff50b655cb in PartGui::TaskExtrusion::accept() () at /home/mainuser/softwares/freecad_2019-08-27/lib/PartGui.so
#29 0x00007ffff726ccc6 in Gui::TaskView::TaskView::accept() () at /home/mainuser/softwares/freecad_2019-08-27/lib/libFreeCADGui.so
#30 0x00007ffff3b3a906 in QMetaObject::activate(QObject*, int, int, void**) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007ffff46142f0 in  () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#32 0x00007ffff3b3a906 in QMetaObject::activate(QObject*, int, int, void**) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x00007ffff4574642 in QAbstractButton::clicked(bool) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#34 0x00007ffff457485a in  () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#35 0x00007ffff4575c1f in  () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#36 0x00007ffff4575df5 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#37 0x00007ffff44cc588 in QWidget::event(QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#38 0x00007ffff448e4b1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#39 0x00007ffff4495b98 in QApplication::notify(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#40 0x00007ffff702abe8 in Gui::GUIApplication::notify(QObject*, QEvent*) () at /home/mainuser/softwares/freecad_2019-08-27/lib/libFreeCADGui.so
#41 0x00007ffff3b115a9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#42 0x00007ffff4494ec9 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#43 0x00007ffff44e7014 in  () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#44 0x00007ffff44e9b9e in  () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#45 0x00007ffff448e4b1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#46 0x00007ffff4495950 in QApplication::notify(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#47 0x00007ffff702abe8 in Gui::GUIApplication::notify(QObject*, QEvent*) () at /home/mainuser/softwares/freecad_2019-08-27/lib/libFreeCADGui.so
#48 0x00007ffff3b115a9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#49 0x00007ffff3ebefe3 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /lib/x86_64-linux-gnu/libQt5Gui.so.5
#50 0x00007ffff3ec0e25 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /lib/x86_64-linux-gnu/libQt5Gui.so.5
#51 0x00007ffff3e9b06b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Gui.so.5
--Type <RET> for more, q to quit, c to continue without paging--c
#52 0x00007fffee0f63eb in  () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#53 0x00007ffff3b1027b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#54 0x00007ffff3b18262 in QCoreApplication::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#55 0x00007ffff6fb3119 in Gui::Application::runApplication() () at /home/mainuser/softwares/freecad_2019-08-27/lib/libFreeCADGui.so
#56 0x0000555555558800 in main ()
(gdb)
gdb.txt (9,400 bytes)

Kunda1

2019-09-08 18:23

administrator   ~0013559

@fcaduser thanks.
I went ahead and created a forum thread for further discussion: https://forum.freecadweb.org/viewtopic.php?f=8&t=39182

Issue History

Date Modified Username Field Change
2019-09-06 11:49 fcaduser New Issue
2019-09-06 11:49 fcaduser File Added: crash.FCStd
2019-09-06 12:10 fcaduser Description Updated View Revisions
2019-09-07 15:13 Kunda1 Assigned To => Kunda1
2019-09-07 15:13 Kunda1 Status new => feedback
2019-09-07 15:13 Kunda1 Note Added: 0013552
2019-09-07 17:28 Kunda1 Note Edited: 0013552 View Revisions
2019-09-07 17:28 Kunda1 Tag Attached: #post-to-forum
2019-09-08 17:53 fcaduser Status feedback => assigned
2019-09-08 17:59 fcaduser File Added: gdb.txt
2019-09-08 17:59 fcaduser Note Added: 0013558
2019-09-08 18:23 Kunda1 Note Added: 0013559
2019-09-08 18:23 Kunda1 Tag Detached: #post-to-forum
2019-09-08 18:23 Kunda1 Assigned To Kunda1 =>
2019-09-08 18:23 Kunda1 Status assigned => acknowledged
2019-09-08 18:24 Kunda1 Additional Information Updated View Revisions