Created
January 20, 2013 22:18
-
-
Save ryanolf/4582200 to your computer and use it in GitHub Desktop.
couchDB 1.2.1 crashing when installed via homebrew
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[info] [<0.130.0>] 127.0.0.1 - - POST /_restart 200 | |
[error] [<0.225.0>] ** Generic server <0.225.0> terminating | |
** Last message in was {'EXIT',<0.121.0>,killed} | |
** When Server state == {group_state,undefined,<<"test_suite_db">>, | |
{"/usr/local/var/lib/couchdb",<<"test_suite_db">>, | |
{group, | |
<<33,233,35,164,57,247,32,228,130,33,217,187,148, | |
224,219,80>>, | |
nil,<<"_temp">>,<<"javascript">>,[], | |
[{view,0,0,0, | |
[<<"_temp">>], | |
<<"(function (doc) {\n if (doc.a==4)\n emit(null, doc.b);\n })">>, | |
nil, | |
[{<<"_temp">>, | |
<<"(function (keys, values) {\n return sum(values);\n })">>}], | |
[]}], | |
{[]}, | |
nil,0,0,nil,nil}}, | |
{group, | |
<<33,233,35,164,57,247,32,228,130,33,217,187,148,224, | |
219,80>>, | |
<0.227.0>,<<"_temp">>,<<"javascript">>,[], | |
[{view,0,10,0, | |
[<<"_temp">>], | |
<<"(function (doc) {\n if (doc.a==4)\n emit(null, doc.b);\n })">>, | |
{btree,<0.227.0>, | |
{234,{3,"!"},90}, | |
#Fun<couch_btree.3.133731799>, | |
#Fun<couch_btree.4.133731799>, | |
#Fun<couch_view.less_json_ids.2>, | |
#Fun<couch_view_group.10.124137945>,snappy}, | |
[{<<"_temp">>, | |
<<"(function (keys, values) {\n return sum(values);\n })">>}], | |
[]}], | |
{[]}, | |
{btree,<0.227.0>, | |
{139,[],95}, | |
#Fun<couch_btree.3.133731799>, | |
#Fun<couch_btree.4.133731799>, | |
#Fun<couch_btree.5.133731799>,nil,snappy}, | |
10,0,nil,nil}, | |
nil,nil,true,[],<0.229.0>,false} | |
** Reason for termination == | |
** killed | |
=ERROR REPORT==== 20-Jan-2013::14:09:53 === | |
** Generic server <0.225.0> terminating | |
** Last message in was {'EXIT',<0.121.0>,killed} | |
** When Server state == {group_state,undefined,<<"test_suite_db">>, | |
{"/usr/local/var/lib/couchdb",<<"test_suite_db">>, | |
{group, | |
<<33,233,35,164,57,247,32,228,130,33,217,187,148, | |
224,219,80>>, | |
nil,<<"_temp">>,<<"javascript">>,[], | |
[{view,0,0,0, | |
[<<"_temp">>], | |
<<"(function (doc) {\n if (doc.a==4)\n emit(null, doc.b);\n })">>, | |
nil, | |
[{<<"_temp">>, | |
<<"(function (keys, values) {\n return sum(values);\n })">>}], | |
[]}], | |
{[]}, | |
nil,0,0,nil,nil}}, | |
{group, | |
<<33,233,35,164,57,247,32,228,130,33,217,187,148,224, | |
219,80>>, | |
<0.227.0>,<<"_temp">>,<<"javascript">>,[], | |
[{view,0,10,0, | |
[<<"_temp">>], | |
<<"(function (doc) {\n if (doc.a==4)\n emit(null, doc.b);\n })">>, | |
{btree,<0.227.0>, | |
{234,{3,"!"},90}, | |
#Fun<couch_btree.3.133731799>, | |
#Fun<couch_btree.4.133731799>, | |
#Fun<couch_view.less_json_ids.2>, | |
#Fun<couch_view_group.10.124137945>,snappy}, | |
[{<<"_temp">>, | |
<<"(function (keys, values) {\n return sum(values);\n })">>}], | |
[]}], | |
{[]}, | |
{btree,<0.227.0>, | |
{139,[],95}, | |
#Fun<couch_btree.3.133731799>, | |
#Fun<couch_btree.4.133731799>, | |
#Fun<couch_btree.5.133731799>,nil,snappy}, | |
10,0,nil,nil}, | |
nil,nil,true,[],<0.229.0>,false} | |
** Reason for termination == | |
** killed | |
[error] [<0.225.0>] {error_report,<0.30.0>, | |
{<0.225.0>,crash_report, | |
[[{initial_call,{couch_view_group,init,['Argument__1']}}, | |
{pid,<0.225.0>}, | |
{registered_name,[]}, | |
{error_info, | |
{exit,killed, | |
[{gen_server,terminate,6, | |
[{file,"gen_server.erl"},{line,747}]}, | |
{proc_lib,init_p_do_apply,3, | |
[{file,"proc_lib.erl"},{line,227}]}]}}, | |
{ancestors,[<0.224.0>]}, | |
{messages,[]}, | |
{links,[<0.227.0>]}, | |
{dictionary,[]}, | |
{trap_exit,true}, | |
{status,running}, | |
{heap_size,1597}, | |
{stack_size,24}, | |
{reductions,526}], | |
[]]}} | |
=CRASH REPORT==== 20-Jan-2013::14:09:53 === | |
crasher: | |
initial call: couch_view_group:init/1 | |
pid: <0.225.0> | |
registered_name: [] | |
exception exit: killed | |
in function gen_server:terminate/6 (gen_server.erl, line 747) | |
ancestors: [<0.224.0>] | |
messages: [] | |
links: [<0.227.0>] | |
dictionary: [] | |
trap_exit: true | |
status: running | |
heap_size: 1597 | |
stack_size: 24 | |
reductions: 526 | |
neighbours: | |
[error] [<0.199.0>] ** Generic server <0.199.0> terminating | |
** Last message in was {'EXIT',<0.121.0>,killed} | |
** When Server state == {group_state,undefined,<<"test_suite_db">>, | |
{"/usr/local/var/lib/couchdb",<<"test_suite_db">>, | |
{group, | |
<<163,92,201,126,221,99,54,73,109,31,221,249,221, | |
144,123,98>>, | |
nil,<<"_temp">>,<<"javascript">>,[], | |
[{view,0,0,0, | |
[<<"_temp">>], | |
<<"(function (doc) {\n if (doc.a==4)\n emit(null, doc.b);\n })">>, | |
nil,[],[]}], | |
{[]}, | |
nil,0,0,nil,nil}}, | |
{group, | |
<<163,92,201,126,221,99,54,73,109,31,221,249,221,144, | |
123,98>>, | |
<0.201.0>,<<"_temp">>,<<"javascript">>,[], | |
[{view,0,11,0, | |
[<<"_temp">>], | |
<<"(function (doc) {\n if (doc.a==4)\n emit(null, doc.b);\n })">>, | |
{btree,<0.201.0>, | |
{523,{2,[]},83}, | |
#Fun<couch_btree.3.133731799>, | |
#Fun<couch_btree.4.133731799>, | |
#Fun<couch_view.less_json_ids.2>, | |
#Fun<couch_view_group.10.124137945>,snappy}, | |
[],[]}], | |
{[]}, | |
{btree,<0.201.0>, | |
{433,[],90}, | |
#Fun<couch_btree.3.133731799>, | |
#Fun<couch_btree.4.133731799>, | |
#Fun<couch_btree.5.133731799>,nil,snappy}, | |
11,0,nil,nil}, | |
nil,nil,true,[],<0.203.0>,false} | |
** Reason for termination == | |
** killed | |
=ERROR REPORT==== 20-Jan-2013::14:09:53 === | |
** Generic server <0.199.0> terminating | |
** Last message in was {'EXIT',<0.121.0>,killed} | |
** When Server state == {group_state,undefined,<<"test_suite_db">>, | |
{"/usr/local/var/lib/couchdb",<<"test_suite_db">>, | |
{group, | |
<<163,92,201,126,221,99,54,73,109,31,221,249,221, | |
144,123,98>>, | |
nil,<<"_temp">>,<<"javascript">>,[], | |
[{view,0,0,0, | |
[<<"_temp">>], | |
<<"(function (doc) {\n if (doc.a==4)\n emit(null, doc.b);\n })">>, | |
nil,[],[]}], | |
{[]}, | |
nil,0,0,nil,nil}}, | |
{group, | |
<<163,92,201,126,221,99,54,73,109,31,221,249,221,144, | |
123,98>>, | |
<0.201.0>,<<"_temp">>,<<"javascript">>,[], | |
[{view,0,11,0, | |
[<<"_temp">>], | |
<<"(function (doc) {\n if (doc.a==4)\n emit(null, doc.b);\n })">>, | |
{btree,<0.201.0>, | |
{523,{2,[]},83}, | |
#Fun<couch_btree.3.133731799>, | |
#Fun<couch_btree.4.133731799>, | |
#Fun<couch_view.less_json_ids.2>, | |
#Fun<couch_view_group.10.124137945>,snappy}, | |
[],[]}], | |
{[]}, | |
{btree,<0.201.0>, | |
{433,[],90}, | |
#Fun<couch_btree.3.133731799>, | |
#Fun<couch_btree.4.133731799>, | |
#Fun<couch_btree.5.133731799>,nil,snappy}, | |
11,0,nil,nil}, | |
nil,nil,true,[],<0.203.0>,false} | |
** Reason for termination == | |
** killed | |
[error] [<0.199.0>] {error_report,<0.30.0>, | |
{<0.199.0>,crash_report, | |
[[{initial_call,{couch_view_group,init,['Argument__1']}}, | |
{pid,<0.199.0>}, | |
{registered_name,[]}, | |
{error_info, | |
{exit,killed, | |
[{gen_server,terminate,6, | |
[{file,"gen_server.erl"},{line,747}]}, | |
{proc_lib,init_p_do_apply,3, | |
[{file,"proc_lib.erl"},{line,227}]}]}}, | |
{ancestors,[<0.198.0>]}, | |
{messages,[]}, | |
{links,[<0.201.0>]}, | |
{dictionary,[]}, | |
{trap_exit,true}, | |
{status,running}, | |
{heap_size,1597}, | |
{stack_size,24}, | |
{reductions,618}], | |
[]]}} | |
=CRASH REPORT==== 20-Jan-2013::14:09:53 === | |
crasher: | |
initial call: couch_view_group:init/1 | |
pid: <0.199.0> | |
registered_name: [] | |
exception exit: killed | |
in function gen_server:terminate/6 (gen_server.erl, line 747) | |
ancestors: [<0.198.0>] | |
messages: [] | |
links: [<0.201.0>] | |
dictionary: [] | |
trap_exit: true | |
status: running | |
heap_size: 1597 | |
stack_size: 24 | |
reductions: 618 | |
neighbours: | |
Apache CouchDB 1.2.1 (LogLevel=info) is starting. | |
Apache CouchDB has started. Time to relax. | |
[info] [<0.271.0>] Apache CouchDB has started on http://127.0.0.1:5984/ | |
[info] [<0.364.0>] 127.0.0.1 - - GET / 200 | |
[info] [<0.364.0>] 127.0.0.1 - - GET /test_suite_db/0?rev=3-cac36b6fd7e2c7347b3147626c8cfdaf 200 | |
[info] [<0.364.0>] 127.0.0.1 - - POST /test_suite_db 201 | |
[info] [<0.364.0>] 127.0.0.1 - - POST /test_suite_db 201 | |
[info] [<0.364.0>] 127.0.0.1 - - GET /test_suite_db/oppossum 200 | |
[info] [<0.364.0>] 127.0.0.1 - - PUT /test_suite_db/newdoc 201 | |
[info] [<0.364.0>] 127.0.0.1 - - DELETE /test_suite_db/doc-does-not-exist 404 | |
[error] [<0.364.0>] Uncaught server error: {doc_validation, | |
<<"Bad special document member: _zing">>} | |
[info] [<0.364.0>] 127.0.0.1 - - PUT /test_suite_db/goldfish 500 | |
[error] [<0.364.0>] Uncaught server error: {doc_validation, | |
<<"Bad special document member: _zing">>} | |
[info] [<0.364.0>] 127.0.0.1 - - POST /test_suite_db/ 500 | |
[error] [<0.364.0>] Uncaught server error: {doc_validation, | |
<<"Bad special document member: _zoom">>} | |
[info] [<0.364.0>] 127.0.0.1 - - PUT /test_suite_db/zebrafish 500 | |
[error] [<0.364.0>] Uncaught server error: {doc_validation, | |
<<"Bad special document member: _zoom">>} | |
[info] [<0.364.0>] 127.0.0.1 - - POST /test_suite_db/ 500 | |
[error] [<0.364.0>] Uncaught server error: {doc_validation, | |
<<"Bad special document member: _fan">>} | |
[info] [<0.364.0>] 127.0.0.1 - - PUT /test_suite_db/mudfish 500 | |
[error] [<0.364.0>] Uncaught server error: {doc_validation, | |
<<"Bad special document member: _fan">>} | |
[info] [<0.364.0>] 127.0.0.1 - - POST /test_suite_db/ 500 | |
[error] [<0.364.0>] Uncaught server error: {doc_validation, | |
<<"Bad special document member: _bing">>} | |
[info] [<0.364.0>] 127.0.0.1 - - PUT /test_suite_db/tastyfish 500 | |
[error] [<0.364.0>] Uncaught server error: {doc_validation, | |
<<"Bad special document member: _bing">>} | |
[info] [<0.364.0>] 127.0.0.1 - - POST /test_suite_db/ 500 | |
[info] [<0.364.0>] 127.0.0.1 - - PUT /test_suite_db/bar 400 | |
[info] [<0.364.0>] 127.0.0.1 - - POST /test_suite_db/_bulk_docs 400 | |
[info] [<0.364.0>] 127.0.0.1 - - POST /test_suite_db/_all_docs 400 | |
[info] [<0.364.0>] 127.0.0.1 - - POST /test_suite_db/_all_docs 400 | |
[info] [<0.364.0>] 127.0.0.1 - - DELETE /test_suite_db/?rev=foobarbaz 400 | |
[info] [<0.364.0>] 127.0.0.1 - - DELETE /test_suite_foobar/ 200 | |
[info] [<0.364.0>] 127.0.0.1 - - PUT /test_suite_foobar 201 | |
[info] [<0.364.0>] 127.0.0.1 - - PUT /test_suite_foobar/doc1 201 | |
[info] [<0.364.0>] 127.0.0.1 - - POST /test_suite_foobar/_ensure_full_commit 201 | |
[info] [<0.364.0>] 127.0.0.1 - - GET /test_suite_foobar/ 200 | |
[info] [<0.364.0>] 127.0.0.1 - - POST /_restart 200 | |
Apache CouchDB 1.2.1 (LogLevel=info) is starting. | |
Bus error: 10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bus error: 10
is an Erlang / SSL fault, not a couchdb one, usually triggered during couchdbPOST _restart
. i.e. pretty much only during the test suite.I suggest running CouchDB as a daemon and not worrying about this. Notes on doing this are in the recipe's post install instructions.
If you have other issues, try doing a full remove/reinstall of the related couchdb dependencies: erlang, spidermonkey, nspr in particular and re-trying.