Ошибка сегментирования /etc/ld.so.preload No such file or directory.
Собираю
https://github.com/kvonosan/Vibra на vps сервере, потом копирую на домашнюю машину и там вылетает ошибка сегментирования.
как исправить?
strace:
[kvonosan@kvonosan-R780 Рабочий стол]$ strace ./server
execve("./server", ["./server"], [/* 85 vars */]) = 0
brk(0) = 0x14d2000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffa00c54000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffa00c53000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffa00c52000
arch_prctl(ARCH_SET_FS, 0x7ffa00c53680) = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x8} ---
+++ killed by SIGSEGV (core dumped) +++
Ошибка сегментирования (слепок снят)
[kvonosan@kvonosan-R780 Рабочий стол]$ strace ./server
execve("./server", ["./server"], [/* 85 vars */]) = 0
brk(0) = 0x2511000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f86042000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f86041000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f86040000
arch_prctl(ARCH_SET_FS, 0x7f8f86041680) = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x8} ---
+++ killed by SIGSEGV (core dumped) +++
Ошибка сегментирования (слепок снят)