Skip to content

broken mountpoint can remain #22

@Samueru-sama

Description

@Samueru-sama

There was a report at Eden from an user that could reliably cause the Eden.AppImage to fail with Illegal instruction (core dumped).

Step to reproduce:

  • Have Eden running in the Steamdeck and then force close it by switch to desktop mode.

What's interesting is that if the user downloads another AppImage that uses uruntime, and renames it to have same name as the Eden AppImage, that other appimage is also broken.

Rebooting the system fixes the issue. So this looks like some stale mount issue??

Here is the strace output:

execve("./Eden.AppImage", ["./Eden.AppImage"], 0x7ffc2b5843d8 /* 62 vars */) = 0
arch_prctl(ARCH_SET_FS, 0x7fc3aec8e090) = 0
set_tid_address(0x7fc3aec8e238)         = 42205
poll([{fd=0, events=0}, {fd=1, events=0}, {fd=2, events=0}], 3, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fc3aeb75d99}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
mmap(NULL, 976918, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc3aea31000
brk(NULL)                               = 0x555563613000
brk(0x555563615000)                     = 0x555563615000
mmap(0x555563613000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x555563613000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc3aea30000
readlink("/proc/self/exe", "/home/deck/Applications/Eden.App"..., 256) = 37
stat("", 0x7ffe00258af0)                = -1 ENOENT (No such file or directory)
open("/home/deck/Applications/Eden.AppImage", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
read(3, "\177ELF\2\1\1\0AI\2\0\0\0\0\0\3\0>\0\1\0\0\0\300t\0\0\0\0\0\0"..., 64) = 64
mmap(NULL, 1495556, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc3ae8c2000
lseek(3, 0, SEEK_SET)                   = 0
read(3, "\177ELF\2\1\1\0AI\2\0\0\0\0\0\3\0>\0\1\0\0\0\300t\0\0\0\0\0\0"..., 1495536) = 1495536
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc3ae8c1000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc3ae8bf000
munmap(0x7fc3ae8c1000, 4096)            = 0
munmap(0x7fc3ae8bf000, 8192)            = 0
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc3ae8c1000
stat("/home/deck/Applications/Eden.AppImage.env", 0x7ffe00258af0) = -1 ENOENT (No such file or directory)
open("/home/deck/Applications/Eden.AppImage", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
lseek(3, 1495536, SEEK_SET)             = 1495536
read(3, "DWAR", 4)                      = 4
close(3)                                = 0
getuid()                                = 1000
getgid()                                = 1000
open("/home/deck/Applications/Eden.AppImage", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
stat("/home/deck/Applications/Eden.AppImage", {st_mode=S_IFREG|0744, st_size=63662274, ...}) = 0
lseek(3, 1495536, SEEK_SET)             = 1495536
read(3, "DWARFS\2\5\375>\334\275!Q\267\306", 16) = 16
lseek(3, 31083369, SEEK_SET)            = 31083369
read(3, ";\n%\nV\275\2210\371^s\351n;\3\261", 16) = 16
lseek(3, 62166722, SEEK_SET)            = 62166722
read(3, "\354\2034\251X\35qPF\203\227\336\316\304\265X", 16) = 16
close(3)                                = 0
munmap(0x7fc3ae8c2000, 1499136)         = 0
open("/tmp/.mount_Edenremp11346923143553645286.un.pid", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
readlink("/tmp", 0x7ffe00257c60, 4060)  = -1 EINVAL (Invalid argument)
readlink("/tmp/.mount_Edenremp11346923143553645286", 0x7ffe00257c60, 4096) = -1 EINVAL (Invalid argument)
stat("/tmp/.mount_Edenremp11346923143553645286", {st_mode=S_IFDIR|0755, st_size=11, ...}) = 0
stat("/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=1740, ...}) = 0
open("/tmp/.mount_Edenremp11346923143553645286.pid", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=4, ...}) = 0
read(3, "9198", 4)                      = 4
read(3, "", 32)                         = 0
close(3)                                = 0
stat("/tmp/.mount_Edenremp11346923143553645286/AppRun", {st_mode=S_IFREG|0755, st_size=2159, ...}) = 0
getcwd("/home/deck/Applications", 512)  = 24
stat("/home/deck/Applications/Eden.AppImage.share", 0x7ffe002589e0) = -1 ENOENT (No such file or directory)
stat("/home/deck/Applications/Eden.AppImage.config", 0x7ffe002589e0) = -1 ENOENT (No such file or directory)
stat("/home/deck/Applications/Eden.AppImage.cache", 0x7ffe002589e0) = -1 ENOENT (No such file or directory)
stat("/home/deck/Applications/Eden.AppImage.home", 0x7ffe002589e0) = -1 ENOENT (No such file or directory)
readlink("/tmp", 0x7ffe00257d30, 4053)  = -1 EINVAL (Invalid argument)
readlink("/tmp/.mount_Edenremp11346923143553645286", 0x7ffe00257d30, 4089) = -1 EINVAL (Invalid argument)
readlink("/tmp/.mount_Edenremp11346923143553645286/AppRun", 0x7ffe00257d30, 4096) = -1 EINVAL (Invalid argument)
rt_sigprocmask(SIG_BLOCK, ~[], [], 8)   = 0
pipe2([3, 4], O_CLOEXEC)                = 0
clone(child_stack=0x7ffe00258ae8, flags=CLONE_VM|CLONE_VFORK|SIGCHLDstrace: Process 42206 attached
 <unfinished ...>
[pid 42206] close(3)                    = 0
[pid 42206] rt_sigaction(SIGPIPE, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7fc3aeb75d99}, NULL, 8) = 0
[pid 42206] fcntl(4, F_SETFD, FD_CLOEXEC) = 0
[pid 42206] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
[pid 42206] execve("/tmp/.mount_Edenremp11346923143553645286/AppRun", ["/tmp/.mount_Edenremp113469231435"...], 0x7fc3ae8c1080 /* 69 vars */) = -1 ENOTCONN (Transport endpoint is not connected)
[pid 42206] write(4, "k\0\0\0", 4)      = 4
[pid 42206] exit_group(127)             = ?
[pid 42205] <... clone resumed>)        = 42206
[pid 42206] +++ exited with 127 +++
close(4)                                = 0
read(3, "k\0\0\0", 4)                   = 4
wait4(42206, [{WIFEXITED(s) && WEXITSTATUS(s) == 127}], 0, NULL) = 42206
close(3)                                = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=42206, si_uid=1000, si_status=127, si_utime=0, si_stime=0} ---
--- SIGILL {si_signo=SIGILL, si_code=ILL_ILLOPN, si_addr=0x7fc3aeb3dd7b} ---
+++ killed by SIGILL (core dumped) +++
Illegal instruction (core dumped)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions