Skip to content

ibus: fix crashes with latest gtk - #562818

Merged
vcunat merged 1 commit into
NixOS:stagingfrom
thunze:ibus-fix-gtk-crash
Sep 19, 2026
Merged

vcunat merged 1 commit into
NixOS:stagingfrom
thunze:ibus-fix-gtk-crash

Conversation

@thunze

@thunze thunze commented Sep 13, 2026 •

Copy link
Copy Markdown
Member

GTK issue: https://gitlab.gnome.org/GNOME/gtk/-/work_items/8341
Upstream PR: ibus/ibus#2929

Issue popped up during the GNOME 51 update (#559510). Can be reproduced by running pretty much any GTK 4 application (I've tested with adwaita-1-demo) from #559510 on a NixOS system that runs ibus without this patch.

Tested the fix by cherry-picking onto master (6b4a11e).

Things done

nixpkgs-branch-check[bot]

This comment was marked as outdated.

@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 2501-5000 This PR causes many rebuilds on Linux and should target the staging branches. 9.needs: reviewer This PR currently has no reviewers requested and needs attention. labels Sep 13, 2026
@thunze
thunze changed the base branch from master to staging September 13, 2026 08:16
@nixpkgs-ci nixpkgs-ci Bot closed this Sep 13, 2026
@nixpkgs-ci nixpkgs-ci Bot reopened this Sep 13, 2026
@nixpkgs-branch-check
nixpkgs-branch-check Bot dismissed their stale review September 13, 2026 08:21

Review dismissed automatically

@thunze thunze added the backport staging-26.05 Backport PR automatically label Sep 13, 2026

@theCapypara theCapypara left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't had the oppurtunity to test with this patch isolated, but I did test with the beta, which contains the fix as well. With it, new GTK 4 apps using TextViews no longer crash,

@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 1 This PR was reviewed and approved by one person. and removed 9.needs: reviewer This PR currently has no reviewers requested and needs attention. labels Sep 16, 2026

@whispersofthedawn whispersofthedawn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

patch seems reasonable. applied this to ibus on my system (a non-gnome desktop) and was now able to open several apps (e.g. gnome-calendar) from the gnome 51 pr that were immediately SIGSEGVing before.

@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 2 This PR was reviewed and approved by two persons. and removed 12.approvals: 1 This PR was reviewed and approved by one person. labels Sep 18, 2026
@vcunat
vcunat added this pull request to the merge queue Sep 19, 2026
Merged via the queue into NixOS:staging with commit e50b783 Sep 19, 2026
45 of 47 checks passed
@nixpkgs-ci

nixpkgs-ci Bot commented Sep 19, 2026

Copy link
Copy Markdown
Contributor

Backport failed for staging-26.05, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin staging-26.05
git worktree add -d .worktree/backport-562818-to-staging-26.05 origin/staging-26.05
cd .worktree/backport-562818-to-staging-26.05
git switch --create backport-562818-to-staging-26.05
git cherry-pick -x 2fbdf98fbc09900ecc2526e8c0aa134e43745de2

@thunze
thunze deleted the ibus-fix-gtk-crash branch September 25, 2026 09:57
@thunze
thunze restored the ibus-fix-gtk-crash branch September 25, 2026 10:21
@thunze
thunze deleted the ibus-fix-gtk-crash branch September 25, 2026 10:22
@thunze thunze mentioned this pull request Sep 25, 2026
4 of 13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

8.has: failed backport 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 2501-5000 This PR causes many rebuilds on Linux and should target the staging branches. 12.approvals: 2 This PR was reviewed and approved by two persons. backport staging-26.05 Backport PR automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants