FreeCAD randomly aborts when starting new PartDesign

Post here for help on using FreeCAD's graphical user interface (GUI).
ModelTexan
Posts: 12
Joined: Sat Jul 21, 2018 10:08 pm

FreeCAD randomly aborts when starting new PartDesign

Postby ModelTexan » Sat Jul 21, 2018 11:17 pm

New user still experimenting with FreeCAD. I have tons of real-world CAD experience over the years with several programs so this isn't completely new to me.

Sometimes when I select the XY_Plane from the "Select Features" dialog when creating a new part in Part Design the program vanishes. No error messages, no Windows error messages, just the entire program halts and vanishes and leaves me with the Windows Desktop.

Anyone else seen this? Is there a setting issue or simple way to prevent this? I have seen it do it one other time when attempting to save a program but that caught me by surprise so I don't remember the situation well enough to report on that one.

My software setup is:
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13522 (Git)
Build type: Release
Branch: releases/FreeCAD-0-17
Hash: 3bb5ff4e70c0c526f2d9dd69b1004155b2f527f2
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: English/UnitedStates (en_US)
freedman
Posts: 332
Joined: Thu Mar 22, 2018 3:02 am
Location: Washington State, USA

Re: FreeCAD randomly aborts when starting new PartDesign

Postby freedman » Sat Jul 21, 2018 11:42 pm

I use win 10 64bit. Never-ever done that. It might be interesting to open the task manager and see what what your resources look like.
chrisb
Posts: 10339
Joined: Tue Mar 17, 2015 9:14 am

Re: FreeCAD randomly aborts when starting new PartDesign

Postby chrisb » Sun Jul 22, 2018 5:21 am

Hi Model Texan, welcome to the forum and thanks for providing your FreeCAD info.
Haven't seen this either. Here are some things you can try:
  • Run FreeCAD from the console and watch the output after the crash.
  • You can start FreeCAD with the additional parameter -l to write a log file. This might be helpful to trace it down.
  • You may try unchecking Preferences->Display->3D View->Use OpenGL Vertex Buffer Object (4th checkbox from top). In the beginning of its implementation there were some silent crashes, but not recently.
  • You can try deleting your config files or move them for later reference.
User avatar
NormandC
Posts: 16566
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: FreeCAD randomly aborts when starting new PartDesign

Postby NormandC » Sun Jul 22, 2018 2:38 pm

Hi ModelTexan,

Welcome here.

I had the exact same issue some months ago, and deleting my config files as chrisb suggests fixed it (which is why I never mentioned it on the forum). But in my case, I had multiple FreeCAD versions installed at the same time (v0.16, v0.17) and they all shared the same config files. I'm guessing some corruption happened at some point.

But in your case, I'm puzzled that it would also happen on a fresh install.
ModelTexan
Posts: 12
Joined: Sat Jul 21, 2018 10:08 pm

Re: FreeCAD randomly aborts when starting new PartDesign

Postby ModelTexan » Mon Jul 23, 2018 10:00 pm

Thanks for the suggestions. I'll delete the config files and give that a shot. The '-1' option is definitely worthwhile and is being added to my shortcut :)

Michael
chrisb
Posts: 10339
Joined: Tue Mar 17, 2015 9:14 am

Re: FreeCAD randomly aborts when starting new PartDesign

Postby chrisb » Mon Jul 23, 2018 10:20 pm

ModelTexan wrote:
Mon Jul 23, 2018 10:00 pm
Thanks for the suggestions. I'll delete the config files and give that a shot. The '-1' option is definitely worthwhile and is being added to my shortcut :)
It is not '-1' (minus one) it is '-l' (minus small letter L).
ModelTexan
Posts: 12
Joined: Sat Jul 21, 2018 10:08 pm

Re: FreeCAD randomly aborts when starting new PartDesign

Postby ModelTexan » Tue Jul 24, 2018 9:11 pm

Oh, I know it's an "l" for "log"; sometimes my browser substitutes "1" for "l" when using mathematical symbols :) Must have done that again.

I deleted the config files and added the logging option just in case. I haven't seen the crash since then and I was getting it often so I assume the config file deletion did the trick.

Thanks for the help.
Michael
User avatar
NormandC
Posts: 16566
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: FreeCAD randomly aborts when starting new PartDesign

Postby NormandC » Wed Jul 25, 2018 1:50 pm

Great to know it seemed to work.
ModelTexan
Posts: 12
Joined: Sat Jul 21, 2018 10:08 pm

Re: FreeCAD randomly aborts when starting new PartDesign

Postby ModelTexan » Sat Aug 18, 2018 1:30 am

The problem is back only this time it fails every single time. Still investigating why. Failed six times in a row. Attempted to run from console and that worked...smh. Where is the log stored so I can check it in the future?

For now I've deleted the config files again just for good measure. I'll try to find the log next time it happens.
User avatar
Glurth
Posts: 13
Joined: Wed Aug 15, 2018 9:24 pm
Contact:

Re: FreeCAD randomly aborts when starting new PartDesign

Postby Glurth » Sun Aug 19, 2018 12:10 am

If I use any method other than
File->Open ->browse & select- I get a similar crash.
If I open it that one way, I don't.
GLURTH