------ STACK TRACE ------ EIP: /usr/lib64/libc.so.6(gsignal+0x10b)[0x7f776105046b]

Backtrace: /usr/lib64/libpthread.so.0(+0x134c0)[0x7f77611e24c0] /usr/lib64/libc.so.6(gsignal+0x10b)[0x7f776105046b] /usr/lib64/libc.so.6(abort+0x151)[0x7f7761051791] /usr/lib64/libc.so.6(+0x31e6a)[0x7f7761048e6a] /usr/lib64/libc.so.6(+0x31ee2)[0x7f7761048ee2] ./redis-server :36379(sdsIncrLen+0xc6)[0x456176] ./redis-server :36379(readQueryFromClient+0x1ff)[0x46a3ef] ./redis-server :36379[0x50592a] ./redis-server :36379(aeProcessEvents+0x1a2)[0x444282] ./redis-server :36379(aeMain+0x1d)[0x44466d] ./redis-server :36379(main+0x32b)[0x44043b] /usr/lib64/libc.so.6(__libc_start_main+0xe7)[0x7f776103cb27] ./redis-server *:36379(_start+0x2a)[0x440b0a]

------ REGISTERS ------ 2346891:S 18 May 2025 08:19:27.482 # RAX:0000000000000000 RBX:0000000000000006 RCX:00007f776105046b RDX:0000000000000000 RDI:0000000000000002 RSI:00007ffddfa73210 RBP:00007f776119a268 RSP:00007ffddfa73210 R8 :0000000000000000 R9 :00007ffddfa73210 R10:0000000000000008 R11:0000000000000246 R12:00000000005ae540 R13:00000000005ae5b8 R14:00000000000001aa R15:0000000000000001 RIP:00007f776105046b EFL:0000000000000246 CSGSFS:002b000000000033 2346891:S 18 May 2025 08:19:27.482 # (00007ffddfa7321f) -> 0000000000000000 2346891:S 18 May 2025 08:19:27.482 # (00007ffddfa7321e) -> 0000000000000000 2346891:S 18 May 2025 08:19:27.482 # (00007ffddfa7321d) -> 0000000000000000 2346891:S 18 May 2025 08:19:27.482 # (00007ffddfa7321c) -> 00000000018857dc 2346891:S 18 May 2025 08:19:27.482 # (00007ffddfa7321b) -> 00000000018856b0 2346891:S 18 May 2025 08:19:27.482 # (00007ffddfa7321a) -> 00000000018857dc 2346891:S 18 May 2025 08:19:27.482 # (00007ffddfa73219) -> 0000000001885739 2346891:S 18 May 2025 08:19:27.482 # (00007ffddfa73218) -> 00000000018856b0 2346891:S 18 May 2025 08:19:27.482 # (00007ffddfa73217) -> 00000000018856b0 2346891:S 18 May 2025 08:19:27.482 # (00007ffddfa73216) -> 0000000001885715 2346891:S 18 May 2025 08:19:27.482 # (00007ffddfa73215) -> 00000000018856b0 2346891:S 18 May 2025 08:19:27.482 # (00007ffddfa73214) -> 0000015efbad8000 2346891:S 18 May 2025 08:19:27.482 # (00007ffddfa73213) -> 00007f7761090c87 2346891:S 18 May 2025 08:19:27.482 # (00007ffddfa73212) -> 0000000000000001 2346891:S 18 May 2025 08:19:27.482 # (00007ffddfa73211) -> 00000000018856b0 2346891:S 18 May 2025 08:19:27.482 # (00007ffddfa73210) -> 0000000000000000

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

Server

redis_version:7.0.12 redis_git_sha1:00000000 redis_git_dirty:0 redis_build_id:5432b32353acc306 redis_mode:standalone os:Linux 4.19.90-52.15.v2207.ky10.x86_64 x86_64 arch_bits:64 monotonic_clock:POSIX clock_gettime multiplexing_api:epoll atomicvar_api:c11-builtin gcc_version:7.3.0 process_id:2346891 process_supervised:no run_id:06763fdc62cfe1a2167f07732ced69689dc6f09b tcp_port:36379 server_time_usec:1747527567469889 uptime_in_seconds:17848398 uptime_in_days:206 hz:10 configured_hz:10 lru_clock:2697103 executable:/app/bocz/redis-7.0.12/src/./redis-server config_file:/app/bocz/redis-7.0.12/redis.conf io_threads_active:0

Clients

connected_clients:7 cluster_connections:0 maxclients:10000 client_recent_max_input_buffer:20480 client_recent_max_output_buffer:0 blocked_clients:0 tracking_clients:0 clients_in_timeout_table:0

Memory

used_memory:36942064 used_memory_human:35.23M used_memory_rss:48488448 used_memory_rss_human:46.24M used_memory_peak:62248208 used_memory_peak_human:59.36M used_memory_peak_perc:59.35% used_memory_overhead:2819156 used_memory_startup:859168 used_memory_dataset:34122908 used_memory_dataset_perc:94.57% allocator_allocated:37059832 allocator_active:40497152 allocator_resident:44347392 total_system_memory:15439519744 total_system_memory_human:14.38G used_memory_lua:31744 used_memory_vm_eval:31744 used_memory_lua_human:31.00K used_memory_scripts_eval:0 number_of_cached_scripts:0 number_of_functions:0 number_of_libraries:0 used_memory_vm_functions:32768 used_memory_vm_total:64512 used_memory_vm_total_human:63.00K used_memory_functions:184 used_memory_scripts:184 used_memory_scripts_human:184B maxmemory:0 maxmemory_human:0B maxmemory_policy:noeviction allocator_frag_ratio:1.09 allocator_frag_bytes:3437320 allocator_rss_ratio:1.10 allocator_rss_bytes:3850240 rss_overhead_ratio:1.09 rss_overhead_bytes:4141056 mem_fragmentation_ratio:1.31 mem_fragmentation_bytes:11547264 mem_not_counted_for_evict:33976 mem_replication_backlog:1086716 mem_total_replication_buffers:1086712 mem_clients_slaves:0 mem_clients_normal:76480 mem_cluster_links:0 mem_aof_buffer:0 mem_allocator:jemalloc-5.2.1 active_defrag_running:0 lazyfree_pending_objects:0 lazyfreed_objects:0

Persistence

loading:0 async_loading:0 current_cow_peak:0 current_cow_size:0 current_cow_size_age:0 current_fork_perc:0.00 current_save_keys_processed:0 current_save_keys_total:0 rdb_changes_since_last_save:125 rdb_bgsave_in_progress:0 rdb_last_save_time:1747527452 rdb_last_bgsave_status:ok rdb_last_bgsave_time_sec:0 rdb_current_bgsave_time_sec:-1 rdb_saves:58263 rdb_last_cow_size:1822720 rdb_last_load_keys_expired:0 rdb_last_load_keys_loaded:11999 aof_enabled:0 aof_rewrite_in_progress:0 aof_rewrite_scheduled:0 aof_last_rewrite_time_sec:-1 aof_current_rewrite_time_sec:-1 aof_last_bgrewrite_status:ok aof_rewrites:0 aof_rewrites_consecutive_failures:0 aof_last_write_status:ok aof_last_cow_size:0 module_fork_in_progress:0 module_fork_last_cow_size:0

Stats

total_connections_received:1077192 total_commands_processed:149542638 instantaneous_ops_per_sec:16 total_net_input_bytes:199539526560 total_net_output_bytes:55000042538 total_net_repl_input_bytes:194991034740 total_net_repl_output_bytes:0 instantaneous_input_kbps:12.17 instantaneous_output_kbps:4.44 instantaneous_input_repl_kbps:11.95 instantaneous_output_repl_kbps:0.00 rejected_connections:0 sync_full:0 sync_partial_ok:0 sync_partial_err:0 expired_keys:0 expired_stale_perc:0.00 expired_time_cap_reached_count:0 expire_cycle_cpu_milliseconds:0 evicted_keys:0 evicted_clients:0 total_eviction_exceeded_time:0 current_eviction_exceeded_time:0 keyspace_hits:0 keyspace_misses:2 pubsub_channels:1 pubsub_patterns:0 pubsubshard_channels:0 latest_fork_usec:1541 total_forks:58263 migrate_cached_sockets:0 slave_expires_tracked_keys:0 active_defrag_hits:0 active_defrag_misses:0 active_defrag_key_hits:0 active_defrag_key_misses:0 total_active_defrag_time:0 current_active_defrag_time:0 tracking_total_keys:0 tracking_total_items:0 tracking_total_prefixes:0 unexpected_error_replies:0 total_error_replies:5866 dump_payload_sanitizations:0 total_reads_processed:141595050 total_writes_processed:257417105 io_threaded_reads_processed:0 io_threaded_writes_processed:0 reply_buffer_shrinks:5334302 reply_buffer_expands:5333747

Replication

role:slave master_host:10.106.96.96 master_port:36379 master_link_status:up master_last_io_seconds_ago:0 master_sync_in_progress:0 slave_read_repl_offset:261355466348 slave_repl_offset:261355466348 slave_priority:100 slave_read_only:1 replica_announced:1 connected_slaves:0 master_failover_state:no-failover master_replid:1dbd98479985a5dee4a1552253588aa389db1224 master_replid2:0000000000000000000000000000000000000000 master_repl_offset:261355466348 second_repl_offset:-1 repl_backlog_active:1 repl_backlog_size:1048576 repl_backlog_first_byte_offset:261354397625 repl_backlog_histlen:1068724

CPU

used_cpu_sys:14527.248176 used_cpu_user:16285.373974 used_cpu_sys_children:738.753618 used_cpu_user_children:4827.441923 used_cpu_sys_main_thread:13936.465339 used_cpu_user_main_thread:15912.230226

Modules

Commandstats

cmdstat_del:calls=9360988,usec=80792171,usec_per_call=8.63,rejected_calls=0,failed_calls=0 cmdstat_publish:calls=52537938,usec=396591744,usec_per_call=7.55,rejected_calls=0,failed_calls=0 cmdstat_subscribe:calls=4,usec=14,usec_per_call=3.50,rejected_calls=0,failed_calls=0 cmdstat_decr:calls=154,usec=99,usec_per_call=0.64,rejected_calls=0,failed_calls=0 cmdstat_set:calls=25074462,usec=132860137,usec_per_call=5.30,rejected_calls=0,failed_calls=0 cmdstat_multi:calls=32963,usec=18672,usec_per_call=0.57,rejected_calls=0,failed_calls=0 cmdstat_command:calls=0,usec=0,usec_per_call=0.00,rejected_calls=26,failed_calls=0 cmdstat_command|docs:calls=5,usec=6155,usec_per_call=1231.00,rejected_calls=26,failed_calls=0 cmdstat_get:calls=2,usec=18,usec_per_call=9.00,rejected_calls=0,failed_calls=0 cmdstat_slowlog|get:calls=2,usec=6,usec_per_call=3.00,rejected_calls=0,failed_calls=0 cmdstat_auth:calls=952420,usec=4552606,usec_per_call=4.78,rejected_calls=0,failed_calls=8 cmdstat_lrem:calls=180,usec=2657,usec_per_call=14.76,rejected_calls=0,failed_calls=0 cmdstat_config|get:calls=4,usec=539,usec_per_call=134.75,rejected_calls=0,failed_calls=0 cmdstat_exec:calls=32963,usec=428821,usec_per_call=13.01,rejected_calls=0,failed_calls=0 cmdstat_client|setname:calls=8,usec=10,usec_per_call=1.25,rejected_calls=0,failed_calls=0 cmdstat_flushall:calls=1,usec=3933,usec_per_call=3933.00,rejected_calls=0,failed_calls=0 cmdstat_info:calls=5750878,usec=560596041,usec_per_call=97.48,rejected_calls=4556,failed_calls=0 cmdstat_incr:calls=3566,usec=11814,usec_per_call=3.31,rejected_calls=0,failed_calls=0 cmdstat_rpush:calls=2970,usec=38379,usec_per_call=12.92,rejected_calls=0,failed_calls=0 cmdstat_quit:calls=951554,usec=383724,usec_per_call=0.40,rejected_calls=0,failed_calls=0 cmdstat_ping:calls=54829633,usec=93298561,usec_per_call=1.70,rejected_calls=1246,failed_calls=0 cmdstat_cluster|info:calls=2,usec=8,usec_per_call=4.00,rejected_calls=0,failed_calls=2 cmdstat_cluster|nodes:calls=2,usec=4,usec_per_call=2.00,rejected_calls=0,failed_calls=2 cmdstat_pexpireat:calls=11939,usec=15567,usec_per_call=1.30,rejected_calls=0,failed_calls=0

Errorstats

errorstat_ERR:count=4 errorstat_NOAUTH:count=5854 errorstat_WRONGPASS:count=8

Latencystats

latency_percentiles_usec_del:p50=8.031,p99=23.039,p99.9=43.007 latency_percentiles_usec_publish:p50=7.007,p99=32.127,p99.9=56.063 latency_percentiles_usec_subscribe:p50=3.007,p99=5.023,p99.9=5.023 latency_percentiles_usec_decr:p50=1.003,p99=2.007,p99.9=3.007 latency_percentiles_usec_set:p50=4.015,p99=23.039,p99.9=45.055 latency_percentiles_usec_multi:p50=1.003,p99=2.007,p99.9=11.007 latency_percentiles_usec_command|docs:p50=1236.991,p99=1253.375,p99.9=1253.375 latency_percentiles_usec_get:p50=5.023,p99=13.055,p99.9=13.055 latency_percentiles_usec_slowlog|get:p50=3.007,p99=3.007,p99.9=3.007 latency_percentiles_usec_auth:p50=4.015,p99=25.087,p99.9=41.215 latency_percentiles_usec_lrem:p50=13.055,p99=41.215,p99.9=53.247 latency_percentiles_usec_config|get:p50=20.095,p99=272.383,p99.9=272.383 latency_percentiles_usec_exec:p50=12.031,p99=31.103,p99.9=52.223 latency_percentiles_usec_client|setname:p50=1.003,p99=3.007,p99.9=3.007 latency_percentiles_usec_flushall:p50=3948.543,p99=3948.543,p99.9=3948.543 latency_percentiles_usec_info:p50=96.255,p99=149.503,p99.9=197.631 latency_percentiles_usec_incr:p50=2.007,p99=22.015,p99.9=28.031 latency_percentiles_usec_rpush:p50=10.047,p99=47.103,p99.9=69.119 latency_percentiles_usec_quit:p50=0.001,p99=1.003,p99.9=9.023 latency_percentiles_usec_ping:p50=2.007,p99=8.031,p99.9=18.047 latency_percentiles_usec_cluster|info:p50=2.007,p99=6.015,p99.9=6.015 latency_percentiles_usec_cluster|nodes:p50=1.003,p99=3.007,p99.9=3.007 latency_percentiles_usec_pexpireat:p50=1.003,p99=9.023,p99.9=15.039

Cluster

cluster_enabled:0

Keyspace

db0:keys=8912,expires=7416,avg_ttl=0

------ CLIENT LIST OUTPUT ------ id=3 addr=10.106.96.96:36379 laddr=10.106.96.95:33080 fd=12 name= age=17848397 idle=0 flags=M db=0 sub=0 psub=0 ssub=0 multi=-1 qbuf=0 qbuf-free=0 argv-mem=0 multi-mem=0 rbs=1024 rbp=46 obl=0 oll=0 omem=0 tot-mem=42752 events=r cmd=set user=(superuser) redir=-1 resp=2 id=4 addr=10.106.96.94:49064 laddr=10.106.96.95:36379 fd=8 name=sentinel-070a7353-cmd age=17848397 idle=1 flags=N db=0 sub=0 psub=0 ssub=0 multi=-1 qbuf=0 qbuf-free=20474 argv-mem=0 multi-mem=0 rbs=1024 rbp=0 obl=0 oll=0 omem=0 tot-mem=22272 events=r cmd=ping user=default redir=-1 resp=2 id=5 addr=10.106.96.94:49080 laddr=10.106.96.95:36379 fd=9 name=sentinel-070a7353-pubsub age=17848397 idle=1 flags=P db=0 sub=1 psub=0 ssub=0 multi=-1 qbuf=0 qbuf-free=0 argv-mem=0 multi-mem=0 rbs=1024 rbp=280 obl=0 oll=0 omem=0 tot-mem=1856 events=r cmd=subscribe user=default redir=-1 resp=2 id=6 addr=10.106.96.92:40054 laddr=10.106.96.95:36379 fd=10 name=sentinel-1a644222-cmd age=17848397 idle=0 flags=N db=0 sub=0 psub=0 ssub=0 multi=-1 qbuf=0 qbuf-free=20474 argv-mem=0 multi-mem=0 rbs=1024 rbp=0 obl=0 oll=0 omem=0 tot-mem=22272 events=r cmd=ping user=default redir=-1 resp=2 id=7 addr=10.106.96.92:40058 laddr=10.106.96.95:36379 fd=11 name=sentinel-1a644222-pubsub age=17848397 idle=1 flags=P db=0 sub=1 psub=0 ssub=0 multi=-1 qbuf=0 qbuf-free=0 argv-mem=0 multi-mem=0 rbs=1024 rbp=280 obl=0 oll=0 omem=0 tot-mem=1856 events=r cmd=subscribe user=default redir=-1 resp=2 id=573635 addr=10.106.96.93:39838 laddr=10.106.96.95:36379 fd=13 name=sentinel-06c4c7a5-pubsub age=8344478 idle=1 flags=P db=0 sub=1 psub=0 ssub=0 multi=-1 qbuf=0 qbuf-free=0 argv-mem=0 multi-mem=0 rbs=1024 rbp=280 obl=0 oll=0 omem=0 tot-mem=1856 events=r cmd=subscribe user=default redir=-1 resp=2 id=573636 addr=10.106.96.93:39822 laddr=10.106.96.95:36379 fd=14 name=sentinel-06c4c7a5-cmd age=8344478 idle=1 flags=N db=0 sub=0 psub=0 ssub=0 multi=-1 qbuf=0 qbuf-free=20474 argv-mem=0 multi-mem=0 rbs=2048 rbp=1024 obl=0 oll=0 omem=0 tot-mem=23296 events=r cmd=ping user=default redir=-1 resp=2

------ MODULES INFO OUTPUT ------

------ CONFIG DEBUG OUTPUT ------ io-threads 1 sanitize-dump-payload no activedefrag no lazyfree-lazy-expire no lazyfree-lazy-user-del no slave-read-only yes lazyfree-lazy-server-del no lazyfree-lazy-user-flush no list-compress-depth 0 io-threads-do-reads no repl-diskless-load disabled replica-read-only yes client-query-buffer-limit 1gb lazyfree-lazy-eviction no proto-max-bulk-len 512mb repl-diskless-sync yes

------ FAST MEMORY TEST ------ 2346891:S 18 May 2025 08:19:27.483 # Bio thread for job type #0 terminated 2346891:S 18 May 2025 08:19:27.483 # Bio thread for job type #1 terminated 2346891:S 18 May 2025 08:19:27.483 # Bio thread for job type #2 terminated *** Preparing to test memory region 68b000 (2301952 bytes) *** Preparing to test memory region 186e000 (135168 bytes) *** Preparing to test memory region 7f774cbca000 (78643200 bytes) *** Preparing to test memory region 7f77516cb000 (8388608 bytes) *** Preparing to test memory region 7f7751ecc000 (8388608 bytes) *** Preparing to test memory region 7f77526cd000 (8388608 bytes) *** Preparing to test memory region 7f7752ece000 (8388608 bytes) *** Preparing to test memory region 7f7760400000 (8388608 bytes) *** Preparing to test memory region 7f7760d81000 (24576 bytes) *** Preparing to test memory region 7f7760e42000 (8192 bytes) *** Preparing to test memory region 7f7760fb0000 (8192 bytes) *** Preparing to test memory region 7f7761015000 (8192 bytes) *** Preparing to test memory region 7f77611cb000 (16384 bytes) *** Preparing to test memory region 7f77611ec000 (16384 bytes) *** Preparing to test memory region 7f7761299000 (4096 bytes) *** Preparing to test memory region 7f776142d000 (8192 bytes) *** Preparing to test memory region 7f776144b000 (4096 bytes) *** Preparing to test memory region 7f7761474000 (4096 bytes) .O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O Fast memory test PASSED, however your memory can still be broken. Please run a memory test for several hours if possible.

------ DUMPING CODE AROUND EIP ------ Symbol: gsignal (base: 0x7f7761050360) Module: /usr/lib64/libc.so.6 (base 0x7f7761017000) $ xxd -r -p /tmp/dump.hex /tmp/dump.bin $ objdump --adjust-vma=0x7f7761050360 -D -b binary -m i386:x86-64 /tmp/dump.bin


2346891:S 18 May 2025 08:19:28.171 # dump of function (hexdump of 395 bytes): 5349c7c0ffffffff89fb41ba0800000031ff4881ec1001000064488b042528000000488984240801000031c04989e148b8ffffff7ffeffffff4c8984248800000048898424800000004c89842490000000488db424800000004c898424980000004c898424a00000004c89ca4c898424a80000004c898424b0000000b80e0000004c898424b80000004c898424c00000004c898424c80000004c898424d00000004c898424d80000004c898424e00000004c898424e80000004c898424f00000004c898424f80000000f05b92700000089c80f054889c7b8ba0000000f0589c689dab8ea0000000f05483d00f0ffff773f4189c041ba0800000031d24c89cebf02000000b80e0000000f05488b8c24080100006448330c25280000004489c0751d4881c4100100005bc3660f1f440000488b15d1791700f7d8648902ebb6e85d040d00662e0f1f8400000000000f1f0085ff780cf7dfe9950200000f1f440000488b05a179170064c70016000000b8ffffffffc3662e0f1f84000000000066909066662e0f1f8400000000

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

   Please report the crash by opening an issue on github:

       http://github.com/redis/redis/issues

If a Redis module was involved, please open in the module's repo instead.

Suspect RAM error? Use redis-server --test-memory to verify it.

Some other issues could be detected by redis-server --check-system

Comment From: sundb

@sjzghw123 what version of KylinOS do you use? there is another issue in https://github.com/redis/redis/issues/13501. can you share the binary with me(debing.sun@redis.com)?