Toponaming: Freecad hangs reporting a missing reference in a wide variety of operations on this drawing. Attempts to fix cause hangs as well.
- Dominant language
- C++
- Stars
- 33.6k
- Forks
- 6k
- Avg merge
- 3d 15h
- Merged PRs (30d)
- 196
Description
### Is there an existing issue for this?
- [x] I have searched the existing issues
### Problem description
See the attached file after renaming it from `.zip` to `.FCStd`. I was experiencing hangs with Freecad when trying a variety of unrelated editing operations within the drawing, including
- recomputing the drawing
- trying to delete the "Cabinet Front" body
- tryig to set the tip to Pad002 within "Cabinet Front" body
- Deleting the clone "Cab Front" within the Part "Plywood - 3/4" Cut Plan"
- Deleting the body "Alternate Fuse Block 1" within the "Power Shelf" part
- Etc etc etc
I ran the appimage from the command line and see if I'd see any errors and I see this pop up for most but not all of the hangs
```
SketchObject.cpp(9030): External geometry Pinball_Cabinet_DK_PFUpdate_Recovered#Sketch042.e16 missing reference: Pocket026.;#58f:2a5;:M;CUT;:H-e72:7,E
```
if I search in Freecad for Sketch042, it says it doesn't exist. Yet I changed the .FCStd extension to .zip and looked at Document.xml and it is there.

The sketch "Cab Front Holes" seems to be where the problem lies. My attempts to select the Pad above it and set that to the tip so that I can try the Sketch Attachment editor also results in a hang.

As mentioned above, trying to delete "Cabinet Front" body results in a hang. So does trying to delete its clone "Cab Front".

This seems like a blocker bug to me and I have my fingers crossed that this can be addressed soon. In the meantime, any ideas to get me going again would be greatly appreciated. Unfortunately, there is a lot of work between this problem in my most recent save vs my prior save.
[FreecadHang.zip](https://github.com/user-attachments/files/22410108/FreecadHang.zip)
### Full version info
```shell
I have tried a variety of different versions of FreeCad including the latest weekly and still have this problem. For the record...
OS: Arch Linux (KDE/plasma/wayland)
Architecture: x86_64
Version: 1.1.0dev.14555 (Git shallow) AppImage
Build date: 2025/09/16 20:38:23
Build type: Release
Branch: main
Hash: bac49e465908071e7400a547eb813bc5017ae7dc
Python 3.11.13, Qt 6.8.3, Coin 4.0.3, Vtk 9.3.1, boost 1_86, Eigen3 3.4.0, PySide 6.8.3
shiboken 6.8.3, xerces-c 3.3.0, IfcOpenShell 0.8.2, OCC 7.8.1
Locale: C/Default (C)
Navigation Style/Orbit Style/Rotation Mode: Gesture/Trackball/Object center
Stylesheet/Theme/QtStyle: unset/FreeCAD Classic/fusion
Logical DPI/Physical DPI/Pixel Ratio: 96/110.786/1
Installed mods:
* Curves 0.6.60
```
### Subproject(s) affected?
None
### Anything else?
_No response_
### Code of Conduct
- [x] I agree to follow this project's Code of Conduct
Contributor guide
Assessment
This issue has not been assessed yet.