XPCOMGlueLoad error for file - libc.so.6 not found errors in snap Firefox 106.0.2-1

Hi,

I’m on Pop_OS! 22.04 and after upgrading to latest kernel 6.0.2-76060002-generic I’m having issues with snap packages, especially with Firefox (v106.0.2-1). After rebooting the system all works, then at some point (randomly I’d say) tabs start to crash, so I close Firefox (it’s unusable at that point) and, after launching it from terminal, I see the following errors:

XPCOMGlueLoad error for file /snap/firefox/2015/usr/lib/firefox/libmozgtk.so:
/lib/x86_64-linux-gnu/libc.so.6: version `' not found (required by /snap/firefox/2015/gnome-platform/usr/lib/x86_64-linux-gnu/libXau.so.6)
Couldn't load XPCOM.

I know there are issues with latest kernel 6 versions and snap (I also had different errors in the past days about that), but I thought it would have been fixed so far (see https://lore.kernel.org/lkml/20221020223616.7571-1-phillip@squashfs.org.uk/, https://lore.kernel.org/lkml/e335e7cd-366f-7ced-2707-b6ef49cfe9eb@alu.unizg.hr/)

Any way to (even temporarily) fix that? Thanks

edit:

snapd: v2.57.5+22.04

$ sudo dmesg -l err

[    1.179369] blacklist: Problem blacklisting hash (-13)
[    1.179370] blacklist: Problem blacklisting hash (-13)
[    1.179398] blacklist: Problem blacklisting hash (-13)
[    1.179419] blacklist: Problem blacklisting hash (-13)
[    1.179448] blacklist: Problem blacklisting hash (-13)
[    1.179465] blacklist: Problem blacklisting hash (-13)

[   10.592704] [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00002600] Flip event timeout on head 0
[   30.613307] [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00002600] Failed to grab modeset ownership

This very much looks like that readahead regression indeed. I’m guessing your kernel doesn’t have the patches yet. I’m not aware of any workaround that doesn’t involve patching the kernel.

1 Like

ok thanks. Do you know how I can check whether the patch is applied to a specific kernel version or not?

No, I don’t. Looking at the contents of PopOS’s apt repository, it mentions a kernel with version 6.0.2-76060002.202210150739~1666289067~22.04~fe0ce53, but the corresponding source metadata points to the Ubuntu git repository, which doesn’t have that version as far as I can tell. I’m guessing PopOS uses a repository of their own, but I don’t know where it is.

1 Like

got it, thanks for answering! I guess I’ll need to wait for a newer version then…

Well, you might want to file a bug in popos so they stop breaking the GPL by not pointing to the source their binary is built from…

1 Like