I don't know if this is a bug, but it certainly can be.
I'm trying to pad a Sketch created with the old part design within FreeCAD 0.17 and I'm doing the following steps: First, I launch FreeCAD 0.17 then open a file containing the Sketch created with 0.16, I create a new file and create a new body using the new part design, later I copy the sketch created with 0.16 and I paste it under the body I just created. I click on pad, and then select "make independant copy (recommended)". When clicking "ok" FreeCAD just crashes.
Steps to reproduce:
1.- Create a simple Sketch in 0.16 and copy it.
2.- Create a new body using the new part design workbench in 0.17
3.- Paste the copied sketch within the body.
4.- Click on pad.
5.- Click on "Make independant copy (recommended)".
GDB crash information:
Code: Select all
Thread 1 "FreeCAD" received signal SIGSEGV, Segmentation fault.
0x00007fff7da2ab46 in prepareProfileBased(Gui::Command*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::function<void (Part::Feature*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)>) () from /home/charlie/FreeCAD/build/Mod/PartDesign/PartDesignGui.so
OS: Debian GNU/Linux 9.0 (stretch)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.11509 (Git)
Build type: Release
Branch: master
Hash: fdedf8fb4d36043145e8498244177aae16c806a5
Python version: 2.7.13
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
UPDATE:
It crashes when selecting the option "Make a dependant copy" as well. It works well when "create cross-reference" is selected.