[ https://issues.apache.org/jira/browse/COUCHDB-893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13076255#comment-13076255 ] Seth Falcon commented on COUCHDB-893: ------------------------------------- I believe that I am encountering this bug as well using couch with a few custom patches on top of https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1064855 In my case the bad document is ~3MB of properly formed JSON. Putting the document into a fresh database and creating a trivial map function triggers the error as described in this ticket. I'm unable to share the document, but may be able to create a sanitized version that repro's the error. I'm surprised this bug has not received more attention since there is a repro case provided and essentially it means you can break a couch db by adding a magic JSON file. > Error: os_process_error {exit_status,0} when rendering view on 17 mb doc, couchapp and data attached > ------------------------------------------------------------------------------------------------------- > > Key: COUCHDB-893 > URL: https://issues.apache.org/jira/browse/COUCHDB-893 > Project: CouchDB > Issue Type: Bug > Affects Versions: 1.0.1 > Environment: I repeated this on windows and linux (64 bit) > Reporter: Michael Schneider > Attachments: bugdoc.tar.gz > > > I have a large set of documents that I harvesting data from. All docs < 9mb render fine (with doc size increased) > Attached is a simple couchapp and one doc. > To reproduce, untar and: > reproduce > 1) untar file > 2) cd bugdoc/couchapp/bugreport > 3) couchapp push bugreport > 4) cd bugdoc > 5) python submitbadjson.py > open url http://127.0.0.1:5984/_utils/database.html?bugreport/_design/bugreport/_view/buggy > You should see a popup > "(Error: os_process_error > {exit_status,0}) > " -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira