FreeCAD Crashes and Freezes: Safe Mode, Add-on Conflicts, and AppImage Stability
FreeCAD crashes on startup, freezes during modeling, or behaves unpredictably after installing add-ons. I cover the safe mode restart, add-on isolation, and the AppImage vs installed version stability differences.
FreeCAD Crashes and Freezes: Safe Mode, Add-on Conflicts, and AppImage Stability
FreeCAD is an open-source CAD application built on multiple layers: Qt for the UI, Coin3D for 3D rendering, OCCT for geometry, and Python for scripting and add-ons. Each layer can introduce instability, and add-ons installed from the Add-on Manager can conflict with each other or with the core application. Users on the FreeCAD GitHub and forums report crashes on startup, freezes during modeling, and unpredictable behavior after installing add-ons.
A GitHub issue (#20157) reported that hovering over imported STEP geometry was "very slow" and that orbiting froze the program for several seconds. The developer response suggested restarting in safe mode to isolate the issue. This is a common debugging approach in FreeCAD.
Fix 1: Restart in Safe Mode
FreeCAD's safe mode disables all add-ons and starts with default preferences. This is the first step in diagnosing any crash or freeze:
- Go to Help → Restart in Safe Mode
- FreeCAD restarts with:
- All add-ons disabled
- Default preferences
- No custom workbenches
- Test the operation that was causing the crash or freeze
- If the problem disappears in safe mode, an add-on or preference is the cause
- If the problem persists in safe mode, it's a core FreeCAD issue
After Safe Mode Testing
If the problem disappears in safe mode:
- Restart FreeCAD normally
- Go to Tools → Add-on Manager
- Disable all add-ons
- Restart FreeCAD
- Re-enable add-ons one at a time, testing after each
- When the problem reappears, the last enabled add-on is the culprit
If the problem persists in safe mode:
- Report the issue on the FreeCAD GitHub with:
- FreeCAD version (from Help → About FreeCAD)
- Operating system
- Steps to reproduce
- The FreeCAD report file (Help → Report Bug)
Fix 2: Clear FreeCAD Configuration
Corrupted configuration files can cause crashes on startup:
Windows
- Close FreeCAD
- Open File Explorer and enable View → Hidden Items
- Navigate to:
%AppData%\FreeCAD\ - Rename the
user.cfgfile touser.cfg.bak - Rename the
system.cfgfile tosystem.cfg.bak - Restart FreeCAD — it will create fresh configuration files
- If FreeCAD starts successfully, reconfigure your preferences manually
Linux
- Close FreeCAD
- Rename
~/.config/FreeCAD/user.cfgtouser.cfg.bak - Rename
~/.config/FreeCAD/system.cfgtosystem.cfg.bak - Restart FreeCAD
Mac
- Close FreeCAD
- Rename
~/Library/Preferences/FreeCAD/user.cfgtouser.cfg.bak - Rename
~/Library/Preferences/FreeCAD/system.cfgtosystem.cfg.bak - Restart FreeCAD
Fix 3: Use the AppImage (Linux)
On Linux, the AppImage version of FreeCAD can be more stable than the repository version:
- Download the AppImage from the FreeCAD website
- Make it executable:
chmod +x FreeCAD*.AppImage - Run it:
./FreeCAD*.AppImage - The AppImage includes all dependencies (OCCT, Qt, Coin, Python) in a tested configuration
- Repository versions may use system libraries that are incompatible with FreeCAD
AppImage vs Repository
| Aspect | AppImage | Repository | |--------|----------|------------| | Dependencies | Bundled | System | | Stability | Tested by FreeCAD team | Depends on distro maintainer | | Updates | Manual download | Automatic with system updates | | Version | Latest stable | May lag behind |
If you're experiencing crashes on Linux, try the AppImage before reporting a bug.
Fix 4: Update OCCT and Python Versions
FreeCAD's stability depends on the versions of OCCT (geometry kernel) and Python (scripting engine):
- Check your versions: Help → About FreeCAD → Copy to clipboard
- Look for:
OCC version: Should be 7.7.0 or laterPython version: Should be 3.10 or laterQt version: Should be 5.15 or 6.5+
- If OCCT is older than 7.7, use the AppImage (Linux) or the official installer (Windows/Mac) which bundles a newer OCCT
- Old OCCT versions have known bugs with STEP import and boolean operations
Fix 5: Check for Conflicting Add-ons
Some add-ons are known to conflict with each other or with specific FreeCAD versions:
Assembly Workbench Conflicts
- Don't install A2plus, Assembly3, and Assembly4 simultaneously
- They all modify the assembly handling and can conflict
- Choose one assembly workbench and stick with it
- If you need to switch, uninstall the old one first
Workbench Loading Order
- Some add-ons load at startup and can interfere with core workbenches
- Go to Edit → Preferences → Workbenches
- Review the Enabled Workbenches list
- Disable any workbenches you don't use
- Fewer loaded workbenches = faster startup and fewer potential conflicts
Python Dependency Conflicts
- Some add-ons require specific Python packages
- If two add-ons require different versions of the same package, conflicts occur
- Check the Add-on Manager for dependency warnings
- Install add-ons one at a time and test after each installation
Fix 6: Fix Freezes During Modeling
Boolean Operation Freezes
Boolean operations (fuse, cut, common) on complex geometry can freeze FreeCAD:
- Simplify the input geometry before the boolean operation
- Remove fillets and chamfers before boolean operations
- Use Part → Check Geometry to verify inputs are valid
- If the operation still freezes, try the Part → Boolean tool instead of the toolbar buttons
- For very complex operations, use Python scripting:
This bypasses the UI and can complete operations that freeze in the GUI.import Part shape1 = Part.Shape() shape1.read("file1.brep") shape2 = Part.Shape() shape2.read("file2.brep") result = shape1.cut(shape2) result.exportBrep("result.brep")
Rendering Freezes
- Go to Edit → Preferences → Display → 3D View
- Reduce Maximum rendering framerate to 30 FPS
- Disable Anti-aliasing
- Set Render cache to Separate
- Disable Show bounding box
- These settings reduce the rendering load and prevent freezes during orbiting
Fix 7: Fix Startup Crashes
Missing DLL Errors (Windows)
- Install the Microsoft Visual C++ Redistributable (latest version)
- Install the Visual Studio 2019 Redistributable specifically
- FreeCAD depends on these libraries — missing versions cause startup crashes
Python Path Issues
- If you have multiple Python installations, FreeCAD may use the wrong one
- Check: Help → Python Console → type
import sys; print(sys.executable) - The path should point to FreeCAD's bundled Python, not a system Python
- If it points to a system Python, remove or rename the
PYTHONPATHandPYTHONHOMEenvironment variables
Permission Issues
- Run FreeCAD as administrator (Windows) or with sudo (Linux) once
- This ensures all configuration files are created with correct permissions
- After the first run, run as a normal user
Fix 8: Report Bugs Effectively
If you've tried all fixes and FreeCAD still crashes:
- Help → Report Bug — generates a report with system info
- Include the FreeCAD version info (copy from Help → About)
- Attach the model file that causes the crash (or a simplified version)
- Describe the exact steps to reproduce the crash
- Check the FreeCAD GitHub issues to see if the bug is already reported
- Post on the FreeCAD forum for community help before opening a GitHub issue
Summary
| Fix | Type | Impact | |-----|------|--------| | Safe mode restart | Diagnostic | Identifies add-on vs core issue | | Clear configuration | Recovery | Fixes corrupted preferences | | Use AppImage (Linux) | Alternative | More stable than repo version | | Update OCCT/Python | Preventive | Fixes kernel-related crashes | | Remove conflicting add-ons | Preventive | Eliminates add-on conflicts | | Simplify boolean operations | Preventive | Prevents modeling freezes | | Fix rendering settings | Preventive | Prevents orbiting freezes | | Fix startup crashes | Recovery | Fixes DLL/Python/permission issues |
Always start with safe mode — it takes 30 seconds and immediately tells you whether the problem is an add-on or a core issue. If it's an add-on, isolate it by re-enabling one at a time. If it's a core issue, try clearing the configuration and updating to the latest FreeCAD version with the AppImage (Linux) or official installer (Windows/Mac).
Source Verification
More Freecad Guides
performance
FreeCAD Assembly Slow Loading: TechDraw Bloat, A2plus Optimization, and File Splitting
9 min
troubleshooting
FreeCAD STEP File Import Takes Forever: Helix Geometry, Memory Overflow, and Workarounds
9 min
performance
FreeCAD TechDraw Slow Performance: View Rendering, Dimension Lag, and Export Fixes
8 min
troubleshooting
FreeCAD Topological Naming Problem: Why Models Break and How to Prevent It
10 min
Related Troubleshooting Guides
Similar troubleshooting content for other CAD tools
3ds Max
•troubleshooting
3ds Max FBX and OBJ Import: Missing Materials, Broken UVs, and Texture Path Recovery
11 min
3ds Max
•troubleshooting
3ds Max Plugin DLL Errors: Missing Files, Load Failures, and plugin.ini Repair
9 min
3ds Max
•troubleshooting
3ds Max Random Crashes: Memory, Driver, and Crash Log Analysis Guide
10 min
Altium Designer
•troubleshooting
Fixing Altium Designer DRC Errors: Common Clearance and Routing Violations
9 min