Skip to content

Instantly share code, notes, and snippets.

@michael-grunder
Created July 11, 2014 20:01
Show Gist options
  • Save michael-grunder/25960ce1508396d0d36a to your computer and use it in GitHub Desktop.
Save michael-grunder/25960ce1508396d0d36a to your computer and use it in GitHub Desktop.
OBJECT assertion in cluster
=== REDIS BUG REPORT START: Cut & paste starting from here ===
2100:M 11 Jul 12:18:14.922 # === ASSERTION FAILED ===
2100:M 11 Jul 12:18:14.922 # ==> db.c:987 'j < argc' is not true
2100:M 11 Jul 12:18:14.922 # (forcing SIGSEGV to print the bug report.)
2100:M 11 Jul 12:18:14.922 # Redis 2.9.999 crashed by signal: 11
2100:M 11 Jul 12:18:14.922 # Failed assertion: j < argc (db.c:987)
2100:M 11 Jul 12:18:14.922 # --- STACK TRACE
0 redis-server 0x000000010fc94f37 logStackTrace + 103
1 redis-server 0x000000010fc9410f _redisAssert + 159
2 libsystem_platform.dylib 0x00007fff824fb5aa _sigtramp + 26
3 libsystem_c.dylib 0x00007fff8764b01c vsnprintf + 80
4 redis-server 0x000000010fc70a39 getKeysFromCommand + 201
5 redis-server 0x000000010fca0338 getNodeByQuery + 248
6 redis-server 0x000000010fc5dcea processCommand + 394
7 redis-server 0x000000010fc6ad58 processInputBuffer + 296
8 redis-server 0x000000010fc6824b readQueryFromClient + 427
9 redis-server 0x000000010fc57251 aeProcessEvents + 545
10 redis-server 0x000000010fc5754b aeMain + 43
11 redis-server 0x000000010fc609a2 main + 1074
12 libdyld.dylib 0x00007fff862a95fd start + 1
2100:M 11 Jul 12:18:14.922 # --- INFO OUTPUT
2100:M 11 Jul 12:18:14.922 # # Server
redis_version:2.9.999
redis_git_sha1:6382936e
redis_git_dirty:0
redis_build_id:f19319a888cd9c22
redis_mode:cluster
os:Darwin 13.2.0 x86_64
arch_bits:64
multiplexing_api:kqueue
gcc_version:4.2.1
process_id:2100
run_id:8e266ece4e056f32cbd0fdeef54be82e0904d237
tcp_port:7003
uptime_in_seconds:9
uptime_in_days:0
hz:10
lru_clock:12597366
config_file:
# Clients
connected_clients:1
client_longest_output_list:0
client_biggest_input_buf:0
blocked_clients:0
# Memory
used_memory:1449536
used_memory_human:1.38M
used_memory_rss:2215936
used_memory_peak:1449536
used_memory_peak_human:1.38M
used_memory_lua:33792
mem_fragmentation_ratio:1.53
mem_allocator:libc
# Persistence
loading:0
rdb_changes_since_last_save:0
rdb_bgsave_in_progress:0
rdb_last_save_time:1405106285
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
# Stats
total_connections_received:1
total_commands_processed:0
instantaneous_ops_per_sec:0
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.01
used_cpu_user:0.00
used_cpu_sys_children:0.00
used_cpu_user_children:0.00
# Commandstats
# Cluster
cluster_enabled:1
# Keyspace
hash_init_value: 1405978589
2100:M 11 Jul 12:18:14.922 # --- CLIENT LIST OUTPUT
2100:M 11 Jul 12:18:14.922 # id=2 addr=127.0.0.1:50833 fd=15 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=object
2100:M 11 Jul 12:18:14.923 # --- CURRENT CLIENT INFO
2100:M 11 Jul 12:18:14.923 # client: id=2 addr=127.0.0.1:50833 fd=15 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=object
2100:M 11 Jul 12:18:14.923 # argv[0]: 'object'
2100:M 11 Jul 12:18:14.923 # argv[1]: 'foo'
2100:M 11 Jul 12:18:14.923 # --- REGISTERS
2100:M 11 Jul 12:18:14.923 #
RAX:af002115a3cb4c81 RBX:000000010fcdbab2
RCX:00007fff7183f420 RDX:00007fff4ffaa370
RDI:0000130000001403 RSI:0000140000001400
RBP:00007fff4ffaa7c0 RSP:00007fff4ffaa7a0
R8 :0000000000000040 R9 :00007fff4ffaa100
R10:000000010fcd8a0a R11:0000000000000246
R12:000000010fcf0228 R13:0000000000000002
R14:00000000000003db R15:000000010fcdb8c1
RIP:000000010fc9410f EFL:0000000000010206
CS :000000000000002b FS:00000000af000000 GS:00000000a3cb0000
2100:M 11 Jul 12:18:14.923 # (00007fff4ffaa7af) -> 000000010fceea60
2100:M 11 Jul 12:18:14.923 # (00007fff4ffaa7ae) -> 00007fff4ffaa840
2100:M 11 Jul 12:18:14.923 # (00007fff4ffaa7ad) -> 000000010fca0338
2100:M 11 Jul 12:18:14.923 # (00007fff4ffaa7ac) -> 00007fff4ffaa8d0
2100:M 11 Jul 12:18:14.923 # (00007fff4ffaa7ab) -> 0000000000000000
2100:M 11 Jul 12:18:14.923 # (00007fff4ffaa7aa) -> 00007fc442801400
2100:M 11 Jul 12:18:14.923 # (00007fff4ffaa7a9) -> 000000010fcf0228
2100:M 11 Jul 12:18:14.923 # (00007fff4ffaa7a8) -> 0000000000000000
2100:M 11 Jul 12:18:14.923 # (00007fff4ffaa7a7) -> 00007fc440600218
2100:M 11 Jul 12:18:14.923 # (00007fff4ffaa7a6) -> 00007fff4ffaa878
2100:M 11 Jul 12:18:14.923 # (00007fff4ffaa7a5) -> 000000010fc70a39
2100:M 11 Jul 12:18:14.923 # (00007fff4ffaa7a4) -> 00007fff4ffaa800
2100:M 11 Jul 12:18:14.923 # (00007fff4ffaa7a3) -> 0000000000000002
2100:M 11 Jul 12:18:14.923 # (00007fff4ffaa7a2) -> 00007fff4ffaa874
2100:M 11 Jul 12:18:14.923 # (00007fff4ffaa7a1) -> 000000010fceea60
2100:M 11 Jul 12:18:14.923 # (00007fff4ffaa7a0) -> 0000000000000000
2100:M 11 Jul 12:18:14.923 #
=== REDIS BUG REPORT END. Make sure to include from START to END. ===
Please report the crash opening an issue on github:
http://github.com/antirez/redis/issues
Suspect RAM error? Use redis-server --test-memory to verify it.
[1] 2100 segmentation fault redis-server --port 7003 --cluster-enabled yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment