But I'm a kernel guy, not a gui guy...
I posted a little while back about the OS X build of FreeCAD crashing frequently... It seemed nobody else was having these problems. So I kept pressing ahead... My son was having the same sorts of crashing problems and getting frustrated with freecad in general so he reverted back to Sketchup which is what he's grown used to... But he's 15 so his mind should be maleable and I figure it's better he learn parametric modelling instead ... Yesterday I was helping him with a model he's been working on for his truck interior and we were saving frequently; pretty much at every step... And we experienced a number of crashes... I gathered 'stderr'
Code: Select all
FreeCAD 0.16, Libs: 0.16R6706 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2015
##### #### ### ####
# # # # # #
# ## #### #### # # # # #
#### # # # # # # # ##### # #
# # #### #### # # # # #
# # # # # # # # # ## ## ##
# # #### #### ### # # #### ## ## ##
Coin warning in cc_glglue_instance(): Error when setting up the GL context. This can happen if there is no current context, or if the context has been set up incorrectly.
2016-11-20 08:06:56.249 FreeCAD[29004:28668632] modalSession has been exited prematurely - check for a reentrant call to endModalSession:
2016-11-20 08:07:49.922 FreeCAD[29004:28668632] modalSession has been exited prematurely - check for a reentrant call to endModalSession:
.
.
Coin warning in cc_glglue_instance(): Error when setting up the GL context. This can happen if there is no current context, or if the context has been set up incorrectly.
Coin warning in cc_glglue_instance(): Error when setting up the GL context. This can happen if there is no current context, or if the context has been set up incorrectly.
Coin warning in cc_glglue_instance(): Error when setting up the GL context. This can happen if there is no current context, or if the context has been set up incorrectly.
.
.
The mesh data structure has some defects
.
.
The mesh data structure has some defects
The mesh data structure has some defects
No point picked.
No point picked.
No point picked.
Coin warning in cc_glglue_instance(): Error when setting up the GL context. This can happen if there is no current context, or if the context has been set up incorrectly.
.
.
2016-11-20 10:06:40.939 FreeCAD[29004:28668632] modalSession has been exited prematurely - check for a reentrant call to endModalSession:
2016-11-20 10:06:55.131 FreeCAD[29004:28668632] modalSession has been exited prematurely - check for a reentrant call to endModalSession:
*** Abort *** an exception was raised, but no catch was found.
... The exception is:SIGSEGV 'segmentation violation' detected. Address 18
Other times the viewport (the portion of the window which contains the model you're working on) would lock up so you couldn't select any objects, or pan, or zoom... All the menus appear to work fine but nothing would update in the model viewport. So that would force a quit&restart...
Eventually, after a few hours, we finally got my son's model finished and printed..
This morning I decided to load another model I was working on. I had it printed successfully but I needed to make a slight cut in a cylinder... I deleted the pad and entered the sketch editor. I drew a rectangle, constrained it and trimmed an edge. That worked so Save it. Then I drew another rectangle, constrained it and trimmed another edge. As soon as I clicked on the edge, FreeCAD crashed. Same error as above. Unfortunately, this time when I restarted FreeCAD and loaded my model, it said the sketch was corrupt and it gave me the option of entering some sketch repair tool... After fixing a couple of errant constraints it went back into my model which was now completely gone. The file is tiny now too so presumably repairing the constraints deleted all of the entities in my model..
Somewhat luckily, there is a .FCStd1 file that contains a very early version of my model so at least I haven't lost the whole thing ...
This whole thing is exceedingly frustrating... I'm probably going to look at OpenSCAD. A friend of mine who was running FreeCAD on Linux was experiencing some random crashes so he switched to OpenSCAD... I'm not sure if the programmatic interface is for me. Too much like my day job..
Here's what FreeCAD has to say about itself:
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
It would appear I'm running the latest version.
uname says:
Darwin chimay.local 15.4.0 Darwin Kernel Version 15.4.0: Fri Feb 26 22:08:05 PST 2016; root:xnu-3248.40.184~3/RELEASE_X86_64 x86_64
OS X 10.11.4.
I apologize for the frustrated tone of this post. I feel like I've wasted dozens of hours of my free time on this and I don't get a lot of hours of 'free time'... I'm happy to help test for anyone willing to look into this and I can drive gdb if someone wants... I just don't have it in me to install a toolchain and try to build FreeCAD and start debugging something that doesn't happen repeatedly.