Skip to content

test(linux): let the file chooser load before cancelling it - #2333

Merged
oneo-me merged 1 commit into
mainfrom
agiox/investigate-unmerged-prs
Nov 24, 2026
Merged

oneo-me merged 1 commit into
mainfrom
agiox/investigate-unmerged-prs

Conversation

@oneo-me

@oneo-me oneo-me commented Nov 24, 2026

Copy link
Copy Markdown
Collaborator

TestFileDialogsReachGTK crashes the Linux test job now and then (seven failed runs across branches in the last day), always with a SIGSEGV in the GTK main loop right after the last step.

The faulting instructions are gtk_box_remove+0x1e/+0x26 in Ubuntu 24.04's GTK 4.14.5, reading the GTypeInstance of a freed box. GTK 4.14's GtkPathBar walks the current folder up with async queries; when the dialog is destroyed mid-walk, dispose cancels them and the cancelled callback (gtk_path_bar_set_file_finish(info, FALSE)) still removes its new buttons from the disposed path bar's box.

Every step but the cancelled save waited a second for the chooser to load before answering. The cancelled save closed the dialog as soon as it showed, while the path bar was still walking the working directory up, so it now waits too.

🤖 Generated with Claude Code

🤖 Claude Opus 5.5

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@oneo-me
oneo-me enabled auto-merge (rebase) November 24, 2026 18:15
@oneo-me
oneo-me merged commit e7df63a into main Nov 24, 2026
26 checks passed
@oneo-me
oneo-me deleted the agiox/investigate-unmerged-prs branch November 24, 2026 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant