jaydoane commented on issue #3560: URL: https://github.com/apache/couchdb/issues/3560#issuecomment-844378799
I got 3 clean runs from `make buggify-elixir-suite` against main commit d29999cd3f85072d40633a1befe4a29a670890fd after which I started seeing things like this in the logs, and the complete failure of couchdb to even start up before any tests could be run. @nickva have you also seen such crashes? I'm not really sure how to interpret this, although I'm seeing what looks like both a `1009` and `4100` in close succession. ``` [info] 2021-05-19T05:55:43.916238Z [email protected] <0.273.0> -------- Preflight check: Asserting Admin Account [error] 2021-05-19T05:55:43.917339Z [email protected] <0.274.0> -------- No Admin Account configured. Please configure an Admin Account in your local.ini file and restart CouchDB. [info] 2021-05-19T05:55:43.918794Z [email protected] <0.273.0> -------- Apache CouchDB 3.0.0-d29999c is starting. [info] 2021-05-19T05:55:43.918839Z [email protected] <0.275.0> -------- Starting couch_sup [info] 2021-05-19T05:55:43.988198Z [email protected] <0.273.0> -------- Apache CouchDB has started. Time to relax. [error] 2021-05-19T05:55:45.521088Z [email protected] <0.361.0> -------- Mango index erlfdb error Db _users Doc <<"_design/_auth">> 1009 Internal Error @ ./flow/flow.h 456: atos -o libfdb_c.dylib-debug -arch x86_64 -l 0x1d600000 0x1d9f8759 0x1d8921f5 0x1d85ea5b 0x1d85eb37 0x1d71ac19 0x1d84be86 0x1d84d298 0x1d84ca35 0x1d85e8a8 0x1d850cf8 0x1d84bc53 0x1d85d638 0x1d858052 0x1d85c658 0x1d85c246 0x1d85ae48 0x1d85a666 0x1d856dc8 0x1d8562df 0x1d842978 0x1d8427b6 0x1d982b99 0x1d9825a5 0x1da4b3a8 0x1da8c2f6 0x1da87b0d 0x1d74f487 0x1d91d33c 0x1d7163e4 0x1d601958 0x17f6ef1a 0x17d678fe 0x7fff708e4109 0x7fff708dfb8b [error] 2021-05-19T05:55:45.590806Z [email protected] <0.402.0> -------- CRASH REPORT Process (<0.402.0>) with 0 neighbors crashed with reason: {erlfdb_error,4100} at erlfdb_nif:erlfdb_future_get/1 <= erlfdb:do_transaction/2(line:689) <= fabric2_fdb:do_transaction/3(line:175) <= fabric2_fdb:transactional/3(line:146) <= couch_jobs:set_type_timeout/2(line:323) <= couch_views_server:init/1(line:52) <= gen_server:init_it/2(line:374) <= gen_server:init_it/6(line:342); initial_call: {couch_views_server,init,['Argument__1']}, ancestors: [couch_views_sup,<0.400.0>], message_queue_len: 0, links: [<0.401.0>], dictionary: [{'$erlfdb_error',4100},{'$fabric_db_handle',{erlfdb_database,#Ref<0.2384732776.224788482.26227>}},...], trap_exit: true, status: running, heap_size: 987, stack_size: 27, reductions: 795 [error] 2021-05-19T05:55:45.591027Z [email protected] <0.401.0> -------- Supervisor couch_views_sup had child couch_views_server started with couch_views_server:start_link() at undefined exit with reason {erlfdb_error,4100} at erlfdb_nif:erlfdb_future_get/1 <= erlfdb:do_transaction/2(line:689) <= fabric2_fdb:do_transaction/3(line:175) <= fabric2_fdb:transactional/3(line:146) <= couch_jobs:set_type_timeout/2(line:323) <= couch_views_server:init/1(line:52) <= gen_server:init_it/2(line:374) <= gen_server:init_it/6(line:342) in context start_error [error] 2021-05-19T05:55:45.591314Z [email protected] <0.399.0> -------- CRASH REPORT Process (<0.399.0>) with 0 neighbors exited with reason: {{shutdown,{failed_to_start_child,couch_views_server,{{erlfdb_error,4100},[{erlfdb_nif,erlfdb_future_get,[#Ref<0.2384732776.224788482.27142>],[]},{erlfdb,do_transaction,2,[{file,"src/erlfdb.erl"},{line,689}]},{fabric2_fdb,do_transaction,3,[{file,"src/fabric2_fdb.erl"},{line,175}]},{fabric2_fdb,transactional,3,[{file,"src/fabric2_fdb.erl"},{line,146}]},{couch_jobs,set_type_timeout,2,[{file,"src/couch_jobs.erl"},{line,323}]},{couch_views_server,init,1,[{file,"src/couch_views_server.erl"},{line,...}]},...]}}},...} at application_master:init/4(line:138) <= proc_lib:init_p_do_apply/3(line:249); initial_call: {application_master,init,['Argument__1','Argument__2',...]}, ancestors: [<0.398.0>], message_queue_len: 1, links: [<0.398.0>,<0.44.0>], dictionary: [], trap_exit: true, status: running, heap_size: 610, stack_size: 27, reductions: 237 [info] 2021-05-19T05:55:45.591672Z [email protected] <0.44.0> -------- Application couch_views exited with reason: {{shutdown,{failed_to_start_child,couch_views_server,{{erlfdb_error,4100},[{erlfdb_nif,erlfdb_future_get,[#Ref<0.2384732776.224788482.27142>],[]},{erlfdb,do_transaction,2,[{file,"src/erlfdb.erl"},{line,689}]},{fabric2_fdb,do_transaction,3,[{file,"src/fabric2_fdb.erl"},{line,175}]},{fabric2_fdb,transactional,3,[{file,"src/fabric2_fdb.erl"},{line,146}]},{couch_jobs,set_type_timeout,2,[{file,"src/couch_jobs.erl"},{line,323}]},{couch_views_server,init,1,[{file,"src/couch_views_server.erl"},{line,...}]},...]}}},...} [error] 2021-05-19T05:55:50.595237Z [email protected] <0.296.0> -------- Supervisor fabric2_sup had child fabric2_db_expiration started with fabric2_db_expiration:start_link() at <0.334.0> exit with reason killed in context shutdown_error {"Kernel pid terminated",application_controller,"{application_start_failure,couch_views,{{shutdown,{failed_to_start_child,couch_views_server,{{erlfdb_error,4100},[{erlfdb_nif,erlfdb_future_get,[#Ref<0.2384732776.224788482.27142>],[]},{erlfdb,do_transaction,2,[{file,\"src/erlfdb.erl\"},{line,689}]},{fabric2_fdb,do_transaction,3,[{file,\"src/fabric2_fdb.erl\"},{line,175}]},{fabric2_fdb,transactional,3,[{file,\"src/fabric2_fdb.erl\"},{line,146}]},{couch_jobs,set_type_timeout,2,[{file,\"src/couch_jobs.erl\"},{line,323}]},{couch_views_server,init,1,[{file,\"src/couch_views_server.erl\"},{line,52}]},{gen_server,init_it,2,[{file,\"gen_server.erl\"},{line,374}]},{gen_server,init_it,6,[{file,\"gen_server.erl\"},{line,342}]}]}}},{couch_views_app,start,[normal,[]]}}}"} Kernel pid terminated (application_controller) ({application_start_failure,couch_views,{{shutdown,{failed_to_start_child,couch_views_server,{{erlfdb_error,4100},[{erlfdb_nif,erlfdb_future_get,[#Ref<0. Crash dump is being written to: erl_crash.dump...done ``` -- 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]
