wohali opened a new issue #2406: Erlang crash dump written on no admin user URL: https://github.com/apache/couchdb/issues/2406 Since #2389 when running CouchDB without an admin user (such as `make release && rel/couchdb/bin/couchdb), we get an Erlang crash dump written to disk: ``` [info] 2020-01-06T19:01:44.584000Z couchdb@localhost <0.235.0> -------- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% No Admin Account Found, aborting startup. Please configure an admin account in your local.ini file. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% [error] 2020-01-06T19:01:45.100000Z couchdb@localhost <0.234.0> -------- CRASH REPORT Process (<0.234.0>) with 0 neighbors exited with reason: bad return value admin_account_required from couch_app:start(normal, []) at application_master:init/4(line:134) <= proc_lib:init_p_do_apply/3(line:247); initial_call: {application_master,init,['Argument__1','Argument__2',...]}, ancestors: [<0.233.0>], messages: [{'EXIT',<0.235.0>,normal}], links: [<0.233.0>,<0.9.0>], dictionary: [], trap_exit: true, status: running, heap_size: 610, stack_size: 27, reductions: 114 [info] 2020-01-06T19:01:45.100000Z couchdb@localhost <0.9.0> -------- Application couch exited with reason: bad return value admin_account_required from couch_app:start(normal, []) {"Kernel pid terminated",application_controller,"{application_start_failure,couch,{bad_return,{{couch_app,start,[normal,[]]},admin_account_required}}}"} Kernel pid terminated (application_controller) ({application_start_failure,couch,{bad_return,{{couch_app,start,[normal,[]]},admin_account_required}}}) Crash dump is being written to: erl_crash.dump...done ``` We should exit with a non-zero exit code, but not write a crash dump if at all possible. /cc @janl
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
