No title Revision 366438306564 (Sat Jul 23 2011 at 01:56) - Diff Link to this snippet: https://friendpaste.com/6eFpPOtTaaSRiXEvaUEmrZ Embed: manni perldoc borland colorful default murphy trac fruity autumn bw emacs pastie friendly Show line numbers Wrap lines 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241My filter:"filters": { "foo": "fun({Doc},Req) -> true end." } Error report:1> [info] [<0.22796.0>] 127.0.0.1 - - 'GET' /mytemp/_changes?filter=erl/foo 2001> [error] [<0.22800.0>] ** Generic server <0.22800.0> terminating ** Last message in was {prompt, [<<"ddoc">>,<<"_design/erl">>, [<<"filters">>,<<"foo">>], [[{[{<<"_id">>, <<"854d5890751755bddd7c7d3b58000dcc">>}, {<<"_rev">>, <<"1-cd90201763f897aa0178b7ff05eb80cb">>}, {<<"x">>,1}, {<<"y">>,2}, {<<"_revisions">>, {[{<<"start">>,1}, {<<"ids">>, [<<"cd90201763f897aa0178b7ff05eb80cb">>]}]}}]}], {[{<<"info">>, {[{db_name,<<"mytemp">>}, {doc_count,19}, {doc_del_count,0}, {update_seq,46}, {purge_seq,0}, {compact_running,false}, {disk_size,208987}, {instance_start_time,<<"1271350757823718">>}, {disk_format_version,5}]}}, {<<"id">>,null}, {<<"method">>,'GET'}, {<<"path">>,[<<"mytemp">>,<<"_changes">>]}, {<<"query">>,{[{<<"filter">>,<<"erl/foo">>}]}}, {<<"headers">>, {[{<<"Accept">>,<<"*/*">>}, {<<"Host">>,<<"localhost:5984">>}, {<<"User-Agent">>, <<"curl/7.19.7 (universal-apple-darwin10.0) libcurl/7.19.7 OpenSSL/0.9.8l zlib/1.2.3">>}]}}, {<<"body">>,undefined}, {<<"peer">>,<<"127.0.0.1">>}, {<<"form">>,{[]}}, {<<"cookie">>,{[]}}, {<<"userCtx">>, {[{<<"db">>,<<"mytemp">>}, {<<"name">>,null}, {<<"roles">>,[<<"_admin">>]}]}}]}, {[{<<"db">>,<<"mytemp">>}, {<<"name">>,null}, {<<"roles">>,[<<"_admin">>]}]}]]}** When Server state == {evstate, {dict,1,16,16,8,80,48, {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[], []}, {{[],[],[],[],[],[],[],[], [[<<"_design/erl">>| {[{<<"_id">>,<<"_design/erl">>}, {<<"_rev">>, <<"21-a01ff617a71f03ba67dad709e4737258">>}, {<<"language">>,<<"erlang">>}, {<<"filters">>, {[{<<"foo">>, <<"fun({Doc},Req) -> true end.">>}]}}]}]], [],[],[],[],[],[],[]}}}, [], {[{<<"reduce_limit">>,true}]}, nil,5000}** Reason for termination == ** {function_clause,[{couch_native_process,ddoc,4}, {couch_native_process,handle_call,3}, {crypto,sha,1}]}1> =ERROR REPORT==== 15-Apr-2010::15:57:51 ===** Generic server <0.22800.0> terminating ** Last message in was {prompt, [<<"ddoc">>,<<"_design/erl">>, [<<"filters">>,<<"foo">>], [[{[{<<"_id">>, <<"854d5890751755bddd7c7d3b58000dcc">>}, {<<"_rev">>, <<"1-cd90201763f897aa0178b7ff05eb80cb">>}, {<<"x">>,1}, {<<"y">>,2}, {<<"_revisions">>, {[{<<"start">>,1}, {<<"ids">>, [<<"cd90201763f897aa0178b7ff05eb80cb">>]}]}}]}], {[{<<"info">>, {[{db_name,<<"mytemp">>}, {doc_count,19}, {doc_del_count,0}, {update_seq,46}, {purge_seq,0}, {compact_running,false}, {disk_size,208987}, {instance_start_time,<<"1271350757823718">>}, {disk_format_version,5}]}}, {<<"id">>,null}, {<<"method">>,'GET'}, {<<"path">>,[<<"mytemp">>,<<"_changes">>]}, {<<"query">>,{[{<<"filter">>,<<"erl/foo">>}]}}, {<<"headers">>, {[{<<"Accept">>,<<"*/*">>}, {<<"Host">>,<<"localhost:5984">>}, {<<"User-Agent">>, <<"curl/7.19.7 (universal-apple-darwin10.0) libcurl/7.19.7 OpenSSL/0.9.8l zlib/1.2.3">>}]}}, {<<"body">>,undefined}, {<<"peer">>,<<"127.0.0.1">>}, {<<"form">>,{[]}}, {<<"cookie">>,{[]}}, {<<"userCtx">>, {[{<<"db">>,<<"mytemp">>}, {<<"name">>,null}, {<<"roles">>,[<<"_admin">>]}]}}]}, {[{<<"db">>,<<"mytemp">>}, {<<"name">>,null}, {<<"roles">>,[<<"_admin">>]}]}]]}** When Server state == {evstate, {dict,1,16,16,8,80,48, {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[], []}, {{[],[],[],[],[],[],[],[], [[<<"_design/erl">>| {[{<<"_id">>,<<"_design/erl">>}, {<<"_rev">>, <<"21-a01ff617a71f03ba67dad709e4737258">>}, {<<"language">>,<<"erlang">>}, {<<"filters">>, {[{<<"foo">>, <<"fun({Doc},Req) -> true end.">>}]}}]}]], [],[],[],[],[],[],[]}}}, [], {[{<<"reduce_limit">>,true}]}, nil,5000}** Reason for termination == ** {function_clause,[{couch_native_process,ddoc,4}, {couch_native_process,handle_call,3}, {crypto,sha,1}]}1> [error] [<0.22800.0>] {error_report,<0.34.0>, {<0.22800.0>,crash_report, [[{initial_call,{couch_native_process,init,['Argument__1']}}, {pid,<0.22800.0>}, {registered_name,[]}, {error_info, {exit, {function_clause, [{couch_native_process,ddoc,4}, {couch_native_process,handle_call,3}, {crypto,sha,1}]}, [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}}, {ancestors, [couch_query_servers,couch_secondary_services,couch_server_sup, <0.35.0>]}, {messages,[]}, {links,[<0.91.0>,<0.22796.0>]}, {dictionary,[]}, {trap_exit,false}, {status,running}, {heap_size,987}, {stack_size,24}, {reductions,8725}], [{neighbour, [{pid,<0.22796.0>}, {registered_name,[]}, {initial_call, {mochiweb_socket_server,acceptor_loop,['Argument__1']}}, {current_function,{gen,wait_resp_mon,3}}, {ancestors, [couch_httpd,couch_secondary_services,couch_server_sup, <0.35.0>]}, {messages,[]}, {links,[<0.97.0>,<0.22800.0>,#Port<0.2438>]}, {dictionary, [{mochiweb_request_body,undefined}, {mochiweb_request_qs,[{"filter","erl/foo"}]}, {jsonp,no_jsonp}, {mochiweb_request_cookie,[]}]}, {trap_exit,false}, {status,waiting}, {heap_size,6765}, {stack_size,12}, {reductions,10665}]}]]}}1> =CRASH REPORT==== 15-Apr-2010::15:57:51 === crasher: initial call: couch_native_process:init/1 pid: <0.22800.0> registered_name: [] exception exit: {function_clause,[{couch_native_process,ddoc,4}, {couch_native_process,handle_call,3}, {crypto,sha,1}]} in function gen_server:terminate/6 ancestors: [couch_query_servers,couch_secondary_services, couch_server_sup,<0.35.0>] messages: [] links: [<0.91.0>,<0.22796.0>] dictionary: [] trap_exit: false status: running heap_size: 987 stack_size: 24 reductions: 8725 neighbours: neighbour: [{pid,<0.22796.0>}, {registered_name,[]}, {initial_call, {mochiweb_socket_server,acceptor_loop,['Argument__1']}}, {current_function,{gen,wait_resp_mon,3}}, {ancestors, [couch_httpd,couch_secondary_services,couch_server_sup, <0.35.0>]}, {messages,[]}, {links,[<0.97.0>,<0.22800.0>,#Port<0.2438>]}, {dictionary, [{mochiweb_request_body,undefined}, {mochiweb_request_qs,[{"filter","erl/foo"}]}, {jsonp,no_jsonp}, {mochiweb_request_cookie,[]}]}, {trap_exit,false}, {status,waiting}, {heap_size,6765}, {stack_size,12}, {reductions,10665}]1> [error] [<0.97.0>] {error_report,<0.34.0>, {<0.97.0>,std_error, {mochiweb_socket_server,235, {child_error, {function_clause, [{couch_native_process,ddoc,4}, {couch_native_process,handle_call,3}, {crypto,sha,1}]}}}}}1> =ERROR REPORT==== 15-Apr-2010::15:57:51 ==={mochiweb_socket_server,235, {child_error, {function_clause, [{couch_native_process,ddoc,4}, {couch_native_process,handle_call,3}, {crypto,sha,1}]}}}