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

Lazer AppImage core dumps while starting after automatic update to 2024.1009.1 #30175

Closed
Electrenator opened this issue Oct 9, 2024 · 18 comments · Fixed by ppy/osu-deploy#178

Comments

@Electrenator
Copy link

Type

Crash to desktop

Bug description

After letting Lazer update itself to the latest version I've been unable to start it back up again. When trying to start it again I'm getting the following logs within my journal;

Oct 09 15:04:37 stardesk systemd[922]: Started osu!.
Oct 09 15:04:38 stardesk systemd[922]: Reload requested from client PID 6574 ('systemctl') (unit app-appimagekit_cf7e0b04204b0acfe333243df0808668\[email protected])...
Oct 09 15:04:38 stardesk systemd[922]: Reloading...
Oct 09 15:04:38 stardesk systemd[922]: Reloading finished in 268 ms.
Oct 09 15:04:39 stardesk kernel: 3[6593]: segfault at 0 ip 0000000000451f8b sp 00007ffe66fe3a48 error 4 in memfd:runtime (deleted)[401000+5a000] likely on CPU 6 (core 0, socket 0)
Oct 09 15:04:39 stardesk kernel: Code: 48 89 f8 eb 04 48 83 c0 01 a8 07 74 09 80 38 00 75 f3 48 29 f8 c3 49 b8 ff fe fe fe fe fe fe fe 48 be 80 80 80 80 80 80 80 80 <48> 8b 10 4a 8d 0c 02 48 f7 d2 48 21 ca 48 85 f2 75 06 48 83 c0 08
Oct 09 15:04:39 stardesk systemd-coredump[6594]: Process 6593 (3) of user 1000 terminated abnormally with signal 11/SEGV, processing...
Oct 09 15:04:39 stardesk systemd[1]: Started Process Core Dump (PID 6594/UID 0).
Oct 09 15:04:39 stardesk systemd-coredump[6595]: [🡕] Process 6593 (3) of user 1000 dumped core.
                                                 
                                                 Stack trace of thread 6593:
                                                 #0  0x0000000000451f8b n/a (/memfd:runtime (deleted) + 0x51f8b)
                                                 #1  0x0000000000000000 n/a (n/a + 0x0)
                                                 ELF object binary architecture: AMD x86-64
Oct 09 15:04:39 stardesk systemd[1]: [email protected]: Deactivated successfully.
Oct 09 15:04:39 stardesk systemd[922]: app-appimagekit_cf7e0b04204b0acfe333243df0808668\[email protected]: Main process exited, code=exited, status=127/n/a
Oct 09 15:04:39 stardesk osu_7b22fc1399303e58b16541331aafbefe.AppImage[6592]: execv error: No such file or directory
Oct 09 15:04:39 stardesk systemd[922]: app-appimagekit_cf7e0b04204b0acfe333243df0808668\[email protected]: Failed with result 'exit-code'.
Oct 09 15:11:13 stardesk systemd[1]: [email protected]: Deactivated successfully.
Oct 09 15:11:13 stardesk systemd[922]: [email protected]: Failed with result 'exit-code'.

Some other log entries I found that might be of use;

Oct 09 14:54:11 stardesk systemd[922]: Started osu!.
Oct 09 14:54:12 stardesk systemd[922]: Reload requested from client PID 4798 ('systemctl') (unit app-appimagekit_cf7e0b04204b0acfe333243df0808668\[email protected])...
Oct 09 14:54:12 stardesk systemd[922]: Reloading...
Oct 09 14:54:12 stardesk systemd[922]: Reloading finished in 311 ms.
Oct 09 14:54:40 stardesk osu_7b22fc1399303e58b16541331aafbefe.AppImage[4998]: [14:54:40] [INFO] --
Oct 09 14:54:40 stardesk osu_7b22fc1399303e58b16541331aafbefe.AppImage[4998]: [14:54:40] [INFO] Starting Velopack Updater (0.0.598-g933b2ab)
Oct 09 14:54:40 stardesk osu_7b22fc1399303e58b16541331aafbefe.AppImage[4998]: [14:54:40] [INFO]     Location: /tmp/.mount_osu_7bBbZ6gg/usr/bin/UpdateNix
Oct 09 14:54:40 stardesk osu_7b22fc1399303e58b16541331aafbefe.AppImage[4998]: [14:54:40] [INFO]     CWD: /tmp/.mount_osu_7bBbZ6gg/usr/bin
Oct 09 14:54:40 stardesk osu_7b22fc1399303e58b16541331aafbefe.AppImage[4998]: [14:54:40] [INFO]     Verbose: false
Oct 09 14:54:40 stardesk osu_7b22fc1399303e58b16541331aafbefe.AppImage[4998]: [14:54:40] [INFO]     Silent: false
Oct 09 14:54:40 stardesk osu_7b22fc1399303e58b16541331aafbefe.AppImage[4998]: [14:54:40] [INFO]     Log File: None
Oct 09 14:54:40 stardesk osu_7b22fc1399303e58b16541331aafbefe.AppImage[4998]: [14:54:40] [INFO] Command: Apply
Oct 09 14:54:40 stardesk osu_7b22fc1399303e58b16541331aafbefe.AppImage[4998]: [14:54:40] [INFO]     Restart: true
Oct 09 14:54:40 stardesk osu_7b22fc1399303e58b16541331aafbefe.AppImage[4998]: [14:54:40] [INFO]     Wait: WaitPid(4818)
Oct 09 14:54:40 stardesk osu_7b22fc1399303e58b16541331aafbefe.AppImage[4998]: [14:54:40] [INFO]     Package: Some("/var/tmp/velopack/osulazer/packages/osulazer-2024.1009.1-linux-x64-full.nupkg")
Oct 09 14:54:40 stardesk osu_7b22fc1399303e58b16541331aafbefe.AppImage[4998]: [14:54:40] [INFO]     Exe Args: None
Oct 09 14:54:40 stardesk osu_7b22fc1399303e58b16541331aafbefe.AppImage[4998]: [14:54:40] [INFO] Waiting 60000ms for process (4818) to exit.
Oct 09 14:54:44 stardesk osu_7b22fc1399303e58b16541331aafbefe.AppImage[4998]: [14:54:44] [INFO] Parent process exited.
Oct 09 14:54:44 stardesk osu_7b22fc1399303e58b16541331aafbefe.AppImage[4998]: [14:54:44] [INFO] Getting ready to apply package to osulazer ver 2024.906.2: /var/tmp/velopack/osulazer/packages/osulazer-2024.1009.1-linux-x64-full.nupkg
Oct 09 14:54:44 stardesk osu_7b22fc1399303e58b16541331aafbefe.AppImage[4998]: [14:54:44] [INFO] Loading bundle from /var/tmp/velopack/osulazer/packages/osulazer-2024.1009.1-linux-x64-full.nupkg
Oct 09 14:54:45 stardesk osu_7b22fc1399303e58b16541331aafbefe.AppImage[4998]: [14:54:45] [INFO] Extracting bundle to temp file: /var/tmp/velopack_FiOec7r3
Oct 09 14:54:45 stardesk osu_7b22fc1399303e58b16541331aafbefe.AppImage[4998]: [14:54:45] [INFO] Chmod as executable
Oct 09 14:54:45 stardesk osu_7b22fc1399303e58b16541331aafbefe.AppImage[4998]: [14:54:45] [INFO] Moving temp file to target: /home/space-dragon/Applications/osu_7b22fc1399303e58b16541331aafbefe.AppImage
Oct 09 14:54:45 stardesk osu_7b22fc1399303e58b16541331aafbefe.AppImage[4998]: [14:54:45] [INFO] AppImage moved successfully to: /home/space-dragon/Applications/osu_7b22fc1399303e58b16541331aafbefe.AppImage
Oct 09 14:54:45 stardesk osu_7b22fc1399303e58b16541331aafbefe.AppImage[4998]: [14:54:45] [INFO] Package version 2024.1009.1 applied successfully.
Oct 09 14:54:46 stardesk appimagelauncherd[941]: Scheduling for (re-)integration: /home/space-dragon/Applications/osu_7b22fc1399303e58b16541331aafbefe.AppImage
Oct 09 14:54:46 stardesk systemd[922]: Reload requested from client PID 5041 ('systemctl') (unit app-appimagekit_cf7e0b04204b0acfe333243df0808668\[email protected])...
Oct 09 14:54:46 stardesk systemd[922]: Reloading...
Oct 09 14:54:46 stardesk systemd[922]: Reloading finished in 273 ms.
Oct 09 14:54:47 stardesk kernel: show_signal_msg: 55 callbacks suppressed
Oct 09 14:54:47 stardesk kernel: 4[5061]: segfault at 0 ip 0000000000451f8b sp 00007ffd520675a8 error 4 in memfd:runtime (deleted)[401000+5a000] likely on CPU 5 (core 6, socket 0)
Oct 09 14:54:47 stardesk kernel: Code: 48 89 f8 eb 04 48 83 c0 01 a8 07 74 09 80 38 00 75 f3 48 29 f8 c3 49 b8 ff fe fe fe fe fe fe fe 48 be 80 80 80 80 80 80 80 80 <48> 8b 10 4a 8d 0c 02 48 f7 d2 48 21 ca 48 85 f2 75 06 48 83 c0 08
Oct 09 14:54:47 stardesk systemd-coredump[5062]: Process 5061 (4) of user 1000 terminated abnormally with signal 11/SEGV, processing...
Oct 09 14:54:47 stardesk systemd[1]: Created slice Slice /system/systemd-coredump.
Oct 09 14:54:47 stardesk systemd[1]: Started Process Core Dump (PID 5062/UID 0).
Oct 09 14:54:47 stardesk systemd-coredump[5063]: [🡕] Process 5061 (4) of user 1000 dumped core.
                                                 
                                                 Stack trace of thread 5061:
                                                 #0  0x0000000000451f8b n/a (/memfd:runtime (deleted) + 0x51f8b)
                                                 #1  0x0000000000000000 n/a (n/a + 0x0)
                                                 ELF object binary architecture: AMD x86-64
Oct 09 14:54:47 stardesk osu_7b22fc1399303e58b16541331aafbefe.AppImage[5060]: execv error: No such file or directory
Oct 09 14:54:47 stardesk systemd[1]: [email protected]: Deactivated successfully.
Oct 09 14:54:47 stardesk systemd[922]: app-appimagekit_cf7e0b04204b0acfe333243df0808668\[email protected]: Consumed 1min 3.664s CPU time, 791.4M memory peak.
Oct 09 14:54:47 stardesk systemd[1]: tmp-.mount_osu_7bBbZ6gg.mount: Deactivated successfully.
Oct 09 14:55:01 stardesk appimagelauncherd[941]: Executing deferred operations
Oct 09 14:55:01 stardesk appimagelauncherd[941]: Integrating: /home/space-dragon/Applications/osu_7b22fc1399303e58b16541331aafbefe.AppImage
Oct 09 14:55:01 stardesk appimagelauncherd[941]: WARNING: No icons found at "usr/share/icons"
Oct 09 14:55:01 stardesk appimagelauncherd[941]: WARNING: Using .DirIcon as default app icon
Oct 09 14:55:01 stardesk appimagelauncherd[941]: ERROR: Entry doesn't exists: .DirIcon
Oct 09 14:55:01 stardesk appimagelauncherd[941]: ERROR: No icon was generated for: /home/space-dragon/Applications/osu_7b22fc1399303e58b16541331aafbefe.AppImage
Oct 09 14:55:01 stardesk appimagelauncherd[941]: ERROR: appimage_register_in_system : Entry doesn't exists: .DirIcon
Oct 09 14:55:01 stardesk appimagelauncherd[941]: Error: Failed to register AppImage in system via libappimage
Oct 09 14:55:01 stardesk appimagelauncherd[941]: ERROR: Failed to register AppImage in system
Oct 09 14:55:01 stardesk appimagelauncherd[941]: Cleaning up old desktop integration files
Oct 09 14:55:01 stardesk appimagelauncherd[941]: Updating desktop database and icon caches
Oct 09 14:55:01 stardesk appimagelauncherd[5099]: which: no gtk-update-icon-cache-3.0 in (/usr/local/bin:/usr/bin)
Oct 09 14:55:01 stardesk appimagelauncherd[5104]: which: no update-icon-caches in (/usr/local/bin:/usr/bin)
Oct 09 14:55:01 stardesk appimagelauncherd[941]: Done

Operating system info;

OS: Manjaro Linux 24.1.0 Xahea x86_64
DE: Plasma 6.1.5 [KF5 5.116.0] [Qt 5.15.15] (x11)
Kernel: 6.6.52-1-MANJARO

Screenshots or videos

No response

Version

2024.906.2.0

Logs

logs.zip

@bdach
Copy link
Collaborator

bdach commented Oct 9, 2024

@layfiel
Copy link

layfiel commented Oct 9, 2024

Having the same issue and my system journal looks about the same.

Oct 09 07:14:49 archlinux systemd[981]: Reload requested from client PID 8664 ('systemctl')...
Oct 09 07:14:49 archlinux systemd[981]: Reloading...
Oct 09 07:14:49 archlinux systemd[981]: Reloading finished in 124 ms.
Oct 09 07:14:49 archlinux kernel: 3[8672]: segfault at 0 ip 0000000000451f8b sp 00007fffdd296288 error 4 in memfd:runtime[51f8b,401000+5a000] likely on CPU 13 (core 1, socket 0)
Oct 09 07:14:49 archlinux kernel: Code: 48 89 f8 eb 04 48 83 c0 01 a8 07 74 09 80 38 00 75 f3 48 29 f8 c3 49 b8 ff fe fe fe fe fe fe fe 48 be 80 80 80 80 80 80 80 80 <48> 8b 10 4a 8d 0c 02 48 f7 d2 48 21 ca 48 85 f2 75 06 48 83 c0 08
Oct 09 07:14:49 archlinux systemd-coredump[8673]: Process 8672 (3) of user 1000 terminated abnormally with signal 11/SEGV, processing...
Oct 09 07:14:49 archlinux systemd[1]: Started Process Core Dump (PID 8673/UID 0).
Oct 09 07:14:50 archlinux systemd-coredump[8674]: [🡕] Process 8672 (3) of user 1000 dumped core.

                                                  Stack trace of thread 8672:
                                                  #0  0x0000000000451f8b n/a (/memfd:runtime (deleted) + 0x51f8b)
                                                  #1  0x0000000000000000 n/a (n/a + 0x0)
                                                  ELF object binary architecture: AMD x86-64
Oct 09 07:14:50 archlinux systemd[1]: [email protected]: Deactivated successfully.

Using appimagetool to try to see the contents of the appimage results in this.

~/Desktop/appimagetool-x86_64.AppImage --list ~/Desktop/osu.AppImage
appimagetool, continuous build (commit 5735cc5), build <local dev build> built on 2023-03-08 22:52:04 UTC
Squashfs image uses (null) compression, this version supports only xz, zlib.
sqfs_open_image error

I also checked earlier versions and the 2024.817.0 version is the latest appimage to work for me even though I had been running 2024.906.2.0 from the updater according to osu logs just fine.

Operating system info
OS: Arch Linux x86_64
WM: Hyprland
Kernel: Linux 6.11.2-zen1-1-zen

Version
2024.906.2.0

Logs
logs.zip

@bdach
Copy link
Collaborator

bdach commented Oct 9, 2024

The compression message makes me think #29810 might be the root cause here (zstd and zlib aren't the same right?)

@Electrenator
Copy link
Author

Note to add to this; after trying the suggestion to run ./osu.AppImage --appimage-extract (osu!Discord general) I've ran into the exact same problem as another user (osu!Discord general) of;

This doesn't look like a squashfs image.
Failed to open squashfs image

Also got the same sha256 for the file as mentioned by them (osu!Discord general) which is 1bbf8caf465dfe9f17515539686ecacb0bcb0f6873d8ddfb9046e6e6b960844c.

Using appimagetool to try to see the contents of the appimage results in this.

~/Desktop/appimagetool-x86_64.AppImage --list ~/Desktop/osu.AppImage
appimagetool, continuous build (commit 5735cc5), build <local dev build> built on 2023-03-08 22:52:04 UTC
Squashfs image uses (null) compression, this version supports only xz, zlib.
sqfs_open_image error

That's something I can't confirm however. Running appimagetool like you did over the Appimage I have returns execv error: No such file or directory. Which is also exactly the same message I get when running the appimage directly via the CLI

@smoogipoo
Copy link
Contributor

Ah. We needed to update Velopack...

@bdach
Copy link
Collaborator

bdach commented Oct 9, 2024

I haven't tested yet but surely - hopefully - this doesn't mean appimages are universally borked...?

@smoogipoo
Copy link
Contributor

smoogipoo commented Oct 9, 2024

Or... Not?

It works fine here. @Electrenator do you have zstd? What kernel are you using? I read the OP :)

@smoogipoo
Copy link
Contributor

smoogipoo commented Oct 9, 2024

@Electrenator can you test whether downloading 1009.1 directly (from https://github.com/ppy/osu/releases/tag/2024.1009.1) fixes it?

@Electrenator
Copy link
Author

Electrenator commented Oct 9, 2024

It works fine here. @Electrenator do you have zstd? What kernel are you using?

The kernel I use is 6.6.52-1-MANJARO and the installed zstd is Zstandard CLI (64-bit) v1.5.6

Trying the direct install right now

@smyalygames
Copy link

I am not entirely sure if this is the culprit, but the osu AppImage not opening on my Arch system is related to this commit: ppy/osu-deploy@504958b

Building the AppImage on commits prior to this works and runs for me

@Electrenator
Copy link
Author

@Electrenator can you test whether downloading 1009.1 directly (from https://github.com/ppy/osu/releases/tag/2024.1009.1) fixes it?

No, that doesn't work still getting the following message when running ./osu.AppImage --appimage-extract;

This doesn't look like a squashfs image.
Failed to open squashfs image

Within journalctl I'm getting the same message as before when clicking "run once";

Oct 09 17:41:35 stardesk systemd[922]: Reload requested from client PID 33325 ('systemctl') (unit [email protected])...
Oct 09 17:41:35 stardesk systemd[922]: Reloading...
Oct 09 17:41:36 stardesk systemd[922]: Reloading finished in 246 ms.
Oct 09 17:41:37 stardesk kernel: 3[33344]: segfault at 0 ip 0000000000451f8b sp 00007ffc6a43eee8 error 4 in memfd:runtime (deleted)[401000+5a000] likely on CPU 9 (core 4, socket 0)
Oct 09 17:41:37 stardesk kernel: Code: 48 89 f8 eb 04 48 83 c0 01 a8 07 74 09 80 38 00 75 f3 48 29 f8 c3 49 b8 ff fe fe fe fe fe fe fe 48 be 80 80 80 80 80 80 80 80 <48> 8b 10 4a 8d 0c 02 48 f7 d2 48 21 ca 48 85 f2 75 06 48 83 c0 08
Oct 09 17:41:37 stardesk systemd-coredump[33345]: Process 33344 (3) of user 1000 terminated abnormally with signal 11/SEGV, processing...
Oct 09 17:41:37 stardesk systemd[1]: Started Process Core Dump (PID 33345/UID 0).
Oct 09 17:41:37 stardesk systemd-coredump[33346]: [🡕] Process 33344 (3) of user 1000 dumped core.
                                                  
                                                  Stack trace of thread 33344:
                                                  #0  0x0000000000451f8b n/a (/memfd:runtime (deleted) + 0x51f8b)
                                                  #1  0x0000000000000000 n/a (n/a + 0x0)
                                                  ELF object binary architecture: AMD x86-64
Oct 09 17:41:37 stardesk systemd[1]: [email protected]: Deactivated successfully.

Trying to integrate this appimage into my system gives another message however;

kf.i18n: KLocalizedString: Using an empty domain, fix the code. msgid: "&Yes" msgid_plural: "" msgctxt: "@action:button"
kf.i18n: KLocalizedString: Using an empty domain, fix the code. msgid: "&No" msgid_plural: "" msgctxt: "@action:button"
WARNING: No icons found at "usr/share/icons"
WARNING: Using .DirIcon as default app icon
ERROR: Entry doesn't exists: .DirIcon
ERROR: No icon was generated for: /home/space-dragon/Applications/osu(1)_a0235e397a124b3d7deaee8a46d43a79.AppImage
ERROR: appimage_register_in_system : Entry doesn't exists: .DirIcon
which: no gtk-update-icon-cache-3.0 in (/home/space-dragon/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/cuda/bin:/opt/cuda/nsight_compute:/opt/cuda/nsight_systems/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)
which: no update-icon-caches in (/home/space-dragon/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/cuda/bin:/opt/cuda/nsight_compute:/opt/cuda/nsight_systems/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)

@smoogipoo
Copy link
Contributor

Try running https://github.com/ppy/osu/releases/tag/2024.817.0, does it also fail?

@Electrenator
Copy link
Author

Electrenator commented Oct 9, 2024

Try running https://github.com/ppy/osu/releases/tag/2024.817.0, does it also fail?

This works fine! Been running fine on 2024.906.2.0 yesterday too but seems like I'm getting the same issue when I re-download it via https://github.com/ppy/osu/releases/tag/2024.906.2 right now. No changes to my system happened between yesterday and right now except for oath-toolkit and osu! updating together with a restart.

EDIT; 2024.817.0 is currently the highest version working for me right now

@smyalygames
Copy link

smyalygames commented Oct 9, 2024

I found a workaround for playing 2024.1009.1 which requires removing AppImageLauncher, and restarting my system. Not sure if it would break stuff on Manjaro, but it works fine on Arch

@Electrenator
Copy link
Author

Electrenator commented Oct 9, 2024

I found a workaround for playing 2024.1009.1 which requires removing AppImageLauncher, and restarting my system. Not sure if it would break stuff on Manjaro, but it works fine on Arch

Running a new build without AppImageLauncher installed does seem to work indeed so something between AppImageLauncher and the current osu build doesn't want to work together

@smoogipoo
Copy link
Contributor

Thanks all for the help investigating this. I've unlisted the build for the time being until we have a fix.

Please use an older build for now: https://github.com/ppy/osu/releases/tag/2024.906.2

@smoogipoo
Copy link
Contributor

New (fixed) build is now live.

@Electrenator
Copy link
Author

Electrenator commented Oct 9, 2024

This wasn't fixed yet as talked about in osu!dev general.

Tried some more things myself with removing the downloaded update within /var/tmp/velopack/osulazer/ to let velopack not mess with testing. Each time it looks like the 2024.906.2.0 appimage works without problems but the latest (2024.1009.1) build keeps returning This doesn't look like a squashfs image. with ./osu.AppImage --appimage-extract.

Also tried building the appimage locally but seem to have ran into some issues getting the dotnet sdk to work as needed for velopack. Did manage to get a prod build of the latest main working so think it really just has to do with the AppImage creation and them being opened by AppImageLauncher.

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

Successfully merging a pull request may close this issue.

5 participants