Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Thu, 23 Sep 2010 13:25:00 GMT] [error] [emulator] Error in process <0.2728.0> with exit value: {function_clause,[{couch_query_servers,builtin_reduce,[reduce,[<<7 bytes>>],[[[<<15 bytes>>,<<15 bytes>>],{[{<<3 bytes>>,<<15 bytes>>},{<<4 bytes>>,<<34 bytes>>},{<<8 bytes>>,<<10 bytes>>},{<<9 bytes>>,{[{<<4 bytes>>,{[{<<6 bytes>>,<<6 bytes>>},{<<4 bytes>>,<<14 bytes>>},{<<6 bytes>>,<<14 bytes>>},{<<7 bytes>>,<<14 bytes>>}]}}]}},{<<10 bytes>>,<<7 bytes>>},{<<6 bytes>>,[<<7 bytes>>]},{<<9 bytes>>,<<7 bytes>>},{<<10 bytes>>,<<10 bytes>>},{<<6 bytes>>,{[{<<4 bytes>>,<<21 bytes>>},{<<4 bytes>>,<<14 bytes>>},{<<4 bytes>>,<<17 bytes>>}]}}]}]],[]]},{couch_query_servers,reduce,3},{couch_view_group,'-init_group/4-fun-0-',4},{couch_btree...
- [Thu, 23 Sep 2010 13:25:00 GMT] [error] [<0.2720.0>] ** Generic server <0.2720.0> terminating
- ** Last message in was {'EXIT',<0.2723.0>,
- {function_clause,
- [{couch_query_servers,builtin_reduce,
- [reduce,
- [<<"_count\n">>],
- [[[<<"Carroll Marilou">>,
- <<"marilou-carroll">>],
- {[{<<"_id">>,<<"marilou-carroll">>},
- {<<"_rev">>,
- <<"1-56ccc767a1ac9db86dc128d4d312dd16">>},
- {<<"birthday">>,<<"1976/09/22">>},
- {<<"addresses">>,
- {[{<<"work">>,
- {[{<<"number">>,<<"458/35">>},
- {<<"city">>,
- <<"Greenholthaven">>},
- {<<"street">>,
- <<"Neil Stravenue">>},
- {<<"country">>,
- <<"United Kingdom">>}]}}]}},
- {<<"first_name">>,<<"Marilou">>},
- {<<"groups">>,[<<"friends">>]},
- {<<"last_name">>,<<"Carroll">>},
- {<<"occupation">>,<<"supermodel">>},
- {<<"phones">>,
- {[{<<"cell">>,
- <<"1-064-647-7063 x82270">>},
- {<<"home">>,<<"1-588-460-3383">>},
- {<<"work">>,
- <<"147.943.8379 x490">>}]}}]}]],
- []]},
- {couch_query_servers,reduce,3},
- {couch_view_group,'-init_group/4-fun-0-',4},
- {couch_btree,'-write_node/3-lc$^0/1-0-',3},
- {couch_btree,write_node,3},
- {couch_btree,modify_node,4},
- {couch_btree,query_modify,4},
- {couch_btree,add_remove,3}]}}
- ** When Server state == {group_state,undefined,<<"addressbook">>,
- {"/var/lib/couchdb/0.11.0",<<"addressbook">>,
- {group,
- <<225,244,48,232,49,10,160,169,65,250,118,97,8,136,
- 172,185>>,
- nil,nil,<<"_design/person">>,<<"javascript">>,[],
- [{view,0,[],
- <<"// ORDERED BY LAST NAME\n// -> http://localhost:5984/addressbook/_design/person/_view/by_name?reduce=false\n\n// REVERSE ORDERED BY LAST NAME\n// -> http://localhost:5984/addressbook/_design/person/_view/by_name?reduce=false&descending=true\n\n// EXACT MATCH\n// -> http://localhost:5984/addressbook/_design/person/_view/by_name?key=%22Waters%20Jaquelin%22&reduce=false&include_docs=true\n\nfunction(doc) {\n if (doc.last_name && doc.first_name) {\n emit( doc.last_name + ' ' + doc.first_name, doc )\n }\n}\n">>,
- nil,
- [{<<"by_name">>,<<"_count\n">>}],
- []},
- {view,1,[],
- <<"// YEARS: http://localhost:5984/addressbook/_design/person/_view/by_birthday?group_level=1\n// YEARS AND MONTHS: http://localhost:5984/addressbook/_design/person/_view/by_birthday?group_level=1\n// FULL DATE: http://localhost:5984/addressbook/_design/person/_view/by_birthday?group=true\n\nfunction(doc) {\n var date = new Date(doc.birthday)\n emit( [date.getFullYear(), date.getMonth()+1, date.getDate()], 1 )\n}\n">>,
- nil,
- [{<<"by_birthday">>,<<"_count">>}],
- []},
- {view,2,[],
- <<"// http://localhost:5984/addressbook/_design/person/_view/by_country?group=true\n// http://localhost:5984/addressbook/_design/person/_view/by_country?group_level=1\n\nfunction(doc) {\n for (address in doc.addresses) {\n var country = doc.addresses[address].country\n if ( country ) {\n emit( [country, address], 1 )\n }\n }\n}\n">>,
- nil,
- [{<<"by_country">>,<<"_count\n">>}],
- []},
- {view,3,[],
- <<"function(doc) {\n // emit(doc.city, 1) => null\n for (address in doc.addresses) {\n var city = doc.addresses[address].city\n if ( city ) {\n emit( city, 1 )\n }\n }\n}\n">>,
- nil,
- [{<<"by_city">>,<<"_count\n">>}],
- []},
- {view,4,
- [<<"all">>],
- <<"function(doc) {\n emit(doc.id, doc)\n}\n">>,
- nil,[],[]},
- {view,5,[],
- <<"function(doc) {\n emit(doc.occupation, 1);\n}\n">>,
- nil,
- [{<<"by_occupation">>,
- <<"function(keys, values, rereduce) {\n return sum(values)\n}\n">>}],
- []},
- {view,6,[],
- <<"function(doc) {\n for (group in doc.groups) {\n emit(doc.groups[group], 1)\n }\n}\n">>,
- nil,
- [{<<"by_groups">>,<<"_count\n">>}],
- []}],
- nil,0,0,nil,nil}},
- {group,
- <<225,244,48,232,49,10,160,169,65,250,118,97,8,136,
- 172,185>>,
- {db,<0.1626.0>,<0.1627.0>,nil,
- <<"1285247527541174">>,<0.1624.0>,<0.1628.0>,
- {db_header,5,22,0,
- {88057,{12,0}},
- {89337,12},
- nil,0,nil,nil,1000},
- 22,
- {btree,<0.1624.0>,
- {88057,{12,0}},
- #Fun<couch_db_updater.7.132302543>,
- #Fun<couch_db_updater.8.107957134>,
- #Fun<couch_btree.5.124754102>,
- #Fun<couch_db_updater.9.46112288>},
- {btree,<0.1624.0>,
- {89337,12},
- #Fun<couch_db_updater.10.19027664>,
- #Fun<couch_db_updater.11.35033879>,
- #Fun<couch_btree.5.124754102>,
- #Fun<couch_db_updater.12.56344865>},
- {btree,<0.1624.0>,nil,
- #Fun<couch_btree.0.83553141>,
- #Fun<couch_btree.1.30790806>,
- #Fun<couch_btree.2.124754102>,nil},
- 22,<<"addressbook">>,
- "/var/lib/couchdb/0.11.0/addressbook.couch",[],[],
- nil,
- {user_ctx,null,[],undefined},
- nil,1000,
- [before_header,after_header,on_file_open]},
- <0.2721.0>,<<"_design/person">>,<<"javascript">>,[],
- [{view,0,[],
- <<"// ORDERED BY LAST NAME\n// -> http://localhost:5984/addressbook/_design/person/_view/by_name?reduce=false\n\n// REVERSE ORDERED BY LAST NAME\n// -> http://localhost:5984/addressbook/_design/person/_view/by_name?reduce=false&descending=true\n\n// EXACT MATCH\n// -> http://localhost:5984/addressbook/_design/person/_view/by_name?key=%22Waters%20Jaquelin%22&reduce=false&include_docs=true\n\nfunction(doc) {\n if (doc.last_name && doc.first_name) {\n emit( doc.last_name + ' ' + doc.first_name, doc )\n }\n}\n">>,
- {btree,<0.2721.0>,nil,
- #Fun<couch_btree.3.83553141>,
- #Fun<couch_btree.4.30790806>,
- #Fun<couch_view.less_json_ids.2>,
- #Fun<couch_view_group.10.120246376>},
- [{<<"by_name">>,<<"_count\n">>}],
- []},
- {view,1,[],
- <<"// YEARS: http://localhost:5984/addressbook/_design/person/_view/by_birthday?group_level=1\n// YEARS AND MONTHS: http://localhost:5984/addressbook/_design/person/_view/by_birthday?group_level=1\n// FULL DATE: http://localhost:5984/addressbook/_design/person/_view/by_birthday?group=true\n\nfunction(doc) {\n var date = new Date(doc.birthday)\n emit( [date.getFullYear(), date.getMonth()+1, date.getDate()], 1 )\n}\n">>,
- {btree,<0.2721.0>,nil,
- #Fun<couch_btree.3.83553141>,
- #Fun<couch_btree.4.30790806>,
- #Fun<couch_view.less_json_ids.2>,
- #Fun<couch_view_group.10.120246376>},
- [{<<"by_birthday">>,<<"_count">>}],
- []},
- {view,2,[],
- <<"// http://localhost:5984/addressbook/_design/person/_view/by_country?group=true\n// http://localhost:5984/addressbook/_design/person/_view/by_country?group_level=1\n\nfunction(doc) {\n for (address in doc.addresses) {\n var country = doc.addresses[address].country\n if ( country ) {\n emit( [country, address], 1 )\n }\n }\n}\n">>,
- {btree,<0.2721.0>,nil,
- #Fun<couch_btree.3.83553141>,
- #Fun<couch_btree.4.30790806>,
- #Fun<couch_view.less_json_ids.2>,
- #Fun<couch_view_group.10.120246376>},
- [{<<"by_country">>,<<"_count\n">>}],
- []},
- {view,3,[],
- <<"function(doc) {\n // emit(doc.city, 1) => null\n for (address in doc.addresses) {\n var city = doc.addresses[address].city\n if ( city ) {\n emit( city, 1 )\n }\n }\n}\n">>,
- {btree,<0.2721.0>,nil,
- #Fun<couch_btree.3.83553141>,
- #Fun<couch_btree.4.30790806>,
- #Fun<couch_view.less_json_ids.2>,
- #Fun<couch_view_group.10.120246376>},
- [{<<"by_city">>,<<"_count\n">>}],
- []},
- {view,4,
- [<<"all">>],
- <<"function(doc) {\n emit(doc.id, doc)\n}\n">>,
- {btree,<0.2721.0>,nil,
- #Fun<couch_btree.3.83553141>,
- #Fun<couch_btree.4.30790806>,
- #Fun<couch_view.less_json_ids.2>,
- #Fun<couch_view_group.10.120246376>},
- [],[]},
- {view,5,[],
- <<"function(doc) {\n emit(doc.occupation, 1);\n}\n">>,
- {btree,<0.2721.0>,nil,
- #Fun<couch_btree.3.83553141>,
- #Fun<couch_btree.4.30790806>,
- #Fun<couch_view.less_json_ids.2>,
- #Fun<couch_view_group.10.120246376>},
- [{<<"by_occupation">>,
- <<"function(keys, values, rereduce) {\n return sum(values)\n}\n">>}],
- []},
- {view,6,[],
- <<"function(doc) {\n for (group in doc.groups) {\n emit(doc.groups[group], 1)\n }\n}\n">>,
- {btree,<0.2721.0>,nil,
- #Fun<couch_btree.3.83553141>,
- #Fun<couch_btree.4.30790806>,
- #Fun<couch_view.less_json_ids.2>,
- #Fun<couch_view_group.10.120246376>},
- [{<<"by_groups">>,<<"_count\n">>}],
- []}],
- {btree,<0.2721.0>,nil,#Fun<couch_btree.0.83553141>,
- #Fun<couch_btree.1.30790806>,
- #Fun<couch_btree.2.124754102>,nil},
- 0,0,nil,nil},
- <0.2723.0>,nil,false,
- [{{<0.2499.0>,#Ref<0.0.0.15792>},22}],
- <0.2724.0>}
- ** Reason for termination ==
- ** {function_clause,
- [{couch_query_servers,builtin_reduce,
- [reduce,
- [<<"_count\n">>],
- [[[<<"Carroll Marilou">>,<<"marilou-carroll">>],
- {[{<<"_id">>,<<"marilou-carroll">>},
- {<<"_rev">>,<<"1-56ccc767a1ac9db86dc128d4d312dd16">>},
- {<<"birthday">>,<<"1976/09/22">>},
- {<<"addresses">>,
- {[{<<"work">>,
- {[{<<"number">>,<<"458/35">>},
- {<<"city">>,<<"Greenholthaven">>},
- {<<"street">>,<<"Neil Stravenue">>},
- {<<"country">>,<<"United Kingdom">>}]}}]}},
- {<<"first_name">>,<<"Marilou">>},
- {<<"groups">>,[<<"friends">>]},
- {<<"last_name">>,<<"Carroll">>},
- {<<"occupation">>,<<"supermodel">>},
- {<<"phones">>,
- {[{<<"cell">>,<<"1-064-647-7063 x82270">>},
- {<<"home">>,<<"1-588-460-3383">>},
- {<<"work">>,<<"147.943.8379 x490">>}]}}]}]],
- []]},
- {couch_query_servers,reduce,3},
- {couch_view_group,'-init_group/4-fun-0-',4},
- {couch_btree,'-write_node/3-lc$^0/1-0-',3},
- {couch_btree,write_node,3},
- {couch_btree,modify_node,4},
- {couch_btree,query_modify,4},
- {couch_btree,add_remove,3}]}
- [Thu, 23 Sep 2010 13:25:00 GMT] [error] [<0.2720.0>] {error_report,<0.30.0>,
- {<0.2720.0>,crash_report,
- [[{initial_call,{couch_view_group,init,['Argument__1']}},
- {pid,<0.2720.0>},
- {registered_name,[]},
- {error_info,
- {exit,
- {function_clause,
- [{couch_query_servers,builtin_reduce,
- [reduce,
- [<<"_count\n">>],
- [[[<<"Carroll Marilou">>,<<"marilou-carroll">>],
- {[{<<"_id">>,<<"marilou-carroll">>},
- {<<"_rev">>,
- <<"1-56ccc767a1ac9db86dc128d4d312dd16">>},
- {<<"birthday">>,<<"1976/09/22">>},
- {<<"addresses">>,
- {[{<<"work">>,
- {[{<<"number">>,<<"458/35">>},
- {<<"city">>,<<"Greenholthaven">>},
- {<<"street">>,<<"Neil Stravenue">>},
- {<<"country">>,<<"United Kingdom">>}]}}]}},
- {<<"first_name">>,<<"Marilou">>},
- {<<"groups">>,[<<"friends">>]},
- {<<"last_name">>,<<"Carroll">>},
- {<<"occupation">>,<<"supermodel">>},
- {<<"phones">>,
- {[{<<"cell">>,<<"1-064-647-7063 x82270">>},
- {<<"home">>,<<"1-588-460-3383">>},
- {<<"work">>,<<"147.943.8379 x490">>}]}}]}]],
- []]},
- {couch_query_servers,reduce,3},
- {couch_view_group,'-init_group/4-fun-0-',4},
- {couch_btree,'-write_node/3-lc$^0/1-0-',3},
- {couch_btree,write_node,3},
- {couch_btree,modify_node,4},
- {couch_btree,query_modify,4},
- {couch_btree,add_remove,3}]},
- [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
- {ancestors,
- [couch_view,couch_secondary_services,couch_server_sup,<0.31.0>]},
- {messages,[]},
- {links,[<0.2721.0>,<0.92.0>]},
- {dictionary,[]},
- {trap_exit,true},
- {status,running},
- {heap_size,2584},
- {stack_size,24},
- {reductions,609}],
- [{neighbour,
- [{pid,<0.2724.0>},
- {registered_name,[]},
- {initial_call,{couch_ref_counter,init,['Argument__1']}},
- {current_function,{gen_server,loop,6}},
- {ancestors,
- [<0.2720.0>,couch_view,couch_secondary_services,
- couch_server_sup,<0.31.0>]},
- {messages,[]},
- {links,[<0.2721.0>]},
- {dictionary,[]},
- {trap_exit,false},
- {status,waiting},
- {heap_size,233},
- {stack_size,9},
- {reductions,47}]},
- {neighbour,
- [{pid,<0.2721.0>},
- {registered_name,[]},
- {initial_call,{couch_file,init,['Argument__1']}},
- {current_function,{gen_server,loop,6}},
- {ancestors,
- [<0.2720.0>,couch_view,couch_secondary_services,
- couch_server_sup,<0.31.0>]},
- {messages,[]},
- {links,[<0.2720.0>,<0.2724.0>,#Port<0.2440>]},
- {dictionary,[]},
- {trap_exit,false},
- {status,waiting},
- {heap_size,610},
- {stack_size,9},
- {reductions,2314}]}]]}}
- [Thu, 23 Sep 2010 13:25:00 GMT] [error] [<0.2499.0>] {error_report,<0.30.0>,
- {<0.2499.0>,crash_report,
- [[{initial_call,{mochiweb_socket_server,acceptor_loop,['Argument__1']}},
- {pid,<0.2499.0>},
- {registered_name,[]},
- {error_info,
- {error,badarg,
- [{erlang,list_to_binary,
- [[{couch_query_servers,builtin_reduce,
- [reduce,
- [<<"_count\n">>],
- [[[<<"Carroll Marilou">>,<<"marilou-carroll">>],
- {[{<<"_id">>,<<"marilou-carroll">>},
- {<<"_rev">>,
- <<"1-56ccc767a1ac9db86dc128d4d312dd16">>},
- {<<"birthday">>,<<"1976/09/22">>},
- {<<"addresses">>,
- {[{<<"work">>,
- {[{<<"number">>,<<"458/35">>},
- {<<"city">>,<<"Greenholthaven">>},
- {<<"street">>,<<"Neil Stravenue">>},
- {<<"country">>,
- <<"United Kingdom">>}]}}]}},
- {<<"first_name">>,<<"Marilou">>},
- {<<"groups">>,[<<"friends">>]},
- {<<"last_name">>,<<"Carroll">>},
- {<<"occupation">>,<<"supermodel">>},
- {<<"phones">>,
- {[{<<"cell">>,<<"1-064-647-7063 x82270">>},
- {<<"home">>,<<"1-588-460-3383">>},
- {<<"work">>,<<"147.943.8379 x490">>}]}}]}]],
- []]},
- {couch_query_servers,reduce,3},
- {couch_view_group,'-init_group/4-fun-0-',4},
- {couch_btree,'-write_node/3-lc$^0/1-0-',3},
- {couch_btree,write_node,3},
- {couch_btree,modify_node,4},
- {couch_btree,query_modify,4},
- {couch_btree,add_remove,3}]]},
- {couch_httpd,error_info,1},
- {couch_httpd,send_error,2},
- {couch_httpd,handle_request_int,5},
- {mochiweb_http,headers,5},
- {proc_lib,init_p_do_apply,3}]}},
- {ancestors,
- [couch_httpd,couch_secondary_services,couch_server_sup,<0.31.0>]},
- {messages,[]},
- {links,[<0.94.0>,#Port<0.2438>]},
- {dictionary,
- [{mochiweb_request_qs,[{"group","true"}]},
- {mochiweb_request_cookie,[]}]},
- {trap_exit,false},
- {status,running},
- {heap_size,2584},
- {stack_size,24},
- {reductions,252094}],
- []]}}
- [Thu, 23 Sep 2010 13:25:00 GMT] [error] [<0.94.0>] {error_report,<0.30.0>,
- {<0.94.0>,std_error,
- {mochiweb_socket_server,235,{child_error,badarg}}}}
Advertisement
Add Comment
Please, Sign In to add comment