{"action":"created","issue":{"url":"https://api.github.com/repos/sfackler/rust-openssl/issues/301","labels_url":"https://api.github.com/repos/sfackler/rust-openssl/issues/301/labels{/name}","comments_url":"https://api.github.com/repos/sfackler/rust-openssl/issues/301/comments","events_url":"https://api.github.com/repos/sfackler/rust-openssl/issues/301/events","html_url":"https://github.com/sfackler/rust-openssl/issues/301","id":115631221,"number":301,"title":"panicked at 'unexpected error ErrorSyscall with ret -1'","user":{"login":"BenTheElder","id":917931,"avatar_url":"https://avatars.githubusercontent.com/u/917931?v=3","gravatar_id":"","url":"https://api.github.com/users/BenTheElder","html_url":"https://github.com/BenTheElder","followers_url":"https://api.github.com/users/BenTheElder/followers","following_url":"https://api.github.com/users/BenTheElder/following{/other_user}","gists_url":"https://api.github.com/users/BenTheElder/gists{/gist_id}","starred_url":"https://api.github.com/users/BenTheElder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenTheElder/subscriptions","organizations_url":"https://api.github.com/users/BenTheElder/orgs","repos_url":"https://api.github.com/users/BenTheElder/repos","events_url":"https://api.github.com/users/BenTheElder/events{/privacy}","received_events_url":"https://api.github.com/users/BenTheElder/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-07T03:54:54Z","updated_at":"2015-12-17T22:07:41Z","closed_at":"2015-12-16T04:08:17Z","body":"I'm experiencing something like [`this`](https://github.com/sfackler/rust-openssl/issues/224) while working on overhauling the [`slack`](https://github.com/BenTheElder/slack-rs) library.\r\nAfter running a simple test-bot for a little bit (it varies how long it runs for before crashing, but it's happened multiple times now) I get:\r\n```\r\nthread '<main>' panicked at 'unexpected error ErrorSyscall with ret -1', .cargo/registry/src/github.com-0a35038f75765ae4/openssl-0.6.7/src/ssl/mod.rs:983\r\n```\r\n\r\nI plan to catch panics in the bot and log then attempt to reconnect, but I found the previous issue while looking for possible causes and wanted to report it.\r\n\r\nI'm on:\r\n```\r\nOSX 10.11.1\r\nOpenSSL 1.0.2d installed with homebrew\r\nRust 1.4 stable\r\nrust-openssl 0.6.7\r\n```\r\nUsing the [`devel`](https://github.com/BenTheElder/slack-rs/tree/devel) branch of the `slack` crate.\r\nOther than the initial login request via hyper, the rest is over a websocket using [`rust-websocket`](https://github.com/cyderize/rust-websocket).\r\n"},"comment":{"url":"https://api.github.com/repos/sfackler/rust-openssl/issues/comments/165595922","html_url":"https://github.com/sfackler/rust-openssl/issues/301#issuecomment-165595922","issue_url":"https://api.github.com/repos/sfackler/rust-openssl/issues/301","id":165595922,"user":{"login":"BenTheElder","id":917931,"avatar_url":"https://avatars.githubusercontent.com/u/917931?v=3","gravatar_id":"","url":"https://api.github.com/users/BenTheElder","html_url":"https://github.com/BenTheElder","followers_url":"https://api.github.com/users/BenTheElder/followers","following_url":"https://api.github.com/users/BenTheElder/following{/other_user}","gists_url":"https://api.github.com/users/BenTheElder/gists{/gist_id}","starred_url":"https://api.github.com/users/BenTheElder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenTheElder/subscriptions","organizations_url":"https://api.github.com/users/BenTheElder/orgs","repos_url":"https://api.github.com/users/BenTheElder/repos","events_url":"https://api.github.com/users/BenTheElder/events{/privacy}","received_events_url":"https://api.github.com/users/BenTheElder/received_events","type":"User","site_admin":false},"created_at":"2015-12-17T22:07:41Z","updated_at":"2015-12-17T22:07:41Z","body":"Quick feedback:\r\nI've just finished the new `slack` release and as part of that updated to all dependencies to their latest versions (`^0.7` for `openssl`). I've had a client running for nearly a day now without any panics so far.\r\nThanks!"}}