why will the Kucher software not work?
Maybe you’re out of luck or the Moon is in a wrong phase. It’s hard to provide a more helpful answer based on the information you’ve provided.
Hi Pavel,
I also have problems getting Kucher to run. The symptoms are:
- I tried on 18.04, where it doesn’t do or show anything.
- On 16.04, it drops a file called “##invalid encoding” (## indicating some hieroglyphs that I can’t reproduce here on the keyboard).
I know that it is not a lot to go with. Do you have any idea, what to do or try? Is there a debug option that would give more output to work with?
Best
Max
Please post the stdout/stderr output here, we’ll see what could go wrong. Also, please make sure that you’re on an AMD64 system.
Ok. I’ll try. I am not that Linux experienced.
Just a short side note: Are there any obvious things that I should check for first? I’m thinking: availability of Python or other stuff like that.
Max
Make sure you’re on an AMD64 system.
OK, thanks. Version is Ubuntu 18.04.3 in the “_x64” version, freshly installed yesterday. That is - as far as I undertand - the same as AMD64 (?). Calling “uname -m” gives “x86_64” as reply.
When calling Kucher from the command line, the reply is “Segmentation fault (core dumped)”. I tried collecting stderr and stdout in files by calling everything with the line
“./Kucher 1>file_stdout.txt 2>file_stderr.txt”
But both output files remain empty.
Interesting. Could you try running it with ltrace? Like ltrace Kucher
. Please attach the output here. Thanks in advance.
Hi,
calling “ltrace ./Kucher” gives the reply:
Couldn’t find .dynsym or .dynstr in “/proc/3674/exe”
Sorry, it’s statically linked, my bad. Let’s see the system calls then; please replace ltrace with strace and try again.
OK, that really gave something to work with. Here follows:
max@ubuntu:~/Downloads$ strace ./Kucher
execve("./Kucher", ["./Kucher"], 0x7ffc66c708d0 /* 53 vars */) = 0
brk(NULL) = 0x26d0000
brk(0x26d21c0) = 0x26d21c0
arch_prctl(ARCH_SET_FS, 0x26d1880) = 0
uname({sysname="Linux", nodename="ubuntu", ...}) = 0
readlink("/proc/self/exe", "/home/max/Downloads/Kucher", 4096) = 26
brk(0x26f31c0) = 0x26f31c0
brk(0x26f4000) = 0x26f4000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
gettimeofday({tv_sec=1565771689, tv_usec=76832}, NULL) = 0
getpid() = 3224
mkdir("/tmp/staticx-XcDIio", 0700) = 0
openat(AT_FDCWD, "/proc/self/exe", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0775, st_size=137031192, ...}) = 0
mmap(NULL, 137031192, PROT_READ, MAP_SHARED, 3, 0) = 0x7f1b0c479000
mmap(NULL, 8392704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1b0bc78000
socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 4
connect(4, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(4) = 0
socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 4
connect(4, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(4) = 0
openat(AT_FDCWD, "/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=556, ...}) = 0
read(4, "# /etc/nsswitch.conf\n#\n# Example"..., 4096) = 556
read(4, "", 4096) = 0
close(4) = 0
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=89828, ...}) = 0
mmap(NULL, 89828, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7f1b0bc62000
close(4) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libnss_compat.so.2", O_RDONLY|O_CLOEXEC) = 4
read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240\22\0\0\0\0\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0644, st_size=39744, ...}) = 0
mmap(NULL, 2136256, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7f1b0ba58000
mprotect(0x7f1b0ba60000, 2097152, PROT_NONE) = 0
mmap(0x7f1b0bc60000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x8000) = 0x7f1b0bc60000
close(4) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 4
read(4, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\34\2\0\0\0\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0755, st_size=2030544, ...}) = 0
mmap(NULL, 4131552, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7f1b0b667000
mprotect(0x7f1b0b84e000, 2097152, PROT_NONE) = 0
mmap(0x7f1b0ba4e000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x1e7000) = 0x7f1b0ba4e000
mmap(0x7f1b0ba54000, 15072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f1b0ba54000
close(4) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2", O_RDONLY|O_CLOEXEC) = 4
read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\20\0\0\0\0\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0755, st_size=170960, ...}) = 0
mmap(NULL, 2265456, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7f1b0b43d000
mprotect(0x7f1b0b464000, 2097152, PROT_NONE) = 0
mmap(0x7f1b0b664000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x27000) = 0x7f1b0b664000
mmap(0x7f1b0b666000, 368, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f1b0b666000
close(4) = 0
mprotect(0x7f1b0b664000, 4096, PROT_READ) = 0
mprotect(0x7f1b0ba4e000, 16384, PROT_READ) = 0
mprotect(0x7f1b0bc60000, 4096, PROT_READ) = 0
munmap(0x7f1b0bc62000, 89828) = 0
mmap(NULL, 1048576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1b0b33d000
openat(AT_FDCWD, "/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=556, ...}) = 0
read(4, "# /etc/nsswitch.conf\n#\n# Example"..., 4096) = 556
read(4, "", 4096) = 0
close(4) = 0
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=89828, ...}) = 0
mmap(NULL, 89828, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7f1b0bc62000
close(4) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libnss_nis.so.2", O_RDONLY|O_CLOEXEC) = 4
read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p \0\0\0\0\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0644, st_size=47576, ...}) = 0
mmap(NULL, 2143624, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7f1b0b131000
mprotect(0x7f1b0b13c000, 2093056, PROT_NONE) = 0
mmap(0x7f1b0b33b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0xa000) = 0x7f1b0b33b000
close(4) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libnsl.so.1", O_RDONLY|O_CLOEXEC) = 4
read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220@\0\0\0\0\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0644, st_size=97176, ...}) = 0
mmap(NULL, 2202200, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7f1b0af17000
mprotect(0x7f1b0af2e000, 2093056, PROT_NONE) = 0
mmap(0x7f1b0b12d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x16000) = 0x7f1b0b12d000
mmap(0x7f1b0b12f000, 6744, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f1b0b12f000
close(4) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libnss_files.so.2", O_RDONLY|O_CLOEXEC) = 4
read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P#\0\0\0\0\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0644, st_size=47568, ...}) = 0
mmap(NULL, 2168632, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7f1b0ad05000
mprotect(0x7f1b0ad10000, 2093056, PROT_NONE) = 0
mmap(0x7f1b0af0f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0xa000) = 0x7f1b0af0f000
mmap(0x7f1b0af11000, 22328, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f1b0af11000
close(4) = 0
mprotect(0x7f1b0af0f000, 4096, PROT_READ) = 0
mprotect(0x7f1b0b12d000, 4096, PROT_READ) = 0
mprotect(0x7f1b0b33b000, 4096, PROT_READ) = 0
munmap(0x7f1b0bc62000, 89828) = 0
openat(AT_FDCWD, "/etc/passwd", O_RDONLY|O_CLOEXEC) = 4
lseek(4, 0, SEEK_CUR) = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=2595, ...}) = 0
mmap(NULL, 2595, PROT_READ, MAP_SHARED, 4, 0) = 0x7f1b0bc77000
lseek(4, 2595, SEEK_SET) = 2595
fstat(4, {st_mode=S_IFREG|0644, st_size=2595, ...}) = 0
munmap(0x7f1b0bc77000, 2595) = 0
close(4) = 0
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=89828, ...}) = 0
mmap(NULL, 89828, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7f1b0bc62000
close(4) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libnss_systemd.so.2", O_RDONLY|O_CLOEXEC) = 4
read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`X\0\0\0\0\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0644, st_size=258040, ...}) = 0
mmap(NULL, 2355192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7f1b0aac6000
mprotect(0x7f1b0ab02000, 2093056, PROT_NONE) = 0
mmap(0x7f1b0ad01000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x3b000) = 0x7f1b0ad01000
close(4) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/librt.so.1", O_RDONLY|O_CLOEXEC) = 4
read(4, "\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"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0644, st_size=31680, ...}) = 0
mmap(NULL, 2128864, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7f1b0a8be000
mprotect(0x7f1b0a8c5000, 2093056, PROT_NONE) = 0
mmap(0x7f1b0aac4000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x6000) = 0x7f1b0aac4000
close(4) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 4
read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000b\0\0\0\0\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0755, st_size=144976, ...}) = 0
mmap(NULL, 2221184, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7f1b0a69f000
mprotect(0x7f1b0a6b9000, 2093056, PROT_NONE) = 0
mmap(0x7f1b0a8b8000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x19000) = 0x7f1b0a8b8000
mmap(0x7f1b0a8ba000, 13440, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f1b0a8ba000
close(4) = 0
mprotect(0x7f1b0a8b8000, 4096, PROT_READ) = 0
mprotect(0x7f1b0aac4000, 4096, PROT_READ) = 0
mprotect(0x7f1b0ad01000, 12288, PROT_READ) = 0
set_tid_address(0x26d1b50) = 3224
set_robust_list(0x26d1b60, 24) = 0
rt_sigaction(SIGRTMIN, {sa_handler=0x7f1b0a6a4cb0, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7f1b0a6b1890}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {sa_handler=0x7f1b0a6a4d50, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f1b0a6b1890}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
munmap(0x7f1b0bc62000, 89828) = 0
rt_sigprocmask(SIG_BLOCK, [HUP USR1 USR2 PIPE ALRM CHLD TSTP URG VTALRM PROF WINCH IO], [], 8) = 0
access("/etc/systemd/dont-synthesize-nobody", F_OK) = -1 ENOENT (No such file or directory)
getpid() = 3224
socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 4
getsockopt(4, SOL_SOCKET, SO_RCVBUF, [212992], [4]) = 0
setsockopt(4, SOL_SOCKET, SO_RCVBUFFORCE, [8388608], 4) = -1 EPERM (Operation not permitted)
setsockopt(4, SOL_SOCKET, SO_RCVBUF, [8388608], 4) = 0
getsockopt(4, SOL_SOCKET, SO_SNDBUF, [212992], [4]) = 0
setsockopt(4, SOL_SOCKET, SO_SNDBUFFORCE, [8388608], 4) = -1 EPERM (Operation not permitted)
setsockopt(4, SOL_SOCKET, SO_SNDBUF, [8388608], 4) = 0
connect(4, {sa_family=AF_UNIX, sun_path="/run/dbus/system_bus_socket"}, 29) = 0
getsockopt(4, SOL_SOCKET, SO_PEERCRED, {pid=1, uid=0, gid=0}, [12]) = 0
getsockopt(4, SOL_SOCKET, SO_PEERSEC, "unconfined", [64->10]) = 0
getsockopt(4, SOL_SOCKET, SO_PEERGROUPS, "", [256->0]) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=688, tv_nsec=366505884}) = 0
fstat(4, {st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0
getsockopt(4, SOL_SOCKET, SO_ACCEPTCONN, [0], [4]) = 0
getsockname(4, {sa_family=AF_UNIX}, [128->2]) = 0
geteuid() = 1000
sendmsg(4, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\0AUTH EXTERNAL ", iov_len=15}, {iov_base="31303030", iov_len=8}, {iov_base="\r\nNEGOTIATE_UNIX_FD\r\nBEGIN\r\n", iov_len=28}], msg_iovlen=3, msg_controllen=0, msg_flags=0}, MSG_DONTWAIT|MSG_NOSIGNAL) = 51
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x34} ---
+++ killed by SIGSEGV (core dumped) +++
Segmentation fault (core dumped)
max@ubuntu:~/Downloads$
Hi Max,
Here is a more recent version of Kucher that is not released yet:
https://ci.appveyor.com/api/buildjobs/523m5il89wj6lxpv/artifacts/Kucher
Can you try this one? Let me know if the problem still occurs.
Hi,
thanks for taking the time. I regret having to say that the problem persists. The output reads:
execve("./Kucher", ["./Kucher"], 0x7ffdb667a060 /* 53 vars */) = 0
uname({sysname="Linux", nodename="ubuntu", ...}) = 0
brk(NULL) = 0x849000
brk(0x84b1c0) = 0x84b1c0
arch_prctl(ARCH_SET_FS, 0x84a880) = 0
readlink("/proc/self/exe", "/home/max/Downloads/Kucher", 4096) = 26
brk(0x86c1c0) = 0x86c1c0
brk(0x86d000) = 0x86d000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
gettimeofday({tv_sec=1565782994, tv_usec=594476}, NULL) = 0
getpid() = 4841
mkdir("/tmp/staticx-fPh2YD", 0700) = 0
open("/proc/self/exe", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0775, st_size=97588888, ...}) = 0
mmap(NULL, 97588888, PROT_READ, MAP_SHARED, 3, 0) = 0x7f4a4ed79000
mmap(NULL, 8392704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4a4e578000
socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 4
connect(4, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(4) = 0
socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 4
connect(4, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(4) = 0
open("/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=556, ...}) = 0
read(4, "# /etc/nsswitch.conf\n#\n# Example"..., 4096) = 556
read(4, "", 4096) = 0
close(4) = 0
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=89828, ...}) = 0
mmap(NULL, 89828, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7f4a4e562000
close(4) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libnss_compat.so.2", O_RDONLY|O_CLOEXEC) = 4
read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240\22\0\0\0\0\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0644, st_size=39744, ...}) = 0
mmap(NULL, 2136256, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7f4a4e358000
mprotect(0x7f4a4e360000, 2097152, PROT_NONE) = 0
mmap(0x7f4a4e560000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x8000) = 0x7f4a4e560000
close(4) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 4
read(4, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\34\2\0\0\0\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0755, st_size=2030544, ...}) = 0
mmap(NULL, 4131552, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7f4a4df67000
mprotect(0x7f4a4e14e000, 2097152, PROT_NONE) = 0
mmap(0x7f4a4e34e000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x1e7000) = 0x7f4a4e34e000
mmap(0x7f4a4e354000, 15072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f4a4e354000
close(4) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2", O_RDONLY|O_CLOEXEC) = 4
read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\20\0\0\0\0\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0755, st_size=170960, ...}) = 0
mmap(NULL, 2265456, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7f4a4dd3d000
mprotect(0x7f4a4dd64000, 2097152, PROT_NONE) = 0
mmap(0x7f4a4df64000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x27000) = 0x7f4a4df64000
mmap(0x7f4a4df66000, 368, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f4a4df66000
close(4) = 0
mprotect(0x7f4a4df64000, 4096, PROT_READ) = 0
mprotect(0x7f4a4e34e000, 16384, PROT_READ) = 0
mprotect(0x7f4a4e560000, 4096, PROT_READ) = 0
munmap(0x7f4a4e562000, 89828) = 0
mmap(NULL, 1048576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4a4dc3d000
openat(AT_FDCWD, "/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=556, ...}) = 0
read(4, "# /etc/nsswitch.conf\n#\n# Example"..., 4096) = 556
read(4, "", 4096) = 0
close(4) = 0
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=89828, ...}) = 0
mmap(NULL, 89828, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7f4a4e562000
close(4) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libnss_nis.so.2", O_RDONLY|O_CLOEXEC) = 4
read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p \0\0\0\0\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0644, st_size=47576, ...}) = 0
mmap(NULL, 2143624, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7f4a4da31000
mprotect(0x7f4a4da3c000, 2093056, PROT_NONE) = 0
mmap(0x7f4a4dc3b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0xa000) = 0x7f4a4dc3b000
close(4) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libnsl.so.1", O_RDONLY|O_CLOEXEC) = 4
read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220@\0\0\0\0\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0644, st_size=97176, ...}) = 0
mmap(NULL, 2202200, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7f4a4d817000
mprotect(0x7f4a4d82e000, 2093056, PROT_NONE) = 0
mmap(0x7f4a4da2d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x16000) = 0x7f4a4da2d000
mmap(0x7f4a4da2f000, 6744, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f4a4da2f000
close(4) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libnss_files.so.2", O_RDONLY|O_CLOEXEC) = 4
read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P#\0\0\0\0\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0644, st_size=47568, ...}) = 0
mmap(NULL, 2168632, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7f4a4d605000
mprotect(0x7f4a4d610000, 2093056, PROT_NONE) = 0
mmap(0x7f4a4d80f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0xa000) = 0x7f4a4d80f000
mmap(0x7f4a4d811000, 22328, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f4a4d811000
close(4) = 0
mprotect(0x7f4a4d80f000, 4096, PROT_READ) = 0
mprotect(0x7f4a4da2d000, 4096, PROT_READ) = 0
mprotect(0x7f4a4dc3b000, 4096, PROT_READ) = 0
munmap(0x7f4a4e562000, 89828) = 0
openat(AT_FDCWD, "/etc/passwd", O_RDONLY|O_CLOEXEC) = 4
lseek(4, 0, SEEK_CUR) = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=2595, ...}) = 0
mmap(NULL, 2595, PROT_READ, MAP_SHARED, 4, 0) = 0x7f4a4e577000
lseek(4, 2595, SEEK_SET) = 2595
fstat(4, {st_mode=S_IFREG|0644, st_size=2595, ...}) = 0
munmap(0x7f4a4e577000, 2595) = 0
close(4) = 0
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=89828, ...}) = 0
mmap(NULL, 89828, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7f4a4e562000
close(4) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libnss_systemd.so.2", O_RDONLY|O_CLOEXEC) = 4
read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`X\0\0\0\0\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0644, st_size=258040, ...}) = 0
mmap(NULL, 2355192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7f4a4d3c6000
mprotect(0x7f4a4d402000, 2093056, PROT_NONE) = 0
mmap(0x7f4a4d601000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x3b000) = 0x7f4a4d601000
close(4) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/librt.so.1", O_RDONLY|O_CLOEXEC) = 4
read(4, "\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"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0644, st_size=31680, ...}) = 0
mmap(NULL, 2128864, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7f4a4d1be000
mprotect(0x7f4a4d1c5000, 2093056, PROT_NONE) = 0
mmap(0x7f4a4d3c4000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x6000) = 0x7f4a4d3c4000
close(4) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 4
read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000b\0\0\0\0\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0755, st_size=144976, ...}) = 0
mmap(NULL, 2221184, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7f4a4cf9f000
mprotect(0x7f4a4cfb9000, 2093056, PROT_NONE) = 0
mmap(0x7f4a4d1b8000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x19000) = 0x7f4a4d1b8000
mmap(0x7f4a4d1ba000, 13440, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f4a4d1ba000
close(4) = 0
mprotect(0x7f4a4d1b8000, 4096, PROT_READ) = 0
mprotect(0x7f4a4d3c4000, 4096, PROT_READ) = 0
mprotect(0x7f4a4d601000, 12288, PROT_READ) = 0
set_tid_address(0x84ab50) = 4841
set_robust_list(0x84ab60, 24) = 0
rt_sigaction(SIGRTMIN, {sa_handler=0x7f4a4cfa4cb0, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7f4a4cfb1890}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {sa_handler=0x7f4a4cfa4d50, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4a4cfb1890}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
munmap(0x7f4a4e562000, 89828) = 0
rt_sigprocmask(SIG_BLOCK, [HUP USR1 USR2 PIPE ALRM CHLD TSTP URG VTALRM PROF WINCH IO], [], 8) = 0
access("/etc/systemd/dont-synthesize-nobody", F_OK) = -1 ENOENT (No such file or directory)
getpid() = 4841
socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 4
getsockopt(4, SOL_SOCKET, SO_RCVBUF, [212992], [4]) = 0
setsockopt(4, SOL_SOCKET, SO_RCVBUFFORCE, [8388608], 4) = -1 EPERM (Operation not permitted)
setsockopt(4, SOL_SOCKET, SO_RCVBUF, [8388608], 4) = 0
getsockopt(4, SOL_SOCKET, SO_SNDBUF, [212992], [4]) = 0
setsockopt(4, SOL_SOCKET, SO_SNDBUFFORCE, [8388608], 4) = -1 EPERM (Operation not permitted)
setsockopt(4, SOL_SOCKET, SO_SNDBUF, [8388608], 4) = 0
connect(4, {sa_family=AF_UNIX, sun_path="/run/dbus/system_bus_socket"}, 29) = 0
getsockopt(4, SOL_SOCKET, SO_PEERCRED, {pid=1, uid=0, gid=0}, [12]) = 0
getsockopt(4, SOL_SOCKET, SO_PEERSEC, "unconfined", [64->10]) = 0
getsockopt(4, SOL_SOCKET, SO_PEERGROUPS, "", [256->0]) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=11993, tv_nsec=861771110}) = 0
fstat(4, {st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0
getsockopt(4, SOL_SOCKET, SO_ACCEPTCONN, [0], [4]) = 0
getsockname(4, {sa_family=AF_UNIX}, [128->2]) = 0
geteuid() = 1000
sendmsg(4, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\0AUTH EXTERNAL ", iov_len=15}, {iov_base="31303030", iov_len=8}, {iov_base="\r\nNEGOTIATE_UNIX_FD\r\nBEGIN\r\n", iov_len=28}], msg_iovlen=3, msg_controllen=0, msg_flags=0}, MSG_DONTWAIT|MSG_NOSIGNAL) = 51
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x34} ---
+++ killed by SIGSEGV (core dumped) +++
Hi,
i just tried installing and running from source (the older version on github). And the program starts and runs fine. So … alarm is off - for a while at least
Best
Max