{"action":"created","issue":{"url":"https://api.github.com/repos/antirez/redis/issues/4152","repository_url":"https://api.github.com/repos/antirez/redis","labels_url":"https://api.github.com/repos/antirez/redis/issues/4152/labels{/name}","comments_url":"https://api.github.com/repos/antirez/redis/issues/4152/comments","events_url":"https://api.github.com/repos/antirez/redis/issues/4152/events","html_url":"https://github.com/antirez/redis/issues/4152","id":245000323,"number":4152,"title":"core again","user":{"login":"liubing64","id":30286819,"avatar_url":"https://avatars1.githubusercontent.com/u/30286819?v=4","gravatar_id":"","url":"https://api.github.com/users/liubing64","html_url":"https://github.com/liubing64","followers_url":"https://api.github.com/users/liubing64/followers","following_url":"https://api.github.com/users/liubing64/following{/other_user}","gists_url":"https://api.github.com/users/liubing64/gists{/gist_id}","starred_url":"https://api.github.com/users/liubing64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liubing64/subscriptions","organizations_url":"https://api.github.com/users/liubing64/orgs","repos_url":"https://api.github.com/users/liubing64/repos","events_url":"https://api.github.com/users/liubing64/events{/privacy}","received_events_url":"https://api.github.com/users/liubing64/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-07-24T08:01:01Z","updated_at":"2017-07-25T08:58:14Z","closed_at":null,"body":"```\r\n=== REDIS BUG REPORT START: Cut & paste starting from here ===\r\n30449:S 24 Jul 15:54:10.076 # Redis 4.0.0 crashed by signal: 11\r\n30449:S 24 Jul 15:54:10.076 # Crashed running the instuction at: 0x4bd827\r\n30449:S 24 Jul 15:54:10.076 # Accessing address: 0x7fc40d042938\r\n30449:S 24 Jul 15:54:10.076 # Failed assertion: <no assertion failed> (<no file>:0)\r\n\r\n------ STACK TRACE ------\r\nEIP:\r\nredis-server 10.161.24.227:33333 [cluster](je_free+0x117)[0x4bd827]\r\n\r\nBacktrace:\r\nredis-server 10.161.24.227:33333 [cluster](logStackTrace+0x29)[0x4679b9]\r\nredis-server 10.161.24.227:33333 [cluster](sigsegvHandler+0xac)[0x46805c]\r\n/lib64/libpthread.so.0(+0xf100)[0x7fc24df6d100]\r\nredis-server 10.161.24.227:33333 [cluster](je_free+0x117)[0x4bd827]\r\nredis-server 10.161.24.227:33333 [cluster](raxRecursiveFree+0x8c)[0x496b5c]\r\nredis-server 10.161.24.227:33333 [cluster](raxRecursiveFree+0x7f)[0x496b4f]\r\nredis-server 10.161.24.227:33333 [cluster](raxRecursiveFree+0x7f)[0x496b4f]\r\nredis-server 10.161.24.227:33333 [cluster](raxRecursiveFree+0x7f)[0x496b4f]\r\nredis-server 10.161.24.227:33333 [cluster](raxRecursiveFree+0x7f)[0x496b4f]\r\nredis-server 10.161.24.227:33333 [cluster](raxRecursiveFree+0x7f)[0x496b4f]\r\nredis-server 10.161.24.227:33333 [cluster](raxRecursiveFree+0x7f)[0x496b4f]\r\nredis-server 10.161.24.227:33333 [cluster](raxRecursiveFree+0x7f)[0x496b4f]\r\nredis-server 10.161.24.227:33333 [cluster](raxRecursiveFree+0x7f)[0x496b4f]\r\nredis-server 10.161.24.227:33333 [cluster](raxRecursiveFree+0x7f)[0x496b4f]\r\nredis-server 10.161.24.227:33333 [cluster](raxRecursiveFree+0x7f)[0x496b4f]\r\nredis-server 10.161.24.227:33333 [cluster](raxRecursiveFree+0x7f)[0x496b4f]\r\nredis-server 10.161.24.227:33333 [cluster](raxRecursiveFree+0x7f)[0x496b4f]\r\nredis-server 10.161.24.227:33333 [cluster](raxFree+0xc)[0x496b9c]\r\nredis-server 10.161.24.227:33333 [cluster](slotToKeyFlush+0x14)[0x4419e4]\r\nredis-server 10.161.24.227:33333 [cluster](emptyDb+0x105)[0x441b25]\r\nredis-server 10.161.24.227:33333 [cluster](readSyncBulkPayload+0x1fa)[0x4432ca]\r\nredis-server 10.161.24.227:33333 [cluster](aeProcessEvents+0x23d)[0x42648d]\r\nredis-server 10.161.24.227:33333 [cluster](aeMain+0x2b)[0x42676b]\r\nredis-server 10.161.24.227:33333 [cluster](main+0x49f)[0x4235ef]\r\n/lib64/libc.so.6(__libc_start_main+0xf5)[0x7fc24dbbeb15]\r\nredis-server 10.161.24.227:33333 [cluster][0x4238e5]\r\n\r\n------ INFO OUTPUT ------\r\n# Server\r\nredis_version:4.0.0\r\nredis_git_sha1:00000000\r\nredis_git_dirty:0\r\nredis_build_id:80ef6eeba9c67824\r\nredis_mode:cluster\r\nos:Linux 3.10.0-514.6.3.el7.x86_64 x86_64\r\narch_bits:64\r\nmultiplexing_api:epoll\r\natomicvar_api:atomic-builtin\r\ngcc_version:4.8.5\r\nprocess_id:30449\r\nrun_id:f7e960486610705c5d15ec7959eb18aab14a94b3\r\ntcp_port:33333\r\nuptime_in_seconds:20907\r\nuptime_in_days:0\r\nhz:10\r\nlru_clock:7710573\r\nexecutable:/log/redis/redis-server\r\nconfig_file:\r\n\r\n# Clients\r\nconnected_clients:0\r\nclient_longest_output_list:0\r\nclient_biggest_input_buf:0\r\nblocked_clients:0\r\n\r\n# Memory\r\nused_memory:118786968\r\nused_memory_human:113.28M\r\nused_memory_rss:5158690816\r\nused_memory_rss_human:4.80G\r\nused_memory_peak:5026386936\r\nused_memory_peak_human:4.68G\r\nused_memory_peak_perc:2.36%\r\nused_memory_overhead:1424872\r\nused_memory_startup:1424872\r\nused_memory_dataset:117362096\r\nused_memory_dataset_perc:100.00%\r\ntotal_system_memory:134619447296\r\ntotal_system_memory_human:125.37G\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:43.43\r\nmem_allocator:jemalloc-4.0.3\r\nactive_defrag_running:0\r\nlazyfree_pending_objects:0\r\n\r\n# Persistence\r\nloading:0\r\nrdb_changes_since_last_save:36740727\r\nrdb_bgsave_in_progress:0\r\nrdb_last_save_time:1500861890\r\nrdb_last_bgsave_status:ok\r\nrdb_last_bgsave_time_sec:-1\r\nrdb_current_bgsave_time_sec:-1\r\nrdb_last_cow_size:0\r\naof_enabled:0\r\naof_rewrite_in_progress:0\r\naof_rewrite_scheduled:0\r\naof_last_rewrite_time_sec:41\r\naof_current_rewrite_time_sec:-1\r\naof_last_bgrewrite_status:ok\r\naof_last_write_status:ok\r\naof_last_cow_size:13234176\r\n\r\n# Stats\r\ntotal_connections_received:69\r\ntotal_commands_processed:36742878\r\ninstantaneous_ops_per_sec:0\r\ntotal_net_input_bytes:13996601102\r\ntotal_net_output_bytes:1126293\r\ninstantaneous_input_kbps:610570.00\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:81337\r\nmigrate_cached_sockets:0\r\nslave_expires_tracked_keys:0\r\nactive_defrag_hits:0\r\nactive_defrag_misses:0\r\nactive_defrag_key_hits:0\r\nactive_defrag_key_misses:0\r\n\r\n# Replication\r\nrole:slave\r\nmaster_host:10.161.24.249\r\nmaster_port:33333\r\nmaster_link_status:down\r\nmaster_last_io_seconds_ago:-1\r\nmaster_sync_in_progress:1\r\nslave_repl_offset:1\r\nmaster_sync_left_bytes:0\r\nmaster_sync_last_io_seconds_ago:0\r\nmaster_link_down_since_seconds:1500882797\r\nslave_priority:100\r\nslave_read_only:1\r\nconnected_slaves:0\r\nmaster_replid:05e244a168221f7b4c060520080ce5487abbbc9d\r\nmaster_replid2:0000000000000000000000000000000000000000\r\nmaster_repl_offset:5230201883\r\nsecond_repl_offset:-1\r\nrepl_backlog_active:0\r\nrepl_backlog_size:1048576\r\nrepl_backlog_first_byte_offset:5230199882\r\nrepl_backlog_histlen:2002\r\n\r\n# CPU\r\nused_cpu_sys:93.79\r\nused_cpu_user:581.26\r\nused_cpu_sys_children:27.44\r\nused_cpu_user_children:87.04\r\n\r\n# Commandstats\r\ncmdstat_hset:calls=36740727,usec=94472331,usec_per_call=2.57\r\ncmdstat_select:calls=5,usec=3,usec_per_call=0.60\r\ncmdstat_dbsize:calls=2,usec=2,usec_per_call=1.00\r\ncmdstat_ping:calls=2058,usec=394,usec_per_call=0.19\r\ncmdstat_info:calls=63,usec=2405,usec_per_call=38.17\r\ncmdstat_cluster:calls=21,usec=4854,usec_per_call=231.14\r\ncmdstat_command:calls=2,usec=642,usec_per_call=321.00\r\n\r\n# Cluster\r\ncluster_enabled:1\r\n\r\n# Keyspace\r\n\r\n------ CLIENT LIST OUTPUT ------\r\n\r\n------ REGISTERS ------\r\n30449:S 24 Jul 15:54:10.083 # \r\nRAX:0000000000002000 RBX:00007fc1ef07d460\r\nRCX:00007fc24d8000c0 RDX:0000000000000000\r\nRDI:0000000000000070 RSI:00007fc1ef000000\r\nRBP:ffffffffffffffb0 RSP:00007fff018c8050\r\nR8 :00000000526fdb29 R9 :00000000526fdb28\r\nR10:00007fc179854ff8 R11:000000000000007d\r\nR12:00007fc24700d000 R13:00007fc24700f000\r\nR14:00000000000000ff R15:0000000000000000\r\nRIP:00000000004bd827 EFL:0000000000010202\r\nCSGSFS:0000000000000033\r\n30449:S 24 Jul 15:54:10.084 # (00007fff018c805f) -> 00007fc1ef07d460\r\n30449:S 24 Jul 15:54:10.084 # (00007fff018c805e) -> 0000000000000000\r\n30449:S 24 Jul 15:54:10.084 # (00007fff018c805d) -> 0000000000496b4f\r\n30449:S 24 Jul 15:54:10.084 # (00007fff018c805c) -> 00007fc14341d730\r\n30449:S 24 Jul 15:54:10.084 # (00007fff018c805b) -> 00007fc14341d731\r\n30449:S 24 Jul 15:54:10.084 # (00007fff018c805a) -> 00007fc247021e38\r\n30449:S 24 Jul 15:54:10.084 # (00007fff018c8059) -> 00007fc14341d751\r\n30449:S 24 Jul 15:54:10.084 # (00007fff018c8058) -> 00007fc180fb5fee\r\n30449:S 24 Jul 15:54:10.084 # (00007fff018c8057) -> 00007fc2044c43a0\r\n30449:S 24 Jul 15:54:10.084 # (00007fff018c8056) -> 0000000000000308\r\n30449:S 24 Jul 15:54:10.084 # (00007fff018c8055) -> 0000000000496b5c\r\n30449:S 24 Jul 15:54:10.084 # (00007fff018c8054) -> 00000000ffffffff\r\n30449:S 24 Jul 15:54:10.084 # (00007fff018c8053) -> 00007fc1ef07d460\r\n30449:S 24 Jul 15:54:10.084 # (00007fff018c8052) -> 00007fc1ef07d4a4\r\n30449:S 24 Jul 15:54:10.084 # (00007fff018c8051) -> 00007fc247021e38\r\n30449:S 24 Jul 15:54:10.084 # (00007fff018c8050) -> 00007fc1ef07d4a4\r\n\r\n------ FAST MEMORY TEST ------\r\n30449:S 24 Jul 15:54:10.084 # Bio thread for job type #0 terminated\r\n30449:S 24 Jul 15:54:10.084 # Bio thread for job type #1 terminated\r\n30449:S 24 Jul 15:54:10.084 # Bio thread for job type #2 terminated\r\n*** Preparing to test memory region 742000 (98304 bytes)\r\n*** Preparing to test memory region d99000 (135168 bytes)\r\n*** Preparing to test memory region 7fc112600000 (5150605312 bytes)\r\n*** Preparing to test memory region 7fc2457fe000 (8388608 bytes)\r\n*** Preparing to test memory region 7fc245fff000 (8388608 bytes)\r\n*** Preparing to test memory region 7fc246800000 (8388608 bytes)\r\n*** Preparing to test memory region 7fc247000000 (2097152 bytes)\r\n*** Preparing to test memory region 7fc24d800000 (2097152 bytes)\r\n*** Preparing to test memory region 7fc24df59000 (20480 bytes)\r\n*** Preparing to test memory region 7fc24e176000 (16384 bytes)\r\n*** Preparing to test memory region 7fc24e890000 (16384 bytes)\r\n*** Preparing to test memory region 7fc24e89f000 (4096 bytes)\r\n*** Preparing to test memory region 7fc24e8a0000 (4096 bytes)\r\n*** Preparing to test memory region 7fc24e8a3000 (4096 bytes)\r\n.O.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\r\n------ DUMPING CODE AROUND EIP ------\r\nSymbol: je_free (base: 0x4bd710)\r\nModule: redis-server 10.161.24.227:33333 [cluster] (base 0x400000)\r\n$ xxd -r -p /tmp/dump.hex /tmp/dump.bin\r\n$ objdump --adjust-vma=0x4bd710 -D -b binary -m i386:x86-64 /tmp/dump.bin\r\n------\r\n30449:S 24 Jul 15:54:27.589 # dump of function (hexdump of 407 bytes):\r\n41564885ff4155415455534889fb0f8420010000488b2dcdf82700648b450083f8010f8515010000488b35a9bf2900644c8b650848f7d64821de4839f30f84a80200004889df4829f748c1ef0c482b3d64bf29004c8b44fe684d89c14181e1e01f000049c1e9054181f9ff0000000f84600200004a8b04cdc0fa5000644801451848833d57572800000f85290200004c8b1542bf290049f7d24921da4c39d30f84f40100004989db4d29d349c1eb0c4d89dd4c2b2dffbe29004f8b74ea6841f6c6020f85450100004d85e40f84230100004181e6e01f000049c1ee05803d0d572800004589f50f85f00000004983c501488b0d89bf290049c1e5054d01e5458b4510463b04b10f84aa0000004d8b55184589c14183c0014b891cca45894510418b5c241883c30181fbd300000041895c241874665b5d415c415d415ec385c00f85b3010000b960dd4e0064c74500010000004881f990de4e000f84c9feffff4889ee6448033425000000008b3d1fbf2900e80a40f6ff85c00f84aafeffffbf90f85000e858e00200803d81562800000f8493feffffe8a6\r\n\r\n=== REDIS BUG REPORT END. Make sure to include from START to END. ===\r\n```"},"comment":{"url":"https://api.github.com/repos/antirez/redis/issues/comments/317674730","html_url":"https://github.com/antirez/redis/issues/4152#issuecomment-317674730","issue_url":"https://api.github.com/repos/antirez/redis/issues/4152","id":317674730,"user":{"login":"antirez","id":65632,"avatar_url":"https://avatars0.githubusercontent.com/u/65632?v=4","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":"2017-07-25T08:58:14Z","updated_at":"2017-07-25T08:58:14Z","body":"We usually suggest using Jemalloc, however in your specific case, since the crashes are both times inside Jemalloc (which may not automatically mean Jemalloc is the problem) once you can crash Redis, I suggest doing `make distclean; make MALLOC=libc` to recompile with default glibc allocator, and see if you can crash it again."}}
{"actor":{"display_login":"antirez"}}