Issue #4243 Crash: when using Draft Facebinder

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
vocx
Veteran
Posts: 5197
Joined: Thu Oct 18, 2018 9:18 pm

Issue #4243 Crash: when using Draft Facebinder

Post by vocx »

Now it's issue #4243.
  • Open FreeCAD, open a new document, go to the Part Workbench, and create a simple Part Box.
  • Switch to the Draft Workbench.
  • Press the Draft Facebinder button, then select the top face of the Cube. A Facebinder object is created.
  • Click anywhere in the 3D view to de-select the newly created object.
  • Again click on the Draft Facebinder button, and try picking the face of the Cube again. As soon as the mouse pointer leaves the toolbar area, and enters the 3D view again, the program crashes.

Code: Select all

Select face(s) on existing object(s)
Select face(s) on existing object(s)
<class 'TypeError'>
TypeError: TaskPanel() takes 0 positional arguments but 1 was given
<class 'TypeError'>

Thread 1 "FreeCAD" received signal SIGSEGV, Segmentation fault.
func_dealloc (op=0x7fff6c158048) at ../Objects/funcobject.c:534
534	../Objects/funcobject.c: No such file or directory.
(gdb) bt
#0  0x00007ffff42be222 in func_dealloc (op=0x7fff6c158048) at ../Objects/funcobject.c:534
#1  0x00007ffff41fe187 in call_function (pp_stack=0x7fffffffa250, oparg=<optimized out>, kwnames=0x0) at ../Python/ceval.c:4889
#2  0x00007ffff4204563 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:3335
#3  0x00007ffff41fdc6f in _PyEval_EvalCodeWithName (_co=<code at remote 0x7ffff7f38540>, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=2, kwnames=0x0, kwargs=0x5555557f8e50, kwcount=0, kwstep=1, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0, name='_path_join', qualname='_path_join') at ../Python/ceval.c:4166
#4  0x00007ffff41fe35c in fast_function (kwnames=0x0, nargs=2, stack=<optimized out>, func=<function at remote 0x7ffff7f4aa60>)
    at ../Python/ceval.c:4992
#5  0x00007ffff41fe35c in call_function (pp_stack=0x7fffffffa4f0, oparg=<optimized out>, kwnames=0x0) at ../Python/ceval.c:4872
#6  0x00007ffff4204563 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:3335
#7  0x00007ffff41fdc6f in _PyEval_EvalCodeWithName (_co=<code at remote 0x7ffff7ee5300>, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=3, kwnames=0x0, kwargs=0x5555557f8528, kwcount=0, kwstep=1, defs=0x7ffff7ee6370, defcount=1, kwdefs=0x0, closure=0x0, name='find_spec', qualname='FileFinder.find_spec') at ../Python/ceval.c:4166
#8  0x00007ffff41fe35c in fast_function (kwnames=0x0, nargs=3, stack=<optimized out>, func=<function at remote 0x7ffff7ef1a60>)
    at ../Python/ceval.c:4992
#9  0x00007ffff41fe35c in call_function (pp_stack=0x7fffffffa790, oparg=<optimized out>, kwnames=0x0) at ../Python/ceval.c:4872
#10 0x00007ffff4204563 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:3335
#11 0x00007ffff41fdc6f in _PyEval_EvalCodeWithName (_co=<code at remote 0x7ffff7ee2d20>, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=4, kwnames=0x0, kwargs=0x7ffff7f475e0, kwcount=0, kwstep=1, defs=0x7ffff7edbe28, defcount=1, kwdefs=0x0, closure=0x0, name='_get_spec', qualname='PathFinder._get_spec') at ../Python/ceval.c:4166
#12 0x00007ffff41fe35c in fast_function (kwnames=0x0, nargs=4, stack=<optimized out>, func=<function at remote 0x7ffff7ef16a8>)
    at ../Python/ceval.c:4992
#13 0x00007ffff41fe35c in call_function (pp_stack=0x7fffffffaa30, oparg=<optimized out>, kwnames=0x0) at ../Python/ceval.c:4872
---Type <return> to continue, or q <return> to quit---
#14 0x00007ffff4204563 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:3335
#15 0x00007ffff41fdc6f in _PyEval_EvalCodeWithName (_co=<code at remote 0x7ffff7ee2db0>, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=4, kwnames=0x0, kwargs=0x5555557fc1f0, kwcount=0, kwstep=1, defs=0x7ffff7edfba0, defcount=2, kwdefs=0x0, closure=0x0, name='find_spec', qualname='PathFinder.find_spec') at ../Python/ceval.c:4166
#16 0x00007ffff41fe35c in fast_function (kwnames=0x0, nargs=4, stack=<optimized out>, func=<function at remote 0x7ffff7ef1730>)
    at ../Python/ceval.c:4992
#17 0x00007ffff41fe35c in call_function (pp_stack=0x7fffffffacd0, oparg=<optimized out>, kwnames=0x0) at ../Python/ceval.c:4872
#18 0x00007ffff4204563 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:3335
#19 0x00007ffff41fdc6f in _PyEval_EvalCodeWithName (_co=<code at remote 0x7ffff7f3b030>, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=2, kwnames=0x0, kwargs=0x55555bed2f68, kwcount=0, kwstep=1, defs=0x7ffff7f34f40, defcount=1, kwdefs=0x0, closure=0x0, name='_find_spec', qualname='_find_spec') at ../Python/ceval.c:4166
#20 0x00007ffff41fe35c in fast_function (kwnames=0x0, nargs=2, stack=<optimized out>, func=<function at remote 0x7ffff7f45bf8>)
    at ../Python/ceval.c:4992
#21 0x00007ffff41fe35c in call_function (pp_stack=0x7fffffffaf70, oparg=<optimized out>, kwnames=0x0) at ../Python/ceval.c:4872
#22 0x00007ffff4204563 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:3335
#23 0x00007ffff41fca63 in _PyFunction_FastCall (co=<optimized out>, args=<optimized out>, nargs=nargs@entry=2, globals=globals@entry={'__name__': 'importlib._bootstrap', '__doc__': 'Core implementation of import.\n\nThis module is NOT meant to be directly imported! It has been designed such\nthat it can be bootstrapped into Python as the implementation of import. As\nsuch it requires the injection of specific modules and attributes in order to\nwork. One should use importlib as the public-facing version of this module.\n\n', '__package__': 'importlib', '__loader__': <type at remote 0x5555557eb588>, '__spec__': <ModuleSpec(name='_frozen_importlib', loader=<type at remote 0x5555557eb588>, origin=None, loader_state=None, submodule_search_locations=None, _set_fileattr=False, _cached=None) at remote 0x7ffff7f43748>, '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", '__package__': '', '__loader__': <type at---Type <return> to continue, or q <return> to quit---
 remote 0x5555557eaca8>, '__spec__': <ModuleSpec(name='builtins', loader=<type at remote 0x5555557eaca8>, ori...(truncated))
    at ../Python/ceval.c:4933
#24 0x00007ffff41fe51e in fast_function (kwnames=0x0, nargs=2, stack=<optimized out>, func=<function at remote 0x7ffff7f45d08>)
    at ../Python/ceval.c:4968
#25 0x00007ffff41fe51e in call_function (pp_stack=0x7fffffffb120, oparg=<optimized out>, kwnames=0x0) at ../Python/ceval.c:4872
#26 0x00007ffff4204563 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:3335
#27 0x00007ffff41fca63 in _PyFunction_FastCall (co=co@entry=0x7ffff7f3b300, args=<optimized out>, 
    args@entry=0x7fffffffb2e0, nargs=nargs@entry=2, globals=globals@entry={'__name__': 'importlib._bootstrap', '__doc__': 'Core implementation of import.\n\nThis module is NOT meant to be directly imported! It has been designed such\nthat it can be bootstrapped into Python as the implementation of import. As\nsuch it requires the injection of specific modules and attributes in order to\nwork. One should use importlib as the public-facing version of this module.\n\n', '__package__': 'importlib', '__loader__': <type at remote 0x5555557eb588>, '__spec__': <ModuleSpec(name='_frozen_importlib', loader=<type at remote 0x5555557eb588>, origin=None, loader_state=None, submodule_search_locations=None, _set_fileattr=False, _cached=None) at remote 0x7ffff7f43748>, '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", '__package__': '', '__loader__': <type at remote 0x5555557eaca8>, '__spec__': <ModuleSpec(name='builtins', loader=<type at remote 0x5555557eaca8>, ori...(truncated)) at ../Python/ceval.c:4933
#28 0x00007ffff41fe085 in _PyFunction_FastCallDict (func=<function at remote 0x7ffff7f45d90>, args=0x7fffffffb2e0, nargs=2, kwargs=0x0) at ../Python/ceval.c:5035
#29 0x00007ffff42e9211 in _PyObject_FastCallDict (func=func@entry=<function at remote 0x7ffff7f45d90>, args=args@entry=0x7fffffffb2e0, nargs=2, kwargs=kwargs@entry=0x0) at ../Objects/abstract.c:2310
#30 0x00007ffff42e9576 in _PyObject_CallMethodIdObjArgs (callable=<function at remote 0x7ffff7f45d90>, name=<optimized out>)
    at ../Objects/abstract.c:2796
#31 0x00007ffff40f2b2c in PyImport_ImportModuleLevelObject (name='cStringIO', globals=<optimized out>, locals=<optimized out>, from---Type <return> to continue, or q <return> to quit---
list=('StringIO',), level=0) at ../Python/import.c:1578
#32 0x00007ffff4206e6a in import_name (level=0, fromlist=('StringIO',), name='cStringIO', f=
    Frame 0x55555b498c08, for file /usr/lib/python3/dist-packages/apport_python_hook.py, line 57, in apport_excepthook (exc_type=<type at remote 0x7ffff4688300>, exc_obj=TypeError('PyCXX: Error creating object of type N2Py8CallableE from <managedbuffer object at 0x7fff6d0d3730>',), exc_tb=None)) at ../Python/ceval.c:5245
#33 0x00007ffff4206e6a in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:2899
#34 0x00007ffff41fca63 in _PyFunction_FastCall (co=co@entry=0x7fffe3b994b0, args=<optimized out>, 
    args@entry=0x7fffffffb6b0, nargs=nargs@entry=3, globals=globals@entry={'__name__': 'apport_python_hook', '__doc__': 'Python sys.excepthook hook to generate apport crash dumps.', '__package__': '', '__loader__': <SourceFileLoader(name='apport_python_hook', path='/usr/lib/python3/dist-packages/apport_python_hook.py') at remote 0x7fffe3b44f98>, '__spec__': <ModuleSpec(name='apport_python_hook', loader=<...>, origin='/usr/lib/python3/dist-packages/apport_python_hook.py', loader_state=None, submodule_search_locations=None, _set_fileattr=True, _cached='/usr/lib/python3/dist-packages/__pycache__/apport_python_hook.cpython-36.pyc', _initializing=False) at remote 0x7fffe3b44fd0>, '__file__': '/usr/lib/python3/dist-packages/apport_python_hook.py', '__cached__': '/usr/lib/python3/dist-packages/__pycache__/apport_python_hook.cpython-36.pyc', '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", '__package__': '', '__loader__': <type at remote 0x5555557eaca8>, '_...(truncated)) at ../Python/ceval.c:4933
#35 0x00007ffff41fe085 in _PyFunction_FastCallDict (func=<function at remote 0x7fffe3b3e730>, args=0x7fffffffb6b0, nargs=3, kwargs=0x0) at ../Python/ceval.c:5035
#36 0x00007ffff42e9211 in _PyObject_FastCallDict (func=<function at remote 0x7fffe3b3e730>, args=0x7fffffffb6b0, nargs=3, kwargs=0x0) at ../Objects/abstract.c:2310
#37 0x00007ffff41d17fd in PyErr_PrintEx (set_sys_last_vars=1) at ../Python/pythonrun.c:669
#38 0x00007ffff7019acc in Gui::View3DInventorPy::eventCallback(void*, SoEventCallback*) (ud=0x7fff6d0d3730, n=0x7fffd800af10)
    at /opt/freecad-source-vocx/src/Gui/View3DPy.cpp:2059
---Type <return> to continue, or q <return> to quit---
#39 0x00007ffff1a27855 in SoEventCallback::handleEvent(SoHandleEventAction*) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#40 0x00007ffff1841504 in SoAction::traverse(SoNode*) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#41 0x00007ffff19e1008 in SoChildList::traverse(SoAction*, int, int) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#42 0x00007ffff1a304e6 in SoGroup::doAction(SoAction*) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#43 0x00007ffff1a4a967 in SoSeparator::doAction(SoAction*) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#44 0x00007ffff6ee841e in Gui::SoFCUnifiedSelection::handleEvent(SoHandleEventAction*) (this=0x55555844d520, action=0x555558571750) at /opt/freecad-source-vocx/src/Gui/SoFCUnifiedSelection.cpp:757
#45 0x00007ffff1841504 in SoAction::traverse(SoNode*) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#46 0x00007ffff19e1008 in SoChildList::traverse(SoAction*, int, int) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#47 0x00007ffff1a304e6 in SoGroup::doAction(SoAction*) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#48 0x00007ffff1a4a967 in SoSeparator::doAction(SoAction*) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#49 0x00007ffff1841504 in SoAction::traverse(SoNode*) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#50 0x00007ffff184ae48 in SoHandleEventAction::beginTraversal(SoNode*) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#51 0x00007ffff1841a82 in SoAction::apply(SoNode*) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#52 0x00007ffff19fd8a0 in SoEventManager::actuallyProcessEvent(SoEvent const*) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#53 0x00007ffff6fa21b6 in SIM::Coin3D::Quarter::QuarterWidget::processSoEvent(SoEvent const*) (this=
    0x5555584f3dc0, event=0x5555584f45d0) at /opt/freecad-source-vocx/src/Gui/Quarter/QuarterWidget.cpp:1045
#54 0x00007ffff6faaec9 in SIM::Coin3D::Quarter::SoQTQuarterAdaptor::processSoEvent(SoEvent const*) (this=0x5555584f3dc0, event=0x5555584f45d0) at /opt/freecad-source-vocx/src/Gui/Quarter/SoQTQuarterAdaptor.cpp:714
#55 0x00007ffff6ffb1bf in Gui::View3DInventorViewer::processSoEventBase(SoEvent const*) (this=0x5555584f3dc0, ev=0x5555584f45d0)
    at /opt/freecad-source-vocx/src/Gui/View3DInventorViewer.cpp:2434
#56 0x00007ffff6fbbc03 in Gui::NavigationStyle::processSoEvent(SoEvent const*) (this=0x5555582f61d0, ev=0x5555584f45d0)
    at /opt/freecad-source-vocx/src/Gui/NavigationStyle.cpp:1468
---Type <return> to continue, or q <return> to quit---
#57 0x00007ffff6fc2456 in Gui::CADNavigationStyle::processSoEvent(SoEvent const*) (this=0x5555582f61d0, ev=0x5555584f45d0)
    at /opt/freecad-source-vocx/src/Gui/CADNavigationStyle.cpp:457
#58 0x00007ffff6fbbb3b in Gui::NavigationStyle::processEvent(SoEvent const*) (this=0x5555582f61d0, ev=0x5555584f45d0)
    at /opt/freecad-source-vocx/src/Gui/NavigationStyle.cpp:1450
#59 0x00007ffff6ffb180 in Gui::View3DInventorViewer::processSoEvent(SoEvent const*) (this=0x5555584f3dc0, ev=0x5555584f45d0)
    at /opt/freecad-source-vocx/src/Gui/View3DInventorViewer.cpp:2429
#60 0x00007ffff6f9a324 in SIM::Coin3D::Quarter::EventFilter::eventFilter(QObject*, QEvent*) (this=0x55555838e530, obj=0x5555584f3dc0, qevent=0x7fffffffc120) at /opt/freecad-source-vocx/src/Gui/Quarter/EventFilter.cpp:173
#61 0x00007ffff2c116ac in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (receiver=receiver@entry=0x5555584f3dc0, event=event@entry=0x7fffffffc120) at kernel/qcoreapplication.cpp:1135
#62 0x00007ffff398f815 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=
    0x5555558ad380, receiver=receiver@entry=0x5555584f3dc0, e=e@entry=0x7fffffffc120) at kernel/qapplication.cpp:3718
#63 0x00007ffff399765f in QApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=0x5555584bde60, e=0x7fffffffc5d0) at kernel/qapplication.cpp:3198
#64 0x00007ffff6bf5158 in Gui::GUIApplication::notify(QObject*, QEvent*) (this=
    0x7fffffffd130, receiver=0x5555584bde60, event=0x7fffffffc5d0) at /opt/freecad-source-vocx/src/Gui/GuiApplication.cpp:91
#65 0x00007ffff2c119c8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=receiver@entry=0x5555584bde60, event=event@entry=0x7fffffffc5d0) at kernel/qcoreapplication.cpp:1024
#66 0x00007ffff3996632 in QCoreApplication::sendEvent(QObject*, QEvent*) (event=<optimized out>, receiver=<optimized out>)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:233
#67 0x00007ffff3996632 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) (receiver=receiver@entry=0x5555584bde60, event=event@entry=
    0x7fffffffc5d0, alienWidget=alienWidget@entry=0x5555584bde60, nativeWidget=0x7fffffffd170, buttonDown=buttonDown@entry=0x7ffff4---Type <return> to continue, or q <return> to quit---
0817d0 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2704
#68 0x00007ffff39e916b in QWidgetWindow::handleMouseEvent(QMouseEvent*) (this=this@entry=0x555557776bc0, event=event@entry=0x7fffffffcbf0) at kernel/qwidgetwindow.cpp:628
#69 0x00007ffff39eb7da in QWidgetWindow::event(QEvent*) (this=0x555557776bc0, event=0x7fffffffcbf0)
    at kernel/qwidgetwindow.cpp:250
#70 0x00007ffff398f83c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x5555558ad380, receiver=receiver@entry=0x555557776bc0, e=e@entry=0x7fffffffcbf0) at kernel/qapplication.cpp:3722
#71 0x00007ffff3997104 in QApplication::notify(QObject*, QEvent*) (this=0x7fffffffd130, receiver=0x555557776bc0, e=0x7fffffffcbf0)
    at kernel/qapplication.cpp:3481
#72 0x00007ffff6bf5158 in Gui::GUIApplication::notify(QObject*, QEvent*) (this=0x7fffffffd130, receiver=0x555557776bc0, event=0x7fffffffcbf0) at /opt/freecad-source-vocx/src/Gui/GuiApplication.cpp:91
#73 0x00007ffff2c119c8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=receiver@entry=0x555557776bc0, event=event@entry=0x7fffffffcbf0) at kernel/qcoreapplication.cpp:1024
#74 0x00007ffff31d3583 in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) (event=0x7fffffffcbf0, receiver=0x555557776bc0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#75 0x00007ffff31d3583 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) (e=0x55555bdb7920)
    at kernel/qguiapplication.cpp:1952
#76 0x00007ffff31d5055 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) (e=e@entry=0x55555bdb7920) at kernel/qguiapplication.cpp:1733
#77 0x00007ffff31ac2eb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=...)
    at kernel/qwindowsysteminterface.cpp:946
#78 0x00007fffe31e8260 in userEventSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>)
    at qeventdispatcher_glib.cpp:77
---Type <return> to continue, or q <return> to quit---
#79 0x00007fffed55a417 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#80 0x00007fffed55a650 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#81 0x00007fffed55a6dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#82 0x00007ffff2c6a97f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x555555aee2a0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#83 0x00007ffff2c0f9fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffffffcfa0, flags=..., 
    flags@entry=...) at kernel/qeventloop.cpp:212
#84 0x00007ffff2c18aa4 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1297
#85 0x00007ffff6ac9a5d in Gui::Application::runApplication() () at /opt/freecad-source-vocx/src/Gui/Application.cpp:2113
#86 0x000055555555ca9d in main(int, char**) (argc=1, argv=0x7fffffffdb68) at /opt/freecad-source-vocx/src/Main/MainGui.cpp:299

Code: Select all

OS: Ubuntu 18.04.3 LTS (ubuntu:GNOME/ubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18483 (Git)
Build type: Debug
Branch: master
Hash: 71c54272a08554f04c79c3d149859be918a90aeb
Python version: 3.6.8
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
Last edited by vocx on Thu Jan 09, 2020 6:16 am, edited 2 times in total.
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
User avatar
Vincent B
Veteran
Posts: 4734
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: Crash: when using Draft Facebinder

Post by Vincent B »

no crash where but weird display: A huge grid :? ... something wrong somewhere.

OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18385 (Git)
Build type: Release
Branch: master
Hash: c314edcaf675dd261e757bbf7b2f8b97c7e72130
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: French/France (fr_FR)
User avatar
pl7i92LCNC
Posts: 208
Joined: Tue Mar 12, 2019 3:03 pm
Location: RLP DE

Re: Crash: when using Draft Facebinder

Post by pl7i92LCNC »

its the GIT version he got
i did change to APPimage as i cand even open the sketcher after updating the Daily there is a big miss around
but coders are on it and saying it will be fixed soon
as coders always say :D
vocx
Veteran
Posts: 5197
Joined: Thu Oct 18, 2018 9:18 pm

Re: Crash: when using Draft Facebinder

Post by vocx »

Bump. Still occurs with this version.

Code: Select all

OS: Ubuntu 18.04.3 LTS (ubuntu:GNOME/ubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18543 (Git)
Build type: Debug
Branch: master
Hash: eb6a405c170dd7a7ef5035d5fd837099cdd14dc7
Python version: 3.6.8
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)

Code: Select all

Select face(s) on existing object(s)
Select face(s) on existing object(s)
<class 'TypeError'>
TypeError: TaskPanel() takes 0 positional arguments but 1 was given
<class 'TypeError'>

Thread 1 "FreeCAD" received signal SIGSEGV, Segmentation fault.
0x00007ffff42de166 in _PyObject_FastCallDict (func=func@entry=<unknown at remote 0x7fffc03a63c8>, args=args@entry=0x7fffffffab40, 
    nargs=3, kwargs=kwargs@entry=0x0) at ../Objects/abstract.c:2331
2331	../Objects/abstract.c: No such file or directory.
(gdb) bt
#0  0x00007ffff42de166 in _PyObject_FastCallDict (func=func@entry=<unknown at remote 0x7fffc03a63c8>, args=args@entry=0x7fffffffab40, nargs=3, kwargs=kwargs@entry=0x0) at ../Objects/abstract.c:2331
#1  0x00007ffff42de348 in PyObject_CallFunctionObjArgs (callable=<unknown at remote 0x7fffc03a63c8>) at ../Objects/abstract.c:2827
#2  0x00007ffff41f7826 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:3293
#3  0x00007ffff41f2c6f in _PyEval_EvalCodeWithName (_co=<code at remote 0x7ffff7f3b030>, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=2, kwnames=0x0, kwargs=0x55555c11c6e8, kwcount=0, kwstep=1, defs=0x7ffff7f34f40, defcount=1, kwdefs=0x0, closure=0x0, name='_find_spec', qualname='_find_spec') at ../Python/ceval.c:4166
#4  0x00007ffff41f335c in fast_function (kwnames=0x0, nargs=2, stack=<optimized out>, func=<function at remote 0x7ffff7f45bf8>)
    at ../Python/ceval.c:4992
#5  0x00007ffff41f335c in call_function (pp_stack=0x7fffffffaf70, oparg=<optimized out>, kwnames=0x0) at ../Python/ceval.c:4872
#6  0x00007ffff41f9563 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:3335
#7  0x00007ffff41f1a63 in _PyFunction_FastCall (co=<optimized out>, args=<optimized out>, nargs=nargs@entry=2, globals=globals@entry={'__name__': 'importlib._bootstrap', '__doc__': 'Core implementation of import.\n\nThis module is NOT meant to be directly imported! It has been designed such\nthat it can be bootstrapped into Python as the implementation of import. As\nsuch it requires the injection of specific modules and attributes in order to\nwork. One should use importlib as the public-facing version of this module.\n\n', '__package__': 'importlib', '__loader__': <type at remote 0x5555557eb588>, '__spec__': <ModuleSpec(name='_frozen_importlib', loader=<type at remote 0x5555557eb588>, origin=None, loader_state=None, submodule_search_locations=None, _set_fileattr=False, _cached=None) at remote 0x7ffff7f43748>, '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", '__package__': '', '__loader__': <type at remote 0x5555557eaca8>, '__spec__': <ModuleSpec(name='builtins', loader=<type at remote 0x5555557eaca8>, ori...(truncated)) at ../Python/ceval.c:4933
---Type <return> to continue, or q <return> to quit---
#8  0x00007ffff41f351e in fast_function (kwnames=0x0, nargs=2, stack=<optimized out>, func=<function at remote 0x7ffff7f45d08>)
    at ../Python/ceval.c:4968
#9  0x00007ffff41f351e in call_function (pp_stack=0x7fffffffb120, oparg=<optimized out>, kwnames=0x0) at ../Python/ceval.c:4872
#10 0x00007ffff41f9563 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:3335
#11 0x00007ffff41f1a63 in _PyFunction_FastCall (co=co@entry=0x7ffff7f3b300, args=<optimized out>, 
    args@entry=0x7fffffffb2e0, nargs=nargs@entry=2, globals=globals@entry={'__name__': 'importlib._bootstrap', '__doc__': 'Core implementation of import.\n\nThis module is NOT meant to be directly imported! It has been designed such\nthat it can be bootstrapped into Python as the implementation of import. As\nsuch it requires the injection of specific modules and attributes in order to\nwork. One should use importlib as the public-facing version of this module.\n\n', '__package__': 'importlib', '__loader__': <type at remote 0x5555557eb588>, '__spec__': <ModuleSpec(name='_frozen_importlib', loader=<type at remote 0x5555557eb588>, origin=None, loader_state=None, submodule_search_locations=None, _set_fileattr=False, _cached=None) at remote 0x7ffff7f43748>, '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", '__package__': '', '__loader__': <type at remote 0x5555557eaca8>, '__spec__': <ModuleSpec(name='builtins', loader=<type at remote 0x5555557eaca8>, ori...(truncated)) at ../Python/ceval.c:4933
#12 0x00007ffff41f3085 in _PyFunction_FastCallDict (func=<function at remote 0x7ffff7f45d90>, args=0x7fffffffb2e0, nargs=2, kwargs=0x0) at ../Python/ceval.c:5035
#13 0x00007ffff42de211 in _PyObject_FastCallDict (func=func@entry=<function at remote 0x7ffff7f45d90>, args=args@entry=0x7fffffffb2e0, nargs=2, kwargs=kwargs@entry=0x0) at ../Objects/abstract.c:2310
#14 0x00007ffff42de576 in _PyObject_CallMethodIdObjArgs (callable=<function at remote 0x7ffff7f45d90>, name=<optimized out>)
    at ../Objects/abstract.c:2796
---Type <return> to continue, or q <return> to quit---
#15 0x00007ffff40e7b2c in PyImport_ImportModuleLevelObject (name='cStringIO', globals=<optimized out>, locals=<optimized out>, fromlist=('StringIO',), level=0) at ../Python/import.c:1578
#16 0x00007ffff41fbe6a in import_name (level=0, fromlist=('StringIO',), name='cStringIO', f=
    Frame 0x55555bbe3f38, for file /usr/lib/python3/dist-packages/apport_python_hook.py, line 57, in apport_excepthook (exc_type=<type at remote 0x7ffff467d300>, exc_obj=TypeError('PyCXX: Error creating object of type N2Py8CallableE from <managedbuffer object at 0x7fff6d613ae8>',), exc_tb=None)) at ../Python/ceval.c:5245
#17 0x00007ffff41fbe6a in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:2899
#18 0x00007ffff41f1a63 in _PyFunction_FastCall (co=co@entry=0x7fffe3b8e4b0, args=<optimized out>, 
    args@entry=0x7fffffffb6b0, nargs=nargs@entry=3, globals=globals@entry={'__name__': 'apport_python_hook', '__doc__': 'Python sys.excepthook hook to generate apport crash dumps.', '__package__': '', '__loader__': <SourceFileLoader(name='apport_python_hook', path='/usr/lib/python3/dist-packages/apport_python_hook.py') at remote 0x7fffe3b39f98>, '__spec__': <ModuleSpec(name='apport_python_hook', loader=<...>, origin='/usr/lib/python3/dist-packages/apport_python_hook.py', loader_state=None, submodule_search_locations=None, _set_fileattr=True, _cached='/usr/lib/python3/dist-packages/__pycache__/apport_python_hook.cpython-36.pyc', _initializing=False) at remote 0x7fffe3b39fd0>, '__file__': '/usr/lib/python3/dist-packages/apport_python_hook.py', '__cached__': '/usr/lib/python3/dist-packages/__pycache__/apport_python_hook.cpython-36.pyc', '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", '__package__': '', '__loader__': <type at remote 0x5555557eaca8>, '_...(truncated)) at ../Python/ceval.c:4933
#19 0x00007ffff41f3085 in _PyFunction_FastCallDict (func=<function at remote 0x7fffe3b33730>, args=0x7fffffffb6b0, nargs=3, kwargs=0x0) at ../Python/ceval.c:5035
#20 0x00007ffff42de211 in _PyObject_FastCallDict (func=<function at remote 0x7fffe3b33730>, args=0x7fffffffb6b0, nargs=3, kwargs=0x0)
---Type <return> to continue, or q <return> to quit---
    at ../Objects/abstract.c:2310
#21 0x00007ffff41c67fd in PyErr_PrintEx (set_sys_last_vars=1) at ../Python/pythonrun.c:669
#22 0x00007ffff7019d72 in Gui::View3DInventorPy::eventCallback(void*, SoEventCallback*) (ud=0x7fff6d613ae8, n=0x555557373570)
    at /opt/freecad-source-vocx/src/Gui/View3DPy.cpp:2059
#23 0x00007ffff1a1c855 in SoEventCallback::handleEvent(SoHandleEventAction*) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#24 0x00007ffff1836504 in SoAction::traverse(SoNode*) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#25 0x00007ffff19d6008 in SoChildList::traverse(SoAction*, int, int) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#26 0x00007ffff1a254e6 in SoGroup::doAction(SoAction*) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#27 0x00007ffff1a3f967 in SoSeparator::doAction(SoAction*) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#28 0x00007ffff6ee86c4 in Gui::SoFCUnifiedSelection::handleEvent(SoHandleEventAction*) (this=0x555557276370, action=0x7fffd800c710)
    at /opt/freecad-source-vocx/src/Gui/SoFCUnifiedSelection.cpp:757
#29 0x00007ffff1836504 in SoAction::traverse(SoNode*) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#30 0x00007ffff19d6008 in SoChildList::traverse(SoAction*, int, int) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#31 0x00007ffff1a254e6 in SoGroup::doAction(SoAction*) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#32 0x00007ffff1a3f967 in SoSeparator::doAction(SoAction*) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#33 0x00007ffff1836504 in SoAction::traverse(SoNode*) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#34 0x00007ffff183fe48 in SoHandleEventAction::beginTraversal(SoNode*) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#35 0x00007ffff1836a82 in SoAction::apply(SoNode*) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#36 0x00007ffff19f28a0 in SoEventManager::actuallyProcessEvent(SoEvent const*) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#37 0x00007ffff6fa245c in SIM::Coin3D::Quarter::QuarterWidget::processSoEvent(SoEvent const*) (this=
---Type <return> to continue, or q <return> to quit---
    0x55555723a310, event=0x5555572ada90) at /opt/freecad-source-vocx/src/Gui/Quarter/QuarterWidget.cpp:1045
#38 0x00007ffff6fab16f in SIM::Coin3D::Quarter::SoQTQuarterAdaptor::processSoEvent(SoEvent const*) (this=0x55555723a310, event=0x5555572ada90) at /opt/freecad-source-vocx/src/Gui/Quarter/SoQTQuarterAdaptor.cpp:714
#39 0x00007ffff6ffb465 in Gui::View3DInventorViewer::processSoEventBase(SoEvent const*) (this=0x55555723a310, ev=0x5555572ada90)
    at /opt/freecad-source-vocx/src/Gui/View3DInventorViewer.cpp:2434
#40 0x00007ffff6fbbea9 in Gui::NavigationStyle::processSoEvent(SoEvent const*) (this=0x5555572a9d50, ev=0x5555572ada90)
    at /opt/freecad-source-vocx/src/Gui/NavigationStyle.cpp:1468
#41 0x00007ffff6fc26fc in Gui::CADNavigationStyle::processSoEvent(SoEvent const*) (this=0x5555572a9d50, ev=0x5555572ada90)
    at /opt/freecad-source-vocx/src/Gui/CADNavigationStyle.cpp:457
#42 0x00007ffff6fbbde1 in Gui::NavigationStyle::processEvent(SoEvent const*) (this=0x5555572a9d50, ev=0x5555572ada90)
    at /opt/freecad-source-vocx/src/Gui/NavigationStyle.cpp:1450
#43 0x00007ffff6ffb426 in Gui::View3DInventorViewer::processSoEvent(SoEvent const*) (this=0x55555723a310, ev=0x5555572ada90)
    at /opt/freecad-source-vocx/src/Gui/View3DInventorViewer.cpp:2429
#44 0x00007ffff6f9a5ca in SIM::Coin3D::Quarter::EventFilter::eventFilter(QObject*, QEvent*) (this=0x5555572952d0, obj=0x55555723a310, qevent=0x7fffffffc120) at /opt/freecad-source-vocx/src/Gui/Quarter/EventFilter.cpp:173
#45 0x00007ffff2c066ac in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (receiver=receiver@entry=0x55555723a310, event=event@entry=0x7fffffffc120) at kernel/qcoreapplication.cpp:1135
#46 0x00007ffff3984815 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=
    0x5555558ad380, receiver=receiver@entry=0x55555723a310, e=e@entry=0x7fffffffc120) at kernel/qapplication.cpp:3718
#47 0x00007ffff398c65f in QApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=0x5555564e6f40, e=0x7fffffffc5d0)
---Type <return> to continue, or q <return> to quit---
    at kernel/qapplication.cpp:3198
#48 0x00007ffff6bf5388 in Gui::GUIApplication::notify(QObject*, QEvent*) (this=
    0x7fffffffd130, receiver=0x5555564e6f40, event=0x7fffffffc5d0) at /opt/freecad-source-vocx/src/Gui/GuiApplication.cpp:91
#49 0x00007ffff2c069c8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=receiver@entry=0x5555564e6f40, event=event@entry=0x7fffffffc5d0) at kernel/qcoreapplication.cpp:1024
#50 0x00007ffff398b632 in QCoreApplication::sendEvent(QObject*, QEvent*) (event=<optimized out>, receiver=<optimized out>)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:233
#51 0x00007ffff398b632 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) (receiver=receiver@entry=0x5555564e6f40, event=event@entry=
    0x7fffffffc5d0, alienWidget=alienWidget@entry=0x5555564e6f40, nativeWidget=0x7fffffffd170, buttonDown=buttonDown@entry=0x7ffff40767d0 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2704
#52 0x00007ffff39de16b in QWidgetWindow::handleMouseEvent(QMouseEvent*) (this=this@entry=0x555558103f40, event=event@entry=0x7fffffffcbf0) at kernel/qwidgetwindow.cpp:628
#53 0x00007ffff39e07da in QWidgetWindow::event(QEvent*) (this=0x555558103f40, event=0x7fffffffcbf0) at kernel/qwidgetwindow.cpp:250
#54 0x00007ffff398483c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x5555558ad380, receiver=receiver@entry=0x555558103f40, e=e@entry=0x7fffffffcbf0) at kernel/qapplication.cpp:3722
#55 0x00007ffff398c104 in QApplication::notify(QObject*, QEvent*) (this=0x7fffffffd130, receiver=0x555558103f40, e=0x7fffffffcbf0)
    at kernel/qapplication.cpp:3481
#56 0x00007ffff6bf5388 in Gui::GUIApplication::notify(QObject*, QEvent*) (this=0x7fffffffd130, receiver=0x555558103f40, event=0x7fffffffcbf0) at /opt/freecad-source-vocx/src/Gui/GuiApplication.cpp:91
---Type <return> to continue, or q <return> to quit---
#57 0x00007ffff2c069c8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=receiver@entry=0x555558103f40, event=event@entry=0x7fffffffcbf0) at kernel/qcoreapplication.cpp:1024
#58 0x00007ffff31c8583 in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) (event=0x7fffffffcbf0, receiver=0x555558103f40)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#59 0x00007ffff31c8583 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) (e=0x55555c047390)
    at kernel/qguiapplication.cpp:1952
#60 0x00007ffff31ca055 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) (e=e@entry=0x55555c047390) at kernel/qguiapplication.cpp:1733
#61 0x00007ffff31a12eb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=...)
    at kernel/qwindowsysteminterface.cpp:946
#62 0x00007fffe31dd260 in userEventSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>)
    at qeventdispatcher_glib.cpp:77
#63 0x00007fffed54f417 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#64 0x00007fffed54f650 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#65 0x00007fffed54f6dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#66 0x00007ffff2c5f97f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x555555d04600, flags=...)
    at kernel/qeventdispatcher_glib.cpp:423
#67 0x00007ffff2c049fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffffffcfa0, flags=..., 
    flags@entry=...) at kernel/qeventloop.cpp:212
#68 0x00007ffff2c0daa4 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1297
---Type <return> to continue, or q <return> to quit---
#69 0x00007ffff6ac9c8d in Gui::Application::runApplication() () at /opt/freecad-source-vocx/src/Gui/Application.cpp:2113
#70 0x000055555555ca9d in main(int, char**) (argc=1, argv=0x7fffffffdb68) at /opt/freecad-source-vocx/src/Main/MainGui.cpp:299
(gdb) 
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
vocx
Veteran
Posts: 5197
Joined: Thu Oct 18, 2018 9:18 pm

Re: Crash: when using Draft Facebinder

Post by vocx »

I originally tested this bug with a Debug version, that is, a self-compiled version with -DCMAKE_BUILD_TYPE=Debug, but it works the same if using a regular version. Now it's issue #4243.
  1. Open FreeCAD, open a new document, go to the Part Workbench, and create a simple Part Box.
  2. Switch to the Draft Workbench.
  3. Press the Draft Facebinder button, then select the top face of the Cube. A Facebinder object is created.
  4. Click anywhere on the 3D view to de-select any object.
  5. Again click on the Draft Facebinder button, and try picking the face of the Cube again. As soon as the mouse pointer leaves the toolbar area, and enters the 3D view again, the program crashes.
Sometimes there is no crash when pressing Draft Facebinder the second time and entering the 3D view. In this case you can pick any face of the Part Box and nothing will happen. The task view will just stay there open only with the "Close" button showing.

So press the "Close" button to finish the operation. Then choose Draft Facebinder a third time, and when moving the pointer to the 3D view, this time a crash is almost guaranteed.

As shown in the backtrace, probably the issue is in the callback mechanism of the Facebinder command. This is shown in the call stack at around #30 to #50 depending on how deep the calls are.

Code: Select all

Select face(s) on existing object(s)
Select face(s) on existing object(s)
Select face(s) on existing object(s)
<class 'TypeError'>
TypeError: TaskPanel() takes 0 positional arguments but 1 was given
<class 'TypeError'>

Thread 1 "FreeCAD" received signal SIGSEGV, Segmentation fault.
0x00007ffff41eea3b in _PyObject_Alloc (ctx=<optimized out>, elsize=28, nelem=1, use_calloc=0) at ../Objects/obmalloc.c:1456
1456	../Objects/obmalloc.c: No such file or directory.
(gdb) bt
#0  0x00007ffff41eea3b in _PyObject_Alloc (ctx=<optimized out>, elsize=28, nelem=1, use_calloc=0) at ../Objects/obmalloc.c:1456
#1  0x00007ffff41eea3b in _PyObject_Malloc (ctx=0x0, nbytes=28) at ../Objects/obmalloc.c:1456
#2  0x00007ffff41fffb5 in _PyLong_New (size=size@entry=1, size=<optimized out>) at ../Objects/longobject.c:196
#3  0x00007ffff4200672 in PyLong_FromLong (ival=<optimized out>, ival=<optimized out>) at ../Objects/longobject.c:254
#4  0x00007ffff409e7e0 in _pystat_fromstructstat (st=0x7fffffffa450) at ../Modules/posixmodule.c:1961
#5  0x00007ffff4090e86 in posix_do_stat.isra.163.lto_priv.1708 (path=0x7fffffffa540, dir_fd=<optimized out>, follow_symlinks=1, function_name=<optimized out>) at ../Modules/posixmodule.c:2086
#6  0x00007ffff40980d4 in os_stat_impl (module=<unknown at remote 0x7fffffffa540>, follow_symlinks=<optimized out>, dir_fd=<optimized out>, path=0x7fffffffa540) at ../Modules/posixmodule.c:2424
#7  0x00007ffff40980d4 in os_stat (module=module@entry=<module at remote 0x7ffff7edfe58>, args=<optimized out>, nargs=nargs@entry=1, kwnames=<optimized out>) at ../Modules/clinic/posixmodule.c.h:50
#8  0x00007ffff41f7646 in _PyCFunction_FastCallDict (func_obj=
    <built-in method stat of module object at remote 0x7ffff7edfe58>, args=0x7ffff7f2fda0, nargs=1, kwargs=<optimized out>)
    at ../Objects/methodobject.c:250
#9  0x00007ffff416044c in call_function (pp_stack=0x7fffffffa6e0, oparg=<optimized out>, kwnames=0x0) at ../Python/ceval.c:4851
#10 0x00007ffff4166563 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:3335
#11 0x00007ffff415ea63 in _PyFunction_FastCall (co=<optimized out>, args=<optimized out>, nargs=nargs@entry=1, globals=globals@entry={'__name__': 'importlib._bootstrap_external', '__doc__': 'Core implementation of path-based import.\n\nThis module is NOT meant to be directly imported! It has been designed such\nthat it can be bootstrapped into Python as the implementation of import. As\nsuch it requires the injection of specific modules and attributes in order to\nwork. One should use importlib as the public-facing version of this module.\n\n', '__package__': 'importlib', '__loader__': <type at remote 0x5555557ec058>, '__spec__': <ModuleSpec(name='_frozen_importlib_external', loader=<type at remote 0x5555557ec058>, origin='frozen', loader_state=None, submodule_search_locations=None, _set_fileattr=False, _cached=None, _initializing=False) at remote 0x7ffff7f33b70>, '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, ex---Type <return> to continue, or q <return> to quit---
ceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", '__package__': '', '__loader__': <type at remote 0x5555557eb778>, '__spec__': <ModuleSpec(name='...(truncated)) at ../Python/ceval.c:4933
#12 0x00007ffff416051e in fast_function (kwnames=0x0, nargs=1, stack=<optimized out>, func=<function at remote 0x7ffff7f3ab70>)
    at ../Python/ceval.c:4968
#13 0x00007ffff416051e in call_function (pp_stack=0x7fffffffa890, oparg=<optimized out>, kwnames=0x0) at ../Python/ceval.c:4872
#14 0x00007ffff4166563 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:3335
#15 0x00007ffff415fc6f in _PyEval_EvalCodeWithName (_co=<code at remote 0x7ffff7ed5300>, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=3, kwnames=0x0, kwargs=0x5555557f8da8, kwcount=0, kwstep=1, defs=0x7ffff7ed6370, defcount=1, kwdefs=0x0, closure=0x0, name='find_spec', qualname='FileFinder.find_spec') at ../Python/ceval.c:4166
#16 0x00007ffff416035c in fast_function (kwnames=0x0, nargs=3, stack=<optimized out>, func=<function at remote 0x7ffff7ee1a60>)
    at ../Python/ceval.c:4992
#17 0x00007ffff416035c in call_function (pp_stack=0x7fffffffab30, oparg=<optimized out>, kwnames=0x0) at ../Python/ceval.c:4872
#18 0x00007ffff4166563 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:3335
#19 0x00007ffff415fc6f in _PyEval_EvalCodeWithName (_co=<code at remote 0x7ffff7ed2d20>, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=4, kwnames=0x0, kwargs=0x7ffff7f375e0, kwcount=0, kwstep=1, defs=0x7ffff7ecbe28, defcount=1, kwdefs=0x0, closure=0x0, name='_get_spec', qualname='PathFinder._get_spec') at ../Python/ceval.c:4166
#20 0x00007ffff416035c in fast_function (kwnames=0x0, nargs=4, stack=<optimized out>, func=<function at remote 0x7ffff7ee16a8>)
    at ../Python/ceval.c:4992
#21 0x00007ffff416035c in call_function (pp_stack=0x7fffffffadd0, oparg=<optimized out>, kwnames=0x0) at ../Python/ceval.c:4872
#22 0x00007ffff4166563 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:3335
#23 0x00007ffff415fc6f in _PyEval_EvalCodeWithName (_co=<code at remote 0x7ffff7ed2db0>, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=4, kwnames=0x0, kwargs=0x5555557fcc90, kwcount=0, kwstep=1, defs=0x7ffff7ecfba0, defcount=2, kwdefs=0x0, closure=0x0, name='find_spec', qualname='PathFinder.find_spec') at ../Python/ceval.c:4166
---Type <return> to continue, or q <return> to quit---
#24 0x00007ffff416035c in fast_function (kwnames=0x0, nargs=4, stack=<optimized out>, func=<function at remote 0x7ffff7ee1730>)
    at ../Python/ceval.c:4992
#25 0x00007ffff416035c in call_function (pp_stack=0x7fffffffb070, oparg=<optimized out>, kwnames=0x0) at ../Python/ceval.c:4872
#26 0x00007ffff4166563 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:3335
#27 0x00007ffff415fc6f in _PyEval_EvalCodeWithName (_co=<code at remote 0x7ffff7f2b030>, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=2, kwnames=0x0, kwargs=0x55555bbe8068, kwcount=0, kwstep=1, defs=0x7ffff7f24f40, defcount=1, kwdefs=0x0, closure=0x0, name='_find_spec', qualname='_find_spec') at ../Python/ceval.c:4166
#28 0x00007ffff416035c in fast_function (kwnames=0x0, nargs=2, stack=<optimized out>, func=<function at remote 0x7ffff7f35bf8>)
    at ../Python/ceval.c:4992
#29 0x00007ffff416035c in call_function (pp_stack=0x7fffffffb310, oparg=<optimized out>, kwnames=0x0) at ../Python/ceval.c:4872
#30 0x00007ffff4166563 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:3335
#31 0x00007ffff415ea63 in _PyFunction_FastCall (co=<optimized out>, args=<optimized out>, nargs=nargs@entry=2, globals=globals@entry={'__name__': 'importlib._bootstrap', '__doc__': 'Core implementation of import.\n\nThis module is NOT meant to be directly imported! It has been designed such\nthat it can be bootstrapped into Python as the implementation of import. As\nsuch it requires the injection of specific modules and attributes in order to\nwork. One should use importlib as the public-facing version of this module.\n\n', '__package__': 'importlib', '__loader__': <type at remote 0x5555557ec058>, '__spec__': <ModuleSpec(name='_frozen_importlib', loader=<type at remote 0x5555557ec058>, origin=None, loader_state=None, submodule_search_locations=None, _set_fileattr=False, _cached=None) at remote 0x7ffff7f33748>, '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", '__package__': '', '__loader__': <type at remote 0x5555557eb778>, '__spec__': <ModuleSpec(name='builtins', loader=<type at remote 0x5555557eb778>, ori...(truncated)) at ../Python/ceval.c:4933
#32 0x00007ffff416051e in fast_function (kwnames=0x0, nargs=2, stack=<optimized out>, func=<function at remote 0x7ffff7f35d08>)
    at ../Python/ceval.c:4968
#33 0x00007ffff416051e in call_function (pp_stack=0x7fffffffb4c0, oparg=<optimized out>, kwnames=0x0) at ../Python/ceval.c:4872
---Type <return> to continue, or q <return> to quit---
#34 0x00007ffff4166563 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:3335
#35 0x00007ffff415ea63 in _PyFunction_FastCall (co=co@entry=0x7ffff7f2b300, args=<optimized out>, 
    args@entry=0x7fffffffb680, nargs=nargs@entry=2, globals=globals@entry={'__name__': 'importlib._bootstrap', '__doc__': 'Core implementation of import.\n\nThis module is NOT meant to be directly imported! It has been designed such\nthat it can be bootstrapped into Python as the implementation of import. As\nsuch it requires the injection of specific modules and attributes in order to\nwork. One should use importlib as the public-facing version of this module.\n\n', '__package__': 'importlib', '__loader__': <type at remote 0x5555557ec058>, '__spec__': <ModuleSpec(name='_frozen_importlib', loader=<type at remote 0x5555557ec058>, origin=None, loader_state=None, submodule_search_locations=None, _set_fileattr=False, _cached=None) at remote 0x7ffff7f33748>, '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", '__package__': '', '__loader__': <type at remote 0x5555557eb778>, '__spec__': <ModuleSpec(name='builtins', loader=<type at remote 0x5555557eb778>, ori...(truncated)) at ../Python/ceval.c:4933
#36 0x00007ffff4160085 in _PyFunction_FastCallDict (func=<function at remote 0x7ffff7f35d90>, args=0x7fffffffb680, nargs=2, kwargs=0x0)
    at ../Python/ceval.c:5035
#37 0x00007ffff424b211 in _PyObject_FastCallDict (func=func@entry=<function at remote 0x7ffff7f35d90>, args=args@entry=0x7fffffffb680, nargs=2, kwargs=kwargs@entry=0x0) at ../Objects/abstract.c:2310
#38 0x00007ffff424b576 in _PyObject_CallMethodIdObjArgs (callable=<function at remote 0x7ffff7f35d90>, name=<optimized out>)
    at ../Objects/abstract.c:2796
#39 0x00007ffff4054b2c in PyImport_ImportModuleLevelObject (name='cStringIO', globals=<optimized out>, locals=<optimized out>, fromlist=('StringIO',), level=0) at ../Python/import.c:1578
#40 0x00007ffff4168e6a in import_name (level=0, fromlist=('StringIO',), name='cStringIO', f=
    Frame 0x55555839a018, for file /usr/lib/python3/dist-packages/apport_python_hook.py, line 57, in apport_excepthook (exc_type=<type at remote 0x7ffff45ea300>, exc_obj=TypeError('PyCXX: Error creating object of type N2Py8CallableE from time.struct_time(tm_year=2020, tm_mon=1, tm_mday=8, tm_hour=22, tm_min=57, tm_sec=3, tm_wday=2, tm_yday=8, tm_isdst=0)',), exc_tb=None)) at ../Python/ceval.c:5245
---Type <return> to continue, or q <return> to quit---
#41 0x00007ffff4168e6a in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:2899
#42 0x00007ffff415ea63 in _PyFunction_FastCall (co=co@entry=0x7fffe36d84b0, args=<optimized out>, 
    args@entry=0x7fffffffba50, nargs=nargs@entry=3, globals=globals@entry={'__name__': 'apport_python_hook', '__doc__': 'Python sys.excepthook hook to generate apport crash dumps.', '__package__': '', '__loader__': <SourceFileLoader(name='apport_python_hook', path='/usr/lib/python3/dist-packages/apport_python_hook.py') at remote 0x7fffe3684898>, '__spec__': <ModuleSpec(name='apport_python_hook', loader=<...>, origin='/usr/lib/python3/dist-packages/apport_python_hook.py', loader_state=None, submodule_search_locations=None, _set_fileattr=True, _cached='/usr/lib/python3/dist-packages/__pycache__/apport_python_hook.cpython-36.pyc', _initializing=False) at remote 0x7fffe3684908>, '__file__': '/usr/lib/python3/dist-packages/apport_python_hook.py', '__cached__': '/usr/lib/python3/dist-packages/__pycache__/apport_python_hook.cpython-36.pyc', '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", '__package__': '', '__loader__': <type at remote 0x5555557eb778>, '_...(truncated)) at ../Python/ceval.c:4933
#43 0x00007ffff4160085 in _PyFunction_FastCallDict (func=<function at remote 0x7fffe367e730>, args=0x7fffffffba50, nargs=3, kwargs=0x0)
    at ../Python/ceval.c:5035
#44 0x00007ffff424b211 in _PyObject_FastCallDict (func=<function at remote 0x7fffe367e730>, args=0x7fffffffba50, nargs=3, kwargs=0x0)
    at ../Objects/abstract.c:2310
#45 0x00007ffff41337fd in PyErr_PrintEx (set_sys_last_vars=1) at ../Python/pythonrun.c:669
#46 0x00007ffff70042d6 in Gui::View3DInventorPy::eventCallback(void*, SoEventCallback*) (ud=0x7fff7dbb8378, n=0x5555584ac230)
    at /opt/freecad-source-vocx/src/Gui/View3DPy.cpp:2060
#47 0x00007ffff1989855 in SoEventCallback::handleEvent(SoHandleEventAction*) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#48 0x00007ffff17a3504 in SoAction::traverse(SoNode*) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#49 0x00007ffff1943008 in SoChildList::traverse(SoAction*, int, int) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#50 0x00007ffff19924e6 in SoGroup::doAction(SoAction*) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#51 0x00007ffff19ac967 in SoSeparator::doAction(SoAction*) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80c
---Type <return> to continue, or q <return> to quit---
#52 0x00007ffff6ecf918 in Gui::SoFCUnifiedSelection::handleEvent(SoHandleEventAction*) (this=0x55555846a150, action=0x555556012ee0)
    at /opt/freecad-source-vocx/src/Gui/SoFCUnifiedSelection.cpp:757
#53 0x00007ffff17a3504 in SoAction::traverse(SoNode*) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#54 0x00007ffff1943008 in SoChildList::traverse(SoAction*, int, int) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#55 0x00007ffff19924e6 in SoGroup::doAction(SoAction*) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#56 0x00007ffff19ac967 in SoSeparator::doAction(SoAction*) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#57 0x00007ffff17a3504 in SoAction::traverse(SoNode*) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#58 0x00007ffff17ace48 in SoHandleEventAction::beginTraversal(SoNode*) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#59 0x00007ffff17a3a82 in SoAction::apply(SoNode*) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#60 0x00007ffff195f8a0 in SoEventManager::actuallyProcessEvent(SoEvent const*) () at /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#61 0x00007ffff6f8a21a in SIM::Coin3D::Quarter::QuarterWidget::processSoEvent(SoEvent const*) (this=
    0x555558384d10, event=0x555555f36360) at /opt/freecad-source-vocx/src/Gui/Quarter/QuarterWidget.cpp:1064
#62 0x00007ffff6f92f67 in SIM::Coin3D::Quarter::SoQTQuarterAdaptor::processSoEvent(SoEvent const*) (this=0x555558384d10, event=0x555555f36360) at /opt/freecad-source-vocx/src/Gui/Quarter/SoQTQuarterAdaptor.cpp:714
#63 0x00007ffff6fe5953 in Gui::View3DInventorViewer::processSoEventBase(SoEvent const*) (this=0x555558384d10, ev=0x555555f36360)
    at /opt/freecad-source-vocx/src/Gui/View3DInventorViewer.cpp:2473
#64 0x00007ffff6fa5e67 in Gui::NavigationStyle::processSoEvent(SoEvent const*) (this=0x555558627d50, ev=0x555555f36360)
    at /opt/freecad-source-vocx/src/Gui/NavigationStyle.cpp:1468
#65 0x00007ffff6fac6ba in Gui::CADNavigationStyle::processSoEvent(SoEvent const*) (this=0x555558627d50, ev=0x555555f36360)
    at /opt/freecad-source-vocx/src/Gui/CADNavigationStyle.cpp:457
#66 0x00007ffff6fa5d9f in Gui::NavigationStyle::processEvent(SoEvent const*) (this=0x555558627d50, ev=0x555555f36360)
    at /opt/freecad-source-vocx/src/Gui/NavigationStyle.cpp:1450
#67 0x00007ffff6fe5914 in Gui::View3DInventorViewer::processSoEvent(SoEvent const*) (this=0x555558384d10, ev=0x555555f36360)
---Type <return> to continue, or q <return> to quit---
    at /opt/freecad-source-vocx/src/Gui/View3DInventorViewer.cpp:2468
#68 0x00007ffff6f822e4 in SIM::Coin3D::Quarter::EventFilter::eventFilter(QObject*, QEvent*) (this=0x5555569c5950, obj=0x555558384d10, qevent=0x7fffffffc4c0) at /opt/freecad-source-vocx/src/Gui/Quarter/EventFilter.cpp:173
#69 0x00007ffff2b736ac in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (receiver=receiver@entry=0x555558384d10, event=event@entry=0x7fffffffc4c0) at kernel/qcoreapplication.cpp:1135
#70 0x00007ffff38f1815 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=
    0x5555558aceb0, receiver=receiver@entry=0x555558384d10, e=e@entry=0x7fffffffc4c0) at kernel/qapplication.cpp:3718
#71 0x00007ffff38f965f in QApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=0x555558264d00, e=0x7fffffffc970)
    at kernel/qapplication.cpp:3198
#72 0x00007ffff6bc8bf0 in Gui::GUIApplication::notify(QObject*, QEvent*) (this=
    0x7fffffffd4d0, receiver=0x555558264d00, event=0x7fffffffc970) at /opt/freecad-source-vocx/src/Gui/GuiApplication.cpp:91
#73 0x00007ffff2b739c8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=receiver@entry=0x555558264d00, event=event@entry=0x7fffffffc970) at kernel/qcoreapplication.cpp:1024
#74 0x00007ffff38f8632 in QCoreApplication::sendEvent(QObject*, QEvent*) (event=<optimized out>, receiver=<optimized out>)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:233
#75 0x00007ffff38f8632 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) (receiver=receiver@entry=0x555558264d00, event=event@entry=
    0x7fffffffc970, alienWidget=alienWidget@entry=0x555558264d00, nativeWidget=0x7fffffffd510, buttonDown=buttonDown@entry=0x7ffff3fe37d0 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2704
#76 0x00007ffff394b16b in QWidgetWindow::handleMouseEvent(QMouseEvent*) (this=this@entry=0x555556b3a5d0, event=event@entry=0x7fffffffcf90) at kernel/qwidgetwindow.cpp:628
#77 0x00007ffff394d7da in QWidgetWindow::event(QEvent*) (this=0x555556b3a5d0, event=0x7fffffffcf90) at kernel/qwidgetwindow.cpp:250
#78 0x00007ffff38f183c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x5555558aceb0, receiver=receiver@entry---Type <return> to continue, or q <return> to quit---
=0x555556b3a5d0, e=e@entry=0x7fffffffcf90) at kernel/qapplication.cpp:3722
#79 0x00007ffff38f9104 in QApplication::notify(QObject*, QEvent*) (this=0x7fffffffd4d0, receiver=0x555556b3a5d0, e=0x7fffffffcf90)
    at kernel/qapplication.cpp:3481
#80 0x00007ffff6bc8bf0 in Gui::GUIApplication::notify(QObject*, QEvent*) (this=0x7fffffffd4d0, receiver=0x555556b3a5d0, event=0x7fffffffcf90) at /opt/freecad-source-vocx/src/Gui/GuiApplication.cpp:91
#81 0x00007ffff2b739c8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=receiver@entry=0x555556b3a5d0, event=event@entry=0x7fffffffcf90) at kernel/qcoreapplication.cpp:1024
#82 0x00007ffff3135583 in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) (event=0x7fffffffcf90, receiver=0x555556b3a5d0)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#83 0x00007ffff3135583 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) (e=0x55555bb3ca60)
    at kernel/qguiapplication.cpp:1952
#84 0x00007ffff3137055 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) (e=e@entry=0x55555bb3ca60) at kernel/qguiapplication.cpp:1733
#85 0x00007ffff310e2eb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=...)
    at kernel/qwindowsysteminterface.cpp:946
#86 0x00007fffe2d38260 in userEventSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>)
    at qeventdispatcher_glib.cpp:77
#87 0x00007fffed4bc417 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#88 0x00007fffed4bc650 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#89 0x00007fffed4bc6dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#90 0x00007ffff2bcc97f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x555555a52e70, flags=...)
    at kernel/qeventdispatcher_glib.cpp:423
#91 0x00007ffff2b719fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffffffd340, flags=..., 
---Type <return> to continue, or q <return> to quit---
    flags@entry=...) at kernel/qeventloop.cpp:212
#92 0x00007ffff2b7aaa4 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1297
#93 0x00007ffff6a9b26a in Gui::Application::runApplication() () at /opt/freecad-source-vocx/src/Gui/Application.cpp:2136
#94 0x000055555555ca9d in main(int, char**) (argc=1, argv=0x7fffffffdf28) at /opt/freecad-source-vocx/src/Main/MainGui.cpp:299

Code: Select all

OS: Ubuntu 18.04.3 LTS (ubuntu:GNOME/ubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19212 (Git)
Build type: Debug
Branch: master
Hash: 004fda205ed8470702864083f417710db222b760
Python version: 3.6.9
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
Genues
Posts: 23
Joined: Thu Jan 02, 2020 9:56 pm

Re: Issue #4243 Crash: when using Draft Facebinder

Post by Genues »

No crash for me or am I doing something wrong

Code: Select all

OS: Arch Linux (XFCE/xfce)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19541 (Git) AppImage
Build type: Release
Branch: master
Hash: a797a4172709b82c6cd08dcf6df86cb789aaa3ce
Python version: 3.8.1
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: Russian/Russia (ru_RU)
marioalexis
Posts: 124
Joined: Wed Jun 19, 2019 7:44 pm

Re: Issue #4243 Crash: when using Draft Facebinder

Post by marioalexis »

The reported crash is reproducible in most Draft modification functions (even interleaving them) by following the steps indicated in a higher number of repetitions. In my particular case I had to perform 4 or more loops.
See this pull request.
Post Reply