5fAlSeKV0wpe1gWEKweVUR changeset

Changeset666438353537 (b)
ParentNone (a)
ab
0+BELOW IS A CRASH REPORT FOR VIEW WITH REDUCE FUNCTION IN ERLANG: fun(Keys, Values, ReReduce) -> _sum(Values) end.
0+
0+
0+[Thu, 29 Apr 2010 01:22:01 GMT] [error] [emulator] Error in process <0.12166.38> with exit value: {{try_clause,{'EXIT',{{unbound_var,'_sum'},[{erl_eval,expr,2}]}}},[{couch_query_servers,os_reduce,3},{couch_query_servers,reduce,3},{couch_view_group,'-init_group/4-fun-0-',4},{couch_btree,'-write_node/3-lc$^0/1-0-',3},{couch_btree...
0+
0+
0+
0+[Thu, 29 Apr 2010 01:22:01 GMT] [info] [<0.12158.38>] checkpointing view update at seq 150 for tempdata _temp
0+
0+[Thu, 29 Apr 2010 01:22:01 GMT] [info] [<0.12158.38>] checkpointing view update at seq 153 for tempdata _temp
0+
0+[Thu, 29 Apr 2010 01:22:01 GMT] [info] [<0.12158.38>] checkpointing view update at seq 161 for tempdata _temp
0+
0+[Thu, 29 Apr 2010 01:22:01 GMT] [info] [<0.12158.38>] checkpointing view update at seq 167 for tempdata _temp
0+
0+[Thu, 29 Apr 2010 01:22:01 GMT] [info] [<0.12158.38>] checkpointing view update at seq 168 for tempdata _temp
0+
0+[Thu, 29 Apr 2010 01:22:01 GMT] [info] [<0.12158.38>] checkpointing view update at seq 175 for tempdata _temp
0+
0+[Thu, 29 Apr 2010 01:22:01 GMT] [info] [<0.12158.38>] checkpointing view update at seq 176 for tempdata _temp
0+
0+[Thu, 29 Apr 2010 01:22:01 GMT] [error] [<0.12158.38>] ** Generic server <0.12158.38> terminating
0+** Last message in was {'EXIT',<0.12161.38>,
0+                           {{try_clause,
0+                                {'EXIT',
0+                                    {{unbound_var,'_sum'},
0+                                     [{erl_eval,expr,2}]}}},
0+                            [{couch_query_servers,os_reduce,3},
0+                             {couch_query_servers,reduce,3},
0+                             {couch_view_group,'-init_group/4-fun-0-',4},
0+                             {couch_btree,'-write_node/3-lc$^0/1-0-',3},
0+                             {couch_btree,write_node,3},
0+                             {couch_btree,modify_node,4},
0+                             {couch_btree,query_modify,4},
0+                             {couch_btree,add_remove,3}]}}
0+** When Server state == {group_state,undefined,<<"tempdata">>,
0+                         {"/mnt/couchdb/data",<<"tempdata">>,
0+                          {group,
0+                           <<95,131,85,117,11,99,155,177,22,197,26,94,189,249,
0+                             160,118>>,
0+                           {db,<0.27983.35>,<0.27984.35>,nil,
0+                            <<"1272427771104168">>,<0.27981.35>,<0.27985.35>,
0+                            {db_header,5,189,0,
0+                             {755854,{5,67}},
0+                             {758012,72},
0+                             nil,0,nil,nil,1000},
0+                            189,
0+                            {btree,<0.27981.35>,
0+                             {755854,{5,67}},
0+                             #Fun<couch_db_updater.7.132302543>,
0+                             #Fun<couch_db_updater.8.107957134>,
0+                             #Fun<couch_btree.5.124754102>,
0+                             #Fun<couch_db_updater.9.46112288>},
0+                            {btree,<0.27981.35>,
0+                             {758012,72},
0+                             #Fun<couch_db_updater.10.19027664>,
0+                             #Fun<couch_db_updater.11.35033879>,
0+                             #Fun<couch_btree.5.124754102>,
0+                             #Fun<couch_db_updater.12.56344865>},
0+                            {btree,<0.27981.35>,nil,
0+                             #Fun<couch_btree.0.83553141>,
0+                             #Fun<couch_btree.1.30790806>,
0+                             #Fun<couch_btree.2.124754102>,nil},
0+                            189,<<"tempdata">>,
0+                            "/mnt/couchdb/data/tempdata.couch",[],[],nil,
0+                            {user_ctx,null,[],undefined},
0+                            nil,1000,
0+                            [before_header,after_header,on_file_open]},
0+                           nil,<<"_temp">>,<<"erlang">>,[],
0+                           [{view,0,
0+                             [<<"_temp">>],
0+                             <<"fun({Doc}) ->\n  {value, {_, Type}} = lists:keysearch(<<\"type\">>, 1, Doc),  \n  case Type of\n    <<\"energy\">> -> \n      {value, {_, Uuid}} = lists:keysearch(<<\"uuid\">>, 1, Doc),\n      {value, {_, Date}} = lists:keysearch(<<\"date\">>, 1, Doc),\n      {value, {_, Total}} = lists:keysearch(<<\"total\">>, 1, Doc),\n      Emit([Uuid, Date], Total);\n    _ ->\n      ok\n  end\nend.">>,
0+                             nil,
0+                             [{<<"_temp">>,
0+                               <<"fun(Keys, Values, ReReduce) -> _sum(Values) end.">>}],
0+                             []}],
0+                           nil,0,0,nil,nil}},
0+                         {group,
0+                          <<95,131,85,117,11,99,155,177,22,197,26,94,189,249,
0+                            160,118>>,
0+                          {db,<0.27983.35>,<0.27984.35>,nil,
0+                           <<"1272427771104168">>,<0.27981.35>,<0.27985.35>,
0+                           {db_header,5,189,0,
0+                            {755854,{5,67}},
0+                            {758012,72},
0+                            nil,0,nil,nil,1000},
0+                           189,
0+                           {btree,<0.27981.35>,
0+                            {755854,{5,67}},
0+                            #Fun<couch_db_updater.7.132302543>,
0+                            #Fun<couch_db_updater.8.107957134>,
0+                            #Fun<couch_btree.5.124754102>,
0+                            #Fun<couch_db_updater.9.46112288>},
0+                           {btree,<0.27981.35>,
0+                            {758012,72},
0+                            #Fun<couch_db_updater.10.19027664>,
0+                            #Fun<couch_db_updater.11.35033879>,
0+                            #Fun<couch_btree.5.124754102>,
0+                            #Fun<couch_db_updater.12.56344865>},
0+                           {btree,<0.27981.35>,nil,
0+                            #Fun<couch_btree.0.83553141>,
0+                            #Fun<couch_btree.1.30790806>,
0+                            #Fun<couch_btree.2.124754102>,nil},
0+                           189,<<"tempdata">>,
0+                           "/mnt/couchdb/data/tempdata.couch",[],[],nil,
0+                           {user_ctx,null,[],undefined},
0+                           nil,1000,
0+                           [before_header,after_header,on_file_open]},
0+                          <0.12159.38>,<<"_temp">>,<<"erlang">>,[],
0+                          [{view,0,
0+                            [<<"_temp">>],
0+                            <<"fun({Doc}) ->\n  {value, {_, Type}} = lists:keysearch(<<\"type\">>, 1, Doc),  \n  case Type of\n    <<\"energy\">> -> \n      {value, {_, Uuid}} = lists:keysearch(<<\"uuid\">>, 1, Doc),\n      {value, {_, Date}} = lists:keysearch(<<\"date\">>, 1, Doc),\n      {value, {_, Total}} = lists:keysearch(<<\"total\">>, 1, Doc),\n      Emit([Uuid, Date], Total);\n    _ ->\n      ok\n  end\nend.">>,
0+                            {btree,<0.12159.38>,nil,
0+                             #Fun<couch_btree.3.83553141>,
0+                             #Fun<couch_btree.4.30790806>,
0+                             #Fun<couch_view.less_json_ids.2>,
0+                             #Fun<couch_view_group.10.120246376>},
0+                            [{<<"_temp">>,
0+                              <<"fun(Keys, Values, ReReduce) -> _sum(Values) end.">>}],
0+                            []}],
0+                          {btree,<0.12159.38>,nil,
0+                           #Fun<couch_btree.0.83553141>,
0+                           #Fun<couch_btree.1.30790806>,
0+                           #Fun<couch_btree.2.124754102>,nil},
0+                          176,0,nil,nil},
0+                         <0.12161.38>,nil,true,
0+                         [{{<0.12098.38>,#Ref<0.0.68.235511>},189}],
0+                         <0.12162.38>}
0+** Reason for termination ==
0+** {{try_clause,{'EXIT',{{unbound_var,'_sum'},[{erl_eval,expr,2}]}}},
0+    [{couch_query_servers,os_reduce,3},
0+     {couch_query_servers,reduce,3},
0+     {couch_view_group,'-init_group/4-fun-0-',4},
0+     {couch_btree,'-write_node/3-lc$^0/1-0-',3},
0+     {couch_btree,write_node,3},
0+     {couch_btree,modify_node,4},
0+     {couch_btree,query_modify,4},
0+     {couch_btree,add_remove,3}]}
0+
0+
0+[Thu, 29 Apr 2010 01:22:01 GMT] [error] [<0.12158.38>] {error_report,<0.29.0>,
0+    {<0.12158.38>,crash_report,
0+     [[{pid,<0.12158.38>},
0+       {registered_name,[]},
0+       {error_info,
0+           {exit,
0+               {{try_clause,
0+                    {'EXIT',{{unbound_var,'_sum'},[{erl_eval,expr,2}]}}},
0+                [{couch_query_servers,os_reduce,3},
0+                 {couch_query_servers,reduce,3},
0+                 {couch_view_group,'-init_group/4-fun-0-',4},
0+                 {couch_btree,'-write_node/3-lc$^0/1-0-',3},
0+                 {couch_btree,write_node,3},
0+                 {couch_btree,modify_node,4},
0+                 {couch_btree,query_modify,4},
0+                 {couch_btree,add_remove,3}]},
0+               [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
0+       {initial_call,{couch_view_group,init,['Argument__1']}},
0+       {ancestors,
0+           [couch_view,couch_secondary_services,couch_server_sup,<0.30.0>]},
0+       {messages,[]},
0+       {links,[<0.12159.38>,<0.28783.2>]},
0+       {dictionary,[]},
0+       {trap_exit,true},
0+       {status,running},
0+       {heap_size,10946},
0+       {stack_size,23},
0+       {reductions,2648}],
0+      [{neighbour,
0+           [{pid,<0.12162.38>},
0+            {registered_name,[]},
0+            {initial_call,{couch_ref_counter,init,['Argument__1']}},
0+            {current_function,{gen_server,loop,6}},
0+            {ancestors,
0+                [<0.12158.38>,couch_view,couch_secondary_services,
0+                 couch_server_sup,<0.30.0>]},
0+            {messages,[]},
0+            {links,[<0.12159.38>]},
0+            {dictionary,[]},
0+            {trap_exit,false},
0+            {status,waiting},
0+            {heap_size,233},
0+            {stack_size,9},
0+            {reductions,54}]},
0+       {neighbour,
0+           [{pid,<0.12159.38>},
0+            {registered_name,[]},
0+            {initial_call,{couch_file,init,['Argument__1']}},
0+            {current_function,{gen_server,loop,6}},
0+            {ancestors,
0+                [<0.12158.38>,couch_view,couch_secondary_services,
0+                 couch_server_sup,<0.30.0>]},
0+            {messages,[]},
0+            {links,[<0.12158.38>,<0.12162.38>,#Port<0.33658>]},
0+            {dictionary,[]},
0+            {trap_exit,false},
0+            {status,waiting},
0+            {heap_size,610},
0+            {stack_size,9},
0+            {reductions,1847}]}]]}}
0+
0+[Thu, 29 Apr 2010 01:22:01 GMT] [error] [<0.12098.38>] {error_report,<0.29.0>,
0+    {<0.12098.38>,crash_report,
0+     [[{pid,<0.12098.38>},
0+       {registered_name,[]},
0+       {error_info,
0+           {error,badarg,
0+               [{erlang,list_to_binary,
0+                    [[{couch_query_servers,os_reduce,3},
0+                      {couch_query_servers,reduce,3},
0+                      {couch_view_group,'-init_group/4-fun-0-',4},
0+                      {couch_btree,'-write_node/3-lc$^0/1-0-',3},
0+                      {couch_btree,write_node,3},
0+                      {couch_btree,modify_node,4},
0+                      {couch_btree,query_modify,4},
0+                      {couch_btree,add_remove,3}]]},
0+                {couch_httpd,error_info,1},
0+                {couch_httpd,send_error,2},
0+                {couch_httpd,handle_request_int,5},
0+                {mochiweb_http,headers,5},
0+                {proc_lib,init_p_do_apply,3}]}},
0+       {initial_call,{mochiweb_socket_server,acceptor_loop,['Argument__1']}},
0+       {ancestors,
0+           [couch_httpd,couch_secondary_services,couch_server_sup,<0.30.0>]},
0+       {messages,[]},
0+       {links,[<0.28791.2>,#Port<0.33656>]},
0+       {dictionary,
0+           [{mochiweb_request_body,
0+                <<"{\"language\":\"erlang\",\"map\":\"fun({Doc}) ->\\u000a  {value, {_, Type}} = lists:keysearch(<<\\\"type\\\">>, 1, Doc),  \\u000a  case Type of\\u000a    <<\\\"energy\\\">> -> \\u000a      {value, {_, Uuid}} = lists:keysearch(<<\\\"uuid\\\">>, 1, Doc),\\u000a      {value, {_, Date}} = lists:keysearch(<<\\\"date\\\">>, 1, Doc),\\u000a      {value, {_, Total}} = lists:keysearch(<<\\\"total\\\">>, 1, Doc),\\u000a      Emit([Uuid, Date], Total);\\u000a    _ ->\\u000a      ok\\u000a  end\\u000aend.\",\"reduce\":\"fun(Keys, Values, ReReduce) -> _sum(Values) end.\"}">>},
0+            {mochiweb_request_qs,
0+                [{"limit","11"},{"descending","true"},{"group","true"}]},
0+            {mochiweb_request_recv,true},
0+            {mochiweb_request_cookie,[]}]},
0+       {trap_exit,false},
0+       {status,running},
0+       {heap_size,6765},
0+       {stack_size,23},
0+       {reductions,12822}],
0+      []]}}
0+
0+[Thu, 29 Apr 2010 01:22:01 GMT] [error] [<0.28791.2>] {error_report,<0.29.0>,
0+              {<0.28791.2>,std_error,
0+               {mochiweb_socket_server,235,{child_error,badarg}}}}
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
--- Revision None
+++ Revision 666438353537
@@ -0,0 +1,243 @@
+BELOW IS A CRASH REPORT FOR VIEW WITH REDUCE FUNCTION IN ERLANG: fun(Keys, Values, ReReduce) -> _sum(Values) end.
+
+
+[Thu, 29 Apr 2010 01:22:01 GMT] [error] [emulator] Error in process <0.12166.38> with exit value: {{try_clause,{'EXIT',{{unbound_var,'_sum'},[{erl_eval,expr,2}]}}},[{couch_query_servers,os_reduce,3},{couch_query_servers,reduce,3},{couch_view_group,'-init_group/4-fun-0-',4},{couch_btree,'-write_node/3-lc$^0/1-0-',3},{couch_btree...
+
+
+
+[Thu, 29 Apr 2010 01:22:01 GMT] [info] [<0.12158.38>] checkpointing view update at seq 150 for tempdata _temp
+
+[Thu, 29 Apr 2010 01:22:01 GMT] [info] [<0.12158.38>] checkpointing view update at seq 153 for tempdata _temp
+
+[Thu, 29 Apr 2010 01:22:01 GMT] [info] [<0.12158.38>] checkpointing view update at seq 161 for tempdata _temp
+
+[Thu, 29 Apr 2010 01:22:01 GMT] [info] [<0.12158.38>] checkpointing view update at seq 167 for tempdata _temp
+
+[Thu, 29 Apr 2010 01:22:01 GMT] [info] [<0.12158.38>] checkpointing view update at seq 168 for tempdata _temp
+
+[Thu, 29 Apr 2010 01:22:01 GMT] [info] [<0.12158.38>] checkpointing view update at seq 175 for tempdata _temp
+
+[Thu, 29 Apr 2010 01:22:01 GMT] [info] [<0.12158.38>] checkpointing view update at seq 176 for tempdata _temp
+
+[Thu, 29 Apr 2010 01:22:01 GMT] [error] [<0.12158.38>] ** Generic server <0.12158.38> terminating
+** Last message in was {'EXIT',<0.12161.38>,
+ {{try_clause,
+ {'EXIT',
+ {{unbound_var,'_sum'},
+ [{erl_eval,expr,2}]}}},
+ [{couch_query_servers,os_reduce,3},
+ {couch_query_servers,reduce,3},
+ {couch_view_group,'-init_group/4-fun-0-',4},
+ {couch_btree,'-write_node/3-lc$^0/1-0-',3},
+ {couch_btree,write_node,3},
+ {couch_btree,modify_node,4},
+ {couch_btree,query_modify,4},
+ {couch_btree,add_remove,3}]}}
+** When Server state == {group_state,undefined,<<"tempdata">>,
+ {"/mnt/couchdb/data",<<"tempdata">>,
+ {group,
+ <<95,131,85,117,11,99,155,177,22,197,26,94,189,249,
+ 160,118>>,
+ {db,<0.27983.35>,<0.27984.35>,nil,
+ <<"1272427771104168">>,<0.27981.35>,<0.27985.35>,
+ {db_header,5,189,0,
+ {755854,{5,67}},
+ {758012,72},
+ nil,0,nil,nil,1000},
+ 189,
+ {btree,<0.27981.35>,
+ {755854,{5,67}},
+ #Fun<couch_db_updater.7.132302543>,
+ #Fun<couch_db_updater.8.107957134>,
+ #Fun<couch_btree.5.124754102>,
+ #Fun<couch_db_updater.9.46112288>},
+ {btree,<0.27981.35>,
+ {758012,72},
+ #Fun<couch_db_updater.10.19027664>,
+ #Fun<couch_db_updater.11.35033879>,
+ #Fun<couch_btree.5.124754102>,
+ #Fun<couch_db_updater.12.56344865>},
+ {btree,<0.27981.35>,nil,
+ #Fun<couch_btree.0.83553141>,
+ #Fun<couch_btree.1.30790806>,
+ #Fun<couch_btree.2.124754102>,nil},
+ 189,<<"tempdata">>,
+ "/mnt/couchdb/data/tempdata.couch",[],[],nil,
+ {user_ctx,null,[],undefined},
+ nil,1000,
+ [before_header,after_header,on_file_open]},
+ nil,<<"_temp">>,<<"erlang">>,[],
+ [{view,0,
+ [<<"_temp">>],
+ <<"fun({Doc}) ->\n {value, {_, Type}} = lists:keysearch(<<\"type\">>, 1, Doc), \n case Type of\n <<\"energy\">> -> \n {value, {_, Uuid}} = lists:keysearch(<<\"uuid\">>, 1, Doc),\n {value, {_, Date}} = lists:keysearch(<<\"date\">>, 1, Doc),\n {value, {_, Total}} = lists:keysearch(<<\"total\">>, 1, Doc),\n Emit([Uuid, Date], Total);\n _ ->\n ok\n end\nend.">>,
+ nil,
+ [{<<"_temp">>,
+ <<"fun(Keys, Values, ReReduce) -> _sum(Values) end.">>}],
+ []}],
+ nil,0,0,nil,nil}},
+ {group,
+ <<95,131,85,117,11,99,155,177,22,197,26,94,189,249,
+ 160,118>>,
+ {db,<0.27983.35>,<0.27984.35>,nil,
+ <<"1272427771104168">>,<0.27981.35>,<0.27985.35>,
+ {db_header,5,189,0,
+ {755854,{5,67}},
+ {758012,72},
+ nil,0,nil,nil,1000},
+ 189,
+ {btree,<0.27981.35>,
+ {755854,{5,67}},
+ #Fun<couch_db_updater.7.132302543>,
+ #Fun<couch_db_updater.8.107957134>,
+ #Fun<couch_btree.5.124754102>,
+ #Fun<couch_db_updater.9.46112288>},
+ {btree,<0.27981.35>,
+ {758012,72},
+ #Fun<couch_db_updater.10.19027664>,
+ #Fun<couch_db_updater.11.35033879>,
+ #Fun<couch_btree.5.124754102>,
+ #Fun<couch_db_updater.12.56344865>},
+ {btree,<0.27981.35>,nil,
+ #Fun<couch_btree.0.83553141>,
+ #Fun<couch_btree.1.30790806>,
+ #Fun<couch_btree.2.124754102>,nil},
+ 189,<<"tempdata">>,
+ "/mnt/couchdb/data/tempdata.couch",[],[],nil,
+ {user_ctx,null,[],undefined},
+ nil,1000,
+ [before_header,after_header,on_file_open]},
+ <0.12159.38>,<<"_temp">>,<<"erlang">>,[],
+ [{view,0,
+ [<<"_temp">>],
+ <<"fun({Doc}) ->\n {value, {_, Type}} = lists:keysearch(<<\"type\">>, 1, Doc), \n case Type of\n <<\"energy\">> -> \n {value, {_, Uuid}} = lists:keysearch(<<\"uuid\">>, 1, Doc),\n {value, {_, Date}} = lists:keysearch(<<\"date\">>, 1, Doc),\n {value, {_, Total}} = lists:keysearch(<<\"total\">>, 1, Doc),\n Emit([Uuid, Date], Total);\n _ ->\n ok\n end\nend.">>,
+ {btree,<0.12159.38>,nil,
+ #Fun<couch_btree.3.83553141>,
+ #Fun<couch_btree.4.30790806>,
+ #Fun<couch_view.less_json_ids.2>,
+ #Fun<couch_view_group.10.120246376>},
+ [{<<"_temp">>,
+ <<"fun(Keys, Values, ReReduce) -> _sum(Values) end.">>}],
+ []}],
+ {btree,<0.12159.38>,nil,
+ #Fun<couch_btree.0.83553141>,
+ #Fun<couch_btree.1.30790806>,
+ #Fun<couch_btree.2.124754102>,nil},
+ 176,0,nil,nil},
+ <0.12161.38>,nil,true,
+ [{{<0.12098.38>,#Ref<0.0.68.235511>},189}],
+ <0.12162.38>}
+** Reason for termination ==
+** {{try_clause,{'EXIT',{{unbound_var,'_sum'},[{erl_eval,expr,2}]}}},
+ [{couch_query_servers,os_reduce,3},
+ {couch_query_servers,reduce,3},
+ {couch_view_group,'-init_group/4-fun-0-',4},
+ {couch_btree,'-write_node/3-lc$^0/1-0-',3},
+ {couch_btree,write_node,3},
+ {couch_btree,modify_node,4},
+ {couch_btree,query_modify,4},
+ {couch_btree,add_remove,3}]}
+
+
+[Thu, 29 Apr 2010 01:22:01 GMT] [error] [<0.12158.38>] {error_report,<0.29.0>,
+ {<0.12158.38>,crash_report,
+ [[{pid,<0.12158.38>},
+ {registered_name,[]},
+ {error_info,
+ {exit,
+ {{try_clause,
+ {'EXIT',{{unbound_var,'_sum'},[{erl_eval,expr,2}]}}},
+ [{couch_query_servers,os_reduce,3},
+ {couch_query_servers,reduce,3},
+ {couch_view_group,'-init_group/4-fun-0-',4},
+ {couch_btree,'-write_node/3-lc$^0/1-0-',3},
+ {couch_btree,write_node,3},
+ {couch_btree,modify_node,4},
+ {couch_btree,query_modify,4},
+ {couch_btree,add_remove,3}]},
+ [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
+ {initial_call,{couch_view_group,init,['Argument__1']}},
+ {ancestors,
+ [couch_view,couch_secondary_services,couch_server_sup,<0.30.0>]},
+ {messages,[]},
+ {links,[<0.12159.38>,<0.28783.2>]},
+ {dictionary,[]},
+ {trap_exit,true},
+ {status,running},
+ {heap_size,10946},
+ {stack_size,23},
+ {reductions,2648}],
+ [{neighbour,
+ [{pid,<0.12162.38>},
+ {registered_name,[]},
+ {initial_call,{couch_ref_counter,init,['Argument__1']}},
+ {current_function,{gen_server,loop,6}},
+ {ancestors,
+ [<0.12158.38>,couch_view,couch_secondary_services,
+ couch_server_sup,<0.30.0>]},
+ {messages,[]},
+ {links,[<0.12159.38>]},
+ {dictionary,[]},
+ {trap_exit,false},
+ {status,waiting},
+ {heap_size,233},
+ {stack_size,9},
+ {reductions,54}]},
+ {neighbour,
+ [{pid,<0.12159.38>},
+ {registered_name,[]},
+ {initial_call,{couch_file,init,['Argument__1']}},
+ {current_function,{gen_server,loop,6}},
+ {ancestors,
+ [<0.12158.38>,couch_view,couch_secondary_services,
+ couch_server_sup,<0.30.0>]},
+ {messages,[]},
+ {links,[<0.12158.38>,<0.12162.38>,#Port<0.33658>]},
+ {dictionary,[]},
+ {trap_exit,false},
+ {status,waiting},
+ {heap_size,610},
+ {stack_size,9},
+ {reductions,1847}]}]]}}
+
+[Thu, 29 Apr 2010 01:22:01 GMT] [error] [<0.12098.38>] {error_report,<0.29.0>,
+ {<0.12098.38>,crash_report,
+ [[{pid,<0.12098.38>},
+ {registered_name,[]},
+ {error_info,
+ {error,badarg,
+ [{erlang,list_to_binary,
+ [[{couch_query_servers,os_reduce,3},
+ {couch_query_servers,reduce,3},
+ {couch_view_group,'-init_group/4-fun-0-',4},
+ {couch_btree,'-write_node/3-lc$^0/1-0-',3},
+ {couch_btree,write_node,3},
+ {couch_btree,modify_node,4},
+ {couch_btree,query_modify,4},
+ {couch_btree,add_remove,3}]]},
+ {couch_httpd,error_info,1},
+ {couch_httpd,send_error,2},
+ {couch_httpd,handle_request_int,5},
+ {mochiweb_http,headers,5},
+ {proc_lib,init_p_do_apply,3}]}},
+ {initial_call,{mochiweb_socket_server,acceptor_loop,['Argument__1']}},
+ {ancestors,
+ [couch_httpd,couch_secondary_services,couch_server_sup,<0.30.0>]},
+ {messages,[]},
+ {links,[<0.28791.2>,#Port<0.33656>]},
+ {dictionary,
+ [{mochiweb_request_body,
+ <<"{\"language\":\"erlang\",\"map\":\"fun({Doc}) ->\\u000a {value, {_, Type}} = lists:keysearch(<<\\\"type\\\">>, 1, Doc), \\u000a case Type of\\u000a <<\\\"energy\\\">> -> \\u000a {value, {_, Uuid}} = lists:keysearch(<<\\\"uuid\\\">>, 1, Doc),\\u000a {value, {_, Date}} = lists:keysearch(<<\\\"date\\\">>, 1, Doc),\\u000a {value, {_, Total}} = lists:keysearch(<<\\\"total\\\">>, 1, Doc),\\u000a Emit([Uuid, Date], Total);\\u000a _ ->\\u000a ok\\u000a end\\u000aend.\",\"reduce\":\"fun(Keys, Values, ReReduce) -> _sum(Values) end.\"}">>},
+ {mochiweb_request_qs,
+ [{"limit","11"},{"descending","true"},{"group","true"}]},
+ {mochiweb_request_recv,true},
+ {mochiweb_request_cookie,[]}]},
+ {trap_exit,false},
+ {status,running},
+ {heap_size,6765},
+ {stack_size,23},
+ {reductions,12822}],
+ []]}}
+
+[Thu, 29 Apr 2010 01:22:01 GMT] [error] [<0.28791.2>] {error_report,<0.29.0>,
+ {<0.28791.2>,std_error,
+ {mochiweb_socket_server,235,{child_error,badarg}}}}