Description
If you have an overconstrained sketch, Freecad will not show sketched features drawn without any constraints. The features show up by either adding another feature and creating auto constraints or by saving and re-opening the file. If you are in the state with any "hidden" features and press undo (cmd+z), Freecad crashes.
This bug works the same way in both version 0.16 (6706) and 0.17 (8471).
Steps To Reproduce
1. Open the attached file (HiddenSketchFeatures017 or 016) file
2. Add any number sketch elements without auto-added constraints. They will all be hidden. Some will even crash Freecad immediately (like the more advanced such as rectangle or slot).
3. Add any constraint. The hidden elements will now appear.
4. Use the "Undo" action (cmd+z or the Undo menu item). Freecad will crash when removing one of these hidden (or previously hidden) elements.
Additional Information
These are the about-dumps for my Freecad versions. They were downloaded today:
0.16:0.17:Code: Select all
OS: Mac OS X Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.16.6706 (Git) Build type: Release Branch: tag: 0.16.6706 Hash: f86a4e411ff7848dea98d7242f43b7774bee8fa0 Python version: 2.7.11 Qt version: 4.8.7 Coin version: 3.1.3 OCC version: 6.8.0.oce-0.17
Code: Select all
OS: Mac OS X Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.17.8471 (Git) Build type: Release Branch: (detached from f944ab3) Hash: f944ab3846a52e8f19bb2d4f6ec66e392669cdf5 Python version: 2.7.12 Qt version: 4.8.7 Coin version: 3.1.3 OCC version: 7.0.0