Closed Theslees closed 11 months ago
I'm not very familiar with Arch Linux so it would be a big help if you can dig deeper into finding out the cause of the failure and hopefully submit a pull request.
Check journalctl
, is it constantly segfaulting like this ever since the upgrade? I downgraded as soon as I saw it so didnt actually try appimages, but i assume its related.
You can use pacman -U https://archive.archlinux.org/packages/s/squashfuse/squashfuse-0.2.0-1-x86_64.pkg.tar.zst
to downgrade temporarily
Check
journalctl
, is it constantly segfaulting like this ever since the upgrade? I downgraded as soon as I saw it so didnt actually try appimages, but i assume its related.You can use
pacman -U https://archive.archlinux.org/packages/s/squashfuse/squashfuse-0.2.0-1-x86_64.pkg.tar.zst
to downgrade temporarilyjournalctl snippet
downgrade to 0.2.0 works
Yes, there is indeed such segfaulting and downgrade to 0.2.0 works
This is critical, we have work to do you know
That's the danger of living on the bleeding edge.
Another workaround besides downgrading to 0.2.0 would be to use the --disable-multithreading
configure option, but then of course you don't get the multithreading benefit.
Check
journalctl
, is it constantly segfaulting like this ever since the upgrade? I downgraded as soon as I saw it so didnt actually try appimages, but i assume its related.You can use
pacman -U https://archive.archlinux.org/packages/s/squashfuse/squashfuse-0.2.0-1-x86_64.pkg.tar.zst
to downgrade temporarily journalctl snippet
Thanks for the workaround!
Confirmed on my side also. Downgrading back to 2.0 fixed all the appimages.
This problem appeared in 53e1b97002c7bc13392a6b0121680d28a94a9715 when signatures of functions such as sqfs_lookup_path
and sqfs_open_image
got changed (new function argument added). Libappimage(both upstream and in arch repository) is compiled with squashfuse v0.2 uses old signatures which leads to segfault.
The fact that there is no way to differentiate between old and new functions signatures with c preprocessor further complicates issue as libappimage(and other projects using squashfuse). I would suggest adding
#define SQUASHFUSE_SUBDIR
Or something similar(or even better an integer indicating current version) so projects using squashfuse would be able to use correct function signatures whether compiling against older or newer versions of squashfuse.
Another possible solution is to change 53e1b97002c7bc13392a6b0121680d28a94a9715 so instead of modifying existing functions it will create new ones (with suffix _with_subdir
f.e.)
Oh, so the problem was the subdir feature, not the multithreading.
Please submit a pull request with suggested fix.
Please submit a pull request with suggested fix.
I am not sure which fix is better:
#define SQUASHFUSE_MAJOR_VERSION 0
#define SQUASHFUSE_MINOR_VERSION 0
#define SQUASHFUSE_SUBDIR_SUPPORTED
Fwiw I vote for option 3. It requires no changes to existing apps.
I'm confused I removed the Aur package of Appimagelauncher then downgrade to 2.0 and now I can't install appimagelauncher again unfortunately:
[ 76%] Linking CXX shared library libbinfmt-bypass-preload.so /home/hsdredgun/.cache/yay/appimagelauncher-git/src/AppImageLauncher/src/binfmt-bypass/fix-preload-library.sh: line 26: patchelf: command not found make[2]: *** [src/binfmt-bypass/CMakeFiles/binfmt-bypass-preload.dir/build.make:114: src/binfmt-bypass/libbinfmt-bypass-preload.so] Error 127 make[2]: *** Deleting file 'src/binfmt-bypass/libbinfmt-bypass-preload.so' make[1]: *** [CMakeFiles/Makefile2:1850: src/binfmt-bypass/CMakeFiles/binfmt-bypass-preload.dir/all] Error 2 make: *** [Makefile:156: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... -> error making: appimagelauncher-git-exit status 4 -> Failed to install the following packages. Manual intervention is required: appimagelauncher-git - exit status 4
Sorry very new to this...
Yeah, I agree with @kevin-vigor
Fixed by #106
I'm having this issue on Linux Mint 21.2 Victoria (Cinnamon). squashfuse is v.0.1.103-3
When I downloaded "/home/***/Applications/appimagelauncher-lite-2.2.0-travis995-0f91801-x86_64.AppImage" it would not launch. However, DigiKam-8.1.0-x86-64.Appimage still works, as does kmymoney-5.1-607-linux-gcc-x86_64.Appimage and CinGG-20230630-x86_64_c99375297a357e6bc0cbd1239af8903d.AppImage but XnView_MP.glibc2.17-x86_64.Appimage** no longer works.
Can anyone shed some light please?
Could you provide logs, or a backtrace? Can't diagnose without more info.
I upgraded squashfuse via a system package upgrade (with the arch system repository, dont know which one specific repository the package comes from though), then after that, all appimages failed to run,
It spits out the shell log posted above everytime I attempt to execute a appimage
So I reverted back to squashfuse v0.2.0 and appimages work again, I don't know much about squashfuse itself but it seems the latest update (0.3.0) caused a regression for appimages on my system; I'm on Arch Linux btw,
Please let me know if you can replicate the issue on your side aswell, Cheers.