{"action":"created","issue":{"url":"https://api.github.com/repos/antirez/redis/issues/3639","repository_url":"https://api.github.com/repos/antirez/redis","labels_url":"https://api.github.com/repos/antirez/redis/issues/3639/labels{/name}","comments_url":"https://api.github.com/repos/antirez/redis/issues/3639/comments","events_url":"https://api.github.com/repos/antirez/redis/issues/3639/events","html_url":"https://github.com/antirez/redis/issues/3639","id":191830982,"number":3639,"title":"Redis 3.2.5 crashed by signal: 11","user":{"login":"yatsukhnenko","id":1374472,"avatar_url":"https://avatars.githubusercontent.com/u/1374472?v=3","gravatar_id":"","url":"https://api.github.com/users/yatsukhnenko","html_url":"https://github.com/yatsukhnenko","followers_url":"https://api.github.com/users/yatsukhnenko/followers","following_url":"https://api.github.com/users/yatsukhnenko/following{/other_user}","gists_url":"https://api.github.com/users/yatsukhnenko/gists{/gist_id}","starred_url":"https://api.github.com/users/yatsukhnenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yatsukhnenko/subscriptions","organizations_url":"https://api.github.com/users/yatsukhnenko/orgs","repos_url":"https://api.github.com/users/yatsukhnenko/repos","events_url":"https://api.github.com/users/yatsukhnenko/events{/privacy}","received_events_url":"https://api.github.com/users/yatsukhnenko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-26T22:48:37Z","updated_at":"2016-12-02T19:42:35Z","closed_at":null,"body":"=== REDIS BUG REPORT START: Cut & paste starting from here ===\r\n1547:M 27 Nov 00:37:11.267 # Redis 3.2.5 crashed by signal: 11\r\n1547:M 27 Nov 00:37:11.267 # Crashed running the instuction at: 0x44734d\r\n1547:M 27 Nov 00:37:11.267 # Accessing address: 0x1e\r\n1547:M 27 Nov 00:37:11.267 # Failed assertion: <no assertion failed> (<no file>:0)\r\n\r\n------ STACK TRACE ------\r\nEIP:\r\n/usr/sbin/redis-server *:6379(zaddGenericCommand+0x695)[0x44734d]\r\n\r\nBacktrace:\r\n/usr/sbin/redis-server *:6379(logStackTrace+0x3c)[0x4594f4]\r\n/usr/sbin/redis-server *:6379(sigsegvHandler+0xb9)[0x459c49]\r\n/lib64/libpthread.so.0(+0x10ae0)[0x7fa11df23ae0]\r\n/usr/sbin/redis-server *:6379(zaddGenericCommand+0x695)[0x44734d]\r\n/usr/sbin/redis-server *:6379(call+0xa9)[0x421969]\r\n/usr/sbin/redis-server *:6379(processCommand+0x3a5)[0x424b95]\r\n/usr/sbin/redis-server *:6379(processInputBuffer+0xdd)[0x4313c5]\r\n/usr/sbin/redis-server *:6379(aeProcessEvents+0x137)[0x41b997]\r\n/usr/sbin/redis-server *:6379(aeMain+0x2b)[0x41bd2b]\r\n/usr/sbin/redis-server *:6379(main+0x412)[0x418db2]\r\n/lib64/libc.so.6(__libc_start_main+0xf0)[0x7fa11db93610]\r\n/usr/sbin/redis-server *:6379(_start+0x29)[0x418f69]\r\n\r\n------ INFO OUTPUT ------\r\n# Server^M\r\nredis_version:3.2.5^M\r\nredis_git_sha1:00000000^M\r\nredis_git_dirty:0^M\r\nredis_build_id:f7e1b18f8619c210^M\r\nredis_mode:standalone^M\r\nos:Linux 4.4.26-gentoo x86_64^M\r\narch_bits:64^M\r\nmultiplexing_api:epoll^M\r\ngcc_version:4.9.3^M\r\nprocess_id:1547^M\r\nrun_id:99073d1c19e2ccaaae899197a8a409fbeaf7fbcc^M\r\ntcp_port:6379^M\r\nuptime_in_seconds:9^M\r\nuptime_in_days:0^M\r\nhz:10^M\r\nlru_clock:3804823^M\r\nexecutable:/usr/sbin/redis-server^M\r\nconfig_file:^M\r\n^M\r\n# Clients^M\r\nconnected_clients:1^M\r\nclient_longest_output_list:0^M\r\nclient_biggest_input_buf:32^M\r\nblocked_clients:0^M\r\n^M\r\n# Memory^M\r\nused_memory:668936^M\r\nused_memory_human:653.26K^M\r\nused_memory_rss:3973120^M\r\nused_memory_rss_human:3.79M^M\r\nused_memory_peak:668936^M\r\nused_memory_peak_human:653.26K^M\r\ntotal_system_memory:8364285952^M\r\ntotal_system_memory_human:7.79G^M\r\nused_memory_lua:37888^M\r\nused_memory_lua_human:37.00K^M\r\nmaxmemory:0^M\r\nmaxmemory_human:0B^M\r\nmaxmemory_policy:noeviction^M\r\nmem_fragmentation_ratio:5.94^M\r\nmem_allocator:libc^M\r\n^M\r\n# Persistence^M\r\nloading:0^M\r\nrdb_changes_since_last_save:0^M\r\nrdb_bgsave_in_progress:0^M\r\nrdb_last_save_time:1480199822^M\r\nrdb_last_save_time:1480199822^M\r\nrdb_last_bgsave_status:ok^M\r\nrdb_last_bgsave_time_sec:-1^M\r\nrdb_current_bgsave_time_sec:-1^M\r\naof_enabled:0^M\r\naof_rewrite_in_progress:0^M\r\naof_rewrite_scheduled:0^M\r\naof_last_rewrite_time_sec:-1^M\r\naof_current_rewrite_time_sec:-1^M\r\naof_last_bgrewrite_status:ok^M\r\naof_last_write_status:ok^M\r\n^M\r\n# Stats^M\r\ntotal_connections_received:1^M\r\ntotal_commands_processed:1^M\r\ninstantaneous_ops_per_sec:0^M\r\ntotal_net_input_bytes:95^M\r\ntotal_net_output_bytes:4^M\r\ninstantaneous_input_kbps:0.00^M\r\ninstantaneous_output_kbps:0.00^M\r\nrejected_connections:0^M\r\nsync_full:0^M\r\nsync_partial_ok:0^M\r\nsync_partial_err:0^M\r\nexpired_keys:0^M\r\nevicted_keys:0^M\r\nkeyspace_hits:0^M\r\nkeyspace_misses:0^M\r\npubsub_channels:0^M\r\npubsub_patterns:0^M\r\nlatest_fork_usec:0^M\r\nmigrate_cached_sockets:0^M\r\n^M\r\n# Replication^M\r\nrole:master^M\r\nconnected_slaves:0^M\r\nmaster_repl_offset:0^M\r\nrepl_backlog_active:0^M\r\nrepl_backlog_size:1048576^M\r\nrepl_backlog_first_byte_offset:0^M\r\nrepl_backlog_histlen:0^M\r\n^M\r\n# CPU^M\r\nused_cpu_sys:0.01^M\r\nused_cpu_user:0.00^M\r\nused_cpu_sys_children:0.00^M\r\nused_cpu_user_children:0.00^M\r\n^M\r\n# Commandstats^M\r\ncmdstat_del:calls=1,usec=3,usec_per_call=3.00^M\r\n^M\r\n# Cluster^M\r\ncluster_enabled:0^M\r\n^M\r\n# Keyspace^M\r\ndb0:keys=344,expires=0,avg_ttl=0^M\r\nhash_init_value: 1479787237\r\n\r\n------ CLIENT LIST OUTPUT ------\r\nid=2 addr=[::1]:41850 fd=6 name= age=0 idle=0 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=32 qbuf-free=32736 obl=0 oll=0 omem=0 events=r cmd=zadd\r\n\r\n------ CURRENT CLIENT INFO ------\r\nid=2 addr=[::1]:41850 fd=6 name= age=0 idle=0 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=32 qbuf-free=32736 obl=0 oll=0 omem=0 events=r cmd=zadd\r\nargv[0]: 'ZADD'\r\nargv[1]: 'xxx'\r\nargv[2]: 'CH'\r\nargv[3]: 'INCR'\r\n\r\n------ REGISTERS ------\r\n1547:M 27 Nov 00:37:11.268 #\r\nRAX:0000000000000016 RBX:0000000000000009\r\nRCX:00007fa11df06c40 RDX:000000000128bea8\r\nRDI:00000000012624bb RSI:0000000000000040\r\nRBP:0000000000000004 RSP:00007ffc1df33d10\r\nR8 :00000000012624bb R9 :0000000000000001\r\nR10:0000000002c964fe R11:000fe364a51b9015\r\nR12:000000000127fca8 R13:0000000000000000\r\nR14:0000000000000000 R15:0000000000000000\r\nRIP:000000000044734d EFL:0000000000010202\r\nCSGSFS:0000000000000033\r\n1547:M 27 Nov 00:37:11.268 # (00007ffc1df33d1f) -> 0000000000000000\r\n1547:M 27 Nov 00:37:11.268 # (00007ffc1df33d1e) -> 000000000000000f\r\n1547:M 27 Nov 00:37:11.268 # (00007ffc1df33d1d) -> 000000000127fca8\r\n1547:M 27 Nov 00:37:11.268 # (00007ffc1df33d1c) -> 0000000000000000\r\n1547:M 27 Nov 00:37:11.268 # (00007ffc1df33d1b) -> 3aa819854a5f7c00\r\n1547:M 27 Nov 00:37:11.268 # (00007ffc1df33d1a) -> 0000000000000000\r\n1547:M 27 Nov 00:37:11.268 # (00007ffc1df33d19) -> 000000000041d449\r\n1547:M 27 Nov 00:37:11.268 # (00007ffc1df33d18) -> 000000000000bec0\r\n1547:M 27 Nov 00:37:11.268 # (00007ffc1df33d17) -> 000000000125b678\r\n1547:M 27 Nov 00:37:11.268 # (00007ffc1df33d16) -> 0000000000000020\r\n1547:M 27 Nov 00:37:11.268 # (00007ffc1df33d15) -> 00007fa11db82870\r\n1547:M 27 Nov 00:37:11.268 # (00007ffc1df33d14) -> 0000006e00000001\r\n1547:M 27 Nov 00:37:11.268 # (00007ffc1df33d13) -> 00000000012624a8\r\n1547:M 27 Nov 00:37:11.268 # (00007ffc1df33d12) -> 0000000000000005\r\n1547:M 27 Nov 00:37:11.268 # (00007ffc1df33d11) -> 00007fa11e8714dd\r\n1547:M 27 Nov 00:37:11.268 # (00007ffc1df33d10) -> 0000000000000000\r\n\r\n------ FAST MEMORY TEST ------\r\n1547:M 27 Nov 00:37:11.269 # Bio thread for job type #0 terminated\r\n1547:M 27 Nov 00:37:11.269 # Bio thread for job type #1 terminated\r\n*** Preparing to test memory region 6bc000 (90112 bytes)\r\n*** Preparing to test memory region 11de000 (811008 bytes)\r\n*** Preparing to test memory region 7fa1164fa000 (8388608 bytes)\r\n*** Preparing to test memory region 7fa116cfb000 (8388608 bytes)\r\n*** Preparing to test memory region 7fa11df08000 (16384 bytes)\r\n*** Preparing to test memory region 7fa11e12b000 (16384 bytes)\r\n*** Preparing to test memory region 7fa11ea52000 (4096 bytes)\r\n*** Preparing to test memory region 7fa11ea5e000 (155648 bytes)\r\n*** Preparing to test memory region 7fa11ea86000 (8192 bytes)\r\n.O.O.O.O.O.O.O.O.O\r\nFast memory test PASSED, however your memory can still be broken. Please run a memory test for several hours if possible.\r\n\r\n------ DUMPING CODE AROUND EIP ------\r\nSymbol: zaddGenericCommand (base: 0x446cb8)\r\nModule: /usr/sbin/redis-server *:6379 (base 0x400000)\r\n$ xxd -r -p /tmp/dump.hex /tmp/dump.bin\r\n$ objdump --adjust-vma=0x446cb8 -D -b binary -m i386:x86-64 /tmp/dump.bin\r\n------\r\n1547:M 27 Nov 00:37:11.474 # dump of function (hexdump of 1813 bytes):\r\n41574156415541544989fc555389f34883ec684c8b6f4048636f3864488b042528000000488944245831c048c744245000000000498b4508488944241883fd020f8ea00100004983c51041be02000000eb15660f1f44000083cb0241ffc64983c5084139ee7439498b4500be06b348004c8b78084c89ffe8fc0dfdff85c074d8bee90449004c89ffe8eb0dfdff85c0756741ffc683cb044983c5084139ee75c731c04189de89da41d1eec1ea024489f183e10183e201884c244288542443747884c97474bed00649004c89e7e8878bfeff488b4424586448330425280000000f85dc0600004883c4685b5d415c415d415e415fc30f1f4000be9e4849004c89ffe8730dfdff85c0750f83cb08e94affffff0f1f8000000000bee40449004c89ffe8530dfdff85c00f85bf00000083cb01e926ffffff0f1f004189c789d941c1ef1f83e1014101c7894c242041d1ff44893c244183ff017e1885c97414be080749004c89e7e8ef8afeffe963ffffff6690448b34244963fe48c1e703e8301bfeff48894424384585f60f8e7f0000008b0c244863c54c8b7424384c8d3cc5000000008d51ff4c8d6c500249c1e503eb0e904983c7104983c6084d39ef7450498b44244031c94c89f24c89e74a8b3438e825cafeff85c074d9488b7c2438e8bf1cfeffe9ebfeffff41be0200000089e84429f0a8010f84c0050000488b35c86127004c89e7e8c083feffe9c4feffff498b7c2410488b742418e83ce1feff4989c54885c00f84440400000fb60083e00f3c03742b488b357f6127004c89e7e88783feffeb94e870befeff4989c5498b7c2410488b7424184c89eae893dcfeff8b042485c00f8e65040000488b4c2438ffc84c8d34ed08000000488d4445034d89ef895c244c48c1e003c744242400000000c7442444000000004889442410c7442448000000004d89f54c896424084889cbe9c20000000f1f400080fa700f8587040000488b4424084d89ec498b6f084c036040498b3c24e87ec1feff49890424488b7d004889c64989c6e8ab6dfdff4889c24885c00f8447010000807c24420075634c8b30488b40088b7c2420c5fb1008c5fb114c245085ff7431c5f35824244889542430c5fb114c2428c5f828c4c5fb112424e8810cfdff85c0c5fb104c2428488b5424300f85a2030000c5fb101c24c5f92ed90f8a470100000f8541010000ff4424244883c3084983c5104c3b6c24100f84e3010000410fb617c5fb101383e2f0c5fb11142480fa500f8529ffffff488b442408488d542450498b7f08488b40404a8b2c284889eee8ebf1ffff4989c64885c00f8447010000807c24420075a3448b442420c5fb104c24504585c07427c5f3583c24c5fb114c2428c5f828c7c5fb113c24e8cf0bfdff85c0c5fb104c24280f85f5020000c5fb103424c5f92ef17a060f8457ffffff498b7f084c89f6e8a4f2ffffc5fb100424498947084889ee4889c7e8a0f4ffffff4424444989470848ff05e15b2700e923ffffff0f1f4000807c2443000f8518ffffff488b7d08c5fb1004244c89f6e85cd8ffff4c89f74889442428e827befeff488b442428488b7d004c89f6488d5008e86a6afdff85c00f850a0300004c89f7e802befeff48ff05835b2700ff442448e9c1feffff6690488b7d08c5f828c14c89f64889542428e84bdbffff85c0488b5424280f84a4020000488b7d08c5fb1004244c89f64889542428e8e0d7ffff4c89f74889c5e8adbdfeff488b5424284883c508ff44244448896a0848ff051d5b2700e95ffeffff807c2443000f8558feffff498b7f08c5fb1004244889eee8acf3ffff498947084889c7e8d05ffeffd1e8483b051f5d27000f87cc010000488b55080fb642ff89c683e6074080fe040f8740ffffff400fb6f6ff24f5900949008b7424204c8b6424088b5c244c85f675768b6c24480b6c244483e3084863742448740b8b742448037424444863f64c89e7e88993feff488b7c2438e80719feff85ed0f8430fbffff488b742418498b7c2410e8d8cffeff498b4424108b542420be99b148008b4830b8e304490085d2480f45f0488b542418bf80000000e8adf50200e9f1faffff8b4c242485c90f84c5000000c5fb1004244c89e7e89f9cfeff488b7c2438e89d18feff8b4424440b4424480f84c0faffff488b742418498b7c2410e868cffeff498b442410bee30449008b4830eb9d908b42f74839051e5c27000f834efeffffbe070000004c89ffe8f3f5ffffe93cfeffff0fb742fbebdb0fb642fdebd5c0e8030fb6c0ebcd488b42efebc7807c244300755a48833dd55b2700000f84c2fbffff498b5424404863c5488b35c85b2700488b44c208488b50080fb642ff89c183e10780f904777a0fb6c9ff24cdb80949008b6c24480b6c2444488b35d85c27004c89e7e8007ffeffe9c2feffff8b44242031ed85c075e2c744244400000000c744244800000000e986feffff4c8b642408be400749004c89e7e85a85feffe9f6feffffbe070000004c89ffe830f5ffffe922feffff\r\nFunction at 0x42f910 is addReplyError\r\nFunction at 0x428968 is zmalloc\r\nFunction at 0x4338b0 is getDoubleFromObjectOrReply\r\nFunction at 0x428b58 is zfree\r\nFunction at 0x42f280 is addReply\r\nFunction at 0x435010 is lookupKeyWrite\r\nFunction at 0x432d70 is createZsetObject\r\nFunction at 0x434ba8 is dbAdd\r\nFunction at 0x433110 is tryObjectEncoding\r\nFunction at 0x41dd50 is dictFind\r\nFunction at 0x446250 is zzlFind\r\nFunction at 0x446370 is zzlDelete\r\nFunction at 0x446580 is zzlInsert\r\nFunction at 0x444970 is zslInsert\r\nFunction at 0x432f48 is incrRefCount\r\nFunction at 0x41dba0 is dictAdd\r\nFunction at 0x444cb8 is zslDelete\r\nFunction at 0x42d1b0 is ziplistLen\r\nFunction at 0x4305d0 is addReplyLongLong\r\nFunction at 0x434240 is signalModifiedKey\r\nFunction at 0x476840 is notifyKeyspaceEvent\r\nFunction at 0x430f50 is addReplyDouble\r\nFunction at 0x434240 is signalModifiedKey\r\nFunction at 0x4468f8 is zsetConvert\r\nFunction at 0x42f280 is addReply\r\nFunction at 0x42f910 is addReplyError\r\n\r\n=== REDIS BUG REPORT END. Make sure to include from START to END. ==="},"comment":{"url":"https://api.github.com/repos/antirez/redis/issues/comments/264544216","html_url":"https://github.com/antirez/redis/issues/3639#issuecomment-264544216","issue_url":"https://api.github.com/repos/antirez/redis/issues/3639","id":264544216,"user":{"login":"itamarhaber","id":6059516,"avatar_url":"https://avatars.githubusercontent.com/u/6059516?v=3","gravatar_id":"","url":"https://api.github.com/users/itamarhaber","html_url":"https://github.com/itamarhaber","followers_url":"https://api.github.com/users/itamarhaber/followers","following_url":"https://api.github.com/users/itamarhaber/following{/other_user}","gists_url":"https://api.github.com/users/itamarhaber/gists{/gist_id}","starred_url":"https://api.github.com/users/itamarhaber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itamarhaber/subscriptions","organizations_url":"https://api.github.com/users/itamarhaber/orgs","repos_url":"https://api.github.com/users/itamarhaber/repos","events_url":"https://api.github.com/users/itamarhaber/events{/privacy}","received_events_url":"https://api.github.com/users/itamarhaber/received_events","type":"User","site_admin":false},"created_at":"2016-12-02T19:42:35Z","updated_at":"2016-12-02T19:42:35Z","body":"@yatsukhnenko good catch - thanks for reporting it :+1: "}}
{"actor":{"display_login":"itamarhaber"}}