deepnest-io / Deepnest

An open source nesting application for laser cutters, plasma cutters and other CNC machines.
Other
94 stars 22 forks source link

Segmentation fault on AppImage for Deepnest-1.0.5-linux.zip #138

Closed andres-hurtado-lopez closed 5 months ago

andres-hurtado-lopez commented 9 months ago

Hi:

I was trying to download and run from Deepnest's webpage the Appiamge from

https://deepnest.io/Deepnest-1.0.5-linux.zip

I gave execution permissions to the appimage a single message appeared:

andresh@andres-hurtado-lopez:~/appimages$ chmod +x Deepnest-1.0.5-x86_64.AppImage andresh@andres-hurtado-lopez:~/appimages$ ./Deepnest-1.0.5-x86_64.AppImage Segmentation fault

Because of that I ran it with an strace to see what was happening inside an I got this:

andresh@andres-hurtado-lopez:~/appimages$ strace -f ./Deepnest-1.0.5-x86_64.AppImage execve("./Deepnest-1.0.5-x86_64.AppImage", ["./Deepnest-1.0.5-x86_64.AppImage"], 0x7fff77a4e9c8 /* 43 vars */) = 0 brk(NULL) = 0x1577000 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f6e2ff17000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=153571, ...}, AT_EMPTY_PATH) = 0 mmap(NULL, 153571, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f6e2fef1000 close(3) = 0 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832 newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=14480, ...}, AT_EMPTY_PATH) = 0 mmap(NULL, 16400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f6e2feec000 mmap(0x7f6e2feed000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x7f6e2feed000 mmap(0x7f6e2feee000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f6e2feee000 mmap(0x7f6e2feef000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f6e2feef000 close(3) = 0 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libz.so.1", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832 newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=121280, ...}, AT_EMPTY_PATH) = 0 mmap(NULL, 123280, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f6e2fecd000 mmap(0x7f6e2fed0000, 77824, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f6e2fed0000 mmap(0x7f6e2fee3000, 28672, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16000) = 0x7f6e2fee3000 mmap(0x7f6e2feea000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1c000) = 0x7f6e2feea000 close(3) = 0 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832 newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=14480, ...}, AT_EMPTY_PATH) = 0 mmap(NULL, 16400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f6e2fec8000 mmap(0x7f6e2fec9000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x7f6e2fec9000 mmap(0x7f6e2feca000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f6e2feca000 mmap(0x7f6e2fecb000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f6e2fecb000 close(3) = 0 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220x\2\0\0\0\0\0"..., 832) = 832 pread64(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784 newfstatat(3, "", {st_mode=S_IFREG|0755, st_size=1926256, ...}, AT_EMPTY_PATH) = 0 pread64(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784 mmap(NULL, 1974096, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f6e2fce6000 mmap(0x7f6e2fd0c000, 1396736, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x26000) = 0x7f6e2fd0c000 mmap(0x7f6e2fe61000, 344064, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17b000) = 0x7f6e2fe61000 mmap(0x7f6e2feb5000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1cf000) = 0x7f6e2feb5000 mmap(0x7f6e2febb000, 53072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f6e2febb000 close(3) = 0 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f6e2fce4000 arch_prctl(ARCH_SET_FS, 0x7f6e2fce5040) = 0 set_tid_address(0x7f6e2fce5310) = 903037 set_robust_list(0x7f6e2fce5320, 24) = 0 rseq(0x7f6e2fce5960, 0x20, 0, 0x53053053) = 0 mprotect(0x7f6e2feb5000, 16384, PROT_READ) = 0 mprotect(0x7f6e2fecb000, 4096, PROT_READ) = 0 mprotect(0x7f6e2feea000, 4096, PROT_READ) = 0 mprotect(0x7f6e2feef000, 4096, PROT_READ) = 0 mprotect(0x7f6e2ff49000, 8192, PROT_READ) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 munmap(0x7f6e2fef1000, 153571) = 0 openat(AT_FDCWD, "/proc/self/exe", O_RDONLY) = 3 pread64(3, "\177ELF\2\1\1\0AI\2\0\0\0\0\0", 16, 0) = 16 pread64(3, "\177ELF\2\1\1\0AI\2\0\0\0\0\0\2\0>\0\1\0\0\0\330\"@\0\0\0\0\0"..., 64, 0) = 64 pread64(3, "\1\0\0\0\3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\327}\1\0\0\0\0\0"..., 64, 99960) = 64 close(3) = 0 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=153571, ...}, AT_EMPTY_PATH) = 0 mmap(NULL, 153571, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f6e2fef1000 close(3) = 0 getrandom("\x39\xd6\x00\x67\x36\x66\x4d\x25", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x1577000 brk(0x1598000) = 0x1598000 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libfuse.so.2", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832 newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=264312, ...}, AT_EMPTY_PATH) = 0 mmap(NULL, 262432, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f6e2fca3000 mmap(0x7f6e2fcab000, 114688, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) = 0x7f6e2fcab000 mmap(0x7f6e2fcc7000, 40960, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x24000) = 0x7f6e2fcc7000 mmap(0x7f6e2fcd1000, 77824, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2e000) = 0x7f6e2fcd1000 close(3) = 0 mprotect(0x7f6e2fcd1000, 73728, PROT_READ) = 0 munmap(0x7f6e2fef1000, 153571) = 0 mkdir("/tmp/.mount_DeepneTYdwyZ", 0700) = 0 pipe2([3, 4], 0) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f6e2fce5310) = 903038 strace: Process 903038 attached [pid 903037] close(4) = 0 [pid 903038] set_robust_list(0x7f6e2fce5320, 24 <unfinished ...> [pid 903037] read(3, <unfinished ...> [pid 903038] <... set_robust_list resumed>) = 0 [pid 903038] close(3) = 0 [pid 903038] readlink("/proc", 0x7ffe4728bce0, 1023) = -1 EINVAL (Invalid argument) [pid 903038] readlink("/proc/self", "903038", 1023) = 6 [pid 903038] readlink("/proc/903038", 0x7ffe4728bce0, 1023) = -1 EINVAL (Invalid argument) [pid 903038] readlink("/proc/903038/exe", "/home/andresh/appimages/Deepnest"..., 1023) = 54 [pid 903038] readlink("/home", 0x7ffe4728bce0, 1023) = -1 EINVAL (Invalid argument) [pid 903038] readlink("/home/andresh", 0x7ffe4728bce0, 1023) = -1 EINVAL (Invalid argument) [pid 903038] readlink("/home/andresh/appimages", 0x7ffe4728bce0, 1023) = -1 EINVAL (Invalid argument) [pid 903038] readlink("/home/andresh/appimages/Deepnest-1.0.5-x86_64.AppImage", 0x7ffe4728bce0, 1023) = -1 EINVAL (Invalid argument) [pid 903038] readlink("/tmp", 0x7ffe4728a970, 1023) = -1 EINVAL (Invalid argument) [pid 903038] readlink("/tmp/.mount_DeepneTYdwyZ", 0x7ffe4728a970, 1023) = -1 EINVAL (Invalid argument) [pid 903038] openat(AT_FDCWD, "/home/andresh/appimages/Deepnest-1.0.5-x86_64.AppImage", O_RDONLY) = 3 [pid 903038] pread64(3, "hsqsb\0\0\0\242d\177[\0\0\20\0\0\0\0\0\4\0\24\0\320\2\1\0\4\0\0\0"..., 96, 100024) = 96 [pid 903038] pread64(3, "6\f\213\2\0\0\0\0", 8, 42767092) = 8 [pid 903038] pread64(3, "8\v\213\2\0\0\0\0", 8, 42767078) = 8 [pid 903038] openat(AT_FDCWD, "/dev/null", O_RDWR) = 5 [pid 903038] close(5) = 0 [pid 903038] newfstatat(AT_FDCWD, "/tmp/.mount_DeepneTYdwyZ", {st_mode=S_IFDIR|0700, st_size=4096, ...}, 0) = 0 [pid 903038] openat(AT_FDCWD, "/tmp/.mount_DeepneTYdwyZ", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 5 [pid 903038] newfstatat(5, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 903038] getdents64(5, 0x1578ae0 /* 2 entries */, 32768) = 48 [pid 903038] getdents64(5, 0x1578ae0 /* 0 entries */, 32768) = 0 [pid 903038] close(5) = 0 [pid 903038] openat(AT_FDCWD, "/dev/fuse", O_RDWR) = 5 [pid 903038] getgid() = 1000 [pid 903038] getuid() = 1000 [pid 903038] mount("Deepnest-1.0.5-x86_64.AppImage", "/tmp/.mount_DeepneTYdwyZ", "fuse.Deepnest-1.0.5-x86_64.AppIm"..., MS_RDONLY|MS_NOSUID|MS_NODEV, "fd=5,rootmode=40000,user_id=1000"...) = -1 EPERM (Operation not permitted) [pid 903038] close(5) = 0 [pid 903038] socketpair(AF_UNIX, SOCK_STREAM, 0, [5, 6]) = 0 [pid 903038] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f6e2fce5310) = 903039 strace: Process 903039 attached [pid 903039] set_robust_list(0x7f6e2fce5320, 24 <unfinished ...> [pid 903038] close(5 <unfinished ...> [pid 903039] <... set_robust_list resumed>) = 0 [pid 903038] <... close resumed>) = 0 [pid 903038] recvmsg(6, <unfinished ...> [pid 903039] openat(AT_FDCWD, "/dev/null", O_RDONLY) = 7 [pid 903039] dup2(7, 1) = 1 [pid 903039] dup2(7, 2) = 2 [pid 903039] close(6) = 0 [pid 903039] fcntl(5, F_SETFD, 0) = 0 [pid 903039] execve("/bin/fusermount", ["fusermount", "-o", "ro,nosuid,nodev,subtype=Deepnest"..., "--", "/tmp/.mount_DeepneTYdwyZ"], 0x1578bc0 /* 44 vars */) = 0 [pid 903039] access("/etc/suid-debug", F_OK) = -1 ENOENT (No such file or directory) [pid 903039] brk(NULL) = 0x562f0017a000 [pid 903039] fcntl(0, F_GETFD) = 0 [pid 903039] fcntl(1, F_GETFD) = 0 [pid 903039] fcntl(2, F_GETFD) = 0 [pid 903039] access("/etc/suid-debug", F_OK) = -1 ENOENT (No such file or directory) [pid 903039] mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f41093e2000 [pid 903039] access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) [pid 903039] openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 6 [pid 903039] newfstatat(6, "", {st_mode=S_IFREG|0644, st_size=153571, ...}, AT_EMPTY_PATH) = 0 [pid 903039] mmap(NULL, 153571, PROT_READ, MAP_PRIVATE, 6, 0) = 0x7f41093bc000 [pid 903039] close(6) = 0 [pid 903039] openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 6 [pid 903039] read(6, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220x\2\0\0\0\0\0"..., 832) = 832 [pid 903039] pread64(6, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784 [pid 903039] newfstatat(6, "", {st_mode=S_IFREG|0755, st_size=1926256, ...}, AT_EMPTY_PATH) = 0 [pid 903039] pread64(6, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784 [pid 903039] mmap(NULL, 1974096, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 6, 0) = 0x7f41091da000 [pid 903039] mmap(0x7f4109200000, 1396736, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 6, 0x26000) = 0x7f4109200000 [pid 903039] mmap(0x7f4109355000, 344064, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 6, 0x17b000) = 0x7f4109355000 [pid 903039] mmap(0x7f41093a9000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 6, 0x1cf000) = 0x7f41093a9000 [pid 903039] mmap(0x7f41093af000, 53072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f41093af000 [pid 903039] close(6) = 0 [pid 903039] mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f41091d7000 [pid 903039] arch_prctl(ARCH_SET_FS, 0x7f41091d7740) = 0 [pid 903039] set_tid_address(0x7f41091d7a10) = 903039 [pid 903039] set_robust_list(0x7f41091d7a20, 24) = 0 [pid 903039] rseq(0x7f41091d8060, 0x20, 0, 0x53053053) = 0 [pid 903039] mprotect(0x7f41093a9000, 16384, PROT_READ) = 0 [pid 903039] mprotect(0x562efeb8e000, 4096, PROT_READ) = 0 [pid 903039] mprotect(0x7f4109414000, 8192, PROT_READ) = 0 [pid 903039] prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 [pid 903039] munmap(0x7f41093bc000, 153571) = 0 [pid 903039] getrandom("\xed\x60\x80\x75\x44\x9f\x9a\xe9", 8, GRND_NONBLOCK) = 8 [pid 903039] brk(NULL) = 0x562f0017a000 [pid 903039] brk(0x562f0019b000) = 0x562f0019b000 [pid 903039] getuid() = 1000 [pid 903039] getuid() = 1000 [pid 903039] setfsuid(1000) = 1000 [pid 903039] getgid() = 1000 [pid 903039] setfsgid(1000) = 1000 [pid 903039] readlink("/tmp", 0x7fffc2caa880, 1023) = -1 EINVAL (Invalid argument) [pid 903039] chdir("/") = 0 [pid 903039] getuid() = 1000 [pid 903039] setfsuid(1000) = 1000 [pid 903039] setfsgid(1000) = 1000 [pid 903039] umask(033) = 022 [pid 903039] getuid() = 1000 [pid 903039] getuid() = 1000 [pid 903039] setfsuid(1000) = 1000 [pid 903039] getgid() = 1000 [pid 903039] setfsgid(1000) = 1000 [pid 903039] openat(AT_FDCWD, "/dev/fuse", O_RDWR) = 6 [pid 903039] getuid() = 1000 [pid 903039] setfsuid(1000) = 1000 [pid 903039] setfsgid(1000) = 1000 [pid 903039] getuid() = 1000 [pid 903039] getuid() = 1000 [pid 903039] setfsuid(1000) = 1000 [pid 903039] getgid() = 1000 [pid 903039] setfsgid(1000) = 1000 [pid 903039] openat(AT_FDCWD, "/etc/fuse.conf", O_RDONLY) = 8 [pid 903039] newfstatat(8, "", {st_mode=S_IFREG|0644, st_size=280, ...}, AT_EMPTY_PATH) = 0 [pid 903039] read(8, "# /etc/fuse.conf - Configuration"..., 4096) = 280 [pid 903039] read(8, "", 4096) = 0 [pid 903039] close(8) = 0 [pid 903039] getuid() = 1000 [pid 903039] openat(AT_FDCWD, "/etc/mtab", O_RDONLY|O_CLOEXEC) = 8 [pid 903039] newfstatat(8, "", {st_mode=S_IFREG|0444, st_size=0, ...}, AT_EMPTY_PATH) = 0 [pid 903039] read(8, "sysfs /sys sysfs rw,nosuid,nodev"..., 1024) = 1024 [pid 903039] read(8, "oto=5,direct,pipe_ino=6841 0 0\nh"..., 1024) = 1001 [pid 903039] read(8, "", 1024) = 0 [pid 903039] close(8) = 0 [pid 903039] newfstatat(AT_FDCWD, "/tmp/.mount_DeepneTYdwyZ", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 903039] getuid() = 1000 [pid 903039] chdir("/tmp/.mount_DeepneTYdwyZ") = 0 [pid 903039] newfstatat(AT_FDCWD, ".", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 903039] access(".", W_OK) = 0 [pid 903039] statfs(".", {f_type=EXT2_SUPER_MAGIC, f_bsize=4096, f_blocks=245469053, f_bfree=40619790, f_bavail=28132213, f_files=62423040, f_ffree=59443168, f_fsid={val=[0x3b872784, 0x4f2c2b29]}, f_namelen=255, f_frsize=4096, f_flags=ST_VALID|ST_RELATIME}) = 0 [pid 903039] getuid() = 1000 [pid 903039] setfsuid(1000) = 1000 [pid 903039] setfsgid(1000) = 1000 [pid 903039] getuid() = 1000 [pid 903039] getuid() = 1000 [pid 903039] getuid() = 1000 [pid 903039] getuid() = 1000 [pid 903039] getuid() = 1000 [pid 903039] socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 8 [pid 903039] connect(8, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory) [pid 903039] close(8) = 0 [pid 903039] socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 8 [pid 903039] connect(8, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory) [pid 903039] close(8) = 0 [pid 903039] newfstatat(AT_FDCWD, "/etc/nsswitch.conf", {st_mode=S_IFREG|0644, st_size=553, ...}, 0) = 0 [pid 903039] newfstatat(AT_FDCWD, "/", {st_mode=S_IFDIR|0755, st_size=4096, ...}, 0) = 0 [pid 903039] openat(AT_FDCWD, "/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) = 8 [pid 903039] newfstatat(8, "", {st_mode=S_IFREG|0644, st_size=553, ...}, AT_EMPTY_PATH) = 0 [pid 903039] read(8, "# /etc/nsswitch.conf\n#\n# Example"..., 4096) = 553 [pid 903039] read(8, "", 4096) = 0 [pid 903039] newfstatat(8, "", {st_mode=S_IFREG|0644, st_size=553, ...}, AT_EMPTY_PATH) = 0 [pid 903039] close(8) = 0 [pid 903039] openat(AT_FDCWD, "/etc/passwd", O_RDONLY|O_CLOEXEC) = 8 [pid 903039] newfstatat(8, "", {st_mode=S_IFREG|0644, st_size=2678, ...}, AT_EMPTY_PATH) = 0 [pid 903039] lseek(8, 0, SEEK_SET) = 0 [pid 903039] read(8, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 2678 [pid 903039] close(8) = 0 [pid 903039] getgid() = 1000 [pid 903039] getuid() = 1000 [pid 903039] openat(AT_FDCWD, ".", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 8 [pid 903039] newfstatat(8, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 903039] getdents64(8, 0x562f0017df40 /* 2 entries */, 32768) = 48 [pid 903039] getdents64(8, 0x562f0017df40 /* 0 entries */, 32768) = 0 [pid 903039] close(8) = 0 [pid 903039] mount("Deepnest-1.0.5-x86_64.AppImage", ".", "fuse.Deepnest-1.0.5-x86_64.AppIm"..., MS_RDONLY|MS_NOSUID|MS_NODEV, "fd=6,rootmode=40000,user_id=1000"...) = -1 EPERM (Operation not permitted) [pid 903039] write(2, "fusermount: mount failed: Operat"..., 50) = -1 EBADF (Bad file descriptor) [pid 903039] close(6) = 0 [pid 903039] exit_group(1) = ? [pid 903039] +++ exited with 1 +++ [pid 903038] <... recvmsg resumed>{msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="", iov_len=1}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 0 [pid 903038] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=903039, si_uid=1000, si_status=1, si_utime=0, si_stime=0} --- [pid 903038] close(6) = 0 [pid 903038] wait4(903039, NULL, 0, NULL) = 903039 [pid 903038] socketpair(AF_UNIX, SOCK_STREAM, 0, [5, 6]) = 0 [pid 903038] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f6e2fce5310) = 903040 strace: Process 903040 attached [pid 903038] close(5) = 0 [pid 903040] set_robust_list(0x7f6e2fce5320, 24 <unfinished ...> [pid 903038] recvmsg(6, <unfinished ...> [pid 903040] <... set_robust_list resumed>) = 0 [pid 903040] close(6) = 0 [pid 903040] fcntl(5, F_SETFD, 0) = 0 [pid 903040] execve("/bin/fusermount", ["fusermount", "-o", "ro,nosuid,nodev", "--", "/tmp/.mount_DeepneTYdwyZ"], 0x1578bc0 /* 44 vars */) = 0 [pid 903040] access("/etc/suid-debug", F_OK) = -1 ENOENT (No such file or directory) [pid 903040] brk(NULL) = 0x55ade3be3000 [pid 903040] fcntl(0, F_GETFD) = 0 [pid 903040] fcntl(1, F_GETFD) = 0 [pid 903040] fcntl(2, F_GETFD) = 0 [pid 903040] access("/etc/suid-debug", F_OK) = -1 ENOENT (No such file or directory) [pid 903040] mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fabb1d18000 [pid 903040] access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) [pid 903040] openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 6 [pid 903040] newfstatat(6, "", {st_mode=S_IFREG|0644, st_size=153571, ...}, AT_EMPTY_PATH) = 0 [pid 903040] mmap(NULL, 153571, PROT_READ, MAP_PRIVATE, 6, 0) = 0x7fabb1cf2000 [pid 903040] close(6) = 0 [pid 903040] openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 6 [pid 903040] read(6, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220x\2\0\0\0\0\0"..., 832) = 832 [pid 903040] pread64(6, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784 [pid 903040] newfstatat(6, "", {st_mode=S_IFREG|0755, st_size=1926256, ...}, AT_EMPTY_PATH) = 0 [pid 903040] pread64(6, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784 [pid 903040] mmap(NULL, 1974096, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 6, 0) = 0x7fabb1b10000 [pid 903040] mmap(0x7fabb1b36000, 1396736, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 6, 0x26000) = 0x7fabb1b36000 [pid 903040] mmap(0x7fabb1c8b000, 344064, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 6, 0x17b000) = 0x7fabb1c8b000 [pid 903040] mmap(0x7fabb1cdf000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 6, 0x1cf000) = 0x7fabb1cdf000 [pid 903040] mmap(0x7fabb1ce5000, 53072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fabb1ce5000 [pid 903040] close(6) = 0 [pid 903040] mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fabb1b0d000 [pid 903040] arch_prctl(ARCH_SET_FS, 0x7fabb1b0d740) = 0 [pid 903040] set_tid_address(0x7fabb1b0da10) = 903040 [pid 903040] set_robust_list(0x7fabb1b0da20, 24) = 0 [pid 903040] rseq(0x7fabb1b0e060, 0x20, 0, 0x53053053) = 0 [pid 903040] mprotect(0x7fabb1cdf000, 16384, PROT_READ) = 0 [pid 903040] mprotect(0x55ade2002000, 4096, PROT_READ) = 0 [pid 903040] mprotect(0x7fabb1d4a000, 8192, PROT_READ) = 0 [pid 903040] prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 [pid 903040] munmap(0x7fabb1cf2000, 153571) = 0 [pid 903040] getrandom("\x82\xf1\xe6\x24\xe6\x5e\xf1\x9e", 8, GRND_NONBLOCK) = 8 [pid 903040] brk(NULL) = 0x55ade3be3000 [pid 903040] brk(0x55ade3c04000) = 0x55ade3c04000 [pid 903040] getuid() = 1000 [pid 903040] getuid() = 1000 [pid 903040] setfsuid(1000) = 1000 [pid 903040] getgid() = 1000 [pid 903040] setfsgid(1000) = 1000 [pid 903040] readlink("/tmp", 0x7fff777ffac0, 1023) = -1 EINVAL (Invalid argument) [pid 903040] chdir("/") = 0 [pid 903040] getuid() = 1000 [pid 903040] setfsuid(1000) = 1000 [pid 903040] setfsgid(1000) = 1000 [pid 903040] umask(033) = 022 [pid 903040] getuid() = 1000 [pid 903040] getuid() = 1000 [pid 903040] setfsuid(1000) = 1000 [pid 903040] getgid() = 1000 [pid 903040] setfsgid(1000) = 1000 [pid 903040] openat(AT_FDCWD, "/dev/fuse", O_RDWR) = 6 [pid 903040] getuid() = 1000 [pid 903040] setfsuid(1000) = 1000 [pid 903040] setfsgid(1000) = 1000 [pid 903040] getuid() = 1000 [pid 903040] getuid() = 1000 [pid 903040] setfsuid(1000) = 1000 [pid 903040] getgid() = 1000 [pid 903040] setfsgid(1000) = 1000 [pid 903040] openat(AT_FDCWD, "/etc/fuse.conf", O_RDONLY) = 7 [pid 903040] newfstatat(7, "", {st_mode=S_IFREG|0644, st_size=280, ...}, AT_EMPTY_PATH) = 0 [pid 903040] read(7, "# /etc/fuse.conf - Configuration"..., 4096) = 280 [pid 903040] read(7, "", 4096) = 0 [pid 903040] close(7) = 0 [pid 903040] getuid() = 1000 [pid 903040] openat(AT_FDCWD, "/etc/mtab", O_RDONLY|O_CLOEXEC) = 7 [pid 903040] newfstatat(7, "", {st_mode=S_IFREG|0444, st_size=0, ...}, AT_EMPTY_PATH) = 0 [pid 903040] read(7, "sysfs /sys sysfs rw,nosuid,nodev"..., 1024) = 1024 [pid 903040] read(7, "oto=5,direct,pipe_ino=6841 0 0\nh"..., 1024) = 1001 [pid 903040] read(7, "", 1024) = 0 [pid 903040] close(7) = 0 [pid 903040] newfstatat(AT_FDCWD, "/tmp/.mount_DeepneTYdwyZ", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 903040] getuid() = 1000 [pid 903040] chdir("/tmp/.mount_DeepneTYdwyZ") = 0 [pid 903040] newfstatat(AT_FDCWD, ".", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 903040] access(".", W_OK) = 0 [pid 903040] statfs(".", {f_type=EXT2_SUPER_MAGIC, f_bsize=4096, f_blocks=245469053, f_bfree=40619790, f_bavail=28132213, f_files=62423040, f_ffree=59443168, f_fsid={val=[0x3b872784, 0x4f2c2b29]}, f_namelen=255, f_frsize=4096, f_flags=ST_VALID|ST_RELATIME}) = 0 [pid 903040] getuid() = 1000 [pid 903040] setfsuid(1000) = 1000 [pid 903040] setfsgid(1000) = 1000 [pid 903040] getuid() = 1000 [pid 903040] getuid() = 1000 [pid 903040] getuid() = 1000 [pid 903040] getuid() = 1000 [pid 903040] getuid() = 1000 [pid 903040] socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 7 [pid 903040] connect(7, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory) [pid 903040] close(7) = 0 [pid 903040] socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 7 [pid 903040] connect(7, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory) [pid 903040] close(7) = 0 [pid 903040] newfstatat(AT_FDCWD, "/etc/nsswitch.conf", {st_mode=S_IFREG|0644, st_size=553, ...}, 0) = 0 [pid 903040] newfstatat(AT_FDCWD, "/", {st_mode=S_IFDIR|0755, st_size=4096, ...}, 0) = 0 [pid 903040] openat(AT_FDCWD, "/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) = 7 [pid 903040] newfstatat(7, "", {st_mode=S_IFREG|0644, st_size=553, ...}, AT_EMPTY_PATH) = 0 [pid 903040] read(7, "# /etc/nsswitch.conf\n#\n# Example"..., 4096) = 553 [pid 903040] read(7, "", 4096) = 0 [pid 903040] newfstatat(7, "", {st_mode=S_IFREG|0644, st_size=553, ...}, AT_EMPTY_PATH) = 0 [pid 903040] close(7) = 0 [pid 903040] openat(AT_FDCWD, "/etc/passwd", O_RDONLY|O_CLOEXEC) = 7 [pid 903040] newfstatat(7, "", {st_mode=S_IFREG|0644, st_size=2678, ...}, AT_EMPTY_PATH) = 0 [pid 903040] lseek(7, 0, SEEK_SET) = 0 [pid 903040] read(7, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 2678 [pid 903040] close(7) = 0 [pid 903040] getgid() = 1000 [pid 903040] getuid() = 1000 [pid 903040] openat(AT_FDCWD, ".", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 7 [pid 903040] newfstatat(7, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 903040] getdents64(7, 0x55ade3be6f20 /* 2 entries */, 32768) = 48 [pid 903040] getdents64(7, 0x55ade3be6f20 /* 0 entries */, 32768) = 0 [pid 903040] close(7) = 0 [pid 903040] mount("/dev/fuse", ".", "fuse", MS_RDONLY|MS_NOSUID|MS_NODEV, "fd=6,rootmode=40000,user_id=1000"...) = -1 EPERM (Operation not permitted) [pid 903040] write(2, "fusermount: mount failed: Operat"..., 50fusermount: mount failed: Operation not permitted ) = 50 [pid 903040] close(6) = 0 [pid 903040] exit_group(1) = ? [pid 903040] +++ exited with 1 +++ [pid 903038] <... recvmsg resumed>{msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="", iov_len=1}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 0 [pid 903038] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=903040, si_uid=1000, si_status=1, si_utime=0, si_stime=0} --- [pid 903038] close(6) = 0 [pid 903038] wait4(903040, NULL, 0, NULL) = 903040 [pid 903038] rmdir("/tmp/.mount_DeepneTYdwyZ") = 0 [pid 903038] munmap(0x7f6e2fca3000, 262432) = 0 [pid 903038] ioctl(0, TCGETS, {c_iflag=ICRNL|IXON|IUTF8, c_oflag=NL0|CR0|TAB0|BS0|VT0|FF0|OPOST|ONLCR, c_cflag=B38400|CS8|CREAD, c_lflag=ISIG|ICANON|ECHO|ECHOE|ECHOK|IEXTEN|ECHOCTL|ECHOKE, ...}) = 0 [pid 903038] newfstatat(1, "", {st_mode=S_IFCHR|0620, st_rdev=makedev(0x88, 0), ...}, AT_EMPTY_PATH) = 0 [pid 903038] write(1, "\n", 1 ) = 1 [pid 903038] write(1, "Cannot mount AppImage, please ch"..., 53Cannot mount AppImage, please check your FUSE setup. ) = 53 [pid 903038] write(1, "You might still be able to extra"..., 172You might still be able to extract the contents of this AppImage if you run it with the --appimage-extract option. See https://github.com/AppImage/AppImageKit/wiki/FUSE ) = 172 [pid 903038] write(1, "for more information\n", 21for more information ) = 21 [pid 903038] exit_group(0) = ? [pid 903038] +++ exited with 0 +++ <... read resumed>"", 1) = 0 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=903038, si_uid=1000, si_status=0, si_utime=0, si_stime=0} --- openat(AT_FDCWD, "/tmp/.mount_DeepneTYdwyZ", O_RDONLY) = -1 ENOENT (No such file or directory) dup(2) = 4 fcntl(4, F_GETFL) = 0x2 (flags O_RDWR) newfstatat(4, "", {st_mode=S_IFCHR|0620, st_rdev=makedev(0x88, 0), ...}, AT_EMPTY_PATH) = 0 write(4, "open dir error: No such file or "..., 42open dir error: No such file or directory ) = 42 close(4) = 0 exit_group(1) = ? +++ exited with 1 +++

As far as I could see it seems to be a Fuse issue so I did a complete reinstall of it and made sure everythong was complete reset for fuse, but it turns out I have everything up to date and still I get the segmentation fault:

andresh@andres-hurtado-lopez:~/appimages$ sudo apt install fuse libfuse2 Reading package lists... Done Building dependency tree... Done Reading state information... Done fuse is already the newest version (2.9.9-8+b1). libfuse2 is already the newest version (2.9.9-8+b1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. andresh@andres-hurtado-lopez:~/appimages$ sudo modprobe fuse andresh@andres-hurtado-lopez:~/appimages$ sudo groupadd fuse andresh@andres-hurtado-lopez:~/appimages$ user="$(whoami)" andresh@andres-hurtado-lopez:~/appimages$ sudo usermod -a -G fuse $user andresh@andres-hurtado-lopez:~/appimages$ ./Deepnest-1.0.5-x86_64.AppImage Segmentation fault

At this point I'm lost because the whole idea of the Appimage is to provide a selfcontained environment to run the app but it seems to be something missing. The specs of my O/S and machine are the following:

andresh@andres-hurtado-lopez:~/appimages$ lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux trixie/sid Release: n/a Codename: trixie andresh@andres-hurtado-lopez:~/appimages$ uname -a Linux andres-hurtado-lopez 6.6.11-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.6.11-1 (2024-01-14) x86_64 GNU/Linux andresh@andres-hurtado-lopez:~/appimages$ neofetch _,met$$$$$gg. andresh@andres-hurtado-lopez ,g$$$$$$$$$$$$$$$P. ---------------------------- ,g$$P" """Y$$.". OS: Debian GNU/Linux trixie/sid x86_64 ,$$P'$$$. Host: ZenBook UX425QAUM425QA 1.0 ',$$P ,ggs. $$b: Kernel: 6.6.11-amd64 d$$' ,$P"' . $$$ Uptime: 3 hours, 11 mins $$P d$' , $$P Packages: 3781 (dpkg) $$: $$. - ,d$$' Shell: bash 5.2.21 $$; Y$b. _,d$P' Resolution: 1920x1080 Y$$. ."Y$$$$P"' WM: i3 $$b "-.__ Theme: Adwaita [GTK3] Y$$ Icons: Adwaita [GTK3] Y$$. Terminal: alacritty $$b. CPU: AMD Ryzen 9 5900HX with Radeon Graphics (16) @ 4.680GHz Y$$b. GPU: AMD ATI Radeon Vega Series / Radeon Vega Mobile Series "Y$b._ Memory: 4134MiB / 15395MiB `"""

`

What I'm doing wrong ?

bosd commented 9 months ago

Hi, Thanks for your interest in deepnest. I'm the initiator of this community based fork of deepnest. Since the original software is abondened by the author.

The appimage you downloaded is from the original work an author. It is not supported here.

Sadly, this community is facing issues, and slipping down into abondonware. see #139

But well, the source code is here is more recent. You may find your luck in building it yourself.

abebeos commented 5 months ago

@andres-hurtado-lopez , you've downloaded an old, outdate binary, which possibly does not work in general anymore.

Try https://github.com/deepnest-io/Deepnest/releases the 1.2.0, i should work on linux.