GDK-Critical: Unable to create Cairo image surface: invalid value (typically too big) for the size of the input (surface, pattern, etc.)

After recent update suddenly any attempt to open file requester (to save file) from Thunderbird, Firefox, Chromium and so on is resulting in GDK-Critical error and subsequent crash of the application. I am running FreeBSD 14.2 stable and wayfire display manager under Wayland. All was working beautifully for last half year.
Anyone encountered similar crashes?

Code:
❯ thunderbird

[75574, Main Thread] WARNING: Unknown key gtk-icon-theme-main in /home/miro/.config/gtk-3.0/settings.ini: 'glib warning', file /wrkdirs/usr/ports/mail/thunderbird/work/thunderbird-139.0/toolkit/xre/nsSigHandlers.cpp:201


(thunderbird:75574): Gtk-WARNING **: 13:17:20.474: Unknown key gtk-icon-theme-main in /home/miro/.config/gtk-3.0/settings.ini

console.error: (new UnknownCollectionError("Unknown Collection \"thunderbird/moz-essential-domain-fallbacks\"", "resource://services-settings/RemoteSettingsClient.sys.mjs", 189))

console.error: (new UnknownCollectionError("Unknown Collection \"thunderbird/url-parser-default-unknown-schemes-interventions\"", "resource://services-settings/RemoteSettingsClient.sys.mjs", 189))

[Child 75642, Main Thread] WARNING: Unknown key gtk-icon-theme-main in /home/miro/.config/gtk-3.0/settings.ini: 'glib warning', file /wrkdirs/usr/ports/mail/thunderbird/work/thunderbird-139.0/toolkit/xre/nsSigHandlers.cpp:201


(/usr/local/lib/thunderbird/thunderbird:75642): Gtk-WARNING **: 13:17:22.521: Unknown key gtk-icon-theme-main in /home/miro/.config/gtk-3.0/settings.ini

[Child 75743, Main Thread] WARNING: Unknown key gtk-icon-theme-main in /home/miro/.config/gtk-3.0/settings.ini: 'glib warning', file /wrkdirs/usr/ports/mail/thunderbird/work/thunderbird-139.0/toolkit/xre/nsSigHandlers.cpp:201


(/usr/local/lib/thunderbird/thunderbird:75743): Gtk-WARNING **: 13:17:25.381: Unknown key gtk-icon-theme-main in /home/miro/.config/gtk-3.0/settings.ini

console.warn: services.settings: Could not determine network status. Message: TypeError: Cc[aContract] is undefined

console.error: services.settings:

  Remote Settings startup changesets bundle could not be extracted (TypeError: serverInfo.capabilities.attachments is undefined)

console.error: services.settings:

  Message: UnknownCollectionError: Unknown Collection "thunderbird/url-classifier-exceptions"

  Stack:

    UnknownCollectionError@resource://services-settings/RemoteSettingsClient.sys.mjs:189:5

sync@resource://services-settings/RemoteSettingsClient.sys.mjs:635:13


console.log: "no migration"

[Child 75777, Main Thread] WARNING: Unknown key gtk-icon-theme-main in /home/miro/.config/gtk-3.0/settings.ini: 'glib warning', file /wrkdirs/usr/ports/mail/thunderbird/work/thunderbird-139.0/toolkit/xre/nsSigHandlers.cpp:201


(/usr/local/lib/thunderbird/thunderbird:75777): Gtk-WARNING **: 13:17:26.698: Unknown key gtk-icon-theme-main in /home/miro/.config/gtk-3.0/settings.ini

JavaScript error: moz-extension://225c6a2c-d191-47ca-8b25-604153efbf47/chrome/content/BG/utils/cardbookBGRepo.mjs, line 307: TypeError: aEmail is undefined

JavaScript error: moz-extension://225c6a2c-d191-47ca-8b25-604153efbf47/chrome/content/BG/utils/cardbookBGRepo.mjs, line 307: TypeError: aEmail is undefined

Gdk-Message: 13:18:17.717: Unable to load col-resize from the cursor theme

Gdk-Message: 13:18:17.718: Unable to load col-resize from the cursor theme

Gdk-Message: 13:18:17.718: Unable to load col-resize from the cursor theme

Gdk-Message: 13:18:17.718: Unable to load col-resize from the cursor theme

Gdk-Message: 13:18:17.718: Unable to load col-resize from the cursor theme

Gdk-Message: 13:18:17.718: Unable to load col-resize from the cursor theme

Gdk-Message: 13:18:17.725: Unable to load col-resize from the cursor theme

[Parent 75574, Main Thread] WARNING: ../gdk/wayland/gdkdisplay-wayland.c:1446: Unable to create Cairo image surface: invalid value (typically too big) for the size of the input (surface, pattern, etc.): 'glib warning', file /wrkdirs/usr/ports/mail/thunderbird/work/thunderbird-139.0/toolkit/xre/nsSigHandlers.cpp:201


(thunderbird:75574): Gdk-CRITICAL **: 13:18:17.739: ../gdk/wayland/gdkdisplay-wayland.c:1446: Unable to create Cairo image surface: invalid value (typically too big) for the size of the input (surface, pattern, etc.)

^C


^C


Exiting due to channel error.

Exiting due to channel error.

Exiting due to channel error.

fish: Job 1, 'thunderbird' terminated by signal SIGSEGV (Address boundary error)
 
UPDATE: it turns out it to be disk corruption issue. I have done following steps and it disappeared:

Code:
fsck -fy /dev/nda0

and added
Code:
setenv GDK_BACKEND x11
into my
Code:
~/.config/fish/config.fish
then rebooted and again removed it as it forces X11 instead of wayland compositor.
 
Back
Top