Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PurpleIsEverything/c22b4bb4242c887d5d796dce8500e55e to your computer and use it in GitHub Desktop.
Save PurpleIsEverything/c22b4bb4242c887d5d796dce8500e55e to your computer and use it in GitHub Desktop.
=== KEYDB BUG REPORT START: Cut & paste starting from here ===
1:S 17 Jul 2019 04:47:21.706 # KeyDB 0.9.6 crashed by signal: 11
1:S 17 Jul 2019 04:47:21.706 # Crashed running the instruction at: 0x564c3236c8fd
1:S 17 Jul 2019 04:47:21.706 # Accessing address: 0x28
1:S 17 Jul 2019 04:47:21.706 # Failed assertion: <no assertion failed> (<no file>:0)
------ STACK TRACE ------
EIP:
keydb-server *:6379(rdbPopulateSaveInfo(rdbSaveInfo*)+0x14d) [0x564c3236c8fd]
Backtrace:
keydb-server *:6379(logStackTrace(ucontext_t*)+0x6b) [0x564c3239100b]
keydb-server *:6379(sigsegvHandler(int, siginfo_t*, void*)+0xbf) [0x564c3239179f]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x12890) [0x7f236209d890]
keydb-server *:6379(rdbPopulateSaveInfo(rdbSaveInfo*)+0x14d) [0x564c3236c8fd]
keydb-server *:6379(startBgsaveForReplication(int)+0xd4) [0x564c32364354]
keydb-server *:6379(syncCommand(client*)+0x32b) [0x564c32364dbb]
keydb-server *:6379(call(client*, int)+0xca) [0x564c3234081a]
keydb-server *:6379(processCommand(client*, int)+0x7e4) [0x564c323452c4]
keydb-server *:6379(processCommandAndResetClient(client*, int)+0x21) [0x564c3234e301]
keydb-server *:6379(processInputBuffer(client*, int)+0x7a) [0x564c323532ea]
keydb-server *:6379(readQueryFromClient(aeEventLoop*, int, void*, int)+0x390) [0x564c32353950]
keydb-server *:6379(ProcessEventCore+0x11c) [0x564c32338b8c]
keydb-server *:6379(aeProcessEvents+0x15d) [0x564c32338e1d]
keydb-server *:6379(aeMain+0x45) [0x564c323391c5]
keydb-server *:6379(workerThreadMain(void*)+0x9c) [0x564c3233d98c]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x76db) [0x7f23620926db]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x3f) [0x7f2361dbb88f]
------ INFO OUTPUT ------
# Server
redis_version:0.9.6
redis_git_sha1:04830475
redis_git_dirty:0
redis_build_id:ec400cdc6a32e3d7
redis_mode:standalone
os:Linux 5.2.1-1.el7.elrepo.x86_64 x86_64
arch_bits:64
multiplexing_api:epoll
atomicvar_api:atomic-builtin
gcc_version:7.4.0
process_id:1
run_id:81704fe9da2a388ab43e8cf075894801fd3f6416
tcp_port:6379
uptime_in_seconds:25
uptime_in_days:0
hz:10
configured_hz:10
lru_clock:3057753
executable:/data/keydb-server
config_file:
# Clients
connected_clients:0
client_recent_max_input_buffer:0
client_recent_max_output_buffer:0
blocked_clients:0
thread_0_clients:1
# Memory
used_memory:10129864
used_memory_human:9.66M
used_memory_rss:22114304
used_memory_rss_human:21.09M
used_memory_peak:10129864
used_memory_peak_human:9.66M
used_memory_peak_perc:112.33%
used_memory_overhead:10116622
used_memory_startup:9018272
used_memory_dataset:13242
used_memory_dataset_perc:1.19%
allocator_allocated:9223664
allocator_active:9609216
allocator_resident:12783616
total_system_memory:67435692032
total_system_memory_human:62.80G
used_memory_lua:37888
used_memory_lua_human:37.00K
used_memory_scripts:0
used_memory_scripts_human:0B
number_of_cached_scripts:0
maxmemory:0
maxmemory_human:0B
maxmemory_policy:noeviction
allocator_frag_ratio:1.04
allocator_frag_bytes:385552
allocator_rss_ratio:1.33
allocator_rss_bytes:3174400
rss_overhead_ratio:1.73
rss_overhead_bytes:9330688
mem_fragmentation_ratio:2.45
mem_fragmentation_bytes:13096016
mem_not_counted_for_evict:0
mem_replication_backlog:1048576
mem_clients_slaves:49774
mem_clients_normal:0
mem_aof_buffer:0
mem_allocator:jemalloc-5.1.0
active_defrag_running:0
lazyfree_pending_objects:0
# Persistence
loading:0
rdb_changes_since_last_save:0
rdb_bgsave_in_progress:0
rdb_last_save_time:1563338816
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:1
total_commands_processed:4
instantaneous_ops_per_sec:0
total_net_input_bytes:259
total_net_output_bytes:88
instantaneous_input_kbps:0.00
instantaneous_output_kbps:0.00
rejected_connections:0
sync_full:1
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:0
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:active-replica
Master 0:
master_host:10.32.0.31
master_port:6379
master_link_status:down
master_last_io_seconds_ago:-1
master_sync_in_progress:0
slave_repl_offset:0
master_link_down_since_seconds:1563338841
slave_priority:100
slave_read_only:0
connected_slaves:1
slave0:ip=10.32.0.31,port=6379,state=wait_bgsave,offset=0,lag=0
master_replid:9c666fe5d606d2245bd70e688cd489d0aae2b94b
master_replid2:0000000000000000000000000000000000000000
master_repl_offset:0
second_repl_offset:-1
repl_backlog_active:1
repl_backlog_size:1048576
repl_backlog_first_byte_offset:1
repl_backlog_histlen:0
# CPU
used_cpu_sys:0.028891
used_cpu_user:0.055374
used_cpu_sys_children:0.000000
used_cpu_user_children:0.000000
server_threads:1
long_lock_waits:0
# Commandstats
cmdstat_replconf:calls=3,usec=12,usec_per_call=4.00
cmdstat_auth:calls=1,usec=2,usec_per_call=2.00
# Cluster
cluster_enabled:0
# Keyspace
------ CLIENT LIST OUTPUT ------
id=4 addr=10.32.0.31:45384 fd=86 name= age=0 idle=0 flags=S db=0 sub=0 psub=0 multi=-1 qbuf=30 qbuf-free=32738 obl=0 oll=0 omem=0 events=r cmd=psync
------ CURRENT CLIENT INFO ------
id=4 addr=10.32.0.31:45384 fd=86 name= age=0 idle=0 flags=S db=0 sub=0 psub=0 multi=-1 qbuf=30 qbuf-free=32738 obl=0 oll=0 omem=0 events=r cmd=psync
argv[0]: 'PSYNC'
argv[1]: '?'
argv[2]: '-1'
------ REGISTERS ------
1:S 17 Jul 2019 04:47:21.707 #
RAX:0000000000000000 RBX:00007f235f2fa2b0
RCX:0000000000000001 RDX:0000000000000000
RDI:00007f235f2fa2b0 RSI:00007f23620878c0
RBP:000000000000000f RSP:00007f235f2fa220
R8 :0000000000000000 R9 :00007f235f2fc700
R10:00000000ffffffd6 R11:0000000000000000
R12:00007f235e609b70 R13:0000564c326cfe80
R14:00007f235e609ac0 R15:0000000000000000
RIP:0000564c3236c8fd EFL:0000000000010202
CSGSFS:002b000000000033
1:S 17 Jul 2019 04:47:21.707 # (00007f235f2fa22f) -> 0000000000000000
1:S 17 Jul 2019 04:47:21.707 # (00007f235f2fa22e) -> 0000000000000000
1:S 17 Jul 2019 04:47:21.707 # (00007f235f2fa22d) -> 0000564c32403424
1:S 17 Jul 2019 04:47:21.707 # (00007f235f2fa22c) -> 000000000000003f
1:S 17 Jul 2019 04:47:21.707 # (00007f235f2fa22b) -> 0000564c32364354
1:S 17 Jul 2019 04:47:21.707 # (00007f235f2fa22a) -> 0000000000000003
1:S 17 Jul 2019 04:47:21.707 # (00007f235f2fa229) -> 7267b3a44b72a000
1:S 17 Jul 2019 04:47:21.707 # (00007f235f2fa228) -> 0000000000000001
1:S 17 Jul 2019 04:47:21.707 # (00007f235f2fa227) -> ffffffffffffffff
1:S 17 Jul 2019 04:47:21.707 # (00007f235f2fa226) -> 0000000000000000
1:S 17 Jul 2019 04:47:21.707 # (00007f235f2fa225) -> 0000000000000000
1:S 17 Jul 2019 04:47:21.707 # (00007f235f2fa224) -> 0000303030303030
1:S 17 Jul 2019 04:47:21.707 # (00007f235f2fa223) -> 3030303030303030
1:S 17 Jul 2019 04:47:21.707 # (00007f235f2fa222) -> 3030303030303030
1:S 17 Jul 2019 04:47:21.707 # (00007f235f2fa221) -> 3030303030303030
1:S 17 Jul 2019 04:47:21.707 # (00007f235f2fa220) -> 00000000ffffffff
------ FAST MEMORY TEST ------
1:S 17 Jul 2019 04:47:21.707 # Bio thread for job type #0 terminated
1:S 17 Jul 2019 04:47:21.707 # Bio thread for job type #1 terminated
1:S 17 Jul 2019 04:47:21.707 # Bio thread for job type #2 terminated
*** Preparing to test memory region 564c326d3000 (2252800 bytes)
*** Preparing to test memory region 564c33057000 (135168 bytes)
*** Preparing to test memory region 7f2358000000 (135168 bytes)
*** Preparing to test memory region 7f235e600000 (4194304 bytes)
*** Preparing to test memory region 7f235eafd000 (8388608 bytes)
*** Preparing to test memory region 7f235f2fe000 (8388608 bytes)
*** Preparing to test memory region 7f235faff000 (8388608 bytes)
*** Preparing to test memory region 7f2360300000 (8388608 bytes)
*** Preparing to test memory region 7f2360b00000 (17825792 bytes)
*** Preparing to test memory region 7f2362087000 (16384 bytes)
*** Preparing to test memory region 7f23622a6000 (16384 bytes)
*** Preparing to test memory region 7f2362be5000 (16384 bytes)
*** Preparing to test memory region 7f2363415000 (49152 bytes)
*** Preparing to test memory region 7f2363425000 (4096 bytes)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment