{"action":"created","issue":{"url":"https://api.github.com/repos/realm/realm-cocoa/issues/1608","labels_url":"https://api.github.com/repos/realm/realm-cocoa/issues/1608/labels{/name}","comments_url":"https://api.github.com/repos/realm/realm-cocoa/issues/1608/comments","events_url":"https://api.github.com/repos/realm/realm-cocoa/issues/1608/events","html_url":"https://github.com/realm/realm-cocoa/issues/1608","id":60791583,"number":1608,"title":"Crashes with Realm 0.91.0","user":{"login":"anlaital","id":2168023,"avatar_url":"https://avatars.githubusercontent.com/u/2168023?v=3","gravatar_id":"","url":"https://api.github.com/users/anlaital","html_url":"https://github.com/anlaital","followers_url":"https://api.github.com/users/anlaital/followers","following_url":"https://api.github.com/users/anlaital/following{/other_user}","gists_url":"https://api.github.com/users/anlaital/gists{/gist_id}","starred_url":"https://api.github.com/users/anlaital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anlaital/subscriptions","organizations_url":"https://api.github.com/users/anlaital/orgs","repos_url":"https://api.github.com/users/anlaital/repos","events_url":"https://api.github.com/users/anlaital/events{/privacy}","received_events_url":"https://api.github.com/users/anlaital/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-12T09:30:59Z","updated_at":"2015-03-12T09:55:12Z","closed_at":null,"body":"There seems to have been some regression with the latest Realm (0.91.0) release compared to 0.90.6. I'm getting crashes quite easily now even without encryption enabled. This happens in both release and debug builds.\r\n\r\n```\r\n// Check which file descriptor had activity: if it's the shutdown\r\n// pipe, then someone called -stop; otherwise it's the named pipe\r\n// and someone committed a write transaction\r\nif (event.ident == (uint32_t)_shutdownReadFd) {\r\n    CFRunLoopSourceInvalidate(signal); // This causes the crash with EXC_BAD_ACCESS\r\n    CFRelease(_runLoop);\r\n    return;\r\n}\r\n```\r\n\r\nCall stack from crash report:\r\n\r\n```\r\nThread : Crashed: com.apple.root.default-qos\r\n0  libobjc.A.dylib                0x0000000196e9bbdc objc_msgSend + 28\r\n1  CoreFoundation                 0x0000000186693b68 CFRunLoopSourceInvalidate + 96\r\n2  *                           0x00000001002a2868 -[RLMNotifier listen] (RLMRealmUtil.mm:258)\r\n3  libdispatch.dylib              0x00000001974cd3ac _dispatch_call_block_and_release + 24\r\n4  libdispatch.dylib              0x00000001974cd36c _dispatch_client_callout + 16\r\n5  libdispatch.dylib              0x00000001974d940c _dispatch_root_queue_drain + 1152\r\n6  libdispatch.dylib              0x00000001974da75c _dispatch_worker_thread3 + 108\r\n7  libsystem_pthread.dylib        0x00000001976a92e4 _pthread_wqthread + 816\r\n```"},"comment":{"url":"https://api.github.com/repos/realm/realm-cocoa/issues/comments/78451043","html_url":"https://github.com/realm/realm-cocoa/issues/1608#issuecomment-78451043","issue_url":"https://api.github.com/repos/realm/realm-cocoa/issues/1608","id":78451043,"user":{"login":"bigfish24","id":1036685,"avatar_url":"https://avatars.githubusercontent.com/u/1036685?v=3","gravatar_id":"","url":"https://api.github.com/users/bigfish24","html_url":"https://github.com/bigfish24","followers_url":"https://api.github.com/users/bigfish24/followers","following_url":"https://api.github.com/users/bigfish24/following{/other_user}","gists_url":"https://api.github.com/users/bigfish24/gists{/gist_id}","starred_url":"https://api.github.com/users/bigfish24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bigfish24/subscriptions","organizations_url":"https://api.github.com/users/bigfish24/orgs","repos_url":"https://api.github.com/users/bigfish24/repos","events_url":"https://api.github.com/users/bigfish24/events{/privacy}","received_events_url":"https://api.github.com/users/bigfish24/received_events","type":"User","site_admin":false},"created_at":"2015-03-12T09:55:12Z","updated_at":"2015-03-12T09:55:12Z","body":"+1 on this"}}