Guest User

Untitled

a guest
Feb 12th, 2012
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.61 KB | None | 0 0
  1. [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...
  2.  
  3.  
  4.  
  5. [Thu, 23 Sep 2010 13:25:00 GMT] [error] [<0.2720.0>] ** Generic server <0.2720.0> terminating
  6. ** Last message in was {'EXIT',<0.2723.0>,
  7. {function_clause,
  8. [{couch_query_servers,builtin_reduce,
  9. [reduce,
  10. [<<"_count\n">>],
  11. [[[<<"Carroll Marilou">>,
  12. <<"marilou-carroll">>],
  13. {[{<<"_id">>,<<"marilou-carroll">>},
  14. {<<"_rev">>,
  15. <<"1-56ccc767a1ac9db86dc128d4d312dd16">>},
  16. {<<"birthday">>,<<"1976/09/22">>},
  17. {<<"addresses">>,
  18. {[{<<"work">>,
  19. {[{<<"number">>,<<"458/35">>},
  20. {<<"city">>,
  21. <<"Greenholthaven">>},
  22. {<<"street">>,
  23. <<"Neil Stravenue">>},
  24. {<<"country">>,
  25. <<"United Kingdom">>}]}}]}},
  26. {<<"first_name">>,<<"Marilou">>},
  27. {<<"groups">>,[<<"friends">>]},
  28. {<<"last_name">>,<<"Carroll">>},
  29. {<<"occupation">>,<<"supermodel">>},
  30. {<<"phones">>,
  31. {[{<<"cell">>,
  32. <<"1-064-647-7063 x82270">>},
  33. {<<"home">>,<<"1-588-460-3383">>},
  34. {<<"work">>,
  35. <<"147.943.8379 x490">>}]}}]}]],
  36. []]},
  37. {couch_query_servers,reduce,3},
  38. {couch_view_group,'-init_group/4-fun-0-',4},
  39. {couch_btree,'-write_node/3-lc$^0/1-0-',3},
  40. {couch_btree,write_node,3},
  41. {couch_btree,modify_node,4},
  42. {couch_btree,query_modify,4},
  43. {couch_btree,add_remove,3}]}}
  44. ** When Server state == {group_state,undefined,<<"addressbook">>,
  45. {"/var/lib/couchdb/0.11.0",<<"addressbook">>,
  46. {group,
  47. <<225,244,48,232,49,10,160,169,65,250,118,97,8,136,
  48. 172,185>>,
  49. nil,nil,<<"_design/person">>,<<"javascript">>,[],
  50. [{view,0,[],
  51. <<"// 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">>,
  52. nil,
  53. [{<<"by_name">>,<<"_count\n">>}],
  54. []},
  55. {view,1,[],
  56. <<"// 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">>,
  57. nil,
  58. [{<<"by_birthday">>,<<"_count">>}],
  59. []},
  60. {view,2,[],
  61. <<"// 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">>,
  62. nil,
  63. [{<<"by_country">>,<<"_count\n">>}],
  64. []},
  65. {view,3,[],
  66. <<"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">>,
  67. nil,
  68. [{<<"by_city">>,<<"_count\n">>}],
  69. []},
  70. {view,4,
  71. [<<"all">>],
  72. <<"function(doc) {\n emit(doc.id, doc)\n}\n">>,
  73. nil,[],[]},
  74. {view,5,[],
  75. <<"function(doc) {\n emit(doc.occupation, 1);\n}\n">>,
  76. nil,
  77. [{<<"by_occupation">>,
  78. <<"function(keys, values, rereduce) {\n return sum(values)\n}\n">>}],
  79. []},
  80. {view,6,[],
  81. <<"function(doc) {\n for (group in doc.groups) {\n emit(doc.groups[group], 1)\n }\n}\n">>,
  82. nil,
  83. [{<<"by_groups">>,<<"_count\n">>}],
  84. []}],
  85. nil,0,0,nil,nil}},
  86. {group,
  87. <<225,244,48,232,49,10,160,169,65,250,118,97,8,136,
  88. 172,185>>,
  89. {db,<0.1626.0>,<0.1627.0>,nil,
  90. <<"1285247527541174">>,<0.1624.0>,<0.1628.0>,
  91. {db_header,5,22,0,
  92. {88057,{12,0}},
  93. {89337,12},
  94. nil,0,nil,nil,1000},
  95. 22,
  96. {btree,<0.1624.0>,
  97. {88057,{12,0}},
  98. #Fun<couch_db_updater.7.132302543>,
  99. #Fun<couch_db_updater.8.107957134>,
  100. #Fun<couch_btree.5.124754102>,
  101. #Fun<couch_db_updater.9.46112288>},
  102. {btree,<0.1624.0>,
  103. {89337,12},
  104. #Fun<couch_db_updater.10.19027664>,
  105. #Fun<couch_db_updater.11.35033879>,
  106. #Fun<couch_btree.5.124754102>,
  107. #Fun<couch_db_updater.12.56344865>},
  108. {btree,<0.1624.0>,nil,
  109. #Fun<couch_btree.0.83553141>,
  110. #Fun<couch_btree.1.30790806>,
  111. #Fun<couch_btree.2.124754102>,nil},
  112. 22,<<"addressbook">>,
  113. "/var/lib/couchdb/0.11.0/addressbook.couch",[],[],
  114. nil,
  115. {user_ctx,null,[],undefined},
  116. nil,1000,
  117. [before_header,after_header,on_file_open]},
  118. <0.2721.0>,<<"_design/person">>,<<"javascript">>,[],
  119. [{view,0,[],
  120. <<"// 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">>,
  121. {btree,<0.2721.0>,nil,
  122. #Fun<couch_btree.3.83553141>,
  123. #Fun<couch_btree.4.30790806>,
  124. #Fun<couch_view.less_json_ids.2>,
  125. #Fun<couch_view_group.10.120246376>},
  126. [{<<"by_name">>,<<"_count\n">>}],
  127. []},
  128. {view,1,[],
  129. <<"// 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">>,
  130. {btree,<0.2721.0>,nil,
  131. #Fun<couch_btree.3.83553141>,
  132. #Fun<couch_btree.4.30790806>,
  133. #Fun<couch_view.less_json_ids.2>,
  134. #Fun<couch_view_group.10.120246376>},
  135. [{<<"by_birthday">>,<<"_count">>}],
  136. []},
  137. {view,2,[],
  138. <<"// 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">>,
  139. {btree,<0.2721.0>,nil,
  140. #Fun<couch_btree.3.83553141>,
  141. #Fun<couch_btree.4.30790806>,
  142. #Fun<couch_view.less_json_ids.2>,
  143. #Fun<couch_view_group.10.120246376>},
  144. [{<<"by_country">>,<<"_count\n">>}],
  145. []},
  146. {view,3,[],
  147. <<"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">>,
  148. {btree,<0.2721.0>,nil,
  149. #Fun<couch_btree.3.83553141>,
  150. #Fun<couch_btree.4.30790806>,
  151. #Fun<couch_view.less_json_ids.2>,
  152. #Fun<couch_view_group.10.120246376>},
  153. [{<<"by_city">>,<<"_count\n">>}],
  154. []},
  155. {view,4,
  156. [<<"all">>],
  157. <<"function(doc) {\n emit(doc.id, doc)\n}\n">>,
  158. {btree,<0.2721.0>,nil,
  159. #Fun<couch_btree.3.83553141>,
  160. #Fun<couch_btree.4.30790806>,
  161. #Fun<couch_view.less_json_ids.2>,
  162. #Fun<couch_view_group.10.120246376>},
  163. [],[]},
  164. {view,5,[],
  165. <<"function(doc) {\n emit(doc.occupation, 1);\n}\n">>,
  166. {btree,<0.2721.0>,nil,
  167. #Fun<couch_btree.3.83553141>,
  168. #Fun<couch_btree.4.30790806>,
  169. #Fun<couch_view.less_json_ids.2>,
  170. #Fun<couch_view_group.10.120246376>},
  171. [{<<"by_occupation">>,
  172. <<"function(keys, values, rereduce) {\n return sum(values)\n}\n">>}],
  173. []},
  174. {view,6,[],
  175. <<"function(doc) {\n for (group in doc.groups) {\n emit(doc.groups[group], 1)\n }\n}\n">>,
  176. {btree,<0.2721.0>,nil,
  177. #Fun<couch_btree.3.83553141>,
  178. #Fun<couch_btree.4.30790806>,
  179. #Fun<couch_view.less_json_ids.2>,
  180. #Fun<couch_view_group.10.120246376>},
  181. [{<<"by_groups">>,<<"_count\n">>}],
  182. []}],
  183. {btree,<0.2721.0>,nil,#Fun<couch_btree.0.83553141>,
  184. #Fun<couch_btree.1.30790806>,
  185. #Fun<couch_btree.2.124754102>,nil},
  186. 0,0,nil,nil},
  187. <0.2723.0>,nil,false,
  188. [{{<0.2499.0>,#Ref<0.0.0.15792>},22}],
  189. <0.2724.0>}
  190. ** Reason for termination ==
  191. ** {function_clause,
  192. [{couch_query_servers,builtin_reduce,
  193. [reduce,
  194. [<<"_count\n">>],
  195. [[[<<"Carroll Marilou">>,<<"marilou-carroll">>],
  196. {[{<<"_id">>,<<"marilou-carroll">>},
  197. {<<"_rev">>,<<"1-56ccc767a1ac9db86dc128d4d312dd16">>},
  198. {<<"birthday">>,<<"1976/09/22">>},
  199. {<<"addresses">>,
  200. {[{<<"work">>,
  201. {[{<<"number">>,<<"458/35">>},
  202. {<<"city">>,<<"Greenholthaven">>},
  203. {<<"street">>,<<"Neil Stravenue">>},
  204. {<<"country">>,<<"United Kingdom">>}]}}]}},
  205. {<<"first_name">>,<<"Marilou">>},
  206. {<<"groups">>,[<<"friends">>]},
  207. {<<"last_name">>,<<"Carroll">>},
  208. {<<"occupation">>,<<"supermodel">>},
  209. {<<"phones">>,
  210. {[{<<"cell">>,<<"1-064-647-7063 x82270">>},
  211. {<<"home">>,<<"1-588-460-3383">>},
  212. {<<"work">>,<<"147.943.8379 x490">>}]}}]}]],
  213. []]},
  214. {couch_query_servers,reduce,3},
  215. {couch_view_group,'-init_group/4-fun-0-',4},
  216. {couch_btree,'-write_node/3-lc$^0/1-0-',3},
  217. {couch_btree,write_node,3},
  218. {couch_btree,modify_node,4},
  219. {couch_btree,query_modify,4},
  220. {couch_btree,add_remove,3}]}
  221.  
  222.  
  223. [Thu, 23 Sep 2010 13:25:00 GMT] [error] [<0.2720.0>] {error_report,<0.30.0>,
  224. {<0.2720.0>,crash_report,
  225. [[{initial_call,{couch_view_group,init,['Argument__1']}},
  226. {pid,<0.2720.0>},
  227. {registered_name,[]},
  228. {error_info,
  229. {exit,
  230. {function_clause,
  231. [{couch_query_servers,builtin_reduce,
  232. [reduce,
  233. [<<"_count\n">>],
  234. [[[<<"Carroll Marilou">>,<<"marilou-carroll">>],
  235. {[{<<"_id">>,<<"marilou-carroll">>},
  236. {<<"_rev">>,
  237. <<"1-56ccc767a1ac9db86dc128d4d312dd16">>},
  238. {<<"birthday">>,<<"1976/09/22">>},
  239. {<<"addresses">>,
  240. {[{<<"work">>,
  241. {[{<<"number">>,<<"458/35">>},
  242. {<<"city">>,<<"Greenholthaven">>},
  243. {<<"street">>,<<"Neil Stravenue">>},
  244. {<<"country">>,<<"United Kingdom">>}]}}]}},
  245. {<<"first_name">>,<<"Marilou">>},
  246. {<<"groups">>,[<<"friends">>]},
  247. {<<"last_name">>,<<"Carroll">>},
  248. {<<"occupation">>,<<"supermodel">>},
  249. {<<"phones">>,
  250. {[{<<"cell">>,<<"1-064-647-7063 x82270">>},
  251. {<<"home">>,<<"1-588-460-3383">>},
  252. {<<"work">>,<<"147.943.8379 x490">>}]}}]}]],
  253. []]},
  254. {couch_query_servers,reduce,3},
  255. {couch_view_group,'-init_group/4-fun-0-',4},
  256. {couch_btree,'-write_node/3-lc$^0/1-0-',3},
  257. {couch_btree,write_node,3},
  258. {couch_btree,modify_node,4},
  259. {couch_btree,query_modify,4},
  260. {couch_btree,add_remove,3}]},
  261. [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
  262. {ancestors,
  263. [couch_view,couch_secondary_services,couch_server_sup,<0.31.0>]},
  264. {messages,[]},
  265. {links,[<0.2721.0>,<0.92.0>]},
  266. {dictionary,[]},
  267. {trap_exit,true},
  268. {status,running},
  269. {heap_size,2584},
  270. {stack_size,24},
  271. {reductions,609}],
  272. [{neighbour,
  273. [{pid,<0.2724.0>},
  274. {registered_name,[]},
  275. {initial_call,{couch_ref_counter,init,['Argument__1']}},
  276. {current_function,{gen_server,loop,6}},
  277. {ancestors,
  278. [<0.2720.0>,couch_view,couch_secondary_services,
  279. couch_server_sup,<0.31.0>]},
  280. {messages,[]},
  281. {links,[<0.2721.0>]},
  282. {dictionary,[]},
  283. {trap_exit,false},
  284. {status,waiting},
  285. {heap_size,233},
  286. {stack_size,9},
  287. {reductions,47}]},
  288. {neighbour,
  289. [{pid,<0.2721.0>},
  290. {registered_name,[]},
  291. {initial_call,{couch_file,init,['Argument__1']}},
  292. {current_function,{gen_server,loop,6}},
  293. {ancestors,
  294. [<0.2720.0>,couch_view,couch_secondary_services,
  295. couch_server_sup,<0.31.0>]},
  296. {messages,[]},
  297. {links,[<0.2720.0>,<0.2724.0>,#Port<0.2440>]},
  298. {dictionary,[]},
  299. {trap_exit,false},
  300. {status,waiting},
  301. {heap_size,610},
  302. {stack_size,9},
  303. {reductions,2314}]}]]}}
  304.  
  305. [Thu, 23 Sep 2010 13:25:00 GMT] [error] [<0.2499.0>] {error_report,<0.30.0>,
  306. {<0.2499.0>,crash_report,
  307. [[{initial_call,{mochiweb_socket_server,acceptor_loop,['Argument__1']}},
  308. {pid,<0.2499.0>},
  309. {registered_name,[]},
  310. {error_info,
  311. {error,badarg,
  312. [{erlang,list_to_binary,
  313. [[{couch_query_servers,builtin_reduce,
  314. [reduce,
  315. [<<"_count\n">>],
  316. [[[<<"Carroll Marilou">>,<<"marilou-carroll">>],
  317. {[{<<"_id">>,<<"marilou-carroll">>},
  318. {<<"_rev">>,
  319. <<"1-56ccc767a1ac9db86dc128d4d312dd16">>},
  320. {<<"birthday">>,<<"1976/09/22">>},
  321. {<<"addresses">>,
  322. {[{<<"work">>,
  323. {[{<<"number">>,<<"458/35">>},
  324. {<<"city">>,<<"Greenholthaven">>},
  325. {<<"street">>,<<"Neil Stravenue">>},
  326. {<<"country">>,
  327. <<"United Kingdom">>}]}}]}},
  328. {<<"first_name">>,<<"Marilou">>},
  329. {<<"groups">>,[<<"friends">>]},
  330. {<<"last_name">>,<<"Carroll">>},
  331. {<<"occupation">>,<<"supermodel">>},
  332. {<<"phones">>,
  333. {[{<<"cell">>,<<"1-064-647-7063 x82270">>},
  334. {<<"home">>,<<"1-588-460-3383">>},
  335. {<<"work">>,<<"147.943.8379 x490">>}]}}]}]],
  336. []]},
  337. {couch_query_servers,reduce,3},
  338. {couch_view_group,'-init_group/4-fun-0-',4},
  339. {couch_btree,'-write_node/3-lc$^0/1-0-',3},
  340. {couch_btree,write_node,3},
  341. {couch_btree,modify_node,4},
  342. {couch_btree,query_modify,4},
  343. {couch_btree,add_remove,3}]]},
  344. {couch_httpd,error_info,1},
  345. {couch_httpd,send_error,2},
  346. {couch_httpd,handle_request_int,5},
  347. {mochiweb_http,headers,5},
  348. {proc_lib,init_p_do_apply,3}]}},
  349. {ancestors,
  350. [couch_httpd,couch_secondary_services,couch_server_sup,<0.31.0>]},
  351. {messages,[]},
  352. {links,[<0.94.0>,#Port<0.2438>]},
  353. {dictionary,
  354. [{mochiweb_request_qs,[{"group","true"}]},
  355. {mochiweb_request_cookie,[]}]},
  356. {trap_exit,false},
  357. {status,running},
  358. {heap_size,2584},
  359. {stack_size,24},
  360. {reductions,252094}],
  361. []]}}
  362.  
  363. [Thu, 23 Sep 2010 13:25:00 GMT] [error] [<0.94.0>] {error_report,<0.30.0>,
  364. {<0.94.0>,std_error,
  365. {mochiweb_socket_server,235,{child_error,badarg}}}}
Advertisement
Add Comment
Please, Sign In to add comment