Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AppImage-run segfaults on LittleWeeb (problem with electron-based appimages?) #109576

Open
tobiasBora opened this issue Jan 16, 2021 · 7 comments

Comments

@tobiasBora
Copy link
Contributor

tobiasBora commented Jan 16, 2021

Describe the bug
AppImage-run segfault without any meaningful error on some programs like LittleWeeb, notably the one based on electron as reported here. I would suggest:

  1. to add errors in the appimage-run code in case an assertion fails
  2. make sure that by default appimage-run loads most libraries that are frequently assumed to be present in systems, in particular one requires by electron
  3. make sure that electron sandboxed app can be run correctly (not sure it works since buildFhsUserEnv seems to be based on bubblewrap that forbid fuse for security reasons).

To Reproduce
Steps to reproduce the behavior:

  1. Download LittleWeeb
  2. run:
$ appimage-run ~/Documents/Logiciels/Multimedia/fSpy/LittleWeeb-0.4.0.303.AppImage
LittleWeeb-0.4.0.303.AppImage installed in /home/me/.cache/appimage-run/e76971bc65ab44285776e178b26f7b7872412ee0ec495ff204c13cb1fe091a35
Segmentation fault (core dumped)

Expected behavior
I would not expect a segfault.

Additional context
Add any other context about the problem here.

Notify maintainers
Since there is no explicit maintainer, here is a lit of people that pushed to that project @symphorien @jtojnar @bignaux

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

warning: unknown setting 'extra-sandbox-paths'

  • system: "x86_64-linux"
  • host os: Linux 5.4.77, NixOS, 21.03pre-git (Okapi)
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.4pre20201102_550e11f
  • channels(root): "nixos-21.03pre257780.e9158eca70a, nixos-unstable-21.03pre257780.e9158eca70a"
  • channels(leo): "local-nixpkgs-unstable-21.03pre263579.495066a47fc, local-nixos-unstable-21.03pre262347.257cbbcd3ab, test, home-manager, nixos-unstable-21.03pre250162.34ad166a830"
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Maintainer information:

# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:
@tobiasBora tobiasBora changed the title AppImage-run segfault on LittleWeed (problem with electron-based appimages?) AppImage-run segfaults on LittleWeed (problem with electron-based appimages?) Jan 16, 2021
@davidak
Copy link
Member

davidak commented Jan 17, 2021

LittleWeed

lol

@tobiasBora tobiasBora changed the title AppImage-run segfaults on LittleWeed (problem with electron-based appimages?) AppImage-run segfaults on LittleWeeb (problem with electron-based appimages?) Jan 17, 2021
@stale
Copy link

stale bot commented Jul 19, 2021

I marked this as stale due to inactivity. → More info

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jul 19, 2021
@tobiasBora
Copy link
Contributor Author

tobiasBora commented Jul 19, 2021

Still interested (can confirm the issue is still there):

$ wget https://github.com/littleweeb/Desktop/releases/download/v0.4.0_linux/LittleWeeb-0.4.0.303.AppImage
$ appimage-run LittleWeeb-0.4.0.303.AppImage 
LittleWeeb-0.4.0.303.AppImage installed in /home/leo/.cache/appimage-run/e76971bc65ab44285776e178b26f7b7872412ee0ec495ff204c13cb1fe091a35
Segmentation fault (core dumped)

@stale stale bot removed the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jul 19, 2021
@stale
Copy link

stale bot commented May 1, 2022

I marked this as stale due to inactivity. → More info

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label May 1, 2022
@tobiasBora
Copy link
Contributor Author

Still interested (can confirm the issue is still there):

$ appimage-run LittleWeeb-0.4.0.303.AppImage 
Uncompress LittleWeeb-0.4.0.303.AppImage of type 02 @ offset 100024
[===============================================================================================================================================================================================/] 3216/3216 100%
LittleWeeb-0.4.0.303.AppImage is now installed in /home/leo/.cache/appimage-run/e76971bc65ab44285776e178b26f7b7872412ee0ec495ff204c13cb1fe091a35
Segmentation fault (core dumped)

@stale stale bot removed the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label May 2, 2022
@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Oct 30, 2022
@KiaraGrouwstra
Copy link
Contributor

hm, i think that step is working now?

appimage-run LittleWeeb-0.4.0.292.AppImage
Uncompress LittleWeeb-0.4.0.292.AppImage of type 02 @ offset 100024
[================================================================================================================|] 3218/3218 100%
LittleWeeb-0.4.0.292.AppImage is now installed in /home/kiara/.cache/appimage-run/c9246f61809181e7a3cd7fab6feae86f42cac68a5120eb397ea6c2168aa9c306

doesn't boot for me after, but yeah.

@stale stale bot removed the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Oct 20, 2023
@KiaraGrouwstra
Copy link
Contributor

another electron appimage (arduino-ide) also doesn't trigger such a segfault for me, tho i haven't gotten that one to work either

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants