{"action":"created","issue":{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/4917","labels_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/4917/labels{/name}","comments_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/4917/comments","events_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/4917/events","html_url":"https://github.com/rethinkdb/rethinkdb/issues/4917","id":109847790,"number":4917,"title":"Segfaul in v2.1.x in release mode","user":{"login":"mlucy","id":1777134,"avatar_url":"https://avatars.githubusercontent.com/u/1777134?v=3","gravatar_id":"","url":"https://api.github.com/users/mlucy","html_url":"https://github.com/mlucy","followers_url":"https://api.github.com/users/mlucy/followers","following_url":"https://api.github.com/users/mlucy/following{/other_user}","gists_url":"https://api.github.com/users/mlucy/gists{/gist_id}","starred_url":"https://api.github.com/users/mlucy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlucy/subscriptions","organizations_url":"https://api.github.com/users/mlucy/orgs","repos_url":"https://api.github.com/users/mlucy/repos","events_url":"https://api.github.com/users/mlucy/events{/privacy}","received_events_url":"https://api.github.com/users/mlucy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/labels/pr:high","name":"pr:high","color":"e10c02"},{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/labels/tp:bug","name":"tp:bug","color":"e102d8"}],"state":"closed","locked":false,"assignee":{"login":"mlucy","id":1777134,"avatar_url":"https://avatars.githubusercontent.com/u/1777134?v=3","gravatar_id":"","url":"https://api.github.com/users/mlucy","html_url":"https://github.com/mlucy","followers_url":"https://api.github.com/users/mlucy/followers","following_url":"https://api.github.com/users/mlucy/following{/other_user}","gists_url":"https://api.github.com/users/mlucy/gists{/gist_id}","starred_url":"https://api.github.com/users/mlucy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlucy/subscriptions","organizations_url":"https://api.github.com/users/mlucy/orgs","repos_url":"https://api.github.com/users/mlucy/repos","events_url":"https://api.github.com/users/mlucy/events{/privacy}","received_events_url":"https://api.github.com/users/mlucy/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/milestones/104","html_url":"https://github.com/rethinkdb/rethinkdb/milestones/2.1.x","labels_url":"https://api.github.com/repos/rethinkdb/rethinkdb/milestones/104/labels","id":1249551,"number":104,"title":"2.1.x","description":null,"creator":{"login":"danielmewes","id":505365,"avatar_url":"https://avatars.githubusercontent.com/u/505365?v=3","gravatar_id":"","url":"https://api.github.com/users/danielmewes","html_url":"https://github.com/danielmewes","followers_url":"https://api.github.com/users/danielmewes/followers","following_url":"https://api.github.com/users/danielmewes/following{/other_user}","gists_url":"https://api.github.com/users/danielmewes/gists{/gist_id}","starred_url":"https://api.github.com/users/danielmewes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielmewes/subscriptions","organizations_url":"https://api.github.com/users/danielmewes/orgs","repos_url":"https://api.github.com/users/danielmewes/repos","events_url":"https://api.github.com/users/danielmewes/events{/privacy}","received_events_url":"https://api.github.com/users/danielmewes/received_events","type":"User","site_admin":false},"open_issues":26,"closed_issues":1,"state":"open","created_at":"2015-08-11T07:18:11Z","updated_at":"2015-10-08T01:10:36Z","due_on":null,"closed_at":null},"comments":18,"created_at":"2015-10-05T17:36:41Z","updated_at":"2015-10-08T01:10:36Z","closed_at":"2015-10-08T01:10:36Z","body":"From William:\r\n\r\nWhen stress testing I got to a point where I could only start 1 of my\r\nthree rethinkdb servers (under load from clients), and every time I\r\ntried to start again I would get the Segmentation fault below\r\n(according to the log) [1].  This happens repeatedly within seconds of\r\nrestarting rethinkdb.    I added a few gigs of swap in case memory was\r\nrelevant, but that made no difference.  I tried stopping all clients\r\nand then could start rethinkdb, but it quickly segfaulted as soon as I\r\nstarted the client with load.  I then reverted to \"rethinkdb\r\n2.1.4~0vivid (GCC 4.9.2)\", and exactly the same tests (with the same\r\nexact data) worked fine.\r\n\r\n[1] Repeatably segfault:\r\n\r\n```\r\n2015-10-05T04:56:46.573479760 40.338882s error: Error in\r\nsrc/arch/runtime/thread_pool.cc at line 359:\r\n2015-10-05T04:56:46.573505337 40.338907s error: Segmentation fault\r\nfrom reading the address 0x7f01b7a228c8.\r\n2015-10-05T04:56:46.573512359 40.338914s error: Backtrace:\r\n2015-10-05T04:56:46.681749975 40.447153s error: Mon Oct  5 04:56:46\r\n2015\\n\\n1: backtrace_t::backtrace_t() at ??:?\\n2:\r\nformat_backtrace(bool) at ??:?\\n3: report_fatal_error(char const*,\r\nint, char const*, ...) at ??:?\\n4:\r\nlinux_thread_pool_t::fatal_signal_handler\r\n(int, siginfo_t*, void*) at ??:?\\n5:\r\n/lib/x86_64-linux-gnu/libpthread.so.0(+0x10d10) [0x7feccf2c3d10] at\r\n0x7feccf2c3d10 (/lib/x86_64-linux-gnu/libpthread.so.0)\\n6:\r\nrget_cb_t::handle_pair(scoped_key_value_t&&, unsigned long,\r\nconcurrent_traversal_fifo_enforcer_si\r\ngnal_t) at ??:?\\n7:\r\nconcurrent_traversal_adapter_t::handle_pair_coro(scoped_key_value_t*,\r\nsemaphore_acq_t*, fifo_enforcer_write_token_t, auto_drainer_t::lock_t)\r\nat ??:?\\n8: callable_action_instance_t<std::_Bind<std::_Mem_fn<void\r\n(concurrent_traversal_adapter_t:\r\n:*)(scoped_key_value_t*, semaphore_acq_t*,\r\nfifo_enforcer_write_token_t, auto_drainer_t::lock_t)>\r\n(concurrent_traversal_adapter_t*, scoped_key_value_t*,\r\nsemaphore_acq_t*, fifo_enforcer_write_token_t,\r\nauto_drainer_t::lock_t)> >::run_action() at ??:?\\n9: coro_t::r\r\nun() at ??:?\r\n2015-10-05T04:56:46.681791172 40.447193s error: Exiting.\r\n```"},"comment":{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/comments/146386832","html_url":"https://github.com/rethinkdb/rethinkdb/issues/4917#issuecomment-146386832","issue_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/4917","id":146386832,"user":{"login":"danielmewes","id":505365,"avatar_url":"https://avatars.githubusercontent.com/u/505365?v=3","gravatar_id":"","url":"https://api.github.com/users/danielmewes","html_url":"https://github.com/danielmewes","followers_url":"https://api.github.com/users/danielmewes/followers","following_url":"https://api.github.com/users/danielmewes/following{/other_user}","gists_url":"https://api.github.com/users/danielmewes/gists{/gist_id}","starred_url":"https://api.github.com/users/danielmewes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielmewes/subscriptions","organizations_url":"https://api.github.com/users/danielmewes/orgs","repos_url":"https://api.github.com/users/danielmewes/repos","events_url":"https://api.github.com/users/danielmewes/events{/privacy}","received_events_url":"https://api.github.com/users/danielmewes/received_events","type":"User","site_admin":false},"created_at":"2015-10-08T01:10:36Z","updated_at":"2015-10-08T01:10:36Z","body":"Fixed in v2.1.x e23bd5b and next 8d9b5d1"}}