Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cypress 8.3.0 is crashing while closing test runner window on MacOS #17766

Closed
viktorgogulenko opened this issue Aug 17, 2021 · 9 comments · Fixed by #17774
Closed

Cypress 8.3.0 is crashing while closing test runner window on MacOS #17766

viktorgogulenko opened this issue Aug 17, 2021 · 9 comments · Fixed by #17774
Assignees
Labels
OS: mac type: regression A bug that didn't appear until a specific Cy version release v8.3.0 🐛 Issue present since 8.3.0

Comments

@viktorgogulenko
Copy link

viktorgogulenko commented Aug 17, 2021

Current behavior

When I'm trying to close a window of UI test runner on my Mac, it crashes with an error:

The Test Runner unexpectedly exited via a exit event with signal SIGSEGV

Please search Cypress documentation for possible solutions:

https://on.cypress.io

Check if there is a GitHub issue describing this crash:

https://github.com/cypress-io/cypress/issues

Consider opening a new issue.

----------

Platform: darwin (19.6.0)
Cypress Version: 8.3.0

Desired behavior

Cypress should exit without crashing

Test code to reproduce

Just open Cypress 8.3.0 test runner with 'cypress open' and try to close a test runner window from UI

Cypress Version

8.3.0

Other

No response

@bahmutov
Copy link
Contributor

Yup, see it often myself, even when shooting a video about upgrading to v8.3.0 :) https://www.youtube.com/watch?v=UMtvmVgpZdU&ab_channel=glebbahmutov

@jennifer-shehane
Copy link
Member

Thanks for reporting. Thanks for the video gleb. Timestamp of crash: https://youtu.be/UMtvmVgpZdU?t=137 We're investigating.

@jennifer-shehane jennifer-shehane added the v8.3.0 🐛 Issue present since 8.3.0 label Aug 17, 2021
@flotwig
Copy link
Contributor

flotwig commented Aug 17, 2021

Very similar to #9164. I wonder if that bugfix was actually correct.

@chrisbreiding chrisbreiding self-assigned this Aug 17, 2021
@jennifer-shehane jennifer-shehane added the type: regression A bug that didn't appear until a specific Cy version release label Aug 17, 2021
@chrisbreiding
Copy link
Contributor

I'm having trouble reproducing this. @viktorgogulenko, does this happen consistently for you or only occasionally?

@viktorgogulenko
Copy link
Author

I reverted back my version to 8.2.0 and unfortunately have no time now to play with it. For me it was consistently reproducible with every closing of window.

@flotwig
Copy link
Contributor

flotwig commented Aug 17, 2021

I can reproduce this on MacOS Catalina 10.15.7 by launching tests in cypress open, opening Electron 91, closing Electron 91, and then closing Cypress. Then the SIGSEGV occurs.

@bahmutov
Copy link
Contributor

bahmutov commented Aug 17, 2021 via email

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Aug 17, 2021

The code for this is done in cypress-io/cypress#17774, but has yet to be released.
We'll update this issue and reference the changelog when it's released.

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Aug 27, 2021

Released in 8.3.1.

This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v8.3.1, please open a new issue.

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Aug 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
OS: mac type: regression A bug that didn't appear until a specific Cy version release v8.3.0 🐛 Issue present since 8.3.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants