Skip to content

Instantly share code, notes, and snippets.

@michael-grunder
Created June 18, 2018 01:00
Show Gist options
  • Save michael-grunder/9d594eb1c2fad8566525cb9e7a50112c to your computer and use it in GitHub Desktop.
Save michael-grunder/9d594eb1c2fad8566525cb9e7a50112c to your computer and use it in GitHub Desktop.
=== REDIS BUG REPORT START: Cut & paste starting from here ===
22570:M 17 Jun 17:58:15.200 # Redis 999.999.999 crashed by signal: 11
22570:M 17 Jun 17:58:15.200 # Crashed running the instruction at: 0x5598f90cd63e
22570:M 17 Jun 17:58:15.200 # Accessing address: (nil)
22570:M 17 Jun 17:58:15.200 # Failed assertion: <no assertion failed> (<no file>:0)
------ STACK TRACE ------
EIP:
redis-server 127.0.0.1:7000 [cluster](raxRecursiveFree+0xe)[0x5598f90cd63e]
Backtrace:
redis-server 127.0.0.1:7000 [cluster](logStackTrace+0x5a)[0x5598f909946a]
redis-server 127.0.0.1:7000 [cluster](sigsegvHandler+0xb1)[0x5598f9099c21]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x12890)[0x7f1e25c9e890]
redis-server 127.0.0.1:7000 [cluster](raxRecursiveFree+0xe)[0x5598f90cd63e]
redis-server 127.0.0.1:7000 [cluster](raxRecursiveFree+0xba)[0x5598f90cd6ea]
redis-server 127.0.0.1:7000 [cluster](raxFreeWithCallback+0xf)[0x5598f90cd74f]
redis-server 127.0.0.1:7000 [cluster](streamFreeCG+0x24)[0x5598f90cf354]
redis-server 127.0.0.1:7000 [cluster](raxRecursiveFree+0xfd)[0x5598f90cd72d]
redis-server 127.0.0.1:7000 [cluster](raxRecursiveFree+0xba)[0x5598f90cd6ea]
redis-server 127.0.0.1:7000 [cluster](raxRecursiveFree+0xba)[0x5598f90cd6ea]
redis-server 127.0.0.1:7000 [cluster](raxFreeWithCallback+0xf)[0x5598f90cd74f]
redis-server 127.0.0.1:7000 [cluster](freeStream+0x28)[0x5598f90cf3e8]
redis-server 127.0.0.1:7000 [cluster](decrRefCount+0x69)[0x5598f9067969]
redis-server 127.0.0.1:7000 [cluster](+0x34ab5)[0x5598f9050ab5]
redis-server 127.0.0.1:7000 [cluster](dictDelete+0xb)[0x5598f9050fcb]
redis-server 127.0.0.1:7000 [cluster](dbSyncDelete+0x28)[0x5598f906c028]
redis-server 127.0.0.1:7000 [cluster](delGenericCommand+0x76)[0x5598f906d4f6]
redis-server 127.0.0.1:7000 [cluster](call+0xab)[0x5598f9054fab]
redis-server 127.0.0.1:7000 [cluster](processCommand+0x42f)[0x5598f905576f]
redis-server 127.0.0.1:7000 [cluster](processInputBuffer+0x115)[0x5598f90657b5]
redis-server 127.0.0.1:7000 [cluster](aeProcessEvents+0x150)[0x5598f904ec20]
redis-server 127.0.0.1:7000 [cluster](aeMain+0x2b)[0x5598f904f00b]
redis-server 127.0.0.1:7000 [cluster](main+0x4ec)[0x5598f904bbbc]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0x7f1e258bcb97]
redis-server 127.0.0.1:7000 [cluster](_start+0x2a)[0x5598f904be0a]
------ INFO OUTPUT ------
# Server
redis_version:999.999.999
redis_git_sha1:2e0ab4a8
redis_git_dirty:0
redis_build_id:8994660bf8217010
redis_mode:cluster
os:Linux 4.15.0-22-generic x86_64
arch_bits:64
multiplexing_api:epoll
atomicvar_api:atomic-builtin
gcc_version:7.3.0
process_id:22570
run_id:efd142508c2d90f671ec33ae15467feecea9d945
tcp_port:7000
uptime_in_seconds:22
uptime_in_days:0
hz:10
lru_clock:2556839
executable:/home/mike/dev/phpredis/tests/redis-server
config_file:
# Clients
connected_clients:1
client_longest_output_list:0
client_biggest_input_buf:0
blocked_clients:0
# Memory
used_memory:1536992
used_memory_human:1.47M
used_memory_rss:5382144
used_memory_rss_human:5.13M
used_memory_peak:1597448
used_memory_peak_human:1.52M
used_memory_peak_perc:96.22%
used_memory_overhead:1497518
used_memory_startup:1447728
used_memory_dataset:39474
used_memory_dataset_perc:44.22%
allocator_allocated:1821208
allocator_active:2166784
allocator_resident:5820416
total_system_memory:67544670208
total_system_memory_human:62.91G
used_memory_lua:37888
used_memory_lua_human:37.00K
maxmemory:0
maxmemory_human:0B
maxmemory_policy:noeviction
allocator_frag_ratio:1.19
allocator_frag_bytes:345576
allocator_rss_ratio:2.69
allocator_rss_bytes:3653632
rss_overhead_ratio:0.92
rss_overhead_bytes:18446744073709113344
mem_fragmentation_ratio:3.65
mem_fragmentation_bytes:3909384
mem_allocator:jemalloc-5.1.0
active_defrag_running:0
lazyfree_pending_objects:0
# Persistence
loading:0
rdb_changes_since_last_save:19
rdb_bgsave_in_progress:0
rdb_last_save_time:1529283473
rdb_last_bgsave_status:ok
rdb_last_bgsave_time_sec:-1
rdb_current_bgsave_time_sec:-1
rdb_last_cow_size:0
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:3
total_commands_processed:35
instantaneous_ops_per_sec:0
total_net_input_bytes:54969
total_net_output_bytes:23454
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
expired_stale_perc:0.00
expired_time_cap_reached_count:0
evicted_keys:0
keyspace_hits:8
keyspace_misses:0
pubsub_channels:0
pubsub_patterns:0
latest_fork_usec:0
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:aa6e293b4735b04496585aaa7edb401beebd3be8
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:0.02
used_cpu_user:0.00
used_cpu_sys_children:0.00
used_cpu_user_children:0.00
# Commandstats
cmdstat_cluster:calls=11,usec=1011,usec_per_call=91.91
cmdstat_del:calls=3,usec=6,usec_per_call=2.00
cmdstat_ping:calls=2,usec=1,usec_per_call=0.50
cmdstat_command:calls=1,usec=425,usec_per_call=425.00
cmdstat_xadd:calls=5,usec=33,usec_per_call=6.60
cmdstat_info:calls=3,usec=170,usec_per_call=56.67
cmdstat_xgroup:calls=8,usec=13,usec_per_call=1.62
cmdstat_xreadgroup:calls=2,usec=32,usec_per_call=16.00
# Cluster
cluster_enabled:1
# Keyspace
db0:keys=2,expires=0,avg_ttl=0
------ CLIENT LIST OUTPUT ------
id=5 addr=127.0.0.1:58026 fd=9 name= age=0 idle=0 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=32768 obl=0 oll=0 omem=0 events=r cmd=del
------ CURRENT CLIENT INFO ------
id=5 addr=127.0.0.1:58026 fd=9 name= age=0 idle=0 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=32768 obl=0 oll=0 omem=0 events=r cmd=del
argv[0]: 'DEL'
argv[1]: '{s}-1'
------ REGISTERS ------
22570:M 17 Jun 17:58:15.201 #
RAX:0000000000000001 RBX:00007f1e2540989d
RCX:ffffffffffffffff RDX:00005598f90cf360
RDI:00007f1e25428600 RSI:0000000000000000
RBP:00007f1e25428600 RSP:00007fff2d8748a0
R8 :0000000000000008 R9 :00007f1e26854950
R10:0000000000000002 R11:0000000000000006
R12:00005598f90cf360 R13:0000000000000000
R14:00007f1e2540989d R15:00007f1e2540b360
RIP:00005598f90cd63e EFL:0000000000010212
CSGSFS:002b000000000033
22570:M 17 Jun 17:58:15.201 # (00007fff2d8748af) -> 00005598f90cd72d
22570:M 17 Jun 17:58:15.201 # (00007fff2d8748ae) -> 00007f1e25428486
22570:M 17 Jun 17:58:15.201 # (00007fff2d8748ad) -> 00005598f90cf354
22570:M 17 Jun 17:58:15.201 # (00007fff2d8748ac) -> 00007f1e2540e1a0
22570:M 17 Jun 17:58:15.201 # (00007fff2d8748ab) -> 00005598f90cd74f
22570:M 17 Jun 17:58:15.201 # (00007fff2d8748aa) -> 00007f1e2542847e
22570:M 17 Jun 17:58:15.201 # (00007fff2d8748a9) -> 00007f1e254706c0
22570:M 17 Jun 17:58:15.201 # (00007fff2d8748a8) -> 00005598f90cf330
22570:M 17 Jun 17:58:15.201 # (00007fff2d8748a7) -> 00007f1e25428438
22570:M 17 Jun 17:58:15.201 # (00007fff2d8748a6) -> 00007f1e25428600
22570:M 17 Jun 17:58:15.201 # (00007fff2d8748a5) -> 00005598f90cd6ea
22570:M 17 Jun 17:58:15.201 # (00007fff2d8748a4) -> 00007f1e2540989d
22570:M 17 Jun 17:58:15.201 # (00007fff2d8748a3) -> 00007f1e254098a0
22570:M 17 Jun 17:58:15.201 # (00007fff2d8748a2) -> 00005598f90cf360
22570:M 17 Jun 17:58:15.201 # (00007fff2d8748a1) -> 00007f1e25428600
22570:M 17 Jun 17:58:15.201 # (00007fff2d8748a0) -> 00007f1e2540989d
------ FAST MEMORY TEST ------
22570:M 17 Jun 17:58:15.202 # Bio thread for job type #0 terminated
22570:M 17 Jun 17:58:15.202 # Bio thread for job type #1 terminated
22570:M 17 Jun 17:58:15.202 # Bio thread for job type #2 terminated
*** Preparing to test memory region 5598f93c6000 (2252800 bytes)
*** Preparing to test memory region 5598fa37c000 (135168 bytes)
*** Preparing to test memory region 7f1e2329f000 (2621440 bytes)
*** Preparing to test memory region 7f1e23520000 (8388608 bytes)
*** Preparing to test memory region 7f1e23d21000 (8388608 bytes)
*** Preparing to test memory region 7f1e24522000 (8388608 bytes)
*** Preparing to test memory region 7f1e25000000 (8388608 bytes)
*** Preparing to test memory region 7f1e25c88000 (16384 bytes)
*** Preparing to test memory region 7f1e25ea7000 (16384 bytes)
*** Preparing to test memory region 7f1e26854000 (32768 bytes)
*** Preparing to test memory region 7f1e2687e000 (4096 bytes)
.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: raxRecursiveFree (base: 0x5598f90cd630)
Module: redis-server 127.0.0.1:7000 [cluster] (base 0x5598f901c000)
$ xxd -r -p /tmp/dump.hex /tmp/dump.bin
$ objdump --adjust-vma=0x5598f90cd630 -D -b binary -m i386:x86-64 /tmp/dump.bin
------
22570:M 17 Jun 17:58:15.354 # dump of function (hexdump of 142 bytes):
415641554989f54154554989d4530fb6064889fd8b16c1ea03a80489d7755183e00331f64c8d04fd000000003c018d4aff400f95c685d2488d34f5f8ffffff754a4d85e4740f410fb6450089c283e20380fa0174734c89efe803eef8ff48836d10015b5d415c415d415ec30f1f44000083e00331f631c93c0141b808000000400f95c6488d34f5f8ffffff3c0148
=== 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment