{"action":"created","issue":{"url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/issues/588","labels_url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/issues/588/labels{/name}","comments_url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/issues/588/comments","events_url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/issues/588/events","html_url":"https://github.com/couchbase/couchbase-lite-ios/issues/588","id":57004715,"number":588,"title":"[ForestDB] Crash when running view query","user":{"login":"nl","id":35510,"avatar_url":"https://avatars.githubusercontent.com/u/35510?v=3","gravatar_id":"","url":"https://api.github.com/users/nl","html_url":"https://github.com/nl","followers_url":"https://api.github.com/users/nl/followers","following_url":"https://api.github.com/users/nl/following{/other_user}","gists_url":"https://api.github.com/users/nl/gists{/gist_id}","starred_url":"https://api.github.com/users/nl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nl/subscriptions","organizations_url":"https://api.github.com/users/nl/orgs","repos_url":"https://api.github.com/users/nl/repos","events_url":"https://api.github.com/users/nl/events{/privacy}","received_events_url":"https://api.github.com/users/nl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-09T09:08:46Z","updated_at":"2015-02-09T17:51:25Z","closed_at":null,"body":"Using forestdb, this crash (https://gist.github.com/nl/6785bd2a1432e9fe9745) happens every time I call a query (https://gist.github.com/nl/6537fbcde93fca03611d) on this view (https://gist.github.com/nl/c300772599d7816c10f5)."},"comment":{"url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/issues/comments/73555232","html_url":"https://github.com/couchbase/couchbase-lite-ios/issues/588#issuecomment-73555232","issue_url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/issues/588","id":73555232,"user":{"login":"snej","id":43241,"avatar_url":"https://avatars.githubusercontent.com/u/43241?v=3","gravatar_id":"","url":"https://api.github.com/users/snej","html_url":"https://github.com/snej","followers_url":"https://api.github.com/users/snej/followers","following_url":"https://api.github.com/users/snej/following{/other_user}","gists_url":"https://api.github.com/users/snej/gists{/gist_id}","starred_url":"https://api.github.com/users/snej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snej/subscriptions","organizations_url":"https://api.github.com/users/snej/orgs","repos_url":"https://api.github.com/users/snej/repos","events_url":"https://api.github.com/users/snej/events{/privacy}","received_events_url":"https://api.github.com/users/snej/received_events","type":"User","site_admin":false},"created_at":"2015-02-09T17:51:25Z","updated_at":"2015-02-09T17:51:25Z","body":"```\r\nException Type:        EXC_BAD_ACCESS (SIGSEGV)\r\nException Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000\r\n \r\nVM Regions Near 0:\r\n--> \r\n    __TEXT                 0000000100878000-00000001008e9000 [  452K] r-x/rwx SM=COW  /Users/USER/Desktop/Scraper.app/Contents/MacOS/Scraper\r\n \r\nThread 0 Crashed:: Dispatch queue: com.apple.main-thread\r\n0   com.couchbase.CouchbaseLite   \t0x000000010104d2b4 forestdb::KeyStore::lastSequence() const + 20\r\n1   com.couchbase.CouchbaseLite   \t0x0000000101054eeb forestdb::MapReduceIndex::readState() + 43\r\n2   com.couchbase.CouchbaseLite   \t0x0000000101055f70 forestdb::MapReduceIndex::setup(forestdb::Transaction&, int, forestdb::MapFn*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) + 528\r\n3   com.couchbase.CouchbaseLite   \t0x0000000100fcd5b0 -[CBL_ForestDBViewStorage setupIndex] + 608\r\n4   com.couchbase.CouchbaseLite   \t0x0000000100fcd9da -[CBL_ForestDBViewStorage updateIndexes:] + 842\r\n5   com.couchbase.CouchbaseLite   \t0x0000000100f9f6f7 -[CBLView updateIndexes:] + 119\r\n6   com.couchbase.CouchbaseLite   \t0x0000000100f9f56d -[CBLView updateIndex] + 93\r\n```\r\n"}}