View Revisions: Issue #4258

Summary 0004258: FreeCAD crashes on "Edit datum" in PartDesign when datum in Part
Revision 2020-02-05 16:18 by Kunda1
Description With datum objects, when used in an App::Part and not in a PartDesign::Body, when using the command "Edit datum" from the contextual menu in PartDesign WB, selecting anything as reference and clicking "OK" crashes FreeCAD.

Happens with the latest FreeCAD AppImage, with an old FreCAD v0.17 and the latest FreeCAD 0.19 for Windows.


In Windows:

"Illegal storage access...
Unhandled Base::Exception caught in GUIApplication::notify
The error message is: Illegal storage access! Please save your work under a new file name and restart the application!"

In Linux:

Program received signal SIGSEGV, Segmentation fault.
#0  /lib/x86_64-linux-gnu/libc.so.6(+0x3ef20) [0x7f972b816f20]
#1  0x7f9705befe74 in PartDesignGui::TaskDlgDatumParameters::accept() from /tmp/.mount_FreeCAjHWTrE/usr/lib/PartDesignGui.so+0xb4
0000002  0x7f972e2ef509 in Gui::TaskView::TaskView::accept() from /tmp/.mount_FreeCAjHWTrE/usr/bin/../lib/libFreeCADGui.so+0x59
0000003  0x7f972bf727b8 in QMetaObject::activate(QObject*, int, int, void**) from /tmp/.mount_FreeCAjHWTrE/usr/bin/../lib/libQt5Core.so.5+0x780
0000004  ...

OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19327 (Git)
Build type: Release
Branch: master
Hash: 65c4e1bd11e0820cd1f1d6577d23bf9cdbb54247
Python version: 3.7.3
Qt version: 5.12.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: French/France (fr_FR)

OS: Ubuntu 18.04.3 LTS (KDE/plasma)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19323 (Git) AppImage
Build type: Release
Branch: master
Hash: 1b198453b8eb6aa2eaca4e4be4b49fee74e9de6e
Python version: 3.8.1
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/United Kingdom (en_GB)

OS: Ubuntu 18.04.3 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13541 (Git) AppImage
Build type: None
Branch: releases/FreeCAD-0-17
Hash: 9948ee4f1570df9216862a79705afb367b2c6ffb
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedKingdom (en_GB)

Revision 2020-02-05 16:13 by Kunda1
Description With datum objects, when used in an App::Part and not in a PartDesign::Body, when using the command "Edit datum" from the contextual menu in PartDesign WB, selecting anything as reference and clicking "OK" crashes FreeCAD.

Happens with the latest FreeCAD AppImage, with an old FreCAD v0.17 and the latest FreeCAD 0.19 for Windows.


In Windows:

"Illegal storage access...
Unhandled Base::Exception caught in GUIApplication::notify
The error message is: Illegal storage access! Please save your work under a new file name and restart the application!"

In Linux:

Program received signal SIGSEGV, Segmentation fault.
#0  /lib/x86_64-linux-gnu/libc.so.6(+0x3ef20) [0x7f972b816f20]
#1  0x7f9705befe74 in PartDesignGui::TaskDlgDatumParameters::accept() from /tmp/.mount_FreeCAjHWTrE/usr/lib/PartDesignGui.so+0xb4
0000002  0x7f972e2ef509 in Gui::TaskView::TaskView::accept() from /tmp/.mount_FreeCAjHWTrE/usr/bin/../lib/libFreeCADGui.so+0x59
0000003  0x7f972bf727b8 in QMetaObject::activate(QObject*, int, int, void**) from /tmp/.mount_FreeCAjHWTrE/usr/bin/../lib/libQt5Core.so.5+0x780
0000004  ...

OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19327 (Git)
Build type: Release
Branch: master
Hash: 65c4e1bd11e0820cd1f1d6577d23bf9cdbb54247
Python version: 3.7.3
Qt version: 5.12.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: French/France (fr_FR)

OS: Ubuntu 18.04.3 LTS (KDE/plasma)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19323 (Git) AppImage
Build type: Release
Branch: master
Hash: 1b198453b8eb6aa2eaca4e4be4b49fee74e9de6e
Python version: 3.8.1
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/United Kingdom (en_GB)

OS: Ubuntu 18.04.3 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13541 (Git) AppImage
Build type: None
Branch: releases/FreeCAD-0-17
Hash: 9948ee4f1570df9216862a79705afb367b2c6ffb
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedKingdom (en_GB)

Revision 2020-01-27 14:16 by Zolko
Description With datum objects, when used in an App::Part and not in a PartDesign::Body, when using the command "Edit datum" from the contextual menu in PartDesign WB, selecting anything as reference and clicking "OK" crashes FreeCAD.

Happens with the latest FreeCAD AppImage, with an old FreCAD v0.17 and the latest FreeCAD 0.19 for Windows.


In Windows:
"Illegal storage access...
Unhandled Base::Exception caught in GUIApplication::notify
The error message is: Illegal storage access! Please save your work under a new file name and restart the application!"

In Linux:
Program received signal SIGSEGV, Segmentation fault.
#0 /lib/x86_64-linux-gnu/libc.so.6(+0x3ef20) [0x7f972b816f20]
#1 0x7f9705befe74 in PartDesignGui::TaskDlgDatumParameters::accept() from /tmp/.mount_FreeCAjHWTrE/usr/lib/PartDesignGui.so+0xb4
0000002 0x7f972e2ef509 in Gui::TaskView::TaskView::accept() from /tmp/.mount_FreeCAjHWTrE/usr/bin/../lib/libFreeCADGui.so+0x59
0000003 0x7f972bf727b8 in QMetaObject::activate(QObject*, int, int, void**) from /tmp/.mount_FreeCAjHWTrE/usr/bin/../lib/libQt5Core.so.5+0x780
0000004 ...


OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19327 (Git)
Build type: Release
Branch: master
Hash: 65c4e1bd11e0820cd1f1d6577d23bf9cdbb54247
Python version: 3.7.3
Qt version: 5.12.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: French/France (fr_FR)

OS: Ubuntu 18.04.3 LTS (KDE/plasma)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19323 (Git) AppImage
Build type: Release
Branch: master
Hash: 1b198453b8eb6aa2eaca4e4be4b49fee74e9de6e
Python version: 3.8.1
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/United Kingdom (en_GB)

OS: Ubuntu 18.04.3 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13541 (Git) AppImage
Build type: None
Branch: releases/FreeCAD-0-17
Hash: 9948ee4f1570df9216862a79705afb367b2c6ffb
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedKingdom (en_GB)