-
Notifications
You must be signed in to change notification settings - Fork 47
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] Lots of crashes in Sketcher #922
Comments
I'm also experiencing frequent crashes (segfaults) with mostly coincident and symmetry constraints in sketcher. A stack trace in the console from one of them is below.
|
I can confirm the crashes in sketcher with very simple operations in both the latest appimage and snap. OS: Debian GNU/Linux 12 (bookworm) (KDE/plasma) `[code]
here the terminal output in snap Program received signal SIGSEGV, Segmentation fault. |
I can confirm that the newest release is barely usable due to crashes in sketcher. I could use the previous one for hours without any serious incidents. |
@realthunder Are those |
Why would that be? The crash happens because of de-syncrhonization of the sketch geometry and its visual representation. The timer is meant to delay visual update in (potentially recursive) UI event handling. |
It just looks like it, although I'm not familiar with the code. Anything that relies on timing (which is what "delay" presumably implies) could cause a race condition. What if the scheduler happens to not execute whatever other thread that is supposed to execute before the delayed thread? E.g., maybe there's a 150 ms scheduling interruption (say, because of page swapping), so that 100 ms delay is completely skipped. Does it then crash? |
This is indeed possible. But it is not a |
Is there an existing issue for this?
Version
0.21 (Development)
Full version info
Subproject(s) affected?
Sketcher
Problem description
Frequent crashes for very common operations in sketcher (at least inside a Part Design body). E.g., creating some mirror constraint across a construction line or making some tangent constraints or even deleting some elements.
E.g., deleting
Base.Sketch006.ExternalEdge2
in this:PowerRelayHolder.FCStd.zip
Or select
Edge3
andEdge4
inBase.Sketch008
and select the tangent constraint in this:PowerRelayHolder2.FCStd.zip
Anything else?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: