Crash when trying to edit sketch
Forum rules
and Helpful information
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help
Also, be nice to others! Read the FreeCAD code of conduct!
Also, be nice to others! Read the FreeCAD code of conduct!
-
- Posts: 9
- Joined: Sat Mar 18, 2017 4:12 pm
Crash when trying to edit sketch
When attempting to edit the only sketch in a file, FreeCAD crashes, the file is attached.
Starting from the terminal yields: "Segmentation fault (core dumped)" at the time of the crash.
OS: Ubuntu 16.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6707 (Git)
Build type: None
Branch: releases/FreeCAD-0-16
Hash: 5465bc47c95db45e0be85dc0e2872419efadce0f
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
Starting from the terminal yields: "Segmentation fault (core dumped)" at the time of the crash.
OS: Ubuntu 16.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6707 (Git)
Build type: None
Branch: releases/FreeCAD-0-16
Hash: 5465bc47c95db45e0be85dc0e2872419efadce0f
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
- Attachments
-
- wedge_design.fcstd
- (5.48 KiB) Downloaded 55 times
Re: Crash when trying to edit sketch
On my PC the file behaves normal, it is fully constrained and can be padded, I could not find a mistake in the sketch. Do you have the same problems with other files?
My system is the same as yours:
OS: Ubuntu 16.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6707 (Git)
Build type: None
Branch: releases/FreeCAD-0-16
Hash: 5465bc47c95db45e0be85dc0e2872419efadce0f
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
My system is the same as yours:
OS: Ubuntu 16.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6707 (Git)
Build type: None
Branch: releases/FreeCAD-0-16
Hash: 5465bc47c95db45e0be85dc0e2872419efadce0f
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
-
- Posts: 9
- Joined: Sat Mar 18, 2017 4:12 pm
Re: Crash when trying to edit sketch
I am glad that there are no problems with my sketch, I didn't think there was.
I don't appear to have problems with other files, do you have any specifically that I could check?
So far my troubleshooting has consisted of reinstalling FreeCAD, which had no effect, is there anything else that you would suggest?
I don't appear to have problems with other files, do you have any specifically that I could check?
So far my troubleshooting has consisted of reinstalling FreeCAD, which had no effect, is there anything else that you would suggest?
Re: Crash when trying to edit sketch
This is a typical Windows user reflex. It is almost never useful on Linux.shiny_pepe wrote:So far my troubleshooting has consisted of reinstalling FreeCAD
Sometimes the FreeCAD config files get corrupted. They are in the home folder (~/.FreeCAD) so they don't get deleted by uninstalling FreeCAD. Rename or delete the user.cfg and system.cfg files then restart FreeCAD. It will revert to default settings.
Re: Crash when trying to edit sketch
I can't help but mention that there would be a more efficient way to build your model.
Your sketch is rather complex and could be broken down into successive operations. For one thing your profile appears symmetric, in such cases it is almost always best to centre it to the sketch origin. This is useful for later operations.
You could also only model half of the sketch, pad it then mirror the solid using Part Mirror, and finally fuse the original and the mirror with Part Union.
The many circles in the sketch could be done in a later step. Just sketch a single circle on top of the solid, pocket it then repeat it with a PartDesign MultiTransform feature containing a LinearPattern along the horizontal axis and a LinearPattern along the vertical axis.
The end result would be done in more steps, but all of them would be accomplished much more quickly than with a single sketch.
Your sketch is rather complex and could be broken down into successive operations. For one thing your profile appears symmetric, in such cases it is almost always best to centre it to the sketch origin. This is useful for later operations.
You could also only model half of the sketch, pad it then mirror the solid using Part Mirror, and finally fuse the original and the mirror with Part Union.
The many circles in the sketch could be done in a later step. Just sketch a single circle on top of the solid, pocket it then repeat it with a PartDesign MultiTransform feature containing a LinearPattern along the horizontal axis and a LinearPattern along the vertical axis.
The end result would be done in more steps, but all of them would be accomplished much more quickly than with a single sketch.
-
- Posts: 9
- Joined: Sat Mar 18, 2017 4:12 pm
Re: Crash when trying to edit sketch
Thanks for the advice NormandC.
Removing the config files did not solve the issue unfortunately. Would you be so kind as to send a screenshot of the sketch? Then I would have the dimensions in order to recreate it.
Removing the config files did not solve the issue unfortunately. Would you be so kind as to send a screenshot of the sketch? Then I would have the dimensions in order to recreate it.
Re: Crash when trying to edit sketch
I re-saved the file instead. Please try and see if you can edit the sketch.
EDIT: I have the same set up as you and Willem BTW.
OS: Ubuntu 16.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6707 (Git)
Build type: None
Branch: releases/FreeCAD-0-16
Hash: 5465bc47c95db45e0be85dc0e2872419efadce0f
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
EDIT: I have the same set up as you and Willem BTW.
OS: Ubuntu 16.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6707 (Git)
Build type: None
Branch: releases/FreeCAD-0-16
Hash: 5465bc47c95db45e0be85dc0e2872419efadce0f
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
- Attachments
-
- wedge_design_resaved_normandc1.fcstd
- (11.38 KiB) Downloaded 34 times
-
- Posts: 9
- Joined: Sat Mar 18, 2017 4:12 pm
Re: Crash when trying to edit sketch
The same issue is present using your file.
Re: Crash when trying to edit sketch
This is puzzling. I had used the Macro ForceRecompute before saving, just in case.
I made a screenshot, but many dimensional constraints are blocked by constraint icons. Will move them out of the way and post another screen shot shortly.
I made a screenshot, but many dimensional constraints are blocked by constraint icons. Will move them out of the way and post another screen shot shortly.
Re: Crash when trying to edit sketch
Sorry for the delay, I wasn't happy with the Sketch screenshot so I opened the file in 0.17-dev (from the freecad-daily PPA) and used the new TechDraw workbench to create a view with dimensions. 4-digit precision might be overkill though.
It still bugs me that we can't salvage that sketch for you to open directly.
It still bugs me that we can't salvage that sketch for you to open directly.