{"action":"opened","issue":{"url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/issues/1188","repository_url":"https://api.github.com/repos/couchbase/couchbase-lite-ios","labels_url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/issues/1188/labels{/name}","comments_url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/issues/1188/comments","events_url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/issues/1188/events","html_url":"https://github.com/couchbase/couchbase-lite-ios/issues/1188","id":144927567,"number":1188,"title":"CBForest bad memory access while purging doc","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},"labels":[{"url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/labels/bug","name":"bug","color":"e11d21"},{"url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/labels/crash!","name":"crash!","color":"e11d21"},{"url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/labels/forestdb","name":"forestdb","color":"009800"},{"url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/labels/hotfix","name":"hotfix","color":"0052cc"}],"state":"open","locked":false,"assignee":{"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},"milestone":{"url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/milestones/15","html_url":"https://github.com/couchbase/couchbase-lite-ios/milestones/1.3","labels_url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/milestones/15/labels","id":1348000,"number":15,"title":"1.3","description":"","creator":{"login":"zgramana","id":759830,"avatar_url":"https://avatars.githubusercontent.com/u/759830?v=3","gravatar_id":"","url":"https://api.github.com/users/zgramana","html_url":"https://github.com/zgramana","followers_url":"https://api.github.com/users/zgramana/followers","following_url":"https://api.github.com/users/zgramana/following{/other_user}","gists_url":"https://api.github.com/users/zgramana/gists{/gist_id}","starred_url":"https://api.github.com/users/zgramana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zgramana/subscriptions","organizations_url":"https://api.github.com/users/zgramana/orgs","repos_url":"https://api.github.com/users/zgramana/repos","events_url":"https://api.github.com/users/zgramana/events{/privacy}","received_events_url":"https://api.github.com/users/zgramana/received_events","type":"User","site_admin":false},"open_issues":30,"closed_issues":37,"state":"open","created_at":"2015-10-09T22:24:58Z","updated_at":"2016-03-31T15:03:09Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-03-31T15:03:09Z","updated_at":"2016-03-31T15:03:09Z","closed_at":null,"body":"The address sanitizer caught a bad memory access to a freed block, while CBForest was updating the metadata of a VersionedDocument during a c4doc_purge call. I'd never seen this before. It was easy to fix (commit a0bd4c15c0a29255098fd5e7a2b48de197062212, currently on the dev branch.)\r\n\r\nI'm retroactively filing this issue so we can track the fix, as it's definitely worth adding to any future minor update release."}}