AppImageCommunity / AppImageUpdate

AppImageUpdate lets you update AppImages in a decentral way using information embedded in the AppImage itself.
https://appimage.org
MIT License
582 stars 57 forks source link

SEGFAULT when trying to run an AppImage file in Mageia Linux #172

Open ringtailedfox opened 3 years ago

ringtailedfox commented 3 years ago

So, I discovered this issue when I was trying to install the Pling Store from https://www.opendesktop.org/p/1175480/ (i have OCS-URL installed via my package manager as a pre-requisite) but... it also said i needed AppImageLauncher ( https://www.pling.com/p/1228228/ ) as a pre-requisite (which I thought was the reason it wasn't running or installing). So, I installed the RPM file since i'm on Mageia Linux 8 x86_64 (the continuation of the old Mandrake/Mandriva linux line), but even after installing the RPM, i had no luck. The results are as follows below (mirroed at https://pastebin.com/F4yBDyS5 ):

[user@Pavilion bin]$ pwd /home/user/.local/bin [user@Pavilion bin]$ ls -l total 131460 -rwxr--r-- 1 user user 29754560 Mar 19 03:18 AppImageUpdate-x86_64.AppImage -rwxr-xr-x 1 user user 214 May 11 14:41 futurize -rwxr-xr-x 1 user user 208 May 11 14:41 geocode -rwxr-xr-x 1 user user 207 May 11 14:40 kara -rwxr-xr-x 1 user user 201 May 11 14:29 nltk -rwxr-xr-x 1 user user 216 May 11 14:41 pasteurize -rwxr-xr-x 1 user user 104824872 May 11 01:45 pling-store-5.0.2-1-x86_64.AppImage -rwxr-xr-x 1 user user 207 May 11 14:40 wheel [user@Pavilion bin]$ ./AppImageUpdate-x86_64.AppImage /usr/bin/AppImageLauncher: /lib64/libcurl.so.4: no version information available (required by /usr/bin/../lib/x86_64-linux-gnu/appimagelauncher/libappimageupdate.so) Segmentation fault (core dumped) [user@Pavilion bin]$ ./pling-store-5.0.2-1-x86_64.AppImage /usr/bin/AppImageLauncher: /lib64/libcurl.so.4: no version information available (required by /usr/bin/../lib/x86_64-linux-gnu/appimagelauncher/libappimageupdate.so) Segmentation fault (core dumped)

LibCurl is a core system package that came bundled with Mageia... it's treated with the same importance as the packages "rpm" and "yum"... altering or removing it would likely break the system...

Is there a misconfiguration somewhere? Or is this somehow related to the way libappimageupdate is packed?

The method to reproduce this on a Mageia 8 system (x86_64 build) are as follows: Install https://github.com/TheAssassin/AppImageLauncher/releases/download/v2.2.0/appimagelauncher-2.2.0-travis995.0f91801.x86_64.rpm Attempt to install https://www.opendesktop.org/p/1175480/ Attempt to install https://www.pling.com/p/1228228/

then, go to ~/.local/bin/ and run chmod a+x *.AppImage to make any appimage files executable

Then, try to run them, either by double-clicking on them in your file manager, or by running them in command line.

If you do things properly (as the instructions for the Pling store state), you'll get a segmentation fault whenever you try to install an AppImage file. Trying to install an AppImage file without Pling or the AppImageLauncher or AppImageUpdater just makes them do nothing. they crash with SEGFAULT anyway. That's how i figured it's not simply malformed/damaged files.

AshlynOrSomethin commented 2 years ago

Did you by chance manage to fix this, if so do you remember how? This issue still exists in 2022...