Hi. I have no knowledge of erlang unfortunately. But recently I started using couchdb.<div><br></div><div>I have asked the same question in couchdb mailing list but not answer. Also I have seen similar error outputs on the web mentioning it is erlang bug, so I guessed it might be as well.</div>
<div><br></div><div>My environment</div><div>MacOSX 10.6 SnowLeopard</div><div>Python2.7.3</div><div>virtualenv latest </div><div><br></div><div>I have performed a python code </div><div><a href="https://github.com/ptwobrussell/Mining-the-Social-Web/blob/master/python_code/the_tweet__count_entities_in_tweets.py">https://github.com/ptwobrussell/Mining-the-Social-Web/blob/master/python_code/the_tweet__count_entities_in_tweets.py</a><br>
</div><div>for couchdb, and it gave a long error message</div><div>Since it is too long, I have omitted a large portion of it. If you need to see the full message, please let me know.</div><div><br></div><div>Do you think it's a bug in erlang?</div>
<div><br></div><div>soichi</div><div><br></div><div>the error starts here </div><div><br></div><div><div>=CRASH REPORT==== 10-Dec-2012::19:39:43 ===</div><div> crasher:</div><div> initial call: couch_os_process:init/1</div>
<div> pid: <0.186.0></div><div> registered_name: []</div><div> exception exit: {function_clause,</div><div> [{couch_os_process,handle_info,</div><div> [{#Port<0.2608>,{data,{eol,<<"[[]]">>}}},</div>
<div> {os_proc,</div><div> "/Users/soichi/domains/py27/bin/couchpy",</div><div> #Port<0.2608>,</div><div> #Fun<couch_os_process.2.55582190>,</div>
<div> #Fun<couch_os_process.3.55582190>,5000}],</div><div> [{file,"couch_os_process.erl"},{line,207}]},</div><div> {gen_server,handle_msg,5,</div>
<div> [{file,"gen_server.erl"},{line,607}]},</div><div> {proc_lib,init_p_do_apply,3,</div><div> [{file,"proc_lib.erl"},{line,227}]}]}</div>
<div> in function gen_server:terminate/6 (gen_server.erl, line 747)</div><div> ancestors: [couch_query_servers,couch_secondary_services,</div><div> couch_server_sup,<0.31.0>]</div><div> messages: []</div>
<div> links: [<0.185.0>]</div><div> dictionary: []</div><div> trap_exit: false</div><div> status: running</div><div> heap_size: 2584</div><div> stack_size: 24</div><div> reductions: 2868</div><div>
neighbours:</div><div> neighbour: [{pid,<0.184.0>},</div><div> {registered_name,[]},</div><div> {initial_call,{couch_work_queue,init,['Argument__1']}},</div><div> {current_function,{gen_server,loop,6}},</div>
<div> {ancestors,[<0.182.0>]},</div><div> {messages,[]},</div><div> {links,[<0.182.0>]},</div><div> {dictionary,[]},</div><div> {trap_exit,false},</div>
<div> {status,waiting},</div><div> {heap_size,233},</div><div> {stack_size,9},</div><div> {reductions,37}]</div><div> neighbour: [{pid,<0.188.0>},</div>
<div> {registered_name,[]},</div><div> {initial_call,{erlang,apply,2}},</div><div> {current_function,{gen,do_call,4}},</div><div> {ancestors,[]},</div><div>
{messages,[]},</div><div> {links,[<0.182.0>]},</div><div> {dictionary,</div><div> [{task_status_props,</div><div> [{changes_done,0},</div>
<div> {database,<<"tweets-user-timeline-ikedanob">>},</div><div> {design_document,<<"_design/index">>},</div><div> {progress,0},</div>
<div> {started_on,1355135983},</div><div> {total_changes,106},</div><div> {type,indexer},</div><div> {updated_on,1355135983}]},</div>
<div> {task_status_update,{{0,0,0},500000}}]},</div></div><div><br></div><div>.... omitted...</div><div><br></div><div><div>=CRASH REPORT==== 10-Dec-2012::19:26:32 ===</div><div> crasher:</div><div>
initial call: couch_file:init/1</div><div> pid: <0.1184.0></div><div> registered_name: []</div><div> exception exit: {function_clause,</div><div> [{couch_os_process,handle_info,</div>
<div> [{#Port<0.2717>,{data,{eol,<<"[[]]">>}}},</div><div> {os_proc,</div><div> "/Users/soichi/domains/py27/bin/couchpy",</div>
<div> #Port<0.2717>,</div><div> #Fun<couch_os_process.2.55582190>,</div><div> #Fun<couch_os_process.3.55582190>,5000}],</div>
<div> [{file,"couch_os_process.erl"},{line,207}]},</div><div> {gen_server,handle_msg,5,</div><div> [{file,"gen_server.erl"},{line,607}]},</div>
<div> {proc_lib,init_p_do_apply,3,</div><div> [{file,"proc_lib.erl"},{line,227}]}]}</div><div> in function gen_server:terminate/6 (gen_server.erl, line 747)</div>
<div> ancestors: [<0.1183.0>,<0.1182.0>]</div><div> messages: [{'EXIT',<0.1186.0>,shutdown}]</div><div> links: []</div><div> dictionary: []</div><div> trap_exit: true</div><div> status: running</div>
<div> heap_size: 987</div><div> stack_size: 24</div><div> reductions: 1164</div><div> neighbours:</div></div>