=== REDIS BUG REPORT START: Cut & paste starting from here === [69838] 01 Sep 07:47:07.136 # === ASSERTION FAILED OBJECT CONTEXT === [69838] 01 Sep 07:47:07.136 # Object type: 0 [69838] 01 Sep 07:47:07.136 # Object encoding: 0 [69838] 01 Sep 07:47:07.136 # Object refcount: 2 [69838] 01 Sep 07:47:07.136 # Object raw string len: 4 [69838] 01 Sep 07:47:07.136 # Object raw string content: "4458" [69838] 01 Sep 07:47:07.136 # === ASSERTION FAILED === [69838] 01 Sep 07:47:07.136 # ==> t_zset.c:923 'sptr != NULL' is not true [69838] 01 Sep 07:47:07.136 # (forcing SIGSEGV to print the bug report.) [69838] 01 Sep 07:47:07.136 # Redis 2.8.11 crashed by signal: 11 [69838] 01 Sep 07:47:07.148 # Failed assertion: sptr != NULL (t_zset.c:923) [69838] 01 Sep 07:47:07.148 # --- STACK TRACE 0x438e69 <???> at /usr/local/bin/redis-server 0x800cde3f6 <_swapcontext+0x146> at /lib/libthr.so.3 0x800cddff3 at /lib/libthr.so.3 [69838] 01 Sep 07:47:07.255 # --- INFO OUTPUT [69838] 01 Sep 07:47:07.279 # # Server redis_version:2.8.11 redis_git_sha1:00000000 redis_git_dirty:0 redis_build_id:a02bace500c2d32f redis_mode:standalone os:FreeBSD 10.0-RELEASE amd64 arch_bits:64 multiplexing_api:kqueue gcc_version:4.2.1 process_id:69838 run_id:249d6f66b59c57bd206086e2eb2a1e936b400428 tcp_port:6377 uptime_in_seconds:1508193 uptime_in_days:17 hz:10 lru_clock:264283 config_file:/usr/local/etc/redis.conf

Clients

connected_clients:1 client_longest_output_list:0 client_biggest_input_buf:2 blocked_clients:0

Memory

used_memory:3835488456 used_memory_human:3.57G used_memory_rss:3835487224 used_memory_peak:3865305408 used_memory_peak_human:3.60G used_memory_lua:33792 mem_fragmentation_ratio:1.00 mem_allocator:libc

Persistence

loading:0 rdb_changes_since_last_save:61836 rdb_bgsave_in_progress:0 rdb_last_save_time:1409550408 rdb_last_bgsave_status:ok rdb_last_bgsave_time_sec:2805 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:775 total_commands_processed:12080985 instantaneous_ops_per_sec:106 rejected_connections:0 sync_full:442 sync_partial_ok:0 sync_partial_err:0 expired_keys:0 evicted_keys:0 keyspace_hits:6288472 keyspace_misses:72300 pubsub_channels:0 pubsub_patterns:0 latest_fork_usec:136032

Replication

role:master connected_slaves:2 slave0:ip=x.x.x.x,port=6377,state=online,offset=88781696,lag=1 slave1:ip=x.x.x.x,port=6377,state=online,offset=88783167,lag=1 master_repl_offset:88786414 repl_backlog_active:1 repl_backlog_size:1048576 repl_backlog_first_byte_offset:87737839 repl_backlog_histlen:1048576

CPU

used_cpu_sys:1201.23 used_cpu_user:401.74 used_cpu_sys_children:602.63 used_cpu_user_children:9489.99

Commandstats

cmdstat_get:calls=2422914,usec=44023383,usec_per_call=18.17 cmdstat_set:calls=11976,usec=129786824,usec_per_call=10837.24 cmdstat_exists:calls=1624096,usec=2073286,usec_per_call=1.28 cmdstat_incr:calls=11976,usec=3705117,usec_per_call=309.38 cmdstat_lindex:calls=12,usec=176003,usec_per_call=14666.92 cmdstat_lrange:calls=1007037,usec=416289431,usec_per_call=413.38 cmdstat_sadd:calls=108,usec=824,usec_per_call=7.63 cmdstat_srem:calls=108,usec=5279317,usec_per_call=48882.57 cmdstat_sismember:calls=218,usec=1134857,usec_per_call=5205.77 cmdstat_scard:calls=4,usec=14,usec_per_call=3.50 cmdstat_smembers:calls=20,usec=3001313,usec_per_call=150065.66 cmdstat_zadd:calls=11976,usec=268669175,usec_per_call=22433.97 cmdstat_zincrby:calls=1300578,usec=18619565310,usec_per_call=14316.38 cmdstat_zrem:calls=1126,usec=310316584,usec_per_call=275592.00 cmdstat_zrangebyscore:calls=225,usec=9385668,usec_per_call=41714.08 cmdstat_zscore:calls=2930342,usec=13380337283,usec_per_call=4566.14 cmdstat_auth:calls=775,usec=116175,usec_per_call=149.90 cmdstat_psync:calls=442,usec=38879084,usec_per_call=87961.73 cmdstat_replconf:calls=2757020,usec=4798843,usec_per_call=1.74 cmdstat_info:calls=31,usec=47334,usec_per_call=1526.90 cmdstat_monitor:calls=1,usec=3,usec_per_call=3.00

Keyspace

db0:keys=5214343,expires=0,avg_ttl=0 hash_init_value: 1408138671

[69838] 01 Sep 07:47:07.279 # --- CLIENT LIST OUTPUT [69838] 01 Sep 07:47:07.279 # addr=x.x.x.x:48030 fd=9 name= age=1441066 idle=0 flags=S db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=replconf addr=x.x.x.x:45960 fd=6 name= age=1265856 idle=0 flags=S db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=replconf addr=127.0.0.1:58297 fd=7 name= age=125 idle=0 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=2 qbuf-free=32766 obl=0 oll=0 omem=0 events=r cmd=zincrby

[69838] 01 Sep 07:47:07.279 # --- CURRENT CLIENT INFO [69838] 01 Sep 07:47:07.279 # client: addr=127.0.0.1:58297 fd=7 name= age=125 idle=0 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=2 qbuf-free=32766 obl=0 oll=0 omem=0 events=r cmd=zincrby [69838] 01 Sep 07:47:07.279 # argv[0]: 'ZINCRBY' [69838] 01 Sep 07:47:07.279 # argv[1]: 'search:similarQueries:3303' [69838] 01 Sep 07:47:07.279 # argv[2]: '1' [69838] 01 Sep 07:47:07.279 # argv[3]: '4458' [69838] 01 Sep 07:47:07.279 # key 'search:similarQueries:3303' found in DB containing the following object: [69838] 01 Sep 07:47:07.279 # Object type: 3 [69838] 01 Sep 07:47:07.279 # Object encoding: 5 [69838] 01 Sep 07:47:07.279 # Object refcount: 1 [69838] 01 Sep 07:47:07.279 # Sorted set size: 61 [69838] 01 Sep 07:47:07.279 # --- REGISTERS [69838] 01 Sep 07:47:07.279 # Dumping of registers not supported for this OS/arch [69838] 01 Sep 07:47:07.279 # === REDIS BUG REPORT END. Make sure to include from START to END. ===

Comment From: sundb

zset ziplist has been replaced with listpack, so maybe we can close the ziplist-related issues.