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