{"action":"created","issue":{"url":"https://api.github.com/repos/kasbert/OS-X-SAT-SMART-Driver/issues/37","labels_url":"https://api.github.com/repos/kasbert/OS-X-SAT-SMART-Driver/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/kasbert/OS-X-SAT-SMART-Driver/issues/37/comments","events_url":"https://api.github.com/repos/kasbert/OS-X-SAT-SMART-Driver/issues/37/events","html_url":"https://github.com/kasbert/OS-X-SAT-SMART-Driver/issues/37","id":69682024,"number":37,"title":"driver causes apps that check S.M.A.R.T. status to crash","user":{"login":"core-code","id":1261954,"avatar_url":"https://avatars.githubusercontent.com/u/1261954?v=3","gravatar_id":"","url":"https://api.github.com/users/core-code","html_url":"https://github.com/core-code","followers_url":"https://api.github.com/users/core-code/followers","following_url":"https://api.github.com/users/core-code/following{/other_user}","gists_url":"https://api.github.com/users/core-code/gists{/gist_id}","starred_url":"https://api.github.com/users/core-code/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/core-code/subscriptions","organizations_url":"https://api.github.com/users/core-code/orgs","repos_url":"https://api.github.com/users/core-code/repos","events_url":"https://api.github.com/users/core-code/events{/privacy}","received_events_url":"https://api.github.com/users/core-code/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-20T21:15:39Z","updated_at":"2015-04-22T11:26:10Z","closed_at":null,"body":"we received several crash reports via iTunesConnect about our app crashing when checking the SMART status. the crash happens right in your driver code in response to our app calling IODestroyPlugInInterface()\r\n\r\nthe crash seems to be present in versions 0.5 through 0.10\r\n\r\ncrash logs:\r\n\r\nhttp://dl.dropboxusercontent.com/u/7221986/_crash_kasbert.zip\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/kasbert/OS-X-SAT-SMART-Driver/issues/comments/95144286","html_url":"https://github.com/kasbert/OS-X-SAT-SMART-Driver/issues/37#issuecomment-95144286","issue_url":"https://api.github.com/repos/kasbert/OS-X-SAT-SMART-Driver/issues/37","id":95144286,"user":{"login":"core-code","id":1261954,"avatar_url":"https://avatars.githubusercontent.com/u/1261954?v=3","gravatar_id":"","url":"https://api.github.com/users/core-code","html_url":"https://github.com/core-code","followers_url":"https://api.github.com/users/core-code/followers","following_url":"https://api.github.com/users/core-code/following{/other_user}","gists_url":"https://api.github.com/users/core-code/gists{/gist_id}","starred_url":"https://api.github.com/users/core-code/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/core-code/subscriptions","organizations_url":"https://api.github.com/users/core-code/orgs","repos_url":"https://api.github.com/users/core-code/repos","events_url":"https://api.github.com/users/core-code/events{/privacy}","received_events_url":"https://api.github.com/users/core-code/received_events","type":"User","site_admin":false},"created_at":"2015-04-22T11:26:10Z","updated_at":"2015-04-22T11:26:10Z","body":"hello kasbert\r\n\r\n> My only guess is that opening the client fails, because there can be only one client at the same time\r\n\r\nno the crash has to have another cause. our code is based directly on Apple Sample Code for S.M.A.R.T. status checking and exits when IOCreatePlugInInterfaceForService() fails. i just tested this by starting two instances of our app in the debugger.\r\nhere is the code in detail:\r\nhttps://gist.github.com/core-code/79505e6782f0e3fda2ac\r\n\r\nto get to the IODestroyPlugInInterface(), IOCreatePlugInInterfaceForService() must have returned kIOReturnSuccess\r\n\r\nno, i've never been able to reproduce it, but as i said its happening on customer macs"}}