kstyrc / embedded-redis

Redis embedded server for Java integration testing
863 stars 373 forks source link

Segfaults on Manjaro Linux #109

Open nihirash opened 5 years ago

nihirash commented 5 years ago

When I try to start redis server I haven't got error messages but in mine dmesg output present this message:

 2791.027809] redis-server[12057] vsyscall attempted with vsyscall=none ip:ffffffffff600400 cs:33 sp:7ffdd5bc34c8 ax:ffffffffff600400 si:1c5b140 di:0
[ 2791.027812] redis-server[12057]: segfault at ffffffffff600400 ip ffffffffff600400 sp 00007ffdd5bc34c8 error 15
[ 2791.027813] Code: Bad RIP value.
[ 2791.027846] audit: type=1701 audit(1556554431.402:296): auid=1000 uid=1000 gid=1000 ses=2 pid=12057 comm="redis-server" exe="/tmp/ba004c76-6bc4-45d1-934b-12412e28c06c/redis-server" sig=11 res=1

strace:


strace -f ./redis-server 
execve("./redis-server", ["./redis-server"], 0x7ffca3cb7848 /* 90 vars */) = 0
uname({sysname="Linux", nodename="notebook", ...}) = 0
brk(NULL)                               = 0x200e000
brk(0x200f1e0)                          = 0x200f1e0
arch_prctl(ARCH_SET_FS, 0x200e8c0)      = 0
set_tid_address(0x200eb90)              = 12382
set_robust_list(0x200eba0, 24)          = 0
futex(0x7fff67a37acc, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, 0x200e8c0) = -1 EAGAIN (Ресурс временно недоступен)
rt_sigaction(SIGRTMIN, {sa_handler=0x4b7110, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x4b5d50}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {sa_handler=0x4b7050, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x4b5d50}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
brk(0x20301e0)                          = 0x20301e0
brk(0x2031000)                          = 0x2031000
readlink("/etc/je_malloc.conf", 0x7fff67a36a50, 4096) = -1 ENOENT (Нет такого файла или каталога)
mmap(NULL, 4194304, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa4a7749000
munmap(0x7fa4a7749000, 4194304)         = 0
mmap(NULL, 8384512, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa4a734a000
munmap(0x7fa4a734a000, 745472)          = 0
munmap(0x7fa4a7800000, 3444736)         = 0
open("/proc/stat", O_RDONLY|O_CLOEXEC)  = 3
read(3, "cpu  239641 15176 51646 2309986 "..., 8192) = 4722
close(3)                                = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0xffffffffff600400} ---
+++ killed by SIGSEGV (core dumped) +++