{"action":"created","issue":{"url":"https://api.github.com/repos/teampoltergeist/poltergeist/issues/830","repository_url":"https://api.github.com/repos/teampoltergeist/poltergeist","labels_url":"https://api.github.com/repos/teampoltergeist/poltergeist/issues/830/labels{/name}","comments_url":"https://api.github.com/repos/teampoltergeist/poltergeist/issues/830/comments","events_url":"https://api.github.com/repos/teampoltergeist/poltergeist/issues/830/events","html_url":"https://github.com/teampoltergeist/poltergeist/issues/830","id":191654885,"number":830,"title":"PhantomJS crashes intermittently","user":{"login":"justin808","id":1118459,"avatar_url":"https://avatars.githubusercontent.com/u/1118459?v=3","gravatar_id":"","url":"https://api.github.com/users/justin808","html_url":"https://github.com/justin808","followers_url":"https://api.github.com/users/justin808/followers","following_url":"https://api.github.com/users/justin808/following{/other_user}","gists_url":"https://api.github.com/users/justin808/gists{/gist_id}","starred_url":"https://api.github.com/users/justin808/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justin808/subscriptions","organizations_url":"https://api.github.com/users/justin808/orgs","repos_url":"https://api.github.com/users/justin808/repos","events_url":"https://api.github.com/users/justin808/events{/privacy}","received_events_url":"https://api.github.com/users/justin808/received_events","type":"User","site_admin":false},"labels":[{"id":214411,"url":"https://api.github.com/repos/teampoltergeist/poltergeist/labels/phantomjs","name":"phantomjs","color":"e102d8","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-11-25T09:10:08Z","updated_at":"2016-11-25T22:25:26Z","closed_at":null,"body":"Only when running on Travis (linux), the use of a react animation will crash. \r\n\r\nYou can see the [failing build](https://travis-ci.org/shakacode/react-webpack-rails-tutorial/builds/178785805).\r\n\r\nAnd a [passing one](https://travis-ci.org/shakacode/react-webpack-rails-tutorial/builds/178788316) if I add a `sleep 1` before checking if the value shown from the animation is there.\r\n\r\nApparently, the `sleep` will allow the animation to complete.\r\n\r\nHere's the offending code.\r\n\r\n```js\r\n        <ReactCSSTransitionGroup\r\n          transitionName={cssTransitionGroupClassNames}\r\n          transitionEnterTimeout={300}\r\n          transitionLeaveTimeout={300}\r\n        >\r\n          {this.errorWarning()}\r\n        </ReactCSSTransitionGroup>\r\n```\r\n\r\nI'm not sure if this is a phantomjs issue, poltergeist issue, or a capybara issue.\r\n\r\nI'm using phantomjs 2.1.1 and the latest libraries.\r\n\r\nHere is the PR:\r\n\r\nhttps://github.com/shakacode/react-webpack-rails-tutorial/pull/344"},"comment":{"url":"https://api.github.com/repos/teampoltergeist/poltergeist/issues/comments/263028370","html_url":"https://github.com/teampoltergeist/poltergeist/issues/830#issuecomment-263028370","issue_url":"https://api.github.com/repos/teampoltergeist/poltergeist/issues/830","id":263028370,"user":{"login":"twalpole","id":16556,"avatar_url":"https://avatars.githubusercontent.com/u/16556?v=3","gravatar_id":"","url":"https://api.github.com/users/twalpole","html_url":"https://github.com/twalpole","followers_url":"https://api.github.com/users/twalpole/followers","following_url":"https://api.github.com/users/twalpole/following{/other_user}","gists_url":"https://api.github.com/users/twalpole/gists{/gist_id}","starred_url":"https://api.github.com/users/twalpole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twalpole/subscriptions","organizations_url":"https://api.github.com/users/twalpole/orgs","repos_url":"https://api.github.com/users/twalpole/repos","events_url":"https://api.github.com/users/twalpole/events{/privacy}","received_events_url":"https://api.github.com/users/twalpole/received_events","type":"User","site_admin":false},"created_at":"2016-11-25T22:25:26Z","updated_at":"2016-11-25T22:25:26Z","body":"@justin808 Assuming you're already calling Capybara.reset_sessions (which ends up calling `page.driver.reset`) between tests, I think the only other thing would be to call `page.driver.clear_memory_cache` as well and see if that makes a difference.  Other than that, run it with the debug mode settings and post the relevant sections of the logs.  That may give a clue, but it does really sound like a PhantomJS race condition which we can't really do anything about."}}
{"actor":{"display_login":"twalpole"}}