{"action":"created","issue":{"url":"https://api.github.com/repos/apache/couchdb/issues/749","repository_url":"https://api.github.com/repos/apache/couchdb","labels_url":"https://api.github.com/repos/apache/couchdb/issues/749/labels{/name}","comments_url":"https://api.github.com/repos/apache/couchdb/issues/749/comments","events_url":"https://api.github.com/repos/apache/couchdb/issues/749/events","html_url":"https://github.com/apache/couchdb/issues/749","id":249861094,"number":749,"title":"2.1.0 crashes if peruser = true","user":{"login":"rasdaniil","id":24467138,"avatar_url":"https://avatars3.githubusercontent.com/u/24467138?v=4","gravatar_id":"","url":"https://api.github.com/users/rasdaniil","html_url":"https://github.com/rasdaniil","followers_url":"https://api.github.com/users/rasdaniil/followers","following_url":"https://api.github.com/users/rasdaniil/following{/other_user}","gists_url":"https://api.github.com/users/rasdaniil/gists{/gist_id}","starred_url":"https://api.github.com/users/rasdaniil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rasdaniil/subscriptions","organizations_url":"https://api.github.com/users/rasdaniil/orgs","repos_url":"https://api.github.com/users/rasdaniil/repos","events_url":"https://api.github.com/users/rasdaniil/events{/privacy}","received_events_url":"https://api.github.com/users/rasdaniil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":20,"created_at":"2017-08-13T08:47:16Z","updated_at":"2017-09-24T11:18:56Z","closed_at":null,"author_association":"NONE","body":"So I've compiled 2.1.0 under docker image. Launched it. Created DBs, switch cors on, set peruser = true in local.ini. Commit, run the newly commited image, couchdb crashes :-(\r\n\r\n```\r\n[error] 2017-08-12T17:18:07.625357Z nonode@nohost <0.194.0> -------- CRASH REPORT Process  (<0.194.0>) with 0 neighbors exited with reason: {{shutdown,{failed_to_start_child,couch_secondary_services,{shutdown,{failed_to_start_child,couch_peruser,{badarg,[{ets,member,[mem3_openers,<<\"_users\">>],[]},{mem3_shards,maybe_spawn_shard_writer,3,[{file,\"src/mem3_shards.erl\"},{line,486}]},{mem3_shards,load_shards_from_db,2,[{file,\"src/mem3_shards.erl\"},{line,389}]},{mem3_shards,load_shards_from_disk,1,[{file,\"src/mem3_shards.erl\"},{line,378}]},{mem3_shards,for_db,2,[{file,\"src/mem3_shards.erl\"},{line,59}]},{mem3_shards,local,1,[{file,\"s...\"},...]},...]}}}}},...} at application_master:init/4(line:133) <= proc_lib:init_p_do_apply/3(line:237); initial_call: {application_master,init,['Argument__1','Argument__2',...]}, ancestors: [<0.193.0>], messages: [{'EXIT',<0.195.0>,normal}], links: [<0.193.0>,<0.7.0>], dictionary: [], trap_exit: true, status: running, heap_size: 987, stack_size: 27, reductions: 157\r\n[info] 2017-08-12T17:18:07.626827Z nonode@nohost <0.7.0> -------- Application couch exited with reason: {{shutdown,{failed_to_start_child,couch_secondary_services,{shutdown,{failed_to_start_child,couch_peruser,{badarg,[{ets,member,[mem3_openers,<<\"_users\">>],[]},{mem3_shards,maybe_spawn_shard_writer,3,[{file,\"src/mem3_shards.erl\"},{line,486}]},{mem3_shards,load_shards_from_db,2,[{file,\"src/mem3_shards.erl\"},{line,389}]},{mem3_shards,load_shards_from_disk,1,[{file,\"src/mem3_shards.erl\"},{line,378}]},{mem3_shards,for_db,2,[{file,\"src/mem3_shards.erl\"},{line,59}]},{mem3_shards,local,1,[{file,\"s...\"},...]},...]}}}}},...}\r\n[os_mon] memory supervisor port (memsup): Erlang has closed\r\n[os_mon] cpu supervisor port (cpu_sup): Erlang has closed\r\n{\"Kernel pid terminated\",application_controller,\"{application_start_failure,couch,{{shutdown,{failed_to_start_child,couch_secondary_services,{shutdown,{failed_to_start_child,couch_peruser,{badarg,[{ets,member,[mem3_openers,<<\\\"_users\\\">>],[]},{mem3_shards,maybe_spawn_shard_writer,3,[{file,\\\"src/mem3_shards.erl\\\"},{line,486}]},{mem3_shards,load_shards_from_db,2,[{file,\\\"src/mem3_shards.erl\\\"},{line,389}]},{mem3_shards,load_shards_from_disk,1,[{file,\\\"src/mem3_shards.erl\\\"},{line,378}]},{mem3_shards,for_db,2,[{file,\\\"src/mem3_shards.erl\\\"},{line,59}]},{mem3_shards,local,1,[{file,\\\"src/mem3_shards.erl\\\"},{line,156}]},{couch_peruser,init,0,[{file,\\\"src/couch_peruser.erl\\\"},{line,58}]},{couch_peruser,init,1,[{file,\\\"src/couch_peruser.erl\\\"},{line,187}]}]}}}}},{couch_app,start,[normal,[]]}}}\"}\r\n```\r\n\r\nCrash dump:\r\nhttps://gist.github.com/rasdaniil/8fe6e94a68e5730f56404d65dcd2ff9e\r\n\r\n\r\nDockerfile\r\nhttps://gist.github.com/rasdaniil/fada64e4015ba1a1a3a651a3ad41e4fa\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/apache/couchdb/issues/comments/331703268","html_url":"https://github.com/apache/couchdb/issues/749#issuecomment-331703268","issue_url":"https://api.github.com/repos/apache/couchdb/issues/749","id":331703268,"user":{"login":"domachine","id":413208,"avatar_url":"https://avatars1.githubusercontent.com/u/413208?v=4","gravatar_id":"","url":"https://api.github.com/users/domachine","html_url":"https://github.com/domachine","followers_url":"https://api.github.com/users/domachine/followers","following_url":"https://api.github.com/users/domachine/following{/other_user}","gists_url":"https://api.github.com/users/domachine/gists{/gist_id}","starred_url":"https://api.github.com/users/domachine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domachine/subscriptions","organizations_url":"https://api.github.com/users/domachine/orgs","repos_url":"https://api.github.com/users/domachine/repos","events_url":"https://api.github.com/users/domachine/events{/privacy}","received_events_url":"https://api.github.com/users/domachine/received_events","type":"User","site_admin":false},"created_at":"2017-09-24T11:18:56Z","updated_at":"2017-09-24T11:18:56Z","author_association":"NONE","body":"My solution is currently that I reimplemented this feature using a separate\nprocess (Node.js) that listens to the _user database changes. If you're\ninterested I can try to setup a repo to demo this approach.\n\nAm 24.09.2017 12:28 nachm. schrieb \"Budi Adiono\" <notifications@github.com>:\n\n> Any temporary solution for this? I'm having same issue when running on\n> Centos 7.\n>\n> —\n> You are receiving this because you are subscribed to this thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/apache/couchdb/issues/749#issuecomment-331700973>, or mute\n> the thread\n> <https://github.com/notifications/unsubscribe-auth/AAZOGPbsejOY8rFkVwcE0-chA_HUymvdks5sli65gaJpZM4O1obs>\n> .\n>\n"}}
{"actor":{"display_login":"domachine"}}