RedisLabs / redis-cluster-proxy

A proxy for Redis clusters.
GNU Affero General Public License v3.0
993 stars 132 forks source link

v0.9.102 Crashed on batch write #116

Open lxffff1990 opened 1 year ago

lxffff1990 commented 1 year ago

=== PROXY BUG REPORT START: Cut & paste starting from here === [2023-07-20 20:03:26.258/0] Redis Cluster Proxy 0.9.102 crashed by signal: 11 [2023-07-20 20:03:26.258/0] Crashed running the instruction at: 0x55e2f15ff2f0 [2023-07-20 20:03:26.258/0] Accessing address: 0xc0 [2023-07-20 20:03:26.258/0] Handling crash on thread: 0

------ STACK TRACE ------ EIP: redis-cluster-proxy(listDelNode+0x10)[0x55e2f15ff2f0]

Backtrace: redis-cluster-proxy(logStackTrace+0x4e)[0x55e2f160498e] redis-cluster-proxy(sigsegvHandler+0x1ac)[0x55e2f16050ec] /lib/x86_64-linux-gnu/libpthread.so.0(+0x14420)[0x7f6e80780420] redis-cluster-proxy(listDelNode+0x10)[0x55e2f15ff2f0] redis-cluster-proxy(+0x14b9f)[0x55e2f1608b9f] redis-cluster-proxy(+0x1e6d1)[0x55e2f16126d1] redis-cluster-proxy(aeProcessEvents+0x116)[0x55e2f15ffdf6] redis-cluster-proxy(aeMain+0x2b)[0x55e2f160024b] redis-cluster-proxy(+0x14e70)[0x55e2f1608e70] /lib/x86_64-linux-gnu/libpthread.so.0(+0x8609)[0x7f6e80774609] /lib/x86_64-linux-gnu/libc.so.6(clone+0x43)[0x7f6e80699133]

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

Proxy

proxy_version:0.9.102 proxy_git_sha1:00000000 proxy_git_dirty:0 proxy_git_branch: os:Linux 5.4.0-102-generic x86_64 arch_bits:64 multiplexing_api:epoll gcc_version:9.4.0 process_id:1677667 threads:8 tcp_port:6479 uptime_in_seconds:19321 uptime_in_days:0 config_file:proxy.conf acl_user:default

Memory

used_memory:7856904 used_memory_human:7.49M total_system_memory:16787009536 total_system_memory_human:15.63G

Clients

connected_clients:1 max_clients:10000 thread_0_clinets:1 thread_1_clinets:0 thread_2_clinets:0 thread_3_clinets:0 thread_4_clinets:0 thread_5_clinets:0 thread_6_clinets:0 thread_7_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:000055e2f1a70680 RBX:000055e2f1a6f0b0 RCX:0000000000000000 RDX:00000000000000ed RDI:000055e2f1a6f0b0 RSI:00000000000000c0 RBP:00000000000000c0 RSP:00007f6e80523da0 R8 :00007f6e78000190 R9 :000055e2f1625a0f R10:0000000000000007 R11:0000000000000007 R12:000055e2f1a747a0 R13:00007f6e780e8840 R14:000055e2f1a743b0 R15:000055e2f1a6f0b0 RIP:000055e2f15ff2f0 EFL:0000000000010206 CSGSFS:002b000000000033 (00007f6e80523daf) -> 000055e2f1614a0e (00007f6e80523dae) -> 000000000000013d (00007f6e80523dad) -> 00007f6e780e8840 (00007f6e80523dac) -> 00007f6e80523e2c (00007f6e80523dab) -> 000055e2f1f7ea40 (00007f6e80523daa) -> 0000000000000000 (00007f6e80523da9) -> 0000000000000000 (00007f6e80523da8) -> 000055e2f1a743b0 (00007f6e80523da7) -> 000055e2f16127d0 (00007f6e80523da6) -> 000055e2f162508d (00007f6e80523da5) -> 000055e2f16126d1 (00007f6e80523da4) -> 000055e2f1625a08 (00007f6e80523da3) -> 000055e2f1608b9f (00007f6e80523da2) -> 00007f6e7802e600 (00007f6e80523da1) -> 00007f6e7802e600 (00007f6e80523da0) -> 00007f6e7802e600

------ DUMPING CODE AROUND EIP ------ Symbol: listDelNode (base: 0x55e2f15ff2e0) Module: redis-cluster-proxy (base 0x55e2f15f4000) $ xxd -r -p /tmp/dump.hex /tmp/dump.bin $ objdump --adjust-vma=0x55e2f15ff2e0 -D -b binary -m i386:x86-64 /tmp/dump.bin

dump of function (hexdump of 144 bytes): f30f1efa554889f5534889fb4883ec08488b16488b46084885d2743448894208488b46084885c0742f488910488b43184885c07406488b7d10ffd04889efe8adcc010048836b28014883c4085b5dc3904889074885c075d148895308ebce6690f30f1efa554889fdbf100000005389f34883ec08e847cb01004885c07411488b550885db480f44550089580848891048

=== PROXY BUG REPORT END. Make sure to include from START to END. ===

   Please report the crash by opening an issue on github:

       https://github.com/artix75/redis-cluster-proxy/issues
chx9 commented 2 days ago

what command you are using?