Skip to content

Guard Dash._adjustIconSize against null firstIcon.icon (fixes #336 SIGABRT on GNOME 50) - #352

Open
svan71 wants to merge 1 commit into
icedman:mainfrom
svan71:fix-adjusticonsize-crash
Open

Guard Dash._adjustIconSize against null firstIcon.icon (fixes #336 SIGABRT on GNOME 50)#352
svan71 wants to merge 1 commit into
icedman:mainfrom
svan71:fix-adjusticonsize-crash

Conversation

@svan71

@svan71 svan71 commented Jul 24, 2026

Copy link
Copy Markdown

Fixes #336.

On GNOME 50, Dash._adjustIconSize can run while an icon is mid-destruction; dereferencing firstIcon.icon then trips a fatal Clutter paint assertion and gnome-shell aborts (SIGABRT). Since the extension's relayout/animation work is what drives these extra _adjustIconSize calls, the extension wraps it while enabled and bails out safely when the first icon has no .icon, restoring the original method on disable.

Tested on GNOME 50 (Arch): the crash in #336 no longer reproduces with the guard in place; dash icon sizing still behaves normally in the overview.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GNOME Shell 50: animator triggers Dash._adjustIconSize → "firstIcon.icon is null" → Clutter paint assertion → SIGABRT

1 participant