Skip to content

fix: prevent segfaults after progress bar tasks - #1490

Merged
CyanVoxel merged 1 commit into
mainfrom
fix-1489
Aug 21, 2026
Merged

fix: prevent segfaults after progress bar tasks#1490
CyanVoxel merged 1 commit into
mainfrom
fix-1489

Conversation

@CyanVoxel

Copy link
Copy Markdown
Member

Summary

(Should) fix #1489 by not letting Qt garbage collect the CustomRunnable class before its done signal can emit. Also adds some type hints and a decorator since I'm in the neighborhood and need a treat after this nightmare of a bug.

Tasks Completed

  • Platforms Tested:
    • Windows x86
    • Windows ARM
    • macOS x86
    • macOS ARM
    • Linux x86
    • Linux ARM
  • Tested For:
    • Basic functionality
    • PyInstaller executable

@CyanVoxel CyanVoxel added this to the Alpha v9.6.4 milestone Aug 21, 2026
@CyanVoxel CyanVoxel added Priority: Critical An issue that requires immediate attention Type: UI/UX User interface and/or user experience TagStudio: Library Relating to the TagStudio library system Type: File System File system interactions Type: Fix A fix for a bug, typo, or other issue labels Aug 21, 2026
@CyanVoxel CyanVoxel moved this to 🍃 Pending Merge in TagStudio Development Aug 21, 2026
@CyanVoxel CyanVoxel changed the title fix: manually delete CustomRunnable, don't trust Qt fix: prevent segfaults after progress bar tasks Aug 21, 2026
@CyanVoxel
CyanVoxel merged commit 8275d3e into main Aug 21, 2026
12 checks passed
@github-project-automation github-project-automation Bot moved this from 🍃 Pending Merge to ✅ Done in TagStudio Development Aug 21, 2026
@CyanVoxel
CyanVoxel deleted the fix-1489 branch August 21, 2026 03:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Priority: Critical An issue that requires immediate attention TagStudio: Library Relating to the TagStudio library system Type: File System File system interactions Type: Fix A fix for a bug, typo, or other issue Type: UI/UX User interface and/or user experience

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

[Bug]: Segfault Sometimes After Progress Bar Tasks

1 participant