View Issue Details

IDProjectCategoryView StatusLast Update
0004243DraftBugpublic2021-02-08 21:59
Reportervocx Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
PlatformLinuxOSUbuntuOS Version18.04
Target Version0.19Fixed in Version0.19 
Summary0004243: Crash: when using Draft Facebinder
DescriptionWhen using the Draft Facebinder tool consecutively, the software crashes after the second or third time.

Forum thread, Crash: when using Draft Facebinder
Steps To Reproduce
  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.

Additional InformationSince it is using Coin callbacks it may also be hardware dependent.

My system has

pivy.__version__
'0.6.5a0'

Graphics card

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 02)
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02)

Backtrace in the attached file bug_4243.txt
TagsNo tags attached.
FreeCAD InformationOS: 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)

Relationships

related to 0003971 closedyorik Draft Upgrade tool generate errors in Report view then crashes 

Activities

vocx

2020-02-11 16:48

reporter   ~0014156

Backtrace of crash
bug_4243.txt (21,000 bytes)   
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
bug_4243.txt (21,000 bytes)   

marioalexis

2021-01-02 05:51

developer   ~0015196

See https://github.com/FreeCAD/FreeCAD/pull/4235

marioalexis

2021-01-04 12:00

developer   ~0015199

Fix committed to master branch.

marioalexis

2021-01-04 13:38

developer   ~0015201

@Kunda1 this can be closed

Kunda1

2021-02-08 21:59

administrator   ~0015316

Closing. Thanks for the fix marioalexis84!

Related Changesets

FreeCAD: master 4d9e2941

2021-01-02 05:15:01

marioalexis

Details Diff
Draft: Fix multiple crashes when using modification functions - fixes 0004243 Affected Issues
0004243
mod - src/Mod/Draft/draftguitools/gui_array_simple.py Diff File
mod - src/Mod/Draft/draftguitools/gui_clone.py Diff File
mod - src/Mod/Draft/draftguitools/gui_downgrade.py Diff File
mod - src/Mod/Draft/draftguitools/gui_draft2sketch.py Diff File
mod - src/Mod/Draft/draftguitools/gui_facebinders.py Diff File
mod - src/Mod/Draft/draftguitools/gui_join.py Diff File
mod - src/Mod/Draft/draftguitools/gui_offset.py Diff File
mod - src/Mod/Draft/draftguitools/gui_patharray.py Diff File
mod - src/Mod/Draft/draftguitools/gui_pathtwistedarray.py Diff File
mod - src/Mod/Draft/draftguitools/gui_pointarray.py Diff File
mod - src/Mod/Draft/draftguitools/gui_shape2dview.py Diff File
mod - src/Mod/Draft/draftguitools/gui_split.py Diff File
mod - src/Mod/Draft/draftguitools/gui_upgrade.py Diff File

FreeCAD: master f1b644d1

2021-01-04 11:30:56

yorik


Committer: GitHub Details Diff
Merge pull request 0004235 from marioalexis84/draft-facebinder

Draft: Fix multiple crashes when using modification functions - fixes 0004243, 0003971
Affected Issues
0003971, 0004243
mod - src/Mod/Draft/draftguitools/gui_array_simple.py Diff File
mod - src/Mod/Draft/draftguitools/gui_clone.py Diff File
mod - src/Mod/Draft/draftguitools/gui_downgrade.py Diff File
mod - src/Mod/Draft/draftguitools/gui_draft2sketch.py Diff File
mod - src/Mod/Draft/draftguitools/gui_facebinders.py Diff File
mod - src/Mod/Draft/draftguitools/gui_join.py Diff File
mod - src/Mod/Draft/draftguitools/gui_offset.py Diff File
mod - src/Mod/Draft/draftguitools/gui_patharray.py Diff File
mod - src/Mod/Draft/draftguitools/gui_pathtwistedarray.py Diff File
mod - src/Mod/Draft/draftguitools/gui_pointarray.py Diff File
mod - src/Mod/Draft/draftguitools/gui_shape2dview.py Diff File
mod - src/Mod/Draft/draftguitools/gui_split.py Diff File
mod - src/Mod/Draft/draftguitools/gui_upgrade.py Diff File

Issue History

Date Modified Username Field Change
2020-01-09 05:39 vocx New Issue
2020-01-09 05:41 vocx Description Updated
2020-02-10 22:46 vocx Additional Information Updated
2020-02-10 22:49 vocx Additional Information Updated
2020-02-11 16:48 vocx Note Added: 0014156
2020-02-11 16:48 vocx File Added: bug_4243.txt
2021-01-02 05:51 marioalexis Note Added: 0015196
2021-01-02 14:03 marioalexis Relationship added related to 0003971
2021-01-04 12:00 yorik Changeset attached => FreeCAD master f1b644d1
2021-01-04 12:00 marioalexis Changeset attached => FreeCAD master 4d9e2941
2021-01-04 12:00 marioalexis Note Added: 0015199
2021-01-04 13:38 marioalexis Note Added: 0015201
2021-02-06 06:45 abdullah Target Version => 0.20
2021-02-08 21:58 Kunda1 Fixed in Version => 0.19
2021-02-08 21:58 Kunda1 Target Version 0.20 => 0.19
2021-02-08 21:59 Kunda1 Status new => closed
2021-02-08 21:59 Kunda1 Resolution open => fixed
2021-02-08 21:59 Kunda1 Note Added: 0015316