-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Problem] Crash on Object Adjustment in Techdraw #12524
Comments
I cannot reproduce, do you have a demo file? Could you try this with the current weekly builds https://github.com/FreeCAD/FreeCAD-Bundle/releases/tag/weekly-builds |
I have attached a copy of the project files. The machine on which I am making these drawings does not have enough free storage for me to build from source. I will do so on another computer if you cannot reproduce. Select View025 on Page007. Change Y from 8.25 to 8.125, and wait for the change to propagate. I have tried this many times many ways (right after saving, right after recomputing, et cetera), and it always causes a crash for me. |
The crash does not happen with version information as follows, but there are also a lot of objects that may not have loaded correctly, judging from the report view view contents pasted below, so it is possible that the geometry causing the crash is not loading properly. There are preceding errors about missing the fastener workbench, but the broken sketches do not reference fasteners. The error messages reference only one side of the reference, so I am unable to explore them in depth.
|
@WandererFan could you help out here? The crash seems to be fixed in the dev builds but other errors occur. |
I am now having this problem on a second view on a different page. One thing I noticed is that repositioning the object by dragging it does not lead to a crash, but setting it numerically (as is necessary to align the many views properly) does. In both cases, the change causes a crash 100% of the time with the originally reported FreeCAD version. Might the best path forward be to report the errors that appear in the weekly build in a separate issue and then recheck this issue when those are fixed? |
I am now getting a possibly related crash consistently when trying to add a caption to a particular view in TechDraw in the snap version. I will test in the AppImage version tomorrow. If present in the weekly build, I will file this in a new issue. If it does not occur in the weekly build, I will try to churn through the weekly-build-specific errors to see whether they suppress the offending geometry somehow.
|
I have not tested the second error in the weekly build yet, but it seems like the best way forward is to get the recent code working rather than trying to patch old code, so I filed #12655 on the sketch expression problem that arises when importing the project into the weekly build. I will check whether this issue occurs on a fresh build once that is fixed. |
#12655 remains under discussion. I patched a recent binary to skip the reference constraint check. I get no geometry errors, and both previously crash-prone operations now complete successfully. This is good enough to unstall my project pending a permanent fix to the reference constraint issue. |
Is there an existing issue for this?
Problem description
Changing the position of a view in Techdraw when the object has many dimensions and several section views attached causes a crash even if it is the first action after opening the file. Possibly related to #10919. The installation is from snap.
Full version info
Subproject(s) affected?
Techdraw
Anything else?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: