Skip to content

Instantly share code, notes, and snippets.

@joshuamiller
Created December 17, 2010 19:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joshuamiller/745597 to your computer and use it in GitHub Desktop.
Save joshuamiller/745597 to your computer and use it in GitHub Desktop.
[info] [<0.4586.0>] 127.0.0.1 - - 'GET' /_all_dbs 200
[info] [<0.4587.0>] 127.0.0.1 - - 'PUT' /test_db 201
[info] [<0.4588.0>] 127.0.0.1 - - 'GET' /test_db/_design/SpatialTest%3A%3ASpatialModel 404
[info] [<0.4589.0>] 127.0.0.1 - - 'PUT' /test_db/_design/SpatialTest%3A%3ASpatialModel 201
[info] [<0.4590.0>] 127.0.0.1 - - 'GET' /test_db/_design/SpatialTest%3A%3ASpatialModel 200
[info] [<0.4591.0>] 127.0.0.1 - - 'PUT' /test_db/_design/SpatialTest%3A%3ASpatialModel 201
[info] [<0.4592.0>] 127.0.0.1 - - 'GET' /test_db/_design/SpatialTest%3A%3ASpatialModel 200
[info] [<0.4593.0>] 127.0.0.1 - - 'PUT' /test_db/_design/SpatialTest%3A%3ASpatialModel 201
[info] [<0.4594.0>] 127.0.0.1 - - 'GET' /test_db/_design/SpatialTest%3A%3ASpatialModel 200
[info] [<0.4596.0>] 127.0.0.1 - - 'PUT' /test_db/_design/SpatialTest%3A%3ASpatialModel 201
[info] [<0.4597.0>] 127.0.0.1 - - 'POST' /test_db 201
vtree: add (<0.4625.0>:nil): {<<"3ab7a066228073cb43ed69aa2700b611">>,[<<"3ab7a066228073cb43ed69aa2700b611">>,
[40.813874,
77.858219]]}
[info] [<0.4598.0>] 127.0.0.1 - - 'GET' /test_db/_design/SpatialTest%3A%3ASpatialModel/_spatial/points?bbox=0,0,41,80 200
[info] [<0.4599.0>] 127.0.0.1 - - 'GET' /test_db/3ab7a066228073cb43ed69aa2700b611 200
[info] [<0.4631.0>] checkpointing view update at seq 5 for test_db _design/SpatialTest::SpatialModel
[info] [<0.4600.0>] 127.0.0.1 - - 'GET' /test_db/_design/SpatialTest%3A%3ASpatialModel/_view/all?include_docs=true 200
[info] [<0.4601.0>] 127.0.0.1 - - 'DELETE' /test_db/3ab7a066228073cb43ed69aa2700b611?rev=1-b68627c281c8fd23aecfdc5191661483 200
vtree: delete (<0.4625.0>:253): <<"3ab7a066228073cb43ed69aa2700b611">>
[error] [emulator] Error in process <0.4643.0> with exit value: {{badmatch,empty},[{vtree,'-add_remove/4-fun-0-',3},{lists,foldl,3},{vtree,add_remove,4},{couch_spatial_updater,'-write_changes/4-fun-2-',4},{lists,zipwith,3},{couch_spatial_updater,write_changes,4},{couch_spatial_updater...
=ERROR REPORT==== 17-Dec-2010::14:57:50 ===
Error in process <0.4643.0> with exit value: {{badmatch,empty},[{vtree,'-add_remove/4-fun-0-',3},{lists,foldl,3},{vtree,add_remove,4},{couch_spatial_updater,'-write_changes/4-fun-2-',4},{lists,zipwith,3},{couch_spatial_updater,write_changes,4},{couch_spatial_updater...
[error] [<0.4623.0>] ** Generic server <0.4623.0> terminating
** Last message in was {'EXIT',<0.4643.0>,
{{badmatch,empty},
[{vtree,'-add_remove/4-fun-0-',3},
{lists,foldl,3},
{vtree,add_remove,4},
{couch_spatial_updater,
'-write_changes/4-fun-2-',4},
{lists,zipwith,3},
{couch_spatial_updater,write_changes,4},
{couch_spatial_updater,update,2}]}}
** When Server state == {group_state,<<"test_db">>,
{"/Users/josh/projects/couchdb/tmp/lib",
<<"test_db">>,
{spatial_group,
<<191,7,119,55,208,182,87,11,182,216,51,238,197,160,
233,117>>,
nil,nil,<<"_design/SpatialTest::SpatialModel">>,
<<"javascript">>,[],
[{spatial,nil,0,[],nil,nil,0,
<<"function(doc) {\n if (doc.loc) {\n emit({\n type: \"Point\",\n coordinates: [doc.loc[0], doc.loc[1]]\n }, [doc._id, doc.loc]);\n }};">>,
[<<"points">>]}],
nil,0,0,nil}},
{spatial_group,
<<191,7,119,55,208,182,87,11,182,216,51,238,197,160,
233,117>>,
{db,<0.4609.0>,<0.4610.0>,nil,
<<"1292615870760657">>,<0.4607.0>,<0.4611.0>,
{db_header,5,0,0,nil,nil,nil,0,nil,nil,1000},
0,
{btree,<0.4607.0>,
{3745,{1,1}},
#Fun<couch_db_updater.7.69395062>,
#Fun<couch_db_updater.8.86519079>,
#Fun<couch_btree.5.124754102>,
#Fun<couch_db_updater.9.24674233>},
{btree,<0.4607.0>,
{4107,2},
#Fun<couch_db_updater.10.90337910>,
#Fun<couch_db_updater.11.13595824>,
#Fun<couch_btree.5.124754102>,
#Fun<couch_db_updater.12.34906778>},
{btree,<0.4607.0>,nil,
#Fun<couch_btree.0.83553141>,
#Fun<couch_btree.1.30790806>,
#Fun<couch_btree.2.124754102>,nil},
6,<<"test_db">>,
"/Users/josh/projects/couchdb/tmp/lib/test_db.couch",
[],[],nil,
{user_ctx,null,[],undefined},
#Ref<0.0.0.10588>,1000,
[before_header,after_header,on_file_open],
false},
<0.4625.0>,<<"_design/SpatialTest::SpatialModel">>,
<<"javascript">>,[],
[{spatial,nil,0,[],253,nil,0,
<<"function(doc) {\n if (doc.loc) {\n emit({\n type: \"Point\",\n coordinates: [doc.loc[0], doc.loc[1]]\n }, [doc._id, doc.loc]);\n }};">>,
[<<"points">>]}],
{btree,<0.4625.0>,
{51,[]},
#Fun<couch_btree.0.83553141>,
#Fun<couch_btree.1.30790806>,
#Fun<couch_btree.2.124754102>,nil},
5,0,nil},
<0.4643.0>,true,
[{{<0.4603.0>,#Ref<0.0.0.10886>},6}],
<0.4628.0>}
** Reason for termination ==
** {{badmatch,empty},
[{vtree,'-add_remove/4-fun-0-',3},
{lists,foldl,3},
{vtree,add_remove,4},
{couch_spatial_updater,'-write_changes/4-fun-2-',4},
{lists,zipwith,3},
{couch_spatial_updater,write_changes,4},
{couch_spatial_updater,update,2}]}
=ERROR REPORT==== 17-Dec-2010::14:57:50 ===
** Generic server <0.4623.0> terminating
** Last message in was {'EXIT',<0.4643.0>,
{{badmatch,empty},
[{vtree,'-add_remove/4-fun-0-',3},
{lists,foldl,3},
{vtree,add_remove,4},
{couch_spatial_updater,
'-write_changes/4-fun-2-',4},
{lists,zipwith,3},
{couch_spatial_updater,write_changes,4},
{couch_spatial_updater,update,2}]}}
** When Server state == {group_state,<<"test_db">>,
{"/Users/josh/projects/couchdb/tmp/lib",
<<"test_db">>,
{spatial_group,
<<191,7,119,55,208,182,87,11,182,216,51,238,197,160,
233,117>>,
nil,nil,<<"_design/SpatialTest::SpatialModel">>,
<<"javascript">>,[],
[{spatial,nil,0,[],nil,nil,0,
<<"function(doc) {\n if (doc.loc) {\n emit({\n type: \"Point\",\n coordinates: [doc.loc[0], doc.loc[1]]\n }, [doc._id, doc.loc]);\n }};">>,
[<<"points">>]}],
nil,0,0,nil}},
{spatial_group,
<<191,7,119,55,208,182,87,11,182,216,51,238,197,160,
233,117>>,
{db,<0.4609.0>,<0.4610.0>,nil,
<<"1292615870760657">>,<0.4607.0>,<0.4611.0>,
{db_header,5,0,0,nil,nil,nil,0,nil,nil,1000},
0,
{btree,<0.4607.0>,
{3745,{1,1}},
#Fun<couch_db_updater.7.69395062>,
#Fun<couch_db_updater.8.86519079>,
#Fun<couch_btree.5.124754102>,
#Fun<couch_db_updater.9.24674233>},
{btree,<0.4607.0>,
{4107,2},
#Fun<couch_db_updater.10.90337910>,
#Fun<couch_db_updater.11.13595824>,
#Fun<couch_btree.5.124754102>,
#Fun<couch_db_updater.12.34906778>},
{btree,<0.4607.0>,nil,
#Fun<couch_btree.0.83553141>,
#Fun<couch_btree.1.30790806>,
#Fun<couch_btree.2.124754102>,nil},
6,<<"test_db">>,
"/Users/josh/projects/couchdb/tmp/lib/test_db.couch",
[],[],nil,
{user_ctx,null,[],undefined},
#Ref<0.0.0.10588>,1000,
[before_header,after_header,on_file_open],
false},
<0.4625.0>,<<"_design/SpatialTest::SpatialModel">>,
<<"javascript">>,[],
[{spatial,nil,0,[],253,nil,0,
<<"function(doc) {\n if (doc.loc) {\n emit({\n type: \"Point\",\n coordinates: [doc.loc[0], doc.loc[1]]\n }, [doc._id, doc.loc]);\n }};">>,
[<<"points">>]}],
{btree,<0.4625.0>,
{51,[]},
#Fun<couch_btree.0.83553141>,
#Fun<couch_btree.1.30790806>,
#Fun<couch_btree.2.124754102>,nil},
5,0,nil},
<0.4643.0>,true,
[{{<0.4603.0>,#Ref<0.0.0.10886>},6}],
<0.4628.0>}
** Reason for termination ==
** {{badmatch,empty},
[{vtree,'-add_remove/4-fun-0-',3},
{lists,foldl,3},
{vtree,add_remove,4},
{couch_spatial_updater,'-write_changes/4-fun-2-',4},
{lists,zipwith,3},
{couch_spatial_updater,write_changes,4},
{couch_spatial_updater,update,2}]}
[error] [<0.4623.0>] {error_report,<0.30.0>,
{<0.4623.0>,crash_report,
[[{initial_call,{couch_spatial_group,init,['Argument__1']}},
{pid,<0.4623.0>},
{registered_name,[]},
{error_info,
{exit,
{{badmatch,empty},
[{vtree,'-add_remove/4-fun-0-',3},
{lists,foldl,3},
{vtree,add_remove,4},
{couch_spatial_updater,'-write_changes/4-fun-2-',4},
{lists,zipwith,3},
{couch_spatial_updater,write_changes,4},
{couch_spatial_updater,update,2}]},
[{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
{ancestors,
[couch_spatial,couch_secondary_services,couch_server_sup,<0.31.0>]},
{messages,[]},
{links,[<0.4625.0>,<0.96.0>]},
{dictionary,[]},
{trap_exit,true},
{status,running},
{heap_size,1597},
{stack_size,24},
{reductions,556}],
[]]}}
=CRASH REPORT==== 17-Dec-2010::14:57:50 ===
crasher:
initial call: couch_spatial_group:init/1
pid: <0.4623.0>
registered_name: []
exception exit: {{badmatch,empty},
[{vtree,'-add_remove/4-fun-0-',3},
{lists,foldl,3},
{vtree,add_remove,4},
{couch_spatial_updater,'-write_changes/4-fun-2-',4},
{lists,zipwith,3},
{couch_spatial_updater,write_changes,4},
{couch_spatial_updater,update,2}]}
in function gen_server:terminate/6
ancestors: [couch_spatial,couch_secondary_services,couch_server_sup,
<0.31.0>]
messages: []
links: [<0.4625.0>,<0.96.0>]
dictionary: []
trap_exit: true
status: running
heap_size: 1597
stack_size: 24
reductions: 556
neighbours:
[error] [<0.4603.0>] Uncaught error in HTTP request: {exit,
{{{badmatch,empty},
[{vtree,'-add_remove/4-fun-0-',3},
{lists,foldl,3},
{vtree,add_remove,4},
{couch_spatial_updater,
'-write_changes/4-fun-2-',4},
{lists,zipwith,3},
{couch_spatial_updater,write_changes,4},
{couch_spatial_updater,update,2}]},
{gen_server,call,
[<0.4623.0>,{request_group,6},infinity]}}}
[error] [<0.4625.0>] ** Generic server <0.4625.0> terminating
** Last message in was {'EXIT',<0.4623.0>,
{{badmatch,empty},
[{vtree,'-add_remove/4-fun-0-',3},
{lists,foldl,3},
{vtree,add_remove,4},
{couch_spatial_updater,
'-write_changes/4-fun-2-',4},
{lists,zipwith,3},
{couch_spatial_updater,write_changes,4},
{couch_spatial_updater,update,2}]}}
** When Server state == {file,{file_descriptor,prim_file,{#Port<0.2491>,26}},
0,712}
** Reason for termination ==
** {{badmatch,empty},
[{vtree,'-add_remove/4-fun-0-',3},
{lists,foldl,3},
{vtree,add_remove,4},
{couch_spatial_updater,'-write_changes/4-fun-2-',4},
{lists,zipwith,3},
{couch_spatial_updater,write_changes,4},
{couch_spatial_updater,update,2}]}
=ERROR REPORT==== 17-Dec-2010::14:57:50 ===
** Generic server <0.4625.0> terminating
** Last message in was {'EXIT',<0.4623.0>,
{{badmatch,empty},
[{vtree,'-add_remove/4-fun-0-',3},
{lists,foldl,3},
{vtree,add_remove,4},
{couch_spatial_updater,
'-write_changes/4-fun-2-',4},
{lists,zipwith,3},
{couch_spatial_updater,write_changes,4},
{couch_spatial_updater,update,2}]}}
** When Server state == {file,{file_descriptor,prim_file,{#Port<0.2491>,26}},
0,712}
** Reason for termination ==
** {{badmatch,empty},
[{vtree,'-add_remove/4-fun-0-',3},
{lists,foldl,3},
{vtree,add_remove,4},
{couch_spatial_updater,'-write_changes/4-fun-2-',4},
{lists,zipwith,3},
{couch_spatial_updater,write_changes,4},
{couch_spatial_updater,update,2}]}
[error] [<0.4625.0>] {error_report,<0.30.0>,
{<0.4625.0>,crash_report,
[[{initial_call,{couch_file,init,['Argument__1']}},
{pid,<0.4625.0>},
{registered_name,[]},
{error_info,
{exit,
{{badmatch,empty},
[{vtree,'-add_remove/4-fun-0-',3},
{lists,foldl,3},
{vtree,add_remove,4},
{couch_spatial_updater,'-write_changes/4-fun-2-',4},
{lists,zipwith,3},
{couch_spatial_updater,write_changes,4},
{couch_spatial_updater,update,2}]},
[{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
{ancestors,
[<0.4623.0>,couch_spatial,couch_secondary_services,
couch_server_sup,<0.31.0>]},
{messages,[{'EXIT',<0.4628.0>,shutdown}]},
{links,[#Port<0.2491>]},
{dictionary,[]},
{trap_exit,true},
{status,running},
{heap_size,987},
{stack_size,24},
{reductions,2816}],
[]]}}
=CRASH REPORT==== 17-Dec-2010::14:57:50 ===
crasher:
initial call: couch_file:init/1
pid: <0.4625.0>
registered_name: []
exception exit: {{badmatch,empty},
[{vtree,'-add_remove/4-fun-0-',3},
{lists,foldl,3},
{vtree,add_remove,4},
{couch_spatial_updater,'-write_changes/4-fun-2-',4},
{lists,zipwith,3},
{couch_spatial_updater,write_changes,4},
{couch_spatial_updater,update,2}]}
in function gen_server:terminate/6
ancestors: [<0.4623.0>,couch_spatial,couch_secondary_services,
couch_server_sup,<0.31.0>]
messages: [{'EXIT',<0.4628.0>,shutdown}]
links: [#Port<0.2491>]
dictionary: []
trap_exit: true
status: running
heap_size: 987
stack_size: 24
reductions: 2816
neighbours:
[info] [<0.4603.0>] Stacktrace: [{gen_server,call,3},
{couch_spatial_group,request_group,2},
{couch_spatial,get_group,3},
{couch_spatial,get_spatial_index,4},
{couch_httpd_spatial,handle_spatial_req,3},
{couch_httpd_db,do_db_req,2},
{couch_httpd,handle_request_int,5},
{mochiweb_http,headers,5}]
[info] [<0.4603.0>] 127.0.0.1 - - 'GET' /test_db/_design/SpatialTest%3A%3ASpatialModel/_spatial/points?bbox=0,0,41,80 500
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment