Telegram-desktop stopped to work in openSUSE_Tumbleweed

Today after upgrading to 6.0.5 kernel telegram-desktop stopped to work in openSUSE_Tumbleweed. With 6.0.3 works fine. Error is:

telegram-desktop: symbol lookup error: /lib/x86_64-linux-gnu/libffi.so.8: undefined symbol: , version LIBFFI_BASE_8.0

libffi.so.8 package and library installed.

1 Like

linux 6.x has a buggy squashfs driver that causes file corruption in ram for anything coming from a mounted squashfs ā€¦ the above is likely fallout of that same bug, see:

https://forum.snapcraft.io/t/unsupported-version-0-of-verneed-record-linux-6-0/32160/11

1 Like

I am on Pop!_OS 22.04 with Linux kernel 6.0.2 and can confirm the same problem (in fact other snap packages have also failed, so I had to reinstall them and they now work except telegram).

/lib/x86_64-linux-gnu/libtasn1.so.6: undefined symbol: , version GLIBC_2.2.5
Failed to load module: /home/michaelyang/snap/telegram-desktop/common/.cache/gio-modules/libgiognutls.so
telegram-desktop: symbol lookup error: /lib/x86_64-linux-gnu/libtasn1.so.6: undefined symbol: , version GLIBC_2.2.5
1 Like

They work by sheer luck, the bug is in the newly added squashfs readahead code and very randomly manifests if apps try to access files in parallel ā€¦ but not every time :slight_smile: ā€¦ it can at any time show up again with anything on your system using a squashfs filesystem. iā€™d really recommend going back to a pre 6.x kernel until the patch-set has landed:

https://lore.kernel.org/lkml/20221020223616.7571-1-phillip@squashfs.org.uk/

1 Like

That makes a lot of sense now. I guess I was just lucky that everything else worked then! Kind of surprising that such an obvious bug that affects all snap packages somehow slipped into a major kernel release after all the testing. I thought it was something wrong with snap so I reinstalled all the packages and snap but still not working, and I would probably have spent hours trying to debug! So thank you a lot!

1 Like