appimage-builder
appimage-builder copied to clipboard
Produced AppImage crashes on certain distribs
Hello,
I made an AppImage of really simple application in C++ that takes one string argument. This string is executed with the function system(). If I try my application using ./my_app ls to list the content of the current folder, the command failed with a segmentation fault on some distribution.
System used: Ubuntu 18
Steps to reproduce:
- Clone my repository: https://github.com/RedPaladin/appimage-builder-crash
- Download the latest continuous release: https://github.com/AppImageCrafters/appimage-builder/releases/download/Continuous/appimage-builder-1.1.1.dev32+g2709a3b-x86_64.AppImage and place it into the same folder
- Give the execution right to
appimage-builder-1.1.1.dev32+g2709a3b-x86_64.AppImageand execute it. - The test on docker image
centos-7failed
It seems the AppImage generated has some dependencies on the system where it has been built. I read that there is some exceptions where AppImage cannot be run on all distributions when we use very specific library dependant on the hardware. In my case, my app is really simple and I don't understand why it doesn't work.