--- Revision None
+++ Revision 613236336639
@@ -0,0 +1,556 @@
+FAILING ON 1.0.0
+===========================================================
+Running version 1.0.0
+doc 305
+doc 306
+doc 307
+doc 308
+doc 309
+doc 310
+doc 311
+doc 312
+doc 313
+doc 314
+doc 315
+doc 316
+doc 317
+doc 318
+doc 319
+doc 320
+doc 321
+doc 322
+doc 323
+doc 324
+doc 325
+doc 326
+doc 327
+doc 328
+doc 329
+doc 330
+doc 331
+doc 332
+doc 333
+doc 334
+doc 335
+doc 336
+doc 337
+doc 338
+doc 339
+doc 340
+doc 341
+doc 342
+doc 343
+doc 344
+doc 345
+doc 346
+doc 347
+Storage error: 500 Internal Server Error at /Users/dave/Library/ActivePerl-5.12/lib/CouchDB/Client/Doc.pm line 65
+ CouchDB::Client::Doc::create('CouchDB::Client::Doc=HASH(0x8e0a90)') called at ./fatso.pl line 24
+
+
+PRE CRASH
+===========================================================
+Directory of C:\couch\1.0.0_fatso\var\lib\couchdb
+
+16/02/2011 21:29
.
+16/02/2011 21:29 ..
+16/02/2011 21:30 4,262,867,046 fatso.couch
+
+POST CRASH
+===========================================================
+C:\couch\1.0.0_fatso\var\lib\couchdb>dir
+ Volume in drive C is SYSTEM
+ Volume Serial Number is A0EB-3CFD
+
+ Directory of C:\couch\1.0.0_fatso\var\lib\couchdb
+
+16/02/2011 21:29 .
+16/02/2011 21:29 ..
+16/02/2011 21:32 4,295,707,534 fatso.couch
+
+5678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789\n">>}]},
+ [],false,[]}]],
+ [],false,false}
+** When Server state == {db,<0.143.0>,<0.144.0>,nil,<<"1297845006935000">>,
+ <0.141.0>,<0.145.0>,
+ {db_header,5,311,0,
+ {4294713467,{311,0}},
+ {4294715768,311},
+ nil,0,nil,nil,1000},
+ 311,
+ {btree,<0.141.0>,
+ {4294713467,{311,0}},
+ #Fun,
+ #Fun,
+ #Fun,
+ #Fun},
+ {btree,<0.141.0>,
+ {4294715768,311},
+ #Fun,
+ #Fun,
+ #Fun,
+ #Fun},
+ {btree,<0.141.0>,nil,
+ #Fun,
+ #Fun,
+ #Fun,nil},
+ 311,<<"fatso">>,"../var/lib/couchdb/fatso.couch",
+ [],[],nil,
+ {user_ctx,null,[],undefined},
+ nil,1000,
+ [before_header,after_header,on_file_open],
+ false}
+** Reason for termination ==
+** {{{badmatch,{error,enomem}},
+ [{couch_file,read_raw_iolist_int,3},
+ {couch_file,handle_call,3},
+ {gen_server,handle_msg,5},
+ {proc_lib,init_p_do_apply,3}]},
+ {gen_server,call,[<0.141.0>,{pread_iolist,4294715768},infinity]}}
+[error] [<0.144.0>] {error_report,<0.34.0>,
+ {<0.144.0>,crash_report,
+ [[{initial_call,{couch_db_updater,init,['Argument__1']}},
+ {pid,<0.144.0>},
+ {registered_name,[]},
+ {error_info,
+ {exit,
+ {{{badmatch,{error,enomem}},
+ [{couch_file,read_raw_iolist_int,3},
+ {couch_file,handle_call,3},
+ {gen_server,handle_msg,5},
+ {proc_lib,init_p_do_apply,3}]},
+ {gen_server,call,
+ [<0.141.0>,{pread_iolist,4294715768},infinity]}},
+ [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
+ {ancestors,[<0.143.0>,<0.140.0>]},
+ {messages,[]},
+ {links,[<0.143.0>]},
+ {dictionary,[]},
+ {trap_exit,true},
+ {status,running},
+ {heap_size,10946},
+ {stack_size,24},
+ {reductions,97468}],
+ []]}}
+
+=CRASH REPORT==== 16-Feb-2011::21:32:41 ===
+ crasher:
+ initial call: couch_db_updater:init/1
+ pid: <0.144.0>
+ registered_name: []
+ exception exit: {{{badmatch,{error,enomem}},
+ [{couch_file,read_raw_iolist_int,3},
+ {couch_file,handle_call,3},
+ {gen_server,handle_msg,5},
+ {proc_lib,init_p_do_apply,3}]},
+ {gen_server,call,
+ [<0.141.0>,
+ {pread_iolist,4294715768},
+ infinity]}}
+ in function gen_server:terminate/6
+ ancestors: [<0.143.0>,<0.140.0>]
+ messages: []
+ links: [<0.143.0>]
+ dictionary: []
+ trap_exit: true
+ status: running
+ heap_size: 10946
+ stack_size: 24
+ reductions: 97468
+ neighbours:
+[error] [<0.143.0>] ** Generic server <0.143.0> terminating
+** Last message in was {'EXIT',<0.144.0>,
+ {{{badmatch,{error,enomem}},
+ [{couch_file,read_raw_iolist_int,3},
+ {couch_file,handle_call,3},
+ {gen_server,handle_msg,5},
+ {proc_lib,init_p_do_apply,3}]},
+ {gen_server,call,
+ [<0.141.0>,
+ {pread_iolist,4294715768},
+ infinity]}}}
+** When Server state == {db,<0.143.0>,<0.144.0>,nil,<<"1297845006935000">>,
+ <0.141.0>,<0.145.0>,
+ {db_header,5,311,0,
+ {4294713467,{311,0}},
+ {4294715768,311},
+ nil,0,nil,nil,1000},
+ 311,
+ {btree,<0.141.0>,
+ {4294713467,{311,0}},
+ #Fun,
+ #Fun,
+ #Fun,
+ #Fun},
+ {btree,<0.141.0>,
+ {4294715768,311},
+ #Fun,
+ #Fun,
+ #Fun,
+ #Fun},
+ {btree,<0.141.0>,nil,
+ #Fun,
+ #Fun,
+ #Fun,nil},
+ 311,<<"fatso">>,"../var/lib/couchdb/fatso.couch",
+ [],[],nil,
+ {user_ctx,null,[],undefined},
+ nil,1000,
+ [before_header,after_header,on_file_open],
+ false}
+** Reason for termination ==
+** {{{badmatch,{error,enomem}},
+ [{couch_file,read_raw_iolist_int,3},
+ {couch_file,handle_call,3},
+ {gen_server,handle_msg,5},
+ {proc_lib,init_p_do_apply,3}]},
+ {gen_server,call,[<0.141.0>,{pread_iolist,4294715768},infinity]}}
+
+
+=ERROR REPORT==== 16-Feb-2011::21:32:41 ===
+** Generic server <0.143.0> terminating
+** Last message in was {'EXIT',<0.144.0>,
+ {{{badmatch,{error,enomem}},
+ [{couch_file,read_raw_iolist_int,3},
+ {couch_file,handle_call,3},
+ {gen_server,handle_msg,5},
+ {proc_lib,init_p_do_apply,3}]},
+ {gen_server,call,
+ [<0.141.0>,
+ {pread_iolist,4294715768},
+ infinity]}}}
+** When Server state == {db,<0.143.0>,<0.144.0>,nil,<<"1297845006935000">>,
+ <0.141.0>,<0.145.0>,
+ {db_header,5,311,0,
+ {4294713467,{311,0}},
+ {4294715768,311},
+ nil,0,nil,nil,1000},
+ 311,
+ {btree,<0.141.0>,
+ {4294713467,{311,0}},
+ #Fun,
+ #Fun,
+ #Fun,
+ #Fun},
+ {btree,<0.141.0>,
+ {4294715768,311},
+ #Fun,
+ #Fun,
+ #Fun,
+ #Fun},
+ {btree,<0.141.0>,nil,
+ #Fun,
+ #Fun,
+ #Fun,nil},
+ 311,<<"fatso">>,"../var/lib/couchdb/fatso.couch",
+ [],[],nil,
+ {user_ctx,null,[],undefined},
+ nil,1000,
+ [before_header,after_header,on_file_open],
+ false}
+** Reason for termination ==
+** {{{badmatch,{error,enomem}},
+ [{couch_file,read_raw_iolist_int,3},
+ {couch_file,handle_call,3},
+ {gen_server,handle_msg,5},
+ {proc_lib,init_p_do_apply,3}]},
+ {gen_server,call,[<0.141.0>,{pread_iolist,4294715768},infinity]}}
+[error] [<0.143.0>] {error_report,<0.34.0>,
+ {<0.143.0>,crash_report,
+ [[{initial_call,{couch_db,init,['Argument__1']}},
+ {pid,<0.143.0>},
+ {registered_name,[]},
+ {error_info,
+ {exit,
+ {{{badmatch,{error,enomem}},
+ [{couch_file,read_raw_iolist_int,3},
+ {couch_file,handle_call,3},
+ {gen_server,handle_msg,5},
+ {proc_lib,init_p_do_apply,3}]},
+ {gen_server,call,
+ [<0.141.0>,{pread_iolist,4294715768},infinity]}},
+ [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
+ {ancestors,[<0.140.0>]},
+ {messages,[]},
+ {links,[<0.87.0>]},
+ {dictionary,[]},
+ {trap_exit,true},
+ {status,running},
+ {heap_size,2584},
+ {stack_size,24},
+ {reductions,2041}],
+ []]}}
+
+=CRASH REPORT==== 16-Feb-2011::21:32:41 ===
+ crasher:
+ initial call: couch_db:init/1
+ pid: <0.143.0>
+ registered_name: []
+ exception exit: {{{badmatch,{error,enomem}},
+ [{couch_file,read_raw_iolist_int,3},
+ {couch_file,handle_call,3},
+ {gen_server,handle_msg,5},
+ {proc_lib,init_p_do_apply,3}]},
+ {gen_server,call,
+ [<0.141.0>,
+ {pread_iolist,4294715768},
+ infinity]}}
+ in function gen_server:terminate/6
+ ancestors: [<0.140.0>]
+ messages: []
+ links: [<0.87.0>]
+ dictionary: []
+ trap_exit: true
+ status: running
+ heap_size: 2584
+ stack_size: 24
+ reductions: 2041
+ neighbours:
+[error] [<0.327.0>] Uncaught error in HTTP request: {exit,
+ {{{badmatch,{error,enomem}},
+ [{couch_file,read_raw_iolist_int,3},
+ {couch_file,handle_call,3},
+ {gen_server,handle_msg,5},
+ {proc_lib,init_p_do_apply,3}]},
+ {gen_server,call,
+ [<0.141.0>,
+ {pread_iolist,4294715768},
+ infinity]}}}
+[error] [<0.87.0>] Unexpected message, restarting couch_server: {'EXIT',<0.143.0>,
+ {{{badmatch,{error,enomem}},
+ [{couch_file,
+ read_raw_iolist_int,3},
+ {couch_file,handle_call,3},
+ {gen_server,handle_msg,5},
+ {proc_lib,init_p_do_apply,
+ 3}]},
+ {gen_server,call,
+ [<0.141.0>,
+ {pread_iolist,4294715768},
+ infinity]}}}
+[info] [<0.327.0>] Stacktrace: [{couch_db,collect_results,3},
+ {couch_db,write_and_commit,4},
+ {couch_db,update_docs,4},
+ {couch_db,update_doc,4},
+ {couch_httpd_db,update_doc,6},
+ {couch_httpd_db,do_db_req,2},
+ {couch_httpd,handle_request_int,5},
+ {mochiweb_http,headers,5}]
+[error] [<0.87.0>] ** Generic server couch_server terminating
+** Last message in was {'EXIT',<0.143.0>,
+ {{{badmatch,{error,enomem}},
+ [{couch_file,read_raw_iolist_int,3},
+ {couch_file,handle_call,3},
+ {gen_server,handle_msg,5},
+ {proc_lib,init_p_do_apply,3}]},
+ {gen_server,call,
+ [<0.141.0>,
+ {pread_iolist,4294715768},
+ infinity]}}}
+** When Server state == {server,"../var/lib/couchdb",
+ {re_pattern,0,0,
+ <<69,82,67,80,116,0,0,0,16,0,0,0,1,0,0,0,0,0,
+ 0,0,0,0,0,0,40,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ 0,93,0,72,25,77,0,0,0,0,0,0,0,0,0,0,0,0,254,
+ 255,255,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ 77,0,0,0,0,16,171,255,3,0,0,0,128,254,255,
+ 255,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,69,26,
+ 84,0,72,0>>},
+ 100,1,"Wed, 16 Feb 2011 08:29:35 GMT"}
+** Reason for termination ==
+** kill
+
+
+=ERROR REPORT==== 16-Feb-2011::21:32:41 ===
+** Generic server couch_server terminating
+** Last message in was {'EXIT',<0.143.0>,
+ {{{badmatch,{error,enomem}},
+ [{couch_file,read_raw_iolist_int,3},
+ {couch_file,handle_call,3},
+ {gen_server,handle_msg,5},
+ {proc_lib,init_p_do_apply,3}]},
+ {gen_server,call,
+ [<0.141.0>,
+ {pread_iolist,4294715768},
+ infinity]}}}
+** When Server state == {server,"../var/lib/couchdb",
+ {re_pattern,0,0,
+ <<69,82,67,80,116,0,0,0,16,0,0,0,1,0,0,0,0,0,
+ 0,0,0,0,0,0,40,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ 0,93,0,72,25,77,0,0,0,0,0,0,0,0,0,0,0,0,254,
+ 255,255,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ 77,0,0,0,0,16,171,255,3,0,0,0,128,254,255,
+ 255,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,69,26,
+ 84,0,72,0>>},
+ 100,1,"Wed, 16 Feb 2011 08:29:35 GMT"}
+** Reason for termination ==
+** kill
+[error] [<0.87.0>] {error_report,<0.34.0>,
+ {<0.87.0>,crash_report,
+ [[{initial_call,{couch_server,init,['Argument__1']}},
+ {pid,<0.87.0>},
+ {registered_name,couch_server},
+ {error_info,{exit,kill,
+ [{gen_server,terminate,6},
+ {proc_lib,init_p_do_apply,3}]}},
+ {ancestors,[couch_primary_services,couch_server_sup,
+ <0.35.0>]},
+ {messages,[]},
+ {links,[<0.97.0>,<0.82.0>]},
+ {dictionary,[]},
+ {trap_exit,true},
+ {status,running},
+ {heap_size,1597},
+ {stack_size,24},
+ {reductions,2984}],
+ []]}}
+
+=CRASH REPORT==== 16-Feb-2011::21:33:03 ===
+ crasher:
+ initial call: couch_server:init/1
+ pid: <0.87.0>
+ registered_name: couch_server
+ exception exit: kill
+ in function gen_server:terminate/6
+ ancestors: [couch_primary_services,couch_server_sup,<0.35.0>]
+ messages: []
+ links: [<0.97.0>,<0.82.0>]
+ dictionary: []
+ trap_exit: true
+ status: running
+ heap_size: 1597
+ stack_size: 24
+ reductions: 2984
+ neighbours:
+[error] [<0.82.0>] {error_report,<0.34.0>,
+ {<0.82.0>,supervisor_report,
+ [{supervisor,{local,couch_primary_services}},
+ {errorContext,child_terminated},
+ {reason,kill},
+ {offender,[{pid,<0.87.0>},
+ {name,couch_server},
+ {mfargs,{couch_server,sup_start_link,[]}},
+ {restart_type,permanent},
+ {shutdown,1000},
+ {child_type,worker}]}]}}
+
+=SUPERVISOR REPORT==== 16-Feb-2011::21:33:03 ===
+ Supervisor: {local,couch_primary_services}
+ Context: child_terminated
+ Reason: kill
+ Offender: [{pid,<0.87.0>},
+ {name,couch_server},
+ {mfargs,{couch_server,sup_start_link,[]}},
+ {restart_type,permanent},
+ {shutdown,1000},
+ {child_type,worker}]
+
+[error] [<0.97.0>] ** Generic server <0.97.0> terminating
+** Last message in was {'EXIT',<0.87.0>,kill}
+** When Server state == {db,<0.97.0>,<0.98.0>,nil,<<"1297844980560000">>,
+ <0.96.0>,<0.100.0>,
+ {db_header,5,1,0,
+ {3122,{1,0}},
+ {3213,1},
+ nil,0,nil,nil,1000},
+ 1,
+ {btree,<0.96.0>,
+ {3122,{1,0}},
+ #Fun,
+ #Fun,
+ #Fun,
+ #Fun},
+ {btree,<0.96.0>,
+ {3213,1},
+ #Fun,
+ #Fun,
+ #Fun,
+ #Fun},
+ {btree,<0.96.0>,nil,#Fun,
+ #Fun,
+ #Fun,nil},
+ 1,<<"_users">>,"../var/lib/couchdb/_users.couch",
+ [#Fun],
+ [],nil,
+ {user_ctx,null,[],undefined},
+ nil,1000,
+ [before_header,after_header,on_file_open],
+ true}
+** Reason for termination ==
+** kill
+
+
+=ERROR REPORT==== 16-Feb-2011::21:33:03 ===
+** Generic server <0.97.0> terminating
+** Last message in was {'EXIT',<0.87.0>,kill}
+** When Server state == {db,<0.97.0>,<0.98.0>,nil,<<"1297844980560000">>,
+ <0.96.0>,<0.100.0>,
+ {db_header,5,1,0,
+ {3122,{1,0}},
+ {3213,1},
+ nil,0,nil,nil,1000},
+ 1,
+ {btree,<0.96.0>,
+ {3122,{1,0}},
+ #Fun,
+ #Fun,
+ #Fun,
+ #Fun},
+ {btree,<0.96.0>,
+ {3213,1},
+ #Fun,
+ #Fun,
+ #Fun,
+ #Fun},
+ {btree,<0.96.0>,nil,#Fun,
+ #Fun,
+ #Fun,nil},
+ 1,<<"_users">>,"../var/lib/couchdb/_users.couch",
+ [#Fun],
+ [],nil,
+ {user_ctx,null,[],undefined},
+ nil,1000,
+ [before_header,after_header,on_file_open],
+ true}
+** Reason for termination ==
+** kill
+[error] [<0.97.0>] {error_report,<0.34.0>,
+ {<0.97.0>,crash_report,
+ [[{initial_call,{couch_db,init,['Argument__1']}},
+ {pid,<0.97.0>},
+ {registered_name,[]},
+ {error_info,{exit,kill,
+ [{gen_server,terminate,6},
+ {proc_lib,init_p_do_apply,3}]}},
+ {ancestors,[<0.95.0>]},
+ {messages,[]},
+ {links,[]},
+ {dictionary,[]},
+ {trap_exit,true},
+ {status,running},
+ {heap_size,1597},
+ {stack_size,24},
+ {reductions,276}],
+ []]}}
+
+=CRASH REPORT==== 16-Feb-2011::21:33:03 ===
+ crasher:
+ initial call: couch_db:init/1
+ pid: <0.97.0>
+ registered_name: []
+ exception exit: kill
+ in function gen_server:terminate/6
+ ancestors: [<0.95.0>]
+ messages: []
+ links: []
+ dictionary: []
+ trap_exit: true
+ status: running
+ heap_size: 1597
+ stack_size: 24
+ reductions: 276
+ neighbours:
+[info] [<0.327.0>] 192.168.1.68 - - 'PUT' /fatso/another_doc_347 500
+[debug] [<0.327.0>] httpd 500 error response:
+ {"error":"{{badmatch,{error,enomem}},\n [{couch_file,read_raw_iolist_int,3},\n {couch_file,handle_call,3},\n {gen_server,handle_msg,5},\n {proc_lib,init_p_do_apply,3}]}","reason":"{gen_server,call,[<0.141.0>,{pread_iolist,4294715768},infinity]}"}
+