Bug#920971: freecad: C++ exception on DXF import

Bernhard Übelacker bernhardu at mailbox.org
Fri Feb 1 18:47:05 GMT 2019


Dear Maintainer, hello Wookey,
just tried to find out where this exception comes from.

And is looks like it originates in libTKTopAlgo.so.7
(libocct-modeling-algorithms-7.3 / opencascade).

Having no deeper knowledge of either freecad or opencascade,
I can just guess if the next step would be to reassign to
opencascade?

Kind regards,
Bernhard


(gdb) bt
#0  0x00007ffff3b20add in __cxxabiv1::__cxa_throw (obj=obj at entry=0x555564b63480, tinfo=0x7fff4dfda6e0 <typeinfo for StdFail_NotDone>, tinfo at entry=0x7fff4c8a8358 <typeinfo for StdFail_NotDone>, dest=0x7fff4dda2c90 <StdFail_NotDone::~StdFail_NotDone()>, dest at entry=0x7fff4c68ab30 <StdFail_NotDone::~StdFail_NotDone()>) at ../../../../src/libstdc++-v3/libsupc++/eh_throw.cc:78
#1  0x00007fff4c6495d8 in BRepLib_Command::Check (this=this at entry=0x7fffffffa3c0) from /usr/lib/x86_64-linux-gnu/libTKTopAlgo.so.7
#2  0x00007fff4c76f1e8 in BRepLib_MakeShape::Shape (this=this at entry=0x7fffffffa3c0) at ./src/BRepLib/BRepLib_MakeShape.cxx:51
#3  0x00007fff4c76263b in BRepLib_MakeEdge::Edge (this=this at entry=0x7fffffffa3c0) at ./src/BRepLib/BRepLib_MakeEdge.cxx:1219
#4  0x00007fff4c7b0cf9 in BRepBuilderAPI_MakeEdge::Edge (this=this at entry=0x7fffffffa370) at ./src/BRepBuilderAPI/BRepBuilderAPI_MakeEdge.cxx:880
#5  0x00007fff60f727bf in DraftUtils::DraftDxfRead::OnReadArc (this=0x7fffffffa920, s=<optimized out>, e=<optimized out>, c=0x7fffffffa570, dir=<optimized out>) at ./src/Mod/Draft/App/DraftDxf.cpp:107
#6  0x00007fff60f64891 in CDxfRead::OnReadArc (this=this at entry=0x7fffffffa920, start_angle=<optimized out>, end_angle=0, radius=0, c=c at entry=0x7fffffffa630, z_extrusion_dir=1, hidden=hidden at entry=false) at ./src/Mod/Draft/App/dxf.cpp:1289
#7  0x00007fff60f67fc2 in CDxfRead::ReadArc (this=0x7fffffffa920) at ./src/Mod/Draft/App/dxf.cpp:429
#8  0x00007fff60f6fcc9 in CDxfRead::DoRead (this=0x7fffffffa920, ignore_errors=<optimized out>) at ./src/Mod/Draft/App/dxf.cpp:1733
#9  0x00007fff60f60cdf in DraftUtils::Module::readDXF (this=<optimized out>, args=...) at ./src/Mod/Draft/App/AppDraftUtilsPy.cpp:83
#10 0x00007fff60f5fb0a in Py::ExtensionModule<DraftUtils::Module>::invoke_method_varargs (this=this at entry=0x555558899370, method_def=<optimized out>, args=...) at ./src/CXX/Python2/ExtensionModule.hxx:175
#11 0x00007ffff6b2bec6 in Py::method_varargs_call_handler (_self_and_name_tuple=<optimized out>, _args=<optimized out>) at ./src/CXX/Python2/Objects.hxx:1170
#12 0x00007ffff683c43b in PyEval_EvalFrameEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#13 0x00007ffff683bd00 in PyEval_EvalFrameEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#14 0x00007ffff6834122 in PyEval_EvalCodeEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#15 0x00007ffff6834739 in PyEval_EvalCode () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#16 0x00007ffff680cf56 in PyRun_StringFlags () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#17 0x00007ffff6b575f6 in Base::InterpreterSingleton::runString[abi:cxx11](char const*) (this=<optimized out>, sCmd=0x55555818c178 "importDXF.insert(u\"/home/benutzer/houseplan.dxf\",\"Unbenannt\")") at ./src/Base/Interpreter.cpp:232
#18 0x00007ffff72be1b3 in Gui::Command::doCommand (eType=eType at entry=Gui::Command::App, sCmd=sCmd at entry=0x7ffff75ca612 "%s.insert(u\"%s\",\"%s\")") at /usr/include/x86_64-linux-gnu/qt5/QtCore/qarraydata.h:206
#19 0x00007ffff724daed in Gui::Application::importFrom (this=this at entry=0x7fffffffdaa0, FileName=<optimized out>, DocName=DocName at entry=0x555555badf60 "Unbenannt", Module=Module at entry=0x5555580a96f8 "importDXF") at ./src/Gui/Application.cpp:561
#20 0x00007ffff72c8d02 in StdCmdImport::activated (this=0x5555557ccad0, iMsg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qarraydata.h:206
#21 0x00007ffff72c2524 in Gui::Command::invoke (this=0x5555557ccad0, i=0) at ./src/Gui/Command.cpp:300
#22 0x00007ffff42526cb in QMetaObject::activate (sender=0x555556ba7260, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3771
#23 0x00007ffff4b9aee2 in QAction::triggered (this=this at entry=0x555556ba7260, _t1=<optimized out>) at .moc/moc_qaction.cpp:376
#24 0x00007ffff4b9d4f0 in QAction::activate (this=0x555556ba7260, event=<optimized out>) at kernel/qaction.cpp:1166
#25 0x00007ffff4d0de1c in QMenuPrivate::activateCausedStack (this=this at entry=0x55555627cc70, causedStack=..., action=action at entry=0x555556ba7260, action_e=action_e at entry=QAction::Trigger, self=self at entry=true) at widgets/qmenu.cpp:1371
#26 0x00007ffff4d153f0 in QMenuPrivate::activateAction (this=this at entry=0x55555627cc70, action=action at entry=0x555556ba7260, action_e=action_e at entry=QAction::Trigger, self=self at entry=true) at widgets/qmenu.cpp:1448
#27 0x00007ffff4d1641b in QMenu::mouseReleaseEvent (this=<optimized out>, e=0x7fffffffd000) at widgets/qmenu.cpp:2942
#28 0x00007ffff4bdf7c8 in QWidget::event (this=this at entry=0x55555595a4a0, event=event at entry=0x7fffffffd000) at kernel/qwidget.cpp:8925
#29 0x00007ffff4d18aab in QMenu::event (this=0x55555595a4a0, e=0x7fffffffd000) at widgets/qmenu.cpp:3064
#30 0x00007ffff4ba1491 in QApplicationPrivate::notify_helper (this=this at entry=0x5555555d4f50, receiver=receiver at entry=0x55555595a4a0, e=e at entry=0x7fffffffd000) at kernel/qapplication.cpp:3726
#31 0x00007ffff4ba8d18 in QApplication::notify (this=<optimized out>, receiver=0x55555595a4a0, e=e at entry=0x7fffffffd000) at kernel/qapplication.cpp:3202
#32 0x00007ffff7297178 in Gui::GUIApplication::notify (this=0x7fffffffde50, receiver=0x55555595a4a0, event=0x7fffffffd000) at ./src/Gui/GuiApplication.cpp:91
#33 0x00007ffff4229479 in QCoreApplication::notifyInternal2 (receiver=receiver at entry=0x55555595a4a0, event=event at entry=0x7fffffffd000) at ../../include/QtCore/5.11.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:307
#34 0x00007ffff4ba8019 in QCoreApplication::sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#35 QApplicationPrivate::sendMouseEvent (receiver=receiver at entry=0x55555595a4a0, event=event at entry=0x7fffffffd000, alienWidget=0x0, alienWidget at entry=0x55555595a4a0, nativeWidget=0x55555595a4a0, buttonDown=buttonDown at entry=0x7ffff5099870 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2694
#36 0x00007ffff4bfa6c3 in QWidgetWindow::handleMouseEvent (this=0x7fffe800a4b0, event=0x7fffffffd600) at kernel/qwidgetwindow.cpp:556
#37 0x00007ffff4bfce8e in QWidgetWindow::event (event=0x7fffffffd600, this=0x7fffe800a4b0) at kernel/qwidgetwindow.cpp:281
#38 QWidgetWindow::event (this=0x7fffe800a4b0, event=0x7fffffffd600) at kernel/qwidgetwindow.cpp:224
#39 0x00007ffff4ba1491 in QApplicationPrivate::notify_helper (this=this at entry=0x5555555d4f50, receiver=receiver at entry=0x7fffe800a4b0, e=e at entry=0x7fffffffd600) at kernel/qapplication.cpp:3726
#40 0x00007ffff4ba8ad0 in QApplication::notify (this=0x7fffffffde50, receiver=0x7fffe800a4b0, e=e at entry=0x7fffffffd600) at kernel/qapplication.cpp:3485
#41 0x00007ffff7297178 in Gui::GUIApplication::notify (this=0x7fffffffde50, receiver=0x7fffe800a4b0, event=0x7fffffffd600) at ./src/Gui/GuiApplication.cpp:91
#42 0x00007ffff4229479 in QCoreApplication::notifyInternal2 (receiver=receiver at entry=0x7fffe800a4b0, event=event at entry=0x7fffffffd600) at ../../include/QtCore/5.11.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:307
#43 0x00007ffff45d2b1b in QCoreApplication::sendSpontaneousEvent (event=0x7fffffffd600, receiver=0x7fffe800a4b0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:237
#44 QGuiApplicationPrivate::processMouseEvent (e=0x5555580ad080) at kernel/qguiapplication.cpp:2082
#45 0x00007ffff45d4a15 in QGuiApplicationPrivate::processWindowSystemEvent (e=e at entry=0x5555580ad080) at kernel/qguiapplication.cpp:1817
#46 0x00007ffff45aed7b in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:1032
#47 0x00007fffee82386b in QPAEventDispatcherGlib::processEvents (this=0x5555555deaa0, flags=...) at qeventdispatcher_glib.cpp:70
#48 0x00007ffff422814b in QEventLoop::exec (this=this at entry=0x7fffffffd880, flags=..., flags at entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#49 0x00007ffff42302c2 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#50 0x00007ffff45c985c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1762
#51 0x00007ffff4ba1405 in QApplication::exec () at kernel/qapplication.cpp:2900
#52 0x00007ffff7254d2a in Gui::Application::runApplication () at ./src/Gui/Application.cpp:1902
#53 0x00005555555587f6 in main (argc=<optimized out>, argv=<optimized out>) at ./src/Main/MainGui.cpp:261
-------------- next part --------------

# Buster amd64 qemu VM 2019-02-01

apt update
apt dist-upgrade

apt install xserver-xorg lightdm openbox freecad gdb mc htop
apt install freecad-python2-dbgsym libpython2.7-dbg libfreecad-python2-0.17-dbgsym libocct-modeling-algorithms-7.3-dbgsym libstdc++6-8-dbg libqt5widgets5-dbgsym libqt5core5a-dbgsym libqt5gui5-dbgsym
apt install dpkg-dev devscripts


mkdir source/opencascade/orig -p
cd    source/opencascade/orig
apt source opencascade
cd




wget http://wookware.org/house/houseplan.dxf


export DISPLAY=:0
gdb -q \
    -ex 'set width 0' \
    -ex 'set pagination off' \
    -ex 'catch throw' \
    -ex 'run' \
    --args freecad


- File - New
- File - Import - houseplan.dxf


#########


benutzer at debian:~$ gdb -q \
>     -ex 'set width 0' \
>     -ex 'set pagination off' \
>     -ex 'catch throw' \
>     -ex 'run' \
>     --args freecad
Reading symbols from freecad...(no debugging symbols found)...done.
Catchpoint 1 (throw)
Starting program: /usr/bin/freecad 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
FreeCAD 0.17, Libs: 0.17R
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2018
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

[New Thread 0x7fffed236700 (LWP 716)]
[New Thread 0x7fffe7fff700 (LWP 717)]
[New Thread 0x7fffe6516700 (LWP 718)]
[New Thread 0x7fffe5d15700 (LWP 719)]
[New Thread 0x7fffe5514700 (LWP 720)]
[New Thread 0x7fffe4d13700 (LWP 721)]
[New Thread 0x7fffcffff700 (LWP 722)]
[New Thread 0x7fffcf7fe700 (LWP 723)]
[New Thread 0x7fffceffd700 (LWP 724)]
[New Thread 0x7fffce7fc700 (LWP 725)]
[New Thread 0x7fffcdffb700 (LWP 726)]
[New Thread 0x7fffcd7fa700 (LWP 727)]
[New Thread 0x7fffccff9700 (LWP 728)]
[New Thread 0x7fffb3fff700 (LWP 729)]
[New Thread 0x7fffb11b4700 (LWP 730)]
[New Thread 0x7fff5fbff700 (LWP 731)]
[New Thread 0x7fff5dbff700 (LWP 732)]
[New Thread 0x7fff5d3fe700 (LWP 733)]
[New Thread 0x7fff5cbfd700 (LWP 734)]
[New Thread 0x7fff4ffff700 (LWP 735)]
[New Thread 0x7fff4f7fe700 (LWP 736)]
[New Thread 0x7fff4effd700 (LWP 737)]
[New Thread 0x7fff4e7fc700 (LWP 738)]
[Thread 0x7fff4e7fc700 (LWP 738) exited]

Thread 1 "freecad" hit Catchpoint 1 (exception thrown), 0x00007ffff3b20add in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
(gdb) bt
#0  0x00007ffff3b20add in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#1  0x00007fff4c6495d8 in ?? () from /usr/lib/x86_64-linux-gnu/libTKTopAlgo.so.7
#2  0x00007fff4c76f1e8 in BRepLib_MakeShape::Shape() () from /usr/lib/x86_64-linux-gnu/libTKTopAlgo.so.7
#3  0x00007fff4c76263b in BRepLib_MakeEdge::Edge() () from /usr/lib/x86_64-linux-gnu/libTKTopAlgo.so.7
#4  0x00007fff60f727bf in DraftUtils::DraftDxfRead::OnReadArc(double const*, double const*, double const*, bool, bool) () from /usr/lib/freecad/lib/DraftUtils.so
#5  0x00007fff60f64891 in CDxfRead::OnReadArc(double, double, double, double const*, double, bool) () from /usr/lib/freecad/lib/DraftUtils.so
#6  0x00007fff60f67fc2 in CDxfRead::ReadArc() () from /usr/lib/freecad/lib/DraftUtils.so
#7  0x00007fff60f6fcc9 in CDxfRead::DoRead(bool) () from /usr/lib/freecad/lib/DraftUtils.so
#8  0x00007fff60f60cdf in DraftUtils::Module::readDXF(Py::Tuple const&) () from /usr/lib/freecad/lib/DraftUtils.so
#9  0x00007fff60f5fb0a in Py::ExtensionModule<DraftUtils::Module>::invoke_method_varargs(void*, Py::Tuple const&) () from /usr/lib/freecad/lib/DraftUtils.so
#10 0x00007ffff6b2bec6 in method_varargs_call_handler () from /usr/lib/freecad/lib/libFreeCADBase.so
#11 0x00007ffff683c43b in PyEval_EvalFrameEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#12 0x00007ffff683bd00 in PyEval_EvalFrameEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#13 0x00007ffff6834122 in PyEval_EvalCodeEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#14 0x00007ffff6834739 in PyEval_EvalCode () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#15 0x00007ffff680cf56 in PyRun_StringFlags () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#16 0x00007ffff6b575f6 in Base::InterpreterSingleton::runString[abi:cxx11](char const*) () from /usr/lib/freecad/lib/libFreeCADBase.so
#17 0x00007ffff72be1b3 in Gui::Command::doCommand(Gui::Command::DoCmd_Type, char const*, ...) () from /usr/lib/freecad/lib/libFreeCADGui.so
#18 0x00007ffff724daed in Gui::Application::importFrom(char const*, char const*, char const*) () from /usr/lib/freecad/lib/libFreeCADGui.so
#19 0x00007ffff72c8d02 in StdCmdImport::activated(int) () from /usr/lib/freecad/lib/libFreeCADGui.so
#20 0x00007ffff72c2524 in Gui::Command::invoke(int) () from /usr/lib/freecad/lib/libFreeCADGui.so
#21 0x00007ffff42526cb in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007ffff4b9aee2 in QAction::triggered(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007ffff4b9d4f0 in QAction::activate(QAction::ActionEvent) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007ffff4d0de1c in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007ffff4d153f0 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007ffff4d1641b in QMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#27 0x00007ffff4bdf7c8 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x00007ffff4d18aab in QMenu::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007ffff4ba1491 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#30 0x00007ffff4ba8d18 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#31 0x00007ffff7297178 in Gui::GUIApplication::notify(QObject*, QEvent*) () from /usr/lib/freecad/lib/libFreeCADGui.so
#32 0x00007ffff4229479 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x00007ffff4ba8019 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#34 0x00007ffff4bfa6c3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#35 0x00007ffff4bfce8e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#36 0x00007ffff4ba1491 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#37 0x00007ffff4ba8ad0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#38 0x00007ffff7297178 in Gui::GUIApplication::notify(QObject*, QEvent*) () from /usr/lib/freecad/lib/libFreeCADGui.so
#39 0x00007ffff4229479 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#40 0x00007ffff45d2b1b in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#41 0x00007ffff45d4a15 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#42 0x00007ffff45aed7b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#43 0x00007fffee82386b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#44 0x00007ffff422814b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#45 0x00007ffff42302c2 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#46 0x00007ffff7254d2a in Gui::Application::runApplication() () from /usr/lib/freecad/lib/libFreeCADGui.so
#47 0x00005555555587f6 in main ()
(gdb) generate-core-file ~/core.freecad.exception-1
Saved corefile /home/benutzer/core.freecad.exception-1
(gdb) cont
Continuing.
Gui::Command::activated(0): Unknown C++ exception thrown



##########


gdb -q \
    -ex 'set width 0' \
    -ex 'set pagination off' \
    -ex 'directory /home/benutzer/source/opencascade/orig/opencascade-7.3.0+dfsg1' \
    /usr/bin/freecad -core /home/benutzer/core.freecad.exception-1




benutzer at debian:~$ gdb -q \
>     -ex 'set width 0' \
>     -ex 'set pagination off' \
>     -ex 'directory /home/benutzer/source/opencascade/orig/opencascade-7.3.0+dfsg1' \
>     /usr/bin/freecad -core /home/benutzer/core.freecad.exception-1
Reading symbols from /usr/bin/freecad...Reading symbols from /usr/lib/debug/.build-id/bf/44c291c34bd3fd8b76c0f42d3e4fec9ef28544.debug...done.
done.

warning: core file may not match specified executable file.
[New LWP 712]
[New LWP 716]
[New LWP 717]
[New LWP 718]
[New LWP 719]
[New LWP 720]
[New LWP 721]
[New LWP 722]
[New LWP 723]
[New LWP 724]
[New LWP 725]
[New LWP 726]
[New LWP 727]
[New LWP 728]
[New LWP 729]
[New LWP 730]
[New LWP 731]
[New LWP 732]
[New LWP 733]
[New LWP 734]
[New LWP 735]
[New LWP 736]
[New LWP 737]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/freecad'.
Program terminated with signal SIGTRAP, Trace/breakpoint trap.
#0  0x00007ffff3b20add in __cxxabiv1::__cxa_throw (obj=obj at entry=0x555564b63480, tinfo=0x7fff4dfda6e0 <typeinfo for StdFail_NotDone>, tinfo at entry=0x7fff4c8a8358 <typeinfo for StdFail_NotDone>, 
    dest=0x7fff4dda2c90 <StdFail_NotDone::~StdFail_NotDone()>, dest at entry=0x7fff4c68ab30 <StdFail_NotDone::~StdFail_NotDone()>) at ../../../../src/libstdc++-v3/libsupc++/eh_throw.cc:78
78      ../../../../src/libstdc++-v3/libsupc++/eh_throw.cc: Datei oder Verzeichnis nicht gefunden.
[Current thread is 1 (Thread 0x7fffeee2f9c0 (LWP 712))]
Source directories searched: /home/benutzer/source/opencascade/orig/opencascade-7.3.0+dfsg1:$cdir:$cwd
(gdb) #
(gdb) 
(gdb) bt
#0  0x00007ffff3b20add in __cxxabiv1::__cxa_throw (obj=obj at entry=0x555564b63480, tinfo=0x7fff4dfda6e0 <typeinfo for StdFail_NotDone>, tinfo at entry=0x7fff4c8a8358 <typeinfo for StdFail_NotDone>, dest=0x7fff4dda2c90 <StdFail_NotDone::~StdFail_NotDone()>, dest at entry=0x7fff4c68ab30 <StdFail_NotDone::~StdFail_NotDone()>) at ../../../../src/libstdc++-v3/libsupc++/eh_throw.cc:78
#1  0x00007fff4c6495d8 in BRepLib_Command::Check (this=this at entry=0x7fffffffa3c0) from /usr/lib/x86_64-linux-gnu/libTKTopAlgo.so.7
#2  0x00007fff4c76f1e8 in BRepLib_MakeShape::Shape (this=this at entry=0x7fffffffa3c0) at ./src/BRepLib/BRepLib_MakeShape.cxx:51
#3  0x00007fff4c76263b in BRepLib_MakeEdge::Edge (this=this at entry=0x7fffffffa3c0) at ./src/BRepLib/BRepLib_MakeEdge.cxx:1219
#4  0x00007fff4c7b0cf9 in BRepBuilderAPI_MakeEdge::Edge (this=this at entry=0x7fffffffa370) at ./src/BRepBuilderAPI/BRepBuilderAPI_MakeEdge.cxx:880
#5  0x00007fff60f727bf in DraftUtils::DraftDxfRead::OnReadArc (this=0x7fffffffa920, s=<optimized out>, e=<optimized out>, c=0x7fffffffa570, dir=<optimized out>) at ./src/Mod/Draft/App/DraftDxf.cpp:107
#6  0x00007fff60f64891 in CDxfRead::OnReadArc (this=this at entry=0x7fffffffa920, start_angle=<optimized out>, end_angle=0, radius=0, c=c at entry=0x7fffffffa630, z_extrusion_dir=1, hidden=hidden at entry=false) at ./src/Mod/Draft/App/dxf.cpp:1289
#7  0x00007fff60f67fc2 in CDxfRead::ReadArc (this=0x7fffffffa920) at ./src/Mod/Draft/App/dxf.cpp:429
#8  0x00007fff60f6fcc9 in CDxfRead::DoRead (this=0x7fffffffa920, ignore_errors=<optimized out>) at ./src/Mod/Draft/App/dxf.cpp:1733
#9  0x00007fff60f60cdf in DraftUtils::Module::readDXF (this=<optimized out>, args=...) at ./src/Mod/Draft/App/AppDraftUtilsPy.cpp:83
#10 0x00007fff60f5fb0a in Py::ExtensionModule<DraftUtils::Module>::invoke_method_varargs (this=this at entry=0x555558899370, method_def=<optimized out>, args=...) at ./src/CXX/Python2/ExtensionModule.hxx:175
#11 0x00007ffff6b2bec6 in Py::method_varargs_call_handler (_self_and_name_tuple=<optimized out>, _args=<optimized out>) at ./src/CXX/Python2/Objects.hxx:1170
#12 0x00007ffff683c43b in PyEval_EvalFrameEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#13 0x00007ffff683bd00 in PyEval_EvalFrameEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#14 0x00007ffff6834122 in PyEval_EvalCodeEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#15 0x00007ffff6834739 in PyEval_EvalCode () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#16 0x00007ffff680cf56 in PyRun_StringFlags () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#17 0x00007ffff6b575f6 in Base::InterpreterSingleton::runString[abi:cxx11](char const*) (this=<optimized out>, sCmd=0x55555818c178 "importDXF.insert(u\"/home/benutzer/houseplan.dxf\",\"Unbenannt\")") at ./src/Base/Interpreter.cpp:232
#18 0x00007ffff72be1b3 in Gui::Command::doCommand (eType=eType at entry=Gui::Command::App, sCmd=sCmd at entry=0x7ffff75ca612 "%s.insert(u\"%s\",\"%s\")") at /usr/include/x86_64-linux-gnu/qt5/QtCore/qarraydata.h:206
#19 0x00007ffff724daed in Gui::Application::importFrom (this=this at entry=0x7fffffffdaa0, FileName=<optimized out>, DocName=DocName at entry=0x555555badf60 "Unbenannt", Module=Module at entry=0x5555580a96f8 "importDXF") at ./src/Gui/Application.cpp:561
#20 0x00007ffff72c8d02 in StdCmdImport::activated (this=0x5555557ccad0, iMsg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qarraydata.h:206
#21 0x00007ffff72c2524 in Gui::Command::invoke (this=0x5555557ccad0, i=0) at ./src/Gui/Command.cpp:300
#22 0x00007ffff42526cb in QMetaObject::activate (sender=0x555556ba7260, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3771
#23 0x00007ffff4b9aee2 in QAction::triggered (this=this at entry=0x555556ba7260, _t1=<optimized out>) at .moc/moc_qaction.cpp:376
#24 0x00007ffff4b9d4f0 in QAction::activate (this=0x555556ba7260, event=<optimized out>) at kernel/qaction.cpp:1166
#25 0x00007ffff4d0de1c in QMenuPrivate::activateCausedStack (this=this at entry=0x55555627cc70, causedStack=..., action=action at entry=0x555556ba7260, action_e=action_e at entry=QAction::Trigger, self=self at entry=true) at widgets/qmenu.cpp:1371
#26 0x00007ffff4d153f0 in QMenuPrivate::activateAction (this=this at entry=0x55555627cc70, action=action at entry=0x555556ba7260, action_e=action_e at entry=QAction::Trigger, self=self at entry=true) at widgets/qmenu.cpp:1448
#27 0x00007ffff4d1641b in QMenu::mouseReleaseEvent (this=<optimized out>, e=0x7fffffffd000) at widgets/qmenu.cpp:2942
#28 0x00007ffff4bdf7c8 in QWidget::event (this=this at entry=0x55555595a4a0, event=event at entry=0x7fffffffd000) at kernel/qwidget.cpp:8925
#29 0x00007ffff4d18aab in QMenu::event (this=0x55555595a4a0, e=0x7fffffffd000) at widgets/qmenu.cpp:3064
#30 0x00007ffff4ba1491 in QApplicationPrivate::notify_helper (this=this at entry=0x5555555d4f50, receiver=receiver at entry=0x55555595a4a0, e=e at entry=0x7fffffffd000) at kernel/qapplication.cpp:3726
#31 0x00007ffff4ba8d18 in QApplication::notify (this=<optimized out>, receiver=0x55555595a4a0, e=e at entry=0x7fffffffd000) at kernel/qapplication.cpp:3202
#32 0x00007ffff7297178 in Gui::GUIApplication::notify (this=0x7fffffffde50, receiver=0x55555595a4a0, event=0x7fffffffd000) at ./src/Gui/GuiApplication.cpp:91
#33 0x00007ffff4229479 in QCoreApplication::notifyInternal2 (receiver=receiver at entry=0x55555595a4a0, event=event at entry=0x7fffffffd000) at ../../include/QtCore/5.11.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:307
#34 0x00007ffff4ba8019 in QCoreApplication::sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#35 QApplicationPrivate::sendMouseEvent (receiver=receiver at entry=0x55555595a4a0, event=event at entry=0x7fffffffd000, alienWidget=0x0, alienWidget at entry=0x55555595a4a0, nativeWidget=0x55555595a4a0, buttonDown=buttonDown at entry=0x7ffff5099870 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2694
#36 0x00007ffff4bfa6c3 in QWidgetWindow::handleMouseEvent (this=0x7fffe800a4b0, event=0x7fffffffd600) at kernel/qwidgetwindow.cpp:556
#37 0x00007ffff4bfce8e in QWidgetWindow::event (event=0x7fffffffd600, this=0x7fffe800a4b0) at kernel/qwidgetwindow.cpp:281
#38 QWidgetWindow::event (this=0x7fffe800a4b0, event=0x7fffffffd600) at kernel/qwidgetwindow.cpp:224
#39 0x00007ffff4ba1491 in QApplicationPrivate::notify_helper (this=this at entry=0x5555555d4f50, receiver=receiver at entry=0x7fffe800a4b0, e=e at entry=0x7fffffffd600) at kernel/qapplication.cpp:3726
#40 0x00007ffff4ba8ad0 in QApplication::notify (this=0x7fffffffde50, receiver=0x7fffe800a4b0, e=e at entry=0x7fffffffd600) at kernel/qapplication.cpp:3485
#41 0x00007ffff7297178 in Gui::GUIApplication::notify (this=0x7fffffffde50, receiver=0x7fffe800a4b0, event=0x7fffffffd600) at ./src/Gui/GuiApplication.cpp:91
#42 0x00007ffff4229479 in QCoreApplication::notifyInternal2 (receiver=receiver at entry=0x7fffe800a4b0, event=event at entry=0x7fffffffd600) at ../../include/QtCore/5.11.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:307
#43 0x00007ffff45d2b1b in QCoreApplication::sendSpontaneousEvent (event=0x7fffffffd600, receiver=0x7fffe800a4b0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:237
#44 QGuiApplicationPrivate::processMouseEvent (e=0x5555580ad080) at kernel/qguiapplication.cpp:2082
#45 0x00007ffff45d4a15 in QGuiApplicationPrivate::processWindowSystemEvent (e=e at entry=0x5555580ad080) at kernel/qguiapplication.cpp:1817
#46 0x00007ffff45aed7b in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:1032
#47 0x00007fffee82386b in QPAEventDispatcherGlib::processEvents (this=0x5555555deaa0, flags=...) at qeventdispatcher_glib.cpp:70
#48 0x00007ffff422814b in QEventLoop::exec (this=this at entry=0x7fffffffd880, flags=..., flags at entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#49 0x00007ffff42302c2 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#50 0x00007ffff45c985c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1762
#51 0x00007ffff4ba1405 in QApplication::exec () at kernel/qapplication.cpp:2900
#52 0x00007ffff7254d2a in Gui::Application::runApplication () at ./src/Gui/Application.cpp:1902
#53 0x00005555555587f6 in main (argc=<optimized out>, argv=<optimized out>) at ./src/Main/MainGui.cpp:261
(gdb) #
(gdb) 
(gdb) up
#1  0x00007fff4c6495d8 in BRepLib_Command::Check (this=this at entry=0x7fffffffa3c0) from /usr/lib/x86_64-linux-gnu/libTKTopAlgo.so.7
(gdb) 
#2  0x00007fff4c76f1e8 in BRepLib_MakeShape::Shape (this=this at entry=0x7fffffffa3c0) at ./src/BRepLib/BRepLib_MakeShape.cxx:51
51          Check();
(gdb) list
46      const TopoDS_Shape&  BRepLib_MakeShape::Shape()
47      {
48        if (!IsDone()) {
49          // the following is const cast away
50          ((BRepLib_MakeShape*) (void*) this)->Build();
51          Check();
52        }
53        return myShape;
54      }
55
(gdb) b BRepLib_Command::Check
Breakpoint 1 at 0x7fff4c629e50 (2 locations)
(gdb) info b
Num     Type           Disp Enb Address            What
1       breakpoint     keep y   <MULTIPLE>         
1.1                         y     0x00007fff4c629e50 <BRepLib_Command::Check() const at plt>
1.2                         y     0x00007fff4c74ebb0 in BRepLib_Command::Check() const at ./src/BRepLib/BRepLib_Command.cxx:51
(gdb) list BRepLib_Command.cxx:51
46      //purpose  : 
47      //=======================================================================
48
49      void  BRepLib_Command::Check()const 
50      {
51        if (!myDone)
52          throw StdFail_NotDone("BRep_API: command not done");
53      }
54
55



############


0x00007ffff72c1548 in Gui::Command::invoke (this=0x5555557ccc50, i=0) at ./src/Gui/Command.cpp:300
300     ./src/Gui/Command.cpp: Datei oder Verzeichnis nicht gefunden.
1: x/i $pc
=> 0x7ffff72c1548 <Gui::Command::invoke(int)+120>:      mov    %rax,%rdi
(gdb) finish
Run till exit from #0  0x00007ffff72c1548 in Gui::Command::invoke (this=0x5555557ccc50, i=0) at ./src/Gui/Command.cpp:300
Gui::Command::activated(0): Unknown C++ exception thrown
QMetaObject::activate (sender=0x555556baa840, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3788
3788    kernel/qobject.cpp: Datei oder Verzeichnis nicht gefunden.
1: x/i $pc
=> 0x7ffff42516cb <QMetaObject::activate(QObject*, int, int, void**)+1899>:     mov    0x25f54e(%rip),%rax        # 0x7ffff44b0c20


More information about the debian-science-maintainers mailing list