Describe the bug

redis can not start up, with beflow info:

=== 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.

57692:M 28 Dec 09:41:41.484 * Node configuration loaded, I'm 3a3c3603da19c11c51772c4c380603bf66cb4a71
                _._                                                  
           _.-``__ ''-._                                             
      _.-``    `.  `_.  ''-._           Redis 3.2.10 (00000000/0) 64 bit
  .-`` .-```.  ```\/    _.,_ ''-._                                   
 (    '      ,       .-`  | `,    )     Running in cluster mode
 |`-._`-...-` __...-.``-._|'` _.-'|     Port: 8380
 |    `-._   `._    /     _.-'    |     PID: 57692
  `-._    `-._  `-./  _.-'    _.-'                                   
 |`-._`-._    `-.__.-'    _.-'_.-'|                                  
 |    `-._`-._        _.-'_.-'    |           http://redis.io        
  `-._    `-._`-.__.-'_.-'    _.-'                                   
 |`-._`-._    `-.__.-'    _.-'_.-'|                                  
 |    `-._`-._        _.-'_.-'    |                                  
  `-._    `-._`-.__.-'_.-'    _.-'                                   
      `-._    `-.__.-'    _.-'                                       
          `-._        _.-'                                           
              `-.__.-'                                               

57692:M 28 Dec 09:41:41.484 # Server started, Redis version 3.2.10


=== REDIS BUG REPORT START: Cut & paste starting from here ===
57692:M 28 Dec 09:41:41.578 # Redis 3.2.10 crashed by signal: 11
57692:M 28 Dec 09:41:41.578 # Accessing address: 0xffff8a5fe000
57692:M 28 Dec 09:41:41.578 # Failed assertion: <no assertion failed> (<no file>:0)

------ STACK TRACE ------
/home/aitpm/software/redis-cluster/bin/redis-server 10.222.93.163:8380 [cluster](logStackTrace+0x2c)[0x45f458]
/home/aitpm/software/redis-cluster/bin/redis-server 10.222.93.163:8380 [cluster](sigsegvHandler+0x90)[0x45fb00]
[0xffff93435678]
/lib64/libc.so.6(memset+0x48)[0xffff932014a8]
/home/aitpm/software/redis-cluster/bin/redis-server 10.222.93.163:8380 [cluster](sdsnewlen+0x17c)[0x42c5e8]
/home/aitpm/software/redis-cluster/bin/redis-server 10.222.93.163:8380 [cluster](loadAppendOnlyFile+0x148)[0x45bb84]
/home/aitpm/software/redis-cluster/bin/redis-server 10.222.93.163:8380 [cluster](loadDataFromDisk+0x74)[0x42c068]
/home/aitpm/software/redis-cluster/bin/redis-server 10.222.93.163:8380 [cluster](main+0x368)[0x41fc54]
/lib64/libc.so.6(__libc_start_main+0xf0)[0xffff9319a5d4]
/home/aitpm/software/redis-cluster/bin/redis-server 10.222.93.163:8380 [cluster][0x41ff84]

------ INFO OUTPUT ------
# Server
redis_version:3.2.10
redis_git_sha1:00000000
redis_git_dirty:0
redis_build_id:262756565f1e3cb6
redis_mode:cluster
os:Linux 4.19.0-1.0.0.1.rc2 aarch64
arch_bits:64
multiplexing_api:epoll
gcc_version:4.8.5
process_id:57692
run_id:792dceccf8806a5e2cc256e91fee7ab397d06a0e
tcp_port:8380
uptime_in_seconds:0
uptime_in_days:0
hz:10
lru_clock:15284181
executable:/home/aitpm/software/redis-cluster/bin/redis-server
config_file:/home/aitpm/software/redis-cluster/cluster/8380/redis.conf

# Clients
connected_clients:0
client_longest_output_list:0
client_biggest_input_buf:0
blocked_clients:0

# Memory
used_memory:9982408
used_memory_human:9.52M
used_memory_rss:0
used_memory_rss_human:0B
used_memory_peak:9982408
used_memory_peak_human:9.52M
total_system_memory:405458149376
total_system_memory_human:377.61G
used_memory_lua:37888
used_memory_lua_human:37.00K
maxmemory:0
maxmemory_human:0B
maxmemory_policy:noeviction
mem_fragmentation_ratio:0.00
mem_allocator:jemalloc-4.0.3

# Persistence
loading:1
rdb_changes_since_last_save:19052
rdb_bgsave_in_progress:0
rdb_last_save_time:1609119701
rdb_last_bgsave_status:ok
rdb_last_bgsave_time_sec:-1
rdb_current_bgsave_time_sec:-1
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
loading_start_time:1609119701
loading_total_bytes:11703075
loading_loaded_bytes:8982368
loading_loaded_perc:76.75
loading_eta_seconds:1

# Stats
total_connections_received:0
total_commands_processed:0
instantaneous_ops_per_sec:0
total_net_input_bytes:0
total_net_output_bytes:0
instantaneous_input_kbps:0.00
instantaneous_output_kbps:0.00
rejected_connections:0
sync_full:0
sync_partial_ok:0
sync_partial_err:0
expired_keys:0
evicted_keys:0
keyspace_hits:0
keyspace_misses:0
pubsub_channels:0
pubsub_patterns:0
latest_fork_usec:0
migrate_cached_sockets:0

# Replication
role:master
connected_slaves:0
master_repl_offset:0
repl_backlog_active:0
repl_backlog_size:1048576
repl_backlog_first_byte_offset:0
repl_backlog_histlen:0

# CPU
used_cpu_sys:0.04
used_cpu_user:0.06
used_cpu_sys_children:0.00
used_cpu_user_children:0.00

# Commandstats

# Cluster
cluster_enabled:1

# Keyspace
db0:keys=3818,expires=3815,avg_ttl=0
hash_init_value: 1609466258

------ CLIENT LIST OUTPUT ------

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

------ FAST MEMORY TEST ------
57692:M 28 Dec 09:41:41.579 # Bio thread for job type #0 terminated
57692:M 28 Dec 09:41:41.579 # Bio thread for job type #1 terminated
*** Preparing to test memory region 535000 (98304 bytes)
*** Preparing to test memory region 31052000 (135168 bytes)
*** Preparing to test memory region ffff8a400000 (2088960 bytes)
*** Preparing to test memory region ffff8a5ff000 (8388608 bytes)
*** Preparing to test memory region ffff8ae00000 (18874368 bytes)
*** Preparing to test memory region ffff8c000000 (4194304 bytes)
*** Preparing to test memory region ffff92e00000 (2097152 bytes)
*** Preparing to test memory region ffff93125000 (65536 bytes)
*** Preparing to test memory region ffff93166000 (65536 bytes)
*** Preparing to test memory region ffff93176000 (12288 bytes)
*** Preparing to test memory region ffff932fb000 (16384 bytes)
*** Preparing to test memory region ffff93330000 (20480 bytes)
*** Preparing to test memory region ffff93433000 (4096 bytes)
*** Preparing to test memory region ffff93438000 (4096 bytes)
.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.

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

Comment From: oranagra

@xuheer thanks for submitting this report. i see redis crashes while loading an AOF file, can you have a look at that file to see if it looks valid? can you check the redis log file to see if there's any interesting line right before the crash log? p.s. this redis is quite old. maybe you can try a newer version of redis on the same AOF file?

Comment From: xuheer

@xuheer thanks for submitting this report. i see redis crashes while loading an AOF file, can you have a look at that file to see if it looks valid? can you check the redis log file to see if there's any interesting line right before the crash log? p.s. this redis is quite old. maybe you can try a newer version of redis on the same AOF file?

thanks , AOF file really go wrong, when i delete and restart, redis goes well

it is a good idea to update redis, maybe we will update it in next version.

thanks