FreeCAD crashes when using Copy in PartDesign Body, even for a newly created document with simple cube. Selecting a body in PartDesign, and choosing "Copy" from Edit-menu causes an illegal storage access. This does not happen every time, but very often.
This crash bug seems to still exist after realthunder's latest bug fix series for (possibly) related problems.
realthunder wrote: ↑Fri Aug 23, 2019 11:16 amI have just added fix for this. Please try build my LinkMerge branch here.
However, this particular crash problem refuses to go away, at least for me. It would be nice to know, if I'm the only one experiencing the crash in PartDesign. Does Edit->Copy work for everyone else for PartDesign with v0.19 after the Big Merge? I get a soft crash on maybe every third Edit->Copy attempt on a body, and this is only after the Big Merge of Link-related stuff. I get no crashes with v0.19.17502 or older. Might be unrelated, though!
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18024 (Git)
Build type: Release
Branch: master
Hash: 9cc8f6eb666b0a0ae2dc256f7bc0beb8c987710c
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United Kingdom (en_GB)
No problem here. Tested on a body containing a padded sketch:
- Copy/Paste Body with dependencies
- Copy/Paste Body without dependencies
- Copy/Paste Pad with dependencies
- Copy/Paste Pad without dependencies
- Copy/Paste Sketch with dependencies
- Copy/Paste Sketch without dependencies
OS: macOS High Sierra (10.13)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18009 (Git)
Build type: Release
Branch: master
Hash: 0641ca0d1e020d18f23d2adb49959195266f04f7
Python version: 3.7.3
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/Germany (en_DE)
realthunder wrote: ↑Tue Sep 03, 2019 6:50 am
Anyway, I have submitted PR here.
Great, thanks for a REALLY swift resolution! Unfortunately, I cannot test the patch on Windows until it'll hit the official master builds. But I can probably try it on Linux with Qt4 later today. Not sure if this crash happens at all under Qt4, though! I'll try to also test that later.
Realthunder's patch for the bug has already been committed and merged to v0.19pre master, and I had no crash on Edit->Copy, using Linux and Qt4. So it's fixed, thanks!
OS: Debian GNU/Linux bullseye/sid (KDE//usr/share/xsessions/plasma)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18051 (Git)
Build type: Release
Branch: master
Hash: bc4a220ad194e1b1c989adb39ff29567f3f25751
Python version: 2.7.16+
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)