incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastian Cohnen <sebastiancoh...@googlemail.com>
Subject Viewing a post with sofa makes couchjs crash
Date Sun, 28 Mar 2010 13:24:48 GMT
Hey list,

I tried out jchris' sofa today. I got the latest sofa version, did couchapp push . "http://basti:basti@localhost:5984/blog"
and everything seems to run just fine. When I try to access a newly created post via http://basti:basti@localhost:5984/blog/_design/sofa/_list/post/post-page?startkey=%5B%22test%22%5D,
I get  {"error":"os_process_error","reason":"{exit_status,139}"}.

What I've used:
CouchDB: 0.12.0a8fdcf15-git
Spidermonkey: JavaScript-C 1.8.0 pre-release 1 2007-10-03 (installed via homebrew)
sofa: http://github.com/jchris/sofa/commit/16092e86527b1c6cfb00507dab6befb6bf1de55c

make check and the browser test suite runs fine.


here is my CouchDB log:

[debug] [<0.8908.0>] OAuth Params: [{"startkey","[\"test\"]"}]
[debug] [<0.8908.0>] request_group {Pid, Seq} {<0.5122.0>,4}
[debug] [<0.8932.0>] DDocProc found for DDocKey: {<<"_design/sofa">>,
                             <<"3-3c63eaf29272f473f1a89c26a360d437">>}
[debug] [<0.8945.0>] OS Process #Port<0.30071> Input  :: ["reset",{"reduce_limit":true}]
[debug] [<0.8945.0>] OS Process #Port<0.30071> Output :: true
[debug] [<0.8945.0>] OS Process #Port<0.30071> Input  :: ["ddoc","_design/sofa",["lists","post"],[{"total_rows":1,"offset":0},{"info":{"db_name":"blog","doc_count":2,"doc_del_count":0,"update_seq":4,"purge_seq":0,"compact_running":false,"disk_size":409689,"instance_start_time":"1269778153786596","disk_format_version":5},"id":null,"method":"GET","path":["blog","_design","sofa","_list","post","post-page"],"query":{"startkey":["test"]},"headers":{"Accept":"application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5","Accept-Encoding":"gzip,
deflate","Accept-Language":"en-us","Connection":"keep-alive","Cookie":"AuthSession=","Host":"localhost:5984","Referer":"http://localhost:5984/blog/_design/sofa/_list/index/recent-posts?descending=true&limit=10","User-Agent":"Mozilla/5.0
(Macintosh; U; Intel Mac OS X 10_6_2; en-us) AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5
Safari/531.22.7"},"body":"undefined","peer":"127.0.0.1","form":{},"cookie":{"AuthSession":""},"userCtx":{"db":"blog","name":null,"roles":[]}}]]
[error] [<0.8908.0>] OS Process Error <0.8945.0> :: {os_process_error,{exit_status,139}}
[debug] [<0.8908.0>] Minor error in HTTP request: {os_process_error,{exit_status,139}}
[debug] [<0.8908.0>] Stacktrace: [{couch_os_process,prompt,2},
             {couch_httpd_show,start_list_resp,6},
             {couch_httpd_view,'-make_view_fold_fun/6-fun-0-',11},
             {couch_view,fold_fun,4},
             {couch_btree,stream_kv_node2,8},
             {couch_btree,fold,4},
             {couch_view,fold,4},
             {couch_httpd_show,'-output_map_list/8-fun-1-',10}]
[info] [<0.8908.0>] 127.0.0.1 - - 'GET' /blog/_design/sofa/_list/post/post-page?startkey=%5B%22test%22%5D
500
[debug] [<0.8908.0>] httpd 500 error response:
 {"error":"os_process_error","reason":"{exit_status,139}"}


Any ideas?

Sebastian
Mime
View raw message