'Thunderbird crashes when trying to attach a file

I am using thunderbird 91.7.0 with Ubuntu 20.04.4 LTS

I got some issues with no enough free space to make updates (I'm on a laptop) and so I used the command sudo apt autoremove and was then able to make the updates. However, since then, whenever I try to attach a file (either on a new email or in a response) in thunderbird, it instantly crashes without any warning or crash report.

I tried to launch thunderbird in safe-mode with the same result, and the message I get in the terminal as the process finishes is:

~/ $> thunderbird --safe-mode
Gtk-Message: 15:22:22.654: Failed to load module "canberra-gtk-module"
Gtk-Message: 15:22:22.656: Failed to load module "canberra-gtk-module"
[GFX1-]: glxtest: libpci missing

(thunderbird:30046): Gtk-WARNING **: 15:22:37.510: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
**
Gtk:ERROR:../src/gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /snap/thunderbird/195/data-dir/icons/Yaru/16x16/status/image-missing.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3)
Bail out! Gtk:ERROR:../src/gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /snap/thunderbird/195/data-dir/icons/Yaru/16x16/status/image-missing.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3)
Redirecting call to abort() to mozalloc_abort

ExceptionHandler::GenerateDump cloned child 30391
ExceptionHandler::SendContinueSignalToChild sent continue signal to child
ExceptionHandler::WaitForContinueSignal waiting for continue signal...
Exiting due to channel error.

N.B. #1: it doesn't matter if I click on the 'attach' paperclip button or if I use the short-cut Ctrl-Shift-A command.

N.B. #2: the same occurs if I try to save an attached file from an email in my inbox, but curiously not if I just display it in a new tab in Thunderbird.

N.B. #3: everything else seems working properly...

Any help would be greatly appreciated, because I do not know how to live without TB anymore...

EDIT: here is the crash report https://crash-stats.thunderbird.net/report/bp-c8db5ddd-d87a-4c89-b006-3c76b1220323



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source