Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crash in excute keys * #76

Open
hejunfly opened this issue Jul 29, 2020 · 1 comment
Open

crash in excute keys * #76

hejunfly opened this issue Jul 29, 2020 · 1 comment

Comments

@hejunfly
Copy link

------ STACK TRACE ------
EIP:
./bin/redis-cluster-proxy(raxSeek+0xf2)[0x5652151640d2]

Backtrace:
./bin/redis-cluster-proxy(logStackTrace+0x44)[0x5652151515a4]
./bin/redis-cluster-proxy(sigsegvHandler+0x1a0)[0x565215151d00]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x12890)[0x7fdf6c198890]
./bin/redis-cluster-proxy(raxSeek+0xf2)[0x5652151640d2]
./bin/redis-cluster-proxy(appendUnorderedRepliesToBuffer+0x5d)[0x5652151652cd]
./bin/redis-cluster-proxy(mergeReplies+0x3a4)[0x5652151576e4]
./bin/redis-cluster-proxy(+0x1d6df)[0x56521515f6df]
./bin/redis-cluster-proxy(aeProcessEvents+0x14f)[0x56521514cadf]
./bin/redis-cluster-proxy(aeMain+0x2b)[0x56521514ceeb]
./bin/redis-cluster-proxy(+0x1395c)[0x56521515595c]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x76db)[0x7fdf6c18d6db]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7fdf6beb688f]

------ INFO OUTPUT ------

Proxy

proxy_version:999.999.999
proxy_git_sha1:00000000
proxy_git_dirty:0
proxy_git_branch:
os:Linux 4.15.0-96-generic x86_64
arch_bits:64
multiplexing_api:epoll
gcc_version:7.5.0
process_id:14535
threads:2
tcp_port:7778
uptime_in_seconds:5133
uptime_in_days:0
config_file:./etc/proxy.conf
acl_user:default

Memory

used_memory:1912152
used_memory_human:1.82M
total_system_memory:8259280896
total_system_memory_human:7.69G

Clients

connected_clients:1
max_clients:10000
thread_0_clinets:1
thread_1_clinets:0

Cluster

address:
entry_node::0

---- SIZEOF STRUCTS ----
clientRequest: 184
client: 224
redisClusterConnection: 48
clusterNode: 112
redisCluster: 104
list: 48
listNode: 24
rax: 24
raxNode: 4
raxIterator: 480
aeEventLoop: 88
aeFileEvent: 32
aeTimeEvent: 64

------ REGISTERS ------

RAX:00005652168e8520 RBX:000056521693bca0
RCX:0000000000000008 RDX:000000000000003e
RDI:0000000000000000 RSI:000056521516e4b8
RBP:00007fdf6bd93960 RSP:00007fdf6bd938f0
R8 :000056521516e4b8 R9 :0000000000000001
R10:00007fdf640008d0 R11:0000000000000000
R12:000000a500000092 R13:00007fdf6bd93958
R14:00007fdf64009a93 R15:00007fdf6400fe70
RIP:00005652151640d2 EFL:0000000000010202
CSGSFS:002b000000000033
(00007fdf6bd938ff) -> 00005652168e8520
(00007fdf6bd938fe) -> 0000000000000001
(00007fdf6bd938fd) -> 0100000000000000
(00007fdf6bd938fc) -> 0000000000000000
(00007fdf6bd938fb) -> 00005652151652cd
(00007fdf6bd938fa) -> 00007fdf6400fe70
(00007fdf6bd938f9) -> 00007fdf64009a93
(00007fdf6bd938f8) -> 00007fdf6bd93960
(00007fdf6bd938f7) -> 0000000000000001
(00007fdf6bd938f6) -> 00007fdf64009583
(00007fdf6bd938f5) -> 000056521693bca0
(00007fdf6bd938f4) -> 00007fdf6bd93be8
(00007fdf6bd938f3) -> 00007fdf6bd93be8
(00007fdf6bd938f2) -> 00007fdffbad8001
(00007fdf6bd938f1) -> 00007fdf00000001
(00007fdf6bd938f0) -> 0000000100000000

gdb infos:
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1 0x00007f0d3c1fc801 in __GI_abort () at abort.c:79
#2 0x00007f0d3c245897 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7f0d3c372b9a "%s\n")
at ../sysdeps/posix/libc_fatal.c:181
#3 0x00007f0d3c24c90a in malloc_printerr (str=str@entry=0x7f0d3c3748b8 "free(): invalid next size (normal)") at malloc.c:5350
#4 0x00007f0d3c2540ad in _int_free (have_lock=0, p=0x7f0d34009460, av=0x7f0d34000020) at malloc.c:4286
#5 __GI___libc_free (mem=0x7f0d34009470) at malloc.c:3124
#6 0x00007f0d3c24a2eb in __GI__IO_setb (f=f@entry=0x7f0d34000b40, b=b@entry=0x0, eb=eb@entry=0x0, a=a@entry=0)
at genops.c:349
#7 0x00007f0d3c24826c in _IO_new_file_close_it (fp=fp@entry=0x7f0d34000b40) at fileops.c:154
#8 0x00007f0d3c23a387 in _IO_new_fclose (fp=fp@entry=0x7f0d34000b40) at iofclose.c:53
#9 0x00005624f1708cfd in proxyLog (level=0, format=) at logger.c:102
#10 0x00005624f17108af in sendRequestToCluster (errmsg=0x0, req=0x7f0d34000d70) at proxy.c:4149
#11 handleNextRequestsToCluster (failed=0x7f0d3c1bada0, node=) at proxy.c:4170
#12 0x00005624f1715298 in processRequest (req=0x7f0d34000d70, parsing_status=0x7f0d3c1bae2c, next=)
at proxy.c:4324
#13 0x00005624f171648e in readQuery (el=, fd=, privdata=0x5624f1e8e7b0, mask=)
at proxy.c:4413
#14 0x00005624f1701adf in aeProcessEvents (eventLoop=eventLoop@entry=0x5624f1d5c3b0, flags=flags@entry=11) at ae.c:451
#15 0x00005624f1701eeb in aeMain (eventLoop=0x5624f1d5c3b0) at ae.c:521
#16 0x00005624f170a95c in execProxyThread (ptr=0x5624f1d5eef0) at proxy.c:4810
#17 0x00007f0d3c5b46db in start_thread (arg=0x7f0d3c1bb700) at pthread_create.c:463
#18 0x00007f0d3c2dd88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

@huxiaozhe
Copy link

OOM?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants