SOLVED: MacOS: FreeCAD crashes when opening project

Discussion about the development of the Assembly workbench.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
zisoft
Posts: 48
Joined: Thu Mar 25, 2021 6:23 pm
Contact:

SOLVED: MacOS: FreeCAD crashes when opening project

Post by zisoft »

I have a project which I created several months ago with Assembly4. The project contains some parts (each of them in separate files) as well as some TechDraw pages.

FreeCAD crashes when I try to open the project. All single parts files can be opened without problems.

Fortunately, I have finished this project so I don't need it anymore but I'm curious to know what causes the crash. This would be helpful to avoid potentially mistakes in future projects.

How can I debug this to find out what causes the crash?

Not sure if this is the right forum, I'm posting this in the assembly forum because it is an Assembly4 project.

Code: Select all

OS: macOS 10.16
Word size of FreeCAD: 64-bit
Version: 0.21.31155 (Git)
Build type: Release
Branch: master
Hash: 6f1b29769b33676edca2bd883b80bed25a0758c8
Python 3.10.8, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: C/Default (C)
Installed mods: 
  * zsTools
  * TabBar
  * QuickMeasure
  * fasteners 0.4.21
  * Assembly4 0.12.4
Attachments
ToolRest.zip
(452.59 KiB) Downloaded 40 times
Last edited by zisoft on Wed Dec 07, 2022 1:48 pm, edited 2 times in total.
chrisb
Veteran
Posts: 53945
Joined: Tue Mar 17, 2015 9:14 am

Re: FreeCAD crashes when opening project

Post by chrisb »

You may also add the log output from starting FreeCAD with the additional parameter --write-log. Please put it in code tags.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
zisoft
Posts: 48
Joined: Thu Mar 25, 2021 6:23 pm
Contact:

Re: FreeCAD crashes when opening project

Post by zisoft »

Ok, here is the log output:

Code: Select all

Msg: FreeCAD 0.21, Libs: 0.21R31155 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2022
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.
FreeCAD wouldn't be possible without FreeCAD community.
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

Log: Time = 2022-Dec-04 10:12:35
Log: AboutImage = freecadabout
Log: AppDataSkipVendor = true
Log: AppHomePath = /Applications/FreeCAD.app/Contents/Resources/
Log: AppIcon = freecad
Log: AppTempPath = /private/var/folders/f_/rrv0kvyd3dd3tq36ff8pd1480000gn/T/
Log: BOOST_VERSION = 1_74
Log: BinPath = /Applications/FreeCAD.app/Contents/Resources/bin/
Log: BuildRepositoryURL = https://github.com/FreeCAD/FreeCAD master
Log: BuildRevision = 31155 (Git)
Log: BuildRevisionBranch = master
Log: BuildRevisionDate = 2022/12/01 03:52:10
Log: BuildRevisionHash = 6f1b29769b33676edca2bd883b80bed25a0758c8
Log: BuildVersionMajor = 0
Log: BuildVersionMinor = 21
Log: Console = 0
Log: CopyrightInfo = © Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2022
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.
FreeCAD wouldn't be possible without FreeCAD community.
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##


Log: Debug = 0
Log: DocPath = /Applications/FreeCAD.app/Contents/Resources/doc/
Log: EIGEN_VERSION = 3.4.0
Log: ExeName = FreeCAD
Log: ExeVendor = FreeCAD
Log: ExeVersion = 0.21
Log: LoggingConsole = 1
Log: LoggingFile = 1
Log: LoggingFileName = /Users/mario/freecad.log
Log: MaintainerUrl = http://www.freecad.org/wiki/Main_Page
Log: OCC_VERSION = 7.6.3
Log: OpenFile0 = /Users/mario/Documents/FreeCad/Werkstatt/ToolRest/ToolRest.FCStd
Log: OpenFileCount = 1
Log: PATH = /Users/mario/.rd/bin:/Users/mario/.rbenv/shims:/usr/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Users/mario/.gems/bin
Log: PYSIDE_VERSION = 5.15.5
Log: PYTHONPATH = 
Log: PYTHON_VERSION = 3.10.8
Log: PythonSearchPath = /Applications/FreeCAD.app/Contents/Resources/lib/python310.zip:/Applications/FreeCAD.app/Contents/Resources/lib/python3.10:/Applications/FreeCAD.app/Contents/Resources/lib/python3.10/lib-dynload
Log: QT_VERSION = 5.15.4
Log: RunMode = Gui
Log: SMESH_VERSION = 9.8.0.2
Log: SplashAlignment = Bottom|Left
Log: SplashInfoColor = #c8c8c8
Log: SplashInfoPosition = 15.210
Log: SplashScreen = freecadsplash
Log: SplashTextColor = #ffffff
Log: StartWorkbench = StartWorkbench
Log: SystemParameter = /Users/mario/Library/Preferences/FreeCAD/system.cfg
Log: UserAppData = /Users/mario/Library/Application Support/FreeCAD/
Log: UserCachePath = /Users/mario/Library/Caches/FreeCAD/Cache/
Log: UserConfigPath = /Users/mario/Library/Preferences/FreeCAD/
Log: UserHomePath = /Users/mario
Log: UserMacroPath = /Users/mario/Library/Application Support/FreeCAD/Macro/
Log: UserParameter = /Users/mario/Library/Preferences/FreeCAD/user.cfg
Log: Verbose = 
Log: XERCESC_VERSION = 3.2.4
Log: Create Application
Log: Run App init script
Log: Init: starting App::FreeCADInit.py
Log: Init:   Searching for modules...
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/Mesh... done
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/Draft... done
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/ReverseEngineering... done
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/Plot(Init.py not found)... ignore
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/Test... done
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/Fem... done
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/Spreadsheet... done
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/Web... done
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/TechDraw... done
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/Path... done
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/MeshPart... done
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/Show(Init.py not found)... ignore
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/Sketcher... done
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/Start... done
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/OpenSCAD... done
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/Surface... done
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/Robot... done
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/Image... done
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/Inspection... done
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/Idf... done
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/Arch... done
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/AddonManager... done
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/Points... done
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/Measure... done
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/PartDesign... done
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/Tux(Init.py not found)... ignore
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/Part... done
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/Import... done
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/Material... done
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/Raytracing... done
Log: Init:      Initializing /Users/mario/Library/Application Support/FreeCAD/Mod/.DS_Store(Init.py not found)... ignore
Log: Init:      Initializing /Users/mario/Library/Application Support/FreeCAD/Mod/zsTools... done
Log: Init:      Initializing /Users/mario/Library/Application Support/FreeCAD/Mod/TabBar(Init.py not found)... ignore
Log: Init:      Initializing /Users/mario/Library/Application Support/FreeCAD/Mod/QuickMeasure(Init.py not found)... ignore
Log: Init:      Initializing /Users/mario/Library/Application Support/FreeCAD/Mod/fasteners/./... done
Log: Init:      Initializing /Users/mario/Library/Application Support/FreeCAD/Mod/Assembly4/./... done
Log: Using /Applications/FreeCAD.app/Contents/Resources/Mod as module path!
Log: System path after init:
Log:    /Applications/FreeCAD.app/Contents/Resources/bin
Log:    /Applications/FreeCAD.app/Contents/Resources/Mod/Mesh
Log:    /Applications/FreeCAD.app/Contents/Resources/Mod/Draft
Log:    /Applications/FreeCAD.app/Contents/Resources/Mod/ReverseEngineering
Log:    /Applications/FreeCAD.app/Contents/Resources/Mod/Plot
Log:    /Applications/FreeCAD.app/Contents/Resources/Mod/Test
Log:    /Applications/FreeCAD.app/Contents/Resources/Mod/Fem
Log:    /Applications/FreeCAD.app/Contents/Resources/Mod/Spreadsheet
Log:    /Applications/FreeCAD.app/Contents/Resources/Mod/Web
Log:    /Applications/FreeCAD.app/Contents/Resources/Mod/TechDraw
Log:    /Applications/FreeCAD.app/Contents/Resources/Mod/Path
Log:    /Applications/FreeCAD.app/Contents/Resources/Mod/MeshPart
Log:    /Applications/FreeCAD.app/Contents/Resources/Mod/Show
Log:    /Applications/FreeCAD.app/Contents/Resources/Mod/Sketcher
Log:    /Applications/FreeCAD.app/Contents/Resources/Mod/Start
Log:    /Applications/FreeCAD.app/Contents/Resources/Mod/OpenSCAD
Log:    /Applications/FreeCAD.app/Contents/Resources/Mod/Surface
Log:    /Applications/FreeCAD.app/Contents/Resources/Mod/Robot
Log:    /Applications/FreeCAD.app/Contents/Resources/Mod/Image
Log:    /Applications/FreeCAD.app/Contents/Resources/Mod/Inspection
Log:    /Applications/FreeCAD.app/Contents/Resources/Mod/Idf
Log:    /Applications/FreeCAD.app/Contents/Resources/Mod/Arch
Log:    /Applications/FreeCAD.app/Contents/Resources/Mod/AddonManager
Log:    /Applications/FreeCAD.app/Contents/Resources/Mod/Points
Log:    /Applications/FreeCAD.app/Contents/Resources/Mod/Measure
Log:    /Applications/FreeCAD.app/Contents/Resources/Mod/PartDesign
Log:    /Applications/FreeCAD.app/Contents/Resources/Mod/Tux
Log:    /Applications/FreeCAD.app/Contents/Resources/Mod/Part
Log:    /Applications/FreeCAD.app/Contents/Resources/Mod/Import
Log:    /Applications/FreeCAD.app/Contents/Resources/Mod/Material
Log:    /Applications/FreeCAD.app/Contents/Resources/Mod/Raytracing
Log:    /Users/mario/Library/Application Support/FreeCAD/Mod/.DS_Store
Log:    /Users/mario/Library/Application Support/FreeCAD/Mod/zsTools
Log:    /Users/mario/Library/Application Support/FreeCAD/Mod/TabBar
Log:    /Users/mario/Library/Application Support/FreeCAD/Mod/QuickMeasure
Log:    /Users/mario/Library/Application Support/FreeCAD/Mod/fasteners
Log:    /Users/mario/Library/Application Support/FreeCAD/Mod/fasteners/./
Log:    /Users/mario/Library/Application Support/FreeCAD/Mod/Assembly4
Log:    /Users/mario/Library/Application Support/FreeCAD/Mod/Assembly4/./
Log:    /Users/mario/.rd/bin
Log:    /Users/mario/.rbenv/shims
Log:    /usr/local/sbin
Log:    /usr/local/bin
Log:    /System/Cryptexes/App/usr/bin
Log:    /usr/bin
Log:    /bin
Log:    /usr/sbin
Log:    /sbin
Log:    /opt/X11/bin
Log:    /Library/Apple/usr/bin
Log:    /Users/mario/.gems/bin
Log: Init: App::FreeCADInit.py done
Log: Init: Creating Gui::Application and QApplication
Log: Local server 'FreeCAD' started
Log: OpenGL version is: 2.1 (2.1 ATI-4.9.48)
Log: Run Gui init script
Log: Init: Running FreeCADGuiInit.py start script...
Log: Init:   Searching modules...
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/Mesh... done
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/Draft... done
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/ReverseEngineering... done
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/Plot(InitGui.py not found)... ignore
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/Test... done
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/Fem... done
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/Spreadsheet... done
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/Web... done
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/TechDraw... done
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/Path... done
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/MeshPart... done
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/Show(InitGui.py not found)... ignore
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/Sketcher... done
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/Start... done
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/OpenSCAD... done
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/Surface... done
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/Robot... done
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/Image... done
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/Inspection... done
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/Idf(InitGui.py not found)... ignore
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/Arch... done
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/AddonManager... done
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/Points... done
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/Measure(InitGui.py not found)... ignore
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/PartDesign... done
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/Tux... done
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/Part... done
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/Import... done
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/Material... done
Log: Init:      Initializing /Applications/FreeCAD.app/Contents/Resources/Mod/Raytracing... done
Log: Init:      Initializing /Users/mario/Library/Application Support/FreeCAD/Mod/.DS_Store(InitGui.py not found)... ignore
Log: Init:      Initializing /Users/mario/Library/Application Support/FreeCAD/Mod/zsTools... done
Log: Init:      Initializing /Users/mario/Library/Application Support/FreeCAD/Mod/TabBar... done
Log: Module: Part
Log: Loading Part module... done
Log: Init:      Initializing /Users/mario/Library/Application Support/FreeCAD/Mod/QuickMeasure... done
Log: Init:      Initializing /Users/mario/Library/Application Support/FreeCAD/Mod/fasteners/./... done
Log: Init:      Initializing /Users/mario/Library/Application Support/FreeCAD/Mod/Assembly4/./... done
Log: Init:      Packaged workbench  specified icon in class Assembly4WorkbenchLog:  ... replacing with icon from package.xml data.
Log: All modules with GUIs using InitGui.py are now initialized
Log: All modules with GUIs initialized using pkgutil are now initialized
Log: Init: Loading FreeCAD GUI
Log: Populating font family aliases took 279 ms. Replace uses of missing font family "ArialMT', 'Arial', Sans-seri" with one that exists to avoid this cost. 
Log: Init: Running FreeCADGuiInit.py start script... done
Log: Init: Activating default workbench StartWorkbench
Msg: Initializing Assembly4 workbench (v0.12.4) .Msg: .Msg: .Msg: .Msg: .Msg: .Msg: .Msg: .Msg: .Msg: .Msg: .Msg: .Msg: .Msg: .Msg: .Msg: .Msg: .Msg: .Msg: .Msg: .Msg: .Msg: .Msg: .Msg: .Msg: .Msg: .Msg: .Msg: .Msg:  done.
Log: Loading GUI of Part module... done
Log: Init: Showing main window
Log: Main window restored
Log: Show main window
Log: Toolbars restored
Log: 3Dconnexion framework not found!
Log: Init: Entering event loop
Log: Init: Executing event loop...
Log: Init: Processing command line files
Log: Init:     Processing file: /Users/mario/Documents/FreeCad/Werkstatt/ToolRest/ToolRest.FCStd
Log: Loading Sketcher module... done
Log: Loading PartDesign module... done
Log: Loading GUI of Sketcher module... done
Log: Loading GUI of PartDesign module... done
Log: Loading Inspection module... done
Log: Loading TechDraw module... done
Log: Loading TechDrawGui module... done
Log: INFO - QGSPage::updateTemplate - Page: Page has NO template!!
Log: INFO - QGSPage::updateTemplate - Page: Page001 has NO template!!
Log: INFO - QGSPage::updateTemplate - Page: Page002 has NO template!!
Log: INFO - QGSPage::updateTemplate - Page: Page003 has NO template!!
Log: INFO - QGSPage::updateTemplate - Page: Page004 has NO template!!
Log: INFO - QGSPage::updateTemplate - Page: Page005 has NO template!!
Log: INFO - QGSPage::updateTemplate - Page: Page006 has NO template!!
zisoft
Posts: 48
Joined: Thu Mar 25, 2021 6:23 pm
Contact:

Re: FreeCAD crashes when opening project

Post by zisoft »

Digged some further.
I have now opened another one of my projects with a similar configuration. This project opens fine. With this project, the log continues with some output from TechDraw, so I assume the crash is related to TechDraw:

Code: Select all

...
Log: INFO - QGSPage::updateTemplate - Page: Page has NO template!!
Log: INFO - QGSPage::updateTemplate - Page: Page001 has NO template!!
Log: INFO - QGSPage::updateTemplate - Page: Page002 has NO template!!
Log: INFO - QGSPage::updateTemplate - Page: Page003 has NO template!!
Log: INFO - QGSPage::updateTemplate - Page: Page004 has NO template!!
Log: INFO - QGSPage::updateTemplate - Page: Page005 has NO template!!
Log: TechDraw::GeometryObject::addGeomFromCompound edgeCompound is NULL
Log: TechDraw::GeometryObject::addGeomFromCompound edgeCompound is NULL
Log: TechDraw::GeometryObject::addGeomFromCompound edgeCompound is NULL
Log: TechDraw::GeometryObject::addGeomFromCompound edgeCompound is NULL
Log: TechDraw::GeometryObject::addGeomFromCompound edgeCompound is NULL
Log: DU::isCrazy - edge crazy short: 0.0000002
Log: GO::addGeomFromCompound - edge: 4 is crazy
...
chrisb
Veteran
Posts: 53945
Joined: Tue Mar 17, 2015 9:14 am

Re: FreeCAD crashes when opening project

Post by chrisb »

@wandererfan, care to have a look?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
wandererfan
Veteran
Posts: 6268
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: FreeCAD crashes when opening project

Post by wandererfan »

chrisb wrote: Sun Dec 04, 2022 10:50 am @wandererfan, care to have a look?
Those log messages aren't unusual. I can open the file here with some warnings, but nothing that looks terrible.

Code: Select all

09:25:38  DrawViewSymbol - ��UH��SH�� - SVG for Symbol is not valid. See log.
09:25:40  AttachEngine3D::calculateAttachedPlacement:InertialCS: inertia tensor has axis of symmetry. Second and third axes of inertia are undefined.
09:25:40  AttachEngine3D::calculateAttachedPlacement:InertialCS: inertia tensor has axis of symmetry. Second and third axes of inertia are undefined.

Code: Select all

OS: Linux Mint 20.3 (X-Cinnamon/cinnamon)
Word size of FreeCAD: 64-bit
Version: 0.21.0.31223 (Git)
Build type: Unknown
Branch: master
Hash: 9869a2c3d7bdacdfac605db318c73e3b2d71245c
Python 3.8.10, Qt 5.12.8, Coin 4.0.0, Vtk , OCC 7.6.3
Locale: English/Canada (en_CA)
Installed mods: 
  * FreeCAD_Electric
  * A2plus 0.4.56a
Attachments
ToolRestPage.png
ToolRestPage.png (33.95 KiB) Viewed 1791 times
zisoft
Posts: 48
Joined: Thu Mar 25, 2021 6:23 pm
Contact:

Re: FreeCAD crashes when opening project

Post by zisoft »

Thank you @wandererfan for your analysis.

Strange you can open the file.
I have tried to rename the settings folder so FreeCAD starts with fresh settings, but the effect is the same: FreeCAD crashes on my Mac when I open the project.

What else can I try?
Batucada
Posts: 213
Joined: Mon Jul 18, 2022 9:03 am

Re: FreeCAD crashes when opening project

Post by Batucada »

Code: Select all

OS: macOS 10.16
Word size of FreeCAD: 64-bit
Version: 0.21.31097 (Git)
Build type: Release
Branch: master
Hash: ccf074008774f1bdfed8fec09ed60e2c0fe77cae
Python 3.10.8, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: C/Default (C)
Installed mods: 
  * Behave-Dark-Colors 0.1.1
  * CurvedShapes 1.0.4
  * Assembly4 0.12.3
Hi zisoft

- I have the same problems when I select ToolRest.FCStd after FreeCAD has run up.
- the restart after the crash fails because all menu items in the File menu are greyed out, none of the menu items New, Open or Recent Files are accessible.
- access to the file menu is only possible after closing and restarting FreeCAD.
- selecting ToolRest 3.FCStd results in a new crash.

The crash situation is not unknown to me with my own things. This has led me to save the development of my models in smaller steps again and again, so that I don't lose too much if a file fails.

What surprises me is the entry macOS 10.16 - actually it should be 12.6.1, just by the way.
zisoft
Posts: 48
Joined: Thu Mar 25, 2021 6:23 pm
Contact:

Re: FreeCAD crashes when opening project

Post by zisoft »

Ok, some new insights from my side:

I just installed FreeCAD on a Windows machine. With this installation I can open the project without problems.
So there must be something different on MacOS installations.

Are there any cache directories which I can try to cleanup on my Mac?
I already renamed the directory ~/Library/Application Support/FreeCAD to something else so FreeCAD started with a new configuration, but that didn't help.

With that information it is obviously that the problem is not related to assembly, so maybe a Mod can move the topic?

EDIT:
Found the cache dir ~/Library/Caches/FreeCAD and renamed it. FreeCAD creates a new directory on start, but unfortunately, this didn't help either. So I'm out of ideas now.
Last edited by zisoft on Wed Dec 07, 2022 8:37 am, edited 1 time in total.
User avatar
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

Re: MacOS: FreeCAD crashes when opening project

Post by adrianinsaval »

does enabling software opengl in edit->preferences->display make any difference?
does freecad 0.20.1 crash too?
are you running on x86_64 machine or on an arm64 machine?
Post Reply