{"action":"created","issue":{"url":"https://api.github.com/repos/antirez/redis/issues/3343","repository_url":"https://api.github.com/repos/antirez/redis","labels_url":"https://api.github.com/repos/antirez/redis/issues/3343/labels{/name}","comments_url":"https://api.github.com/repos/antirez/redis/issues/3343/comments","events_url":"https://api.github.com/repos/antirez/redis/issues/3343/events","html_url":"https://github.com/antirez/redis/issues/3343","id":162073634,"number":3343,"title":"3.2.1 crash when as slave node sync with master","user":{"login":"luweijie007","id":7186190,"avatar_url":"https://avatars.githubusercontent.com/u/7186190?v=3","gravatar_id":"","url":"https://api.github.com/users/luweijie007","html_url":"https://github.com/luweijie007","followers_url":"https://api.github.com/users/luweijie007/followers","following_url":"https://api.github.com/users/luweijie007/following{/other_user}","gists_url":"https://api.github.com/users/luweijie007/gists{/gist_id}","starred_url":"https://api.github.com/users/luweijie007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luweijie007/subscriptions","organizations_url":"https://api.github.com/users/luweijie007/orgs","repos_url":"https://api.github.com/users/luweijie007/repos","events_url":"https://api.github.com/users/luweijie007/events{/privacy}","received_events_url":"https://api.github.com/users/luweijie007/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-24T04:25:25Z","updated_at":"2016-06-24T06:53:56Z","closed_at":null,"body":"log as below:\r\n=== REDIS BUG REPORT START: Cut & paste starting from here ===\r\n27648:S 24 Jun 12:16:32.265 # Redis 3.2.1 crashed by signal: 11\r\n27648:S 24 Jun 12:16:32.265 # Crashed running the instuction at: 0x431599\r\n27648:S 24 Jun 12:16:32.265 # Accessing address: 0x7fd7dc299d1e\r\n27648:S 24 Jun 12:16:32.265 # Failed assertion: <no assertion failed> (<no file>:0)\r\n\r\n------ STACK TRACE ------\r\nEIP:\r\n./redis-server *:6400 [cluster][0x431599]\r\n\r\nBacktrace:\r\n./redis-server *:6400 [cluster](logStackTrace+0x29)[0x45caa9]\r\n./redis-server *:6400 [cluster](sigsegvHandler+0xaa)[0x45cf9a]\r\n/lib64/libpthread.so.0(+0xf130)[0x7fd79b0c0130]\r\n./redis-server *:6400 [cluster][0x431599]\r\n./redis-server *:6400 [cluster](quicklistReplaceAtIndex+0x51)[0x420381]\r\n./redis-server *:6400 [cluster](lsetCommand+0xb4)[0x4453e4]\r\n./redis-server *:6400 [cluster](call+0x85)[0x426935]\r\n./redis-server *:6400 [cluster](processCommand+0x367)[0x429947]\r\n./redis-server *:6400 [cluster](processInputBuffer+0x105)[0x4362b5]\r\n./redis-server *:6400 [cluster](aeProcessEvents+0x218)[0x4210b8]\r\n./redis-server *:6400 [cluster](aeMain+0x2b)[0x42136b]\r\n./redis-server *:6400 [cluster](main+0x40f)[0x41e35f]\r\n/lib64/libc.so.6(__libc_start_main+0xf5)[0x7fd79ad11af5]\r\n./redis-server *:6400 [cluster][0x41e5e5]\r\n\r\n------ INFO OUTPUT ------\r\n# Server\r\nredis_version:3.2.1\r\nredis_git_sha1:00000000\r\nredis_git_dirty:0\r\nredis_build_id:42468865c010fa71\r\nredis_mode:cluster\r\nos:Linux 3.10.0-123.el7.x86_64 x86_64\r\narch_bits:64\r\nmultiplexing_api:epoll\r\ngcc_version:4.8.3\r\nprocess_id:27648\r\nrun_id:61d307b257465f360b038ca9e7227729c8f7fc55\r\ntcp_port:6400\r\nuptime_in_seconds:329\r\nuptime_in_days:0\r\nhz:10\r\nlru_clock:7124000\r\nexecutable:/home/redis/redis-3.2.1/src/./redis-server\r\nconfig_file:/home/redis/redis-3.2.1/redis.conf\r\n\r\n# Clients\r\nconnected_clients:2\r\nclient_longest_output_list:0\r\nclient_biggest_input_buf:14962\r\nblocked_clients:0\r\n\r\n# Memory\r\nused_memory:2989199160\r\nused_memory_human:2.78G\r\nused_memory_rss:3073859584\r\nused_memory_rss_human:2.86G\r\nused_memory_peak:2989199160\r\nused_memory_peak_human:2.78G\r\ntotal_system_memory:16609554432\r\ntotal_system_memory_human:15.47G\r\nused_memory_lua:37888\r\nused_memory_lua_human:37.00K\r\nmaxmemory:0\r\nmaxmemory_human:0B\r\nmaxmemory_policy:noeviction\r\nmem_fragmentation_ratio:1.03\r\nmem_allocator:jemalloc-4.0.3\r\n\r\n# Persistence\r\nloading:0\r\nrdb_changes_since_last_save:14\r\nrdb_bgsave_in_progress:0\r\nrdb_last_save_time:1466741463\r\nrdb_last_bgsave_status:ok\r\nrdb_last_bgsave_time_sec:-1\r\nrdb_current_bgsave_time_sec:-1\r\naof_enabled:0\r\naof_rewrite_in_progress:0\r\naof_rewrite_scheduled:0\r\naof_last_rewrite_time_sec:-1\r\naof_current_rewrite_time_sec:-1\r\naof_last_bgrewrite_status:ok\r\naof_last_write_status:ok\r\n\r\n# Stats\r\ntotal_connections_received:1\r\ntotal_commands_processed:18\r\ninstantaneous_ops_per_sec:0\r\ntotal_net_input_bytes:1151760372\r\ntotal_net_output_bytes:1040\r\ninstantaneous_input_kbps:49380.11\r\ninstantaneous_output_kbps:0.00\r\nrejected_connections:0\r\nsync_full:0\r\nsync_partial_ok:0\r\nsync_partial_err:0\r\nexpired_keys:0\r\nevicted_keys:0\r\nkeyspace_hits:0\r\nkeyspace_misses:0\r\npubsub_channels:0\r\npubsub_patterns:0\r\nlatest_fork_usec:0\r\nmigrate_cached_sockets:0\r\n\r\n# Replication\r\nrole:slave\r\nmaster_host:10.15.144.103\r\nmaster_port:6400\r\nmaster_link_status:up\r\nmaster_last_io_seconds_ago:0\r\nmaster_sync_in_progress:0\r\nslave_repl_offset:9950243389\r\nslave_priority:100\r\nslave_read_only:1\r\nconnected_slaves:0\r\nmaster_repl_offset:0\r\nrepl_backlog_active:0\r\nrepl_backlog_size:1048576\r\nrepl_backlog_first_byte_offset:0\r\nrepl_backlog_histlen:0\r\n\r\n# CPU\r\nused_cpu_sys:9.85\r\nused_cpu_user:13.29\r\nused_cpu_sys_children:0.00\r\nused_cpu_user_children:0.00\r\n\r\n# Commandstats\r\ncmdstat_rpush:calls=2,usec=13,usec_per_call=6.50\r\ncmdstat_lset:calls=12,usec=24,usec_per_call=2.00\r\ncmdstat_select:calls=1,usec=2,usec_per_call=2.00\r\ncmdstat_cluster:calls=3,usec=805,usec_per_call=268.33\r\n\r\n# Cluster\r\ncluster_enabled:1\r\n\r\n# Keyspace\r\ndb0:keys=410635,expires=0,avg_ttl=0\r\nhash_init_value: 1466527529\r\n\r\n------ CLIENT LIST OUTPUT ------\r\nid=2 addr=10.15.107.143:56641 fd=9 name= age=146 idle=64 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=cluster\r\nid=3 addr=10.15.144.103:6400 fd=24 name= age=0 idle=0 flags=M db=0 sub=0 psub=0 multi=-1 qbuf=14962 qbuf-free=17806 obl=0 oll=0 omem=0 events=r cmd=lset\r\n\r\n------ CURRENT CLIENT INFO ------\r\nid=3 addr=10.15.144.103:6400 fd=24 name= age=0 idle=0 flags=M db=0 sub=0 psub=0 multi=-1 qbuf=14962 qbuf-free=17806 obl=0 oll=0 omem=0 events=r cmd=lset\r\nargv[0]: 'LSET'\r\nargv[1]: '660FXU'\r\nargv[2]: '-1'\r\nargv[3]: S N0'\r\n27648:S 24 Jun 12:16:32.266 # key '660FXU' found in DB containing the following object:\r\n27648:S 24 Jun 12:16:32.266 # Object type: 1\r\n27648:S 24 Jun 12:16:32.266 # Object encoding: 9\r\n27648:S 24 Jun 12:16:32.266 # Object refcount: 1\r\n27648:S 24 Jun 12:16:32.266 # List length: 1\r\n\r\n------ REGISTERS ------\r\n27648:S 24 Jun 12:16:32.266 # \r\nRAX:00000000000000ff RBX:000000000000001a\r\nRCX:000000000000001a RDX:00007fd6dd090f93\r\nRDI:00007fd7dc299d1e RSI:00007fd6dc299d3a\r\nRBP:00007fd761292640 RSP:00007fffbe24d110\r\nR8 :00007fd6dc299d30 R9 :00007fd79aa00180\r\nR10:0000000000000022 R11:00007fd79420eea0\r\nR12:0000000000000000 R13:000000000000001a\r\nR14:00007fd6dc299d3a R15:000000000000000b\r\nRIP:0000000000431599 EFL:0000000000010206\r\nCSGSFS:cd00000000000033\r\n27648:S 24 Jun 12:16:32.266 # (00007fffbe24d11f) -> 00007fd761292660\r\n27648:S 24 Jun 12:16:32.266 # (00007fffbe24d11e) -> 000000000000001a\r\n27648:S 24 Jun 12:16:32.266 # (00007fffbe24d11d) -> 000000000000000a\r\n27648:S 24 Jun 12:16:32.266 # (00007fffbe24d11c) -> 00007fd7612934d8\r\n27648:S 24 Jun 12:16:32.266 # (00007fffbe24d11b) -> 00007fffbe24d1d0\r\n27648:S 24 Jun 12:16:32.266 # (00007fffbe24d11a) -> 0000000000000001\r\n27648:S 24 Jun 12:16:32.266 # (00007fffbe24d119) -> 00000000075bcd15\r\n27648:S 24 Jun 12:16:32.266 # (00007fffbe24d118) -> 00007f0000000002\r\n27648:S 24 Jun 12:16:32.266 # (00007fffbe24d117) -> 0000000000000001\r\n27648:S 24 Jun 12:16:32.266 # (00007fffbe24d116) -> 0000000000000001\r\n27648:S 24 Jun 12:16:32.266 # (00007fffbe24d115) -> 00007fd6dd090f93\r\n27648:S 24 Jun 12:16:32.266 # (00007fffbe24d114) -> 00007f0000000002\r\n27648:S 24 Jun 12:16:32.266 # (00007fffbe24d113) -> 0000001a00000001\r\n27648:S 24 Jun 12:16:32.266 # (00007fffbe24d112) -> 0000000000000001\r\n27648:S 24 Jun 12:16:32.266 # (00007fffbe24d111) -> 0000001c00000028\r\n27648:S 24 Jun 12:16:32.266 # (00007fffbe24d110) -> 00007fd79aa00080\r\n\r\n------ FAST MEMORY TEST ------\r\n27648:S 24 Jun 12:16:32.267 # Bio thread for job type #0 terminated\r\n27648:S 24 Jun 12:16:32.267 # Bio thread for job type #1 terminated\r\n*** Preparing to test memory region 722000 (114688 bytes)\r\n*** Preparing to test memory region 1c75000 (135168 bytes)\r\n*** Preparing to test memory region 7fd6dbe00000 (3072327680 bytes)\r\n*** Preparing to test memory region 7fd7931ff000 (8388608 bytes)\r\n*** Preparing to test memory region 7fd793a00000 (8388608 bytes)\r\n*** Preparing to test memory region 7fd794200000 (2097152 bytes)\r\n*** Preparing to test memory region 7fd79aa00000 (2097152 bytes)\r\n*** Preparing to test memory region 7fd79b0ac000 (20480 bytes)\r\n*** Preparing to test memory region 7fd79b2c9000 (16384 bytes)\r\n*** Preparing to test memory region 7fd79b9c7000 (16384 bytes)\r\n*** Preparing to test memory region 7fd79b9f1000 (4096 bytes)\r\n*** Preparing to test memory region 7fd79b9f2000 (4096 bytes)\r\n*** Preparing to test memory region 7fd79b9f5000 (4096 bytes)\r\n.O.O.O.O.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=== REDIS BUG REPORT END. Make sure to include from START to END. ===\r\n\r\n       Please report the crash by opening an issue on github:\r\n\r\n           http://github.com/antirez/redis/issues\r\n\r\n  Suspect RAM error? Use redis-server --test-memory to verify it.\r\n\r\nthanks!"},"comment":{"url":"https://api.github.com/repos/antirez/redis/issues/comments/228271451","html_url":"https://github.com/antirez/redis/issues/3343#issuecomment-228271451","issue_url":"https://api.github.com/repos/antirez/redis/issues/3343","id":228271451,"user":{"login":"antirez","id":65632,"avatar_url":"https://avatars.githubusercontent.com/u/65632?v=3","gravatar_id":"","url":"https://api.github.com/users/antirez","html_url":"https://github.com/antirez","followers_url":"https://api.github.com/users/antirez/followers","following_url":"https://api.github.com/users/antirez/following{/other_user}","gists_url":"https://api.github.com/users/antirez/gists{/gist_id}","starred_url":"https://api.github.com/users/antirez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antirez/subscriptions","organizations_url":"https://api.github.com/users/antirez/orgs","repos_url":"https://api.github.com/users/antirez/repos","events_url":"https://api.github.com/users/antirez/events{/privacy}","received_events_url":"https://api.github.com/users/antirez/received_events","type":"User","site_admin":false},"created_at":"2016-06-24T06:53:56Z","updated_at":"2016-06-24T06:53:56Z","body":"Hello, unfortunately the binary is stripped so there are no symbols to understand exactly where this happened. Please could you send the Redis binary you are using? Thanks.\r\n\r\nThis bug could actually be in different places:\r\n\r\n1. Cluster\r\n2. Replication\r\n3. List data type implementation, that with quicklists, changed recently (in 3.2)\r\n\r\nThe binary can give us some clue."}}
{"actor":{"display_login":"antirez"}}