Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 89760 invoked from network); 4 Mar 2010 16:03:58 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 Mar 2010 16:03:58 -0000 Received: (qmail 90956 invoked by uid 500); 4 Mar 2010 16:03:46 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 90923 invoked by uid 500); 4 Mar 2010 16:03:46 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 90915 invoked by uid 99); 4 Mar 2010 16:03:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Mar 2010 16:03:46 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=NORMAL_HTTP_TO_IP,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of couchdb@lechat.org designates 213.41.185.67 as permitted sender) Received: from [213.41.185.67] (HELO base.lechat.org) (213.41.185.67) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Mar 2010 16:03:38 +0000 Received: from [127.0.0.1] (localhost [127.0.0.1]) (authenticated bits=0) by base.lechat.org (8.14.4/8.14.3) with ESMTP id o24G5ujN077531 for ; Thu, 4 Mar 2010 17:05:58 +0100 (CET) (envelope-from couchdb@lechat.org) Message-ID: <4B8FD986.5030602@lechat.org> Date: Thu, 04 Mar 2010 17:02:14 +0100 From: zecat Reply-To: couchdb@lechat.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 MIME-Version: 1.0 To: user@couchdb.apache.org Subject: Crash on _temp_view request on W2003 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on base.lechat.org X-Old-Spam-Status: No, score=-20.0 required=4.0 tests=ALL_TRUSTED,AWL,BAYES_00, NORMAL_HTTP_TO_IP,WEIRD_PORT autolearn=no version=3.2.5 Hi ! Installing a couchDB windows binary snapshot build 0.11.0b897093 on Windows Server 2003 R2 works well for basic operation PUT/GET.... But when tryning to use for testing purpose 'temporary view' from futon (or with curl) with basic map : function(doc) { emit(null, doc); } I got an error as below : ------------------------------------------------- couch.log is : [Thu, 04 Mar 2010 15:50:30 GMT] [info] [<0.33.0>] Apache CouchDB has started on http://0.0.0.0:5984/ [Thu, 04 Mar 2010 15:50:32 GMT] [error] [<0.123.0>] {error_report,<0.32.0>, {<0.123.0>,crash_report, [[{initial_call,{couch_os_process,init,['Argument__1']}}, {pid,<0.123.0>}, {registered_name,[]}, {error_info, {exit, {enoent, [{erlang,open_port, [{spawn, "c:/PROGRA~1/Apache Software Foundation/CouchDB/lib/couch-0.11.0b916031/priv/couchspawnkillable ./couchjs.exe ../share/couchdb/server/main.js"}, [stream,{line,1024},binary,exit_status,hide]]}, {couch_os_process,init,1}, {gen_server,init_it,6}, {proc_lib,init_p_do_apply,3}]}, [{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]}}, {ancestors, [couch_query_servers,couch_secondary_services,couch_server_sup, <0.33.0>]}, {messages,[]}, {links,[<0.92.0>]}, {dictionary,[]}, {trap_exit,false}, {status,running}, {heap_size,610}, {stack_size,24}, {reductions,241}], []]}} [Thu, 04 Mar 2010 15:50:32 GMT] [error] [emulator] Error in process <0.121.0> with exit value: {{nocatch,{'EXIT',{{badmatch,{error,{enoent,[{erlang,open_port,[{spawn,"c:/PROGRA~1/Apache Software Foundation/CouchDB/lib/couch-0.11.0b916031/priv/couchspawnkillable ./couchjs.exe ../share/couchdb/serv... [Thu, 04 Mar 2010 15:50:32 GMT] [error] [<0.92.0>] ** Generic server couch_query_servers terminating ** Last message in was {'EXIT',<0.123.0>, {enoent, [{erlang,open_port, [{spawn, "c:/PROGRA~1/Apache Software Foundation/CouchDB/lib/couch-0.11.0b916031/priv/couchspawnkillable ./couchjs.exe ../share/couchdb/server/main.js"}, [stream,{line,1024},binary,exit_status,hide]]}, {couch_os_process,init,1}, {gen_server,init_it,6}, {proc_lib,init_p_do_apply,3}]}} ** When Server state == {32804,36901,40998,45095} ** Reason for termination == ** {enoent,[{erlang,open_port, [{spawn,"c:/PROGRA~1/Apache Software Foundation/CouchDB/lib/couch-0.11.0b916031/priv/couchspawnkillable ./couchjs.exe ../share/couchdb/server/main.js"}, [stream,{line,1024},binary,exit_status,hide]]}, {couch_os_process,init,1}, {gen_server,init_it,6}, {proc_lib,init_p_do_apply,3}]} [Thu, 04 Mar 2010 15:50:32 GMT] [error] [<0.92.0>] {error_report,<0.32.0>, {<0.92.0>,crash_report, [[{initial_call,{couch_query_servers,init,['Argument__1']}}, {pid,<0.92.0>}, {registered_name,couch_query_servers}, {error_info, {exit, {enoent, [{erlang,open_port, [{spawn, "c:/PROGRA~1/Apache Software Foundation/CouchDB/lib/couch-0.11.0b916031/priv/couchspawnkillable ./couchjs.exe ../share/couchdb/server/main.js"}, [stream,{line,1024},binary,exit_status,hide]]}, {couch_os_process,init,1}, {gen_server,init_it,6}, {proc_lib,init_p_do_apply,3}]}, [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}}, {ancestors,[couch_secondary_services,couch_server_sup,<0.33.0>]}, {messages,[]}, {links,[<0.86.0>]}, {dictionary,[]}, {trap_exit,true}, {status,running}, {heap_size,987}, {stack_size,24}, {reductions,2394}], []]}} [Thu, 04 Mar 2010 15:50:32 GMT] [error] [<0.86.0>] {error_report,<0.32.0>, {<0.86.0>,supervisor_report, [{supervisor,{local,couch_secondary_services}}, {errorContext,child_terminated}, {reason, {enoent, [{erlang,open_port, [{spawn, "c:/PROGRA~1/Apache Software Foundation/CouchDB/lib/couch-0.11.0b916031/priv/couchspawnkillable ./couchjs.exe ../share/couchdb/server/main.js"}, [stream,{line,1024},binary,exit_status,hide]]}, {couch_os_process,init,1}, {gen_server,init_it,6}, {proc_lib,init_p_do_apply,3}]}}, {offender, [{pid,<0.92.0>}, {name,query_servers}, {mfa,{couch_query_servers,start_link,[]}}, {restart_type,permanent}, {shutdown,brutal_kill}, {child_type,worker}]}]}} [Thu, 04 Mar 2010 15:50:32 GMT] [error] [<0.114.0>] ** Generic server <0.114.0> terminating ** Last message in was {'EXIT',<0.117.0>, {{nocatch, {'EXIT', {{badmatch, {error, {enoent, [{erlang,open_port, [{spawn, "c:/PROGRA~1/Apache Software Foundation/CouchDB/lib/couch-0.11.0b916031/priv/couchspawnkillable ./couchjs.exe ../share/couchdb/server/main.js"}, [stream, {line,1024}, binary,exit_status,hide]]}, {couch_os_process,init,1}, {gen_server,init_it,6}, {proc_lib,init_p_do_apply,3}]}}}, [{couch_query_servers,new_process,2}, {couch_query_servers,handle_call,3}, {gen_server,handle_msg,5}, {proc_lib,init_p_do_apply,3}]}}}, [{couch_query_servers,get_os_process,1}, {couch_query_servers,start_doc_map,2}, {couch_view_updater,view_compute,2}, {couch_view_updater,do_maps,4}]}} ** When Server state == {group_state,undefined,<<"aimcloud">>, {"d:/www/couchDB/db",<<"aimcloud">>, {group, <<245,195,83,255,25,184,62,149,85,203,60,66,54,94, 118,249>>, {db,<0.110.0>,<0.111.0>,nil, <<"1267717832479000">>,<0.108.0>,<0.112.0>, {db_header,5,3,0, {37028,{3,0}}, {37318,3}, {33716,[]}, 0,nil,nil,1000}, 3, {btree,<0.108.0>, {37028,{3,0}}, #Fun, #Fun, #Fun, #Fun}, {btree,<0.108.0>, {37318,3}, #Fun, #Fun, #Fun, #Fun}, {btree,<0.108.0>, {33716,[]}, #Fun, #Fun, #Fun,nil}, 3,<<"aimcloud">>, "d:/www/couchDB/db/aimcloud.couch",[],[],nil, {user_ctx,null,[],undefined}, nil,1000, [before_header,after_header,on_file_open]}, nil,<<"_temp">>,<<"javascript">>,[], [{view,0, [<<"_temp">>], <<"function(doc) {\n emit(null, doc);\n}">>,nil, [],[]}], nil,0,0,nil,nil}}, {group, <<245,195,83,255,25,184,62,149,85,203,60,66,54,94, 118,249>>, {db,<0.110.0>,<0.111.0>,nil,<<"1267717832479000">>, <0.108.0>,<0.112.0>, {db_header,5,3,0, {37028,{3,0}}, {37318,3}, {33716,[]}, 0,nil,nil,1000}, 3, {btree,<0.108.0>, {37028,{3,0}}, #Fun, #Fun, #Fun, #Fun}, {btree,<0.108.0>, {37318,3}, #Fun, #Fun, #Fun, #Fun}, {btree,<0.108.0>, {33716,[]}, #Fun, #Fun, #Fun,nil}, 3,<<"aimcloud">>, "d:/www/couchDB/db/aimcloud.couch",[],[],nil, {user_ctx,null,[],undefined}, nil,1000, [before_header,after_header,on_file_open]}, <0.115.0>,<<"_temp">>,<<"javascript">>,[], [{view,0, [<<"_temp">>], <<"function(doc) {\n emit(null, doc);\n}">>, {btree,<0.115.0>,nil, #Fun, #Fun, #Fun, #Fun}, [],[]}], {btree,<0.115.0>,nil,#Fun, #Fun, #Fun,nil}, 0,0,nil,nil}, <0.117.0>,nil,false, [{{<0.97.0>,#Ref<0.0.0.212>},3}], <0.118.0>} ** Reason for termination == ** {'EXIT', {{badmatch, {error, {enoent, [{erlang,open_port, [{spawn, "c:/PROGRA~1/Apache Software Foundation/CouchDB/lib/couch-0.11.0b916031/priv/couchspawnkillable ./couchjs.exe ../share/couchdb/server/main.js"}, [stream,{line,1024},binary,exit_status,hide]]}, {couch_os_process,init,1}, {gen_server,init_it,6}, {proc_lib,init_p_do_apply,3}]}}}, [{couch_query_servers,new_process,2}, {couch_query_servers,handle_call,3}, {gen_server,handle_msg,5}, {proc_lib,init_p_do_apply,3}]}} [Thu, 04 Mar 2010 15:50:32 GMT] [error] [<0.114.0>] {error_report,<0.32.0>, {<0.114.0>,crash_report, [[{initial_call,{couch_view_group,init,['Argument__1']}}, {pid,<0.114.0>}, {registered_name,[]}, {error_info, {exit, {'EXIT', {{badmatch, {error, {enoent, [{erlang,open_port, [{spawn, "c:/PROGRA~1/Apache Software Foundation/CouchDB/lib/couch-0.11.0b916031/priv/couchspawnkillable ./couchjs.exe ../share/couchdb/server/main.js"}, [stream,{line,1024},binary,exit_status,hide]]}, {couch_os_process,init,1}, {gen_server,init_it,6}, {proc_lib,init_p_do_apply,3}]}}}, [{couch_query_servers,new_process,2}, {couch_query_servers,handle_call,3}, {gen_server,handle_msg,5}, {proc_lib,init_p_do_apply,3}]}}, [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}}, {ancestors, [couch_view,couch_secondary_services,couch_server_sup,<0.33.0>]}, {messages,[]}, {links,[<0.115.0>,<0.87.0>]}, {dictionary,[]}, {trap_exit,true}, {status,running}, {heap_size,1597}, {stack_size,24}, {reductions,453}], [{neighbour, [{pid,<0.118.0>}, {registered_name,[]}, {initial_call,{couch_ref_counter,init,['Argument__1']}}, {current_function,{gen_server,loop,6}}, {ancestors, [<0.114.0>,couch_view,couch_secondary_services,couch_server_sup, <0.33.0>]}, {messages,[]}, {links,[<0.115.0>]}, {dictionary,[]}, {trap_exit,false}, {status,waiting}, {heap_size,233}, {stack_size,9}, {reductions,47}]}, {neighbour, [{pid,<0.115.0>}, {registered_name,[]}, {initial_call,{couch_file,init,['Argument__1']}}, {current_function,{gen_server,loop,6}}, {ancestors, [<0.114.0>,couch_view,couch_secondary_services,couch_server_sup, <0.33.0>]}, {messages,[]}, {links,[<0.114.0>,<0.118.0>,#Port<0.3595>]}, {dictionary,[]}, {trap_exit,false}, {status,waiting}, {heap_size,377}, {stack_size,9}, {reductions,1334}]}]]}} [Thu, 04 Mar 2010 15:50:32 GMT] [info] [<0.97.0>] 127.0.0.1 - - 'POST' /aimcloud/_temp_view?limit=11&descending=true 500 -------------------- Precision : The same installation, with same binary on XP SP3 works as expected. Is anybody experimented the same trouble ? Do you have any suggestion ? Regards, Thierry