Notice! - If a Redis module was involved, please open an issue in the module's repo instead! - If you're using docker on Apple M1, please make sure the image you're using was compiled for ARM!
Crash report
=== REDIS BUG REPORT START: Cut & paste starting from here ===
57658:M 04 May 11:11:22.414 # Redis 4.0.10 crashed by signal: 11
57658:M 04 May 11:11:22.414 # Accessing address: 0xffffffffffffffff
57658:M 04 May 11:11:22.414 # Failed assertion:
------ STACK TRACE ------ ./redis-server 0.0.0.0:6379(logStackTrace+0x50)[0x46cad8]
------ INFO OUTPUT ------
Server
redis_version:4.0.10 redis_git_sha1:00000000 redis_git_dirty:0 redis_build_id:e72b66fe03796dbd redis_mode:standalone os:Linux 4.19.90.S001.64.200410 aarch64 arch_bits:64 multiplexing_api:epoll atomicvar_api:atomic-builtin gcc_version:5.4.0 process_id:57658 run_id:774bfa6ed14544c253afa84532a8d2c09405b938 tcp_port:6379 uptime_in_seconds:59159 uptime_in_days:0 hz:10 lru_clock:5448282 executable:/opt/redis-4.0.10/bin/./redis-server config_file:/opt/redis-4.0.10/redis.conf
Clients
connected_clients:6 client_longest_output_list:0 client_biggest_input_buf:0 blocked_clients:0
Memory
used_memory:1314680 used_memory_human:1.25M used_memory_rss:8192000 used_memory_rss_human:7.81M used_memory_peak:2446560 used_memory_peak_human:2.33M used_memory_peak_perc:53.74% used_memory_overhead:956436 used_memory_startup:819400 used_memory_dataset:358244 used_memory_dataset_perc:72.33% total_system_memory:66863038464 total_system_memory_human:62.27G used_memory_lua:37888 used_memory_lua_human:37.00K maxmemory:0 maxmemory_human:0B maxmemory_policy:noeviction mem_fragmentation_ratio:6.23 mem_allocator:jemalloc-4.0.3 active_defrag_running:0 lazyfree_pending_objects:0
Persistence
loading:0 rdb_changes_since_last_save:272 rdb_bgsave_in_progress:0 rdb_last_save_time:1683169814 rdb_last_bgsave_status:ok rdb_last_bgsave_time_sec:0 rdb_current_bgsave_time_sec:-1 rdb_last_cow_size:2621440 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_last_write_status:ok aof_last_cow_size:0
Stats
total_connections_received:8 total_commands_processed:244063 instantaneous_ops_per_sec:34 total_net_input_bytes:189009810 total_net_output_bytes:404074637 instantaneous_input_kbps:22.19 instantaneous_output_kbps:51.21 rejected_connections:0 sync_full:0 sync_partial_ok:0 sync_partial_err:0 expired_keys:1156 expired_stale_perc:0.00 expired_time_cap_reached_count:0 evicted_keys:0 keyspace_hits:148683 keyspace_misses:31872 pubsub_channels:0 pubsub_patterns:9 latest_fork_usec:336 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
Replication
role:master connected_slaves:0 master_replid:e8211347602d51b379160c53e935e2e6dd21cbc7 master_replid2:0000000000000000000000000000000000000000 master_repl_offset:0 second_repl_offset:-1 repl_backlog_active:0 repl_backlog_size:1048576 repl_backlog_first_byte_offset:0 repl_backlog_histlen:0
CPU
used_cpu_sys:44.19 used_cpu_user:13.64 used_cpu_sys_children:0.16 used_cpu_user_children:0.61
Commandstats
cmdstat_publish:calls=30,usec=232,usec_per_call=7.73 cmdstat_pexpire:calls=8862,usec=72635,usec_per_call=8.20 cmdstat_setnx:calls=9458,usec=35760,usec_per_call=3.78 cmdstat_del:calls=12865,usec=134637,usec_per_call=10.47 cmdstat_hmset:calls=30,usec=355,usec_per_call=11.83 cmdstat_sadd:calls=30,usec=192,usec_per_call=6.40 cmdstat_keys:calls=15,usec=745,usec_per_call=49.67 cmdstat_get:calls=177565,usec=460019,usec_per_call=2.59 cmdstat_setex:calls=32087,usec=263153,usec_per_call=8.20 cmdstat_hgetall:calls=90,usec=515,usec_per_call=5.72 cmdstat_exists:calls=60,usec=96,usec_per_call=1.60 cmdstat_select:calls=4,usec=7,usec_per_call=1.75 cmdstat_append:calls=30,usec=140,usec_per_call=4.67 cmdstat_auth:calls=8,usec=27,usec_per_call=3.38 cmdstat_config:calls=5,usec=179,usec_per_call=35.80 cmdstat_punsubscribe:calls=1,usec=4,usec_per_call=4.00 cmdstat_psubscribe:calls=4,usec=30,usec_per_call=7.50 cmdstat_smembers:calls=2919,usec=7046,usec_per_call=2.41
Cluster
cluster_enabled:0
Keyspace
db1:keys=307,expires=301,avg_ttl=7117207
------ CLIENT LIST OUTPUT ------ id=10 addr=55.2.40.193:38884 fd=12 name= age=58156 idle=0 flags=N db=0 sub=0 psub=3 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=psubscribe id=5 addr=55.2.40.193:36440 fd=7 name= age=58523 idle=0 flags=N db=1 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=setex id=6 addr=55.2.40.193:36472 fd=8 name= age=58508 idle=0 flags=N db=0 sub=0 psub=3 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=psubscribe id=7 addr=55.2.40.193:38002 fd=9 name= age=58276 idle=0 flags=N db=1 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=get id=8 addr=55.2.40.193:38122 fd=10 name= age=58268 idle=0 flags=N db=0 sub=0 psub=3 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=psubscribe id=9 addr=55.2.40.193:38732 fd=11 name= age=58167 idle=23 flags=N db=1 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=del
------ REGISTERS ------
------ FAST MEMORY TEST ------ 57658:M 04 May 11:11:22.415 # Bio thread for job type #0 terminated 57658:M 04 May 11:11:22.415 # Bio thread for job type #1 terminated 57658:M 04 May 11:11:22.415 # Bio thread for job type #2 terminated *** Preparing to test memory region 540000 (65536 bytes) *** Preparing to test memory region 29440000 (196608 bytes) *** Preparing to test memory region fffc79e00000 (2097152 bytes) *** Preparing to test memory region fffc7a1e0000 (8388608 bytes) *** Preparing to test memory region fffc7a9f0000 (8388608 bytes) *** Preparing to test memory region fffc7b200000 (8388608 bytes) *** Preparing to test memory region fffc7ba00000 (2097152 bytes) *** Preparing to test memory region fffc88a00000 (2097152 bytes) .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.
=== 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/antirez/redis/issues
Suspect RAM error? Use redis-server --test-memory to verify it.
Additional information
- OS distribution and version
os:Linux 4.19.90.S001.64.200410 aarch64 (arm64) arch_bits:64 redis version:4.0.10
Comment From: yossigo
@xiaobing395845388 This is a very old version, can you please try the latest and report back if the problem persists?
Comment From: xiaobing395845388
@xiaobing395845388 This is a very old version, can you please try the latest and report back if the problem persists?
it runs at a relatively special production environment,the signing process is quite complex because of the Classified Host Information
Comment From: xiaobing395845388
@xiaobing395845388 This is a very old version, can you please try the latest and report back if the problem persists?
it runs at a relatively special production environment,the signing process is quite complex because of the Classified Host Information
Comment From: xiaobing395845388
@xiaobing395845388 This is a very old version, can you please try the latest and report back if the problem persists?
any ideas by the above report?
Comment From: sundb
@xiaobing395845388 I see that you are using arm64 linux, but AFAIK the 4.x version does not have support for arm64. Perhaps you can look for the following commit:
3e112d461 Use jemalloc by default also on ARM (#11407)
34e70c13c fix arm build warning due to new compiler optimizations (#11362)
ebfbb0910 Remove redundant -latomic on arm64. (#8867)
1bf02e1ca Fix compliation on arm64 Mac with jemalloc (#8458)
3a5049042 Avoid assertions when testing arm64 cow bug. (#8405)
b02780c41 Add check for the MADV_FREE/fork arm64 Linux kernel bug (#8224)
b51f5da31 Fix TLS build on macOS arm64 systems (#8197)
88351275f Merge pull request #6960 from devnexen/debug_arm_linux
654815729 debug, dump registers on arm too.
e084b5a39 Merge branch 'arm' into unstable
Comment From: xiaobing395845388
Merge branch 'arm' into unstable
i donot think so ,it works well on our test env, the same version 4.0.10 ,and also arm64