{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/WinObjC/issues/225","labels_url":"https://api.github.com/repos/Microsoft/WinObjC/issues/225/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/WinObjC/issues/225/comments","events_url":"https://api.github.com/repos/Microsoft/WinObjC/issues/225/events","html_url":"https://github.com/Microsoft/WinObjC/issues/225","id":114562859,"number":225,"title":"KVO: crash when removing observer for nested key paths","user":{"login":"triplef","id":6037,"avatar_url":"https://avatars.githubusercontent.com/u/6037?v=3","gravatar_id":"","url":"https://api.github.com/users/triplef","html_url":"https://github.com/triplef","followers_url":"https://api.github.com/users/triplef/followers","following_url":"https://api.github.com/users/triplef/following{/other_user}","gists_url":"https://api.github.com/users/triplef/gists{/gist_id}","starred_url":"https://api.github.com/users/triplef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/triplef/subscriptions","organizations_url":"https://api.github.com/users/triplef/orgs","repos_url":"https://api.github.com/users/triplef/repos","events_url":"https://api.github.com/users/triplef/events{/privacy}","received_events_url":"https://api.github.com/users/triplef/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/WinObjC/labels/Approved","name":"Approved","color":"009800"},{"url":"https://api.github.com/repos/Microsoft/WinObjC/labels/Fixed","name":"Fixed","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-11-02T10:03:31Z","updated_at":"2015-11-18T19:45:38Z","closed_at":"2015-11-18T18:55:35Z","body":"Assuming a class `Container` defined as follows:\r\n\r\n```obj-c\r\n@interface Container : NSObject\r\n@property (nonatomic, retain) Container *child;\r\n@end\r\n```\r\n\r\nThe last line in the following code will cause a crash in `Foundation.dll!KVONotifier::_removeSubscriber`:\r\n\r\n```obj-c\r\nContainer *parent = [[Container alloc] init];\r\n[parent addObserver:self forKeyPath:@\"child.child\" options:0 context:nil];\r\n[parent removeObserver:self forKeyPath:@\"child.child\"]; // crash\r\n```"},"comment":{"url":"https://api.github.com/repos/Microsoft/WinObjC/issues/comments/157839921","html_url":"https://github.com/Microsoft/WinObjC/issues/225#issuecomment-157839921","issue_url":"https://api.github.com/repos/Microsoft/WinObjC/issues/225","id":157839921,"user":{"login":"Ramu-msft","id":15366343,"avatar_url":"https://avatars.githubusercontent.com/u/15366343?v=3","gravatar_id":"","url":"https://api.github.com/users/Ramu-msft","html_url":"https://github.com/Ramu-msft","followers_url":"https://api.github.com/users/Ramu-msft/followers","following_url":"https://api.github.com/users/Ramu-msft/following{/other_user}","gists_url":"https://api.github.com/users/Ramu-msft/gists{/gist_id}","starred_url":"https://api.github.com/users/Ramu-msft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ramu-msft/subscriptions","organizations_url":"https://api.github.com/users/Ramu-msft/orgs","repos_url":"https://api.github.com/users/Ramu-msft/repos","events_url":"https://api.github.com/users/Ramu-msft/events{/privacy}","received_events_url":"https://api.github.com/users/Ramu-msft/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T19:45:38Z","updated_at":"2015-11-18T19:45:38Z","body":"Fix is available in 0.1 Preview (November 12, 2015)"}}