Crash when resizing the window during LaTeX threaded rendering. #15
Labels
No labels
bug
distribution
duplicate
enhancement
help wanted
invalid
Platform: Linux
Platform: MacOS
Platform: Windows
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Ad5001/LogarithmPlotter#15
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When enabling LaTeX and the async rendering experimental option, trying to open a file which requires several render, resizing the window causes Qt to segfault.
This is due to a racing condition that happens between the newly queued rendering invalidating the previous one, and the state stored and restored after the latex render thread completes. Some more digging is required, as there already is some mitigation code to prevent both drawing on invalidated context and GC wrongfully destroying interal Qt objects.