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

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

Closed
metal-draken opened this issue Sep 20, 2023 · 1 comment
Closed

Comments

@metal-draken
Copy link

metal-draken commented Sep 20, 2023

Current behavior

While starting cypress I get I get:

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: linux-x64 (Ubuntu - 20.04)
Cypress Version: 12.13.0
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: linux-x64 (Ubuntu - 20.04)
Cypress Version: 12.13.0

Desired behavior

Cypress should start as usual.

Test code to reproduce

no Code needed.

Cypress Version

12.13.0

Node version

18.16.0

Operating System

Linux Ubuntu 20.04

Debug Logs

2023-09-20T15:36:59.578Z cypress:cli verifying Cypress app
2023-09-20T15:36:59.580Z cypress:cli checking environment variables
2023-09-20T15:37:04.061Z cypress:cli checking if executable exists /home/marqo/.cache/Cypress/12.13.0/Cypress/Cypress
2023-09-20T15:37:04.085Z cypress:cli Binary is executable? : true
2023-09-20T15:37:04.085Z cypress:cli binaryDir is  /home/marqo/.cache/Cypress/12.13.0/Cypress
2023-09-20T15:37:04.086Z cypress:cli Reading binary package.json from: /home/marqo/.cache/Cypress/12.13.0/Cypress/resources/app/package.json
2023-09-20T15:37:04.169Z cypress:cli Found binary version 12.13.0 installed in: /home/marqo/.cache/Cypress/12.13.0/Cypress
2023-09-20T15:37:04.671Z cypress:cli { verified: true }
2023-09-20T15:37:04.671Z cypress:cli is Verified ? true
2023-09-20T15:37:04.672Z cypress:cli opening from options {"project":"apps/general-project-folder/tests-project-folder","configFile":"cypress.config.ts","config":"{\"baseUrl\":\"http://localhost:5202/\",\"e2e\":{}}","env":"{}","exit":true,"headed":false,"record":false,"parallel":false,"testingType":"e2e"}
2023-09-20T15:37:04.672Z cypress:cli command line arguments ["--config","{\"baseUrl\":\"http://localhost:5202/\",\"e2e\":{}}","--config-file","cypress.config.ts","--env","{}","--project","apps/general-project-folder/tests-project-folder","--testing-type","e2e"]
2023-09-20T15:37:04.673Z cypress:cli DISPLAY environment variable is set to 172.21.16.1:0.0 on Linux
Assuming this DISPLAY points at working X11 server,
Cypress will not spawn own Xvfb
NOTE: if the X11 server is NOT working, Cypress will exit without explanation,
  see https://github.com/cypress-io/cypress/issues/4034
Solution: Unset the DISPLAY variable and try again:
  DISPLAY= npx cypress run ...
2023-09-20T15:37:04.673Z cypress:cli needs to start own Xvfb? false
2023-09-20T15:37:04.673Z cypress:cli spawning, should retry on display problem? true
2023-09-20T15:37:04.676Z cypress:cli passing DISPLAY 172.21.16.1:0.0
2023-09-20T15:37:04.678Z cypress:cli spawn args [ '--no-sandbox', '--', '--config', '{"baseUrl":"http://localhost:5202/","e2e":{}}', '--config-file', 'cypress.config.ts', '--env', '{}', '--project', 'apps/general-project-folder/tests-project-folder', '--testing-type', 'e2e', '--cwd', '/home/marqo/dev/qupaya/monorepo', '--userNodePath', '/home/marqo/.volta/tools/image/node/18.16.0/bin/node', '--userNodeVersion', '18.16.0' ] { detached: false, stdio: [ 'inherit', 'inherit', 'pipe' ] }
2023-09-20T15:37:04.678Z cypress:cli spawning Cypress with executable: /home/marqo/.cache/Cypress/12.13.0/Cypress/Cypress
2023-09-20T15:37:04.720Z cypress:cli piping child STDERR to process STDERR
  cypress:snapshot:info Caching 3793, defining 4731 modules! Using cache +0ms
  cypress:snapshot:debug initializing packherd require +0ms
  cypress:server:performance-benchmark elapsed time at v8-snapshot-startup-time: 208.21ms +0ms
  cypress:server:appdata path: /home/marqo/.config/Cypress/cy/production/browsers +0ms
  cypress:server:cypress starting cypress with argv [ '/home/marqo/.cache/Cypress/12.13.0/Cypress/Cypress', '--no-sandbox', '--', '--config', '{"baseUrl":"http://localhost:5202/","e2e":{}}', '--config-file', 'cypress.config.ts', '--env', '{}', '--project', 'apps/general-project-folder/tests-project-folder', '--testing-type', 'e2e', '--cwd', '/home/marqo/dev/qupaya/monorepo', '--userNodePath', '/home/marqo/.volta/tools/image/node/18.16.0/bin/node', '--userNodeVersion', '18.16.0' ] +0ms
  cypress:server:args argv array: [ '/home/marqo/.cache/Cypress/12.13.0/Cypress/Cypress', '--no-sandbox', '--config', '{"baseUrl":"http://localhost:5202/","e2e":{}}', '--config-file', 'cypress.config.ts', '--env', '{}', '--project', 'apps/general-project-folder/tests-project-folder', '--testing-type', 'e2e', '--cwd', '/home/marqo/dev/qupaya/monorepo', '--userNodePath', '/home/marqo/.volta/tools/image/node/18.16.0/bin/node', '--userNodeVersion', '18.16.0' ] +0ms
  cypress:server:args parsed argv options { options: { _: [ '/home/marqo/.cache/Cypress/12.13.0/Cypress/Cypress' ], sandbox: false, config: '{"baseUrl":"http://localhost:5202/","e2e":{}}', 'config-file': 'cypress.config.ts', configFile: 'cypress.config.ts', env: '{}', project: 'apps/general-project-folder/tests-project-folder', 'testing-type': 'e2e', testingType: 'e2e', cwd: '/home/marqo/dev/qupaya/monorepo', userNodePath: '/home/marqo/.volta/tools/image/node/18.16.0/bin/node', userNodeVersion: '18.16.0' } } +1ms
  cypress:server:args argv parsed: { _: [ '/home/marqo/.cache/Cypress/12.13.0/Cypress/Cypress' ], sandbox: false, config: { baseUrl: 'http://localhost:5202/', e2e: {} }, configFile: 'cypress.config.ts', env: {}, project: 'apps/general-project-folder/tests-project-folder', testingType: 'e2e', cwd: '/home/marqo/dev/qupaya/monorepo', userNodePath: '/home/marqo/.volta/tools/image/node/18.16.0/bin/node', userNodeVersion: '18.16.0', invokedFromCli: true } +7ms
  cypress:server:util:proxy found proxy environment variables { npm_config_noproxy: '' } +0ms
  cypress:server:args options { _: [ '/home/marqo/.cache/Cypress/12.13.0/Cypress/Cypress' ], sandbox: false, config: { e2e: { baseUrl: 'http://localhost:5202/' }, env: {} }, configFile: 'cypress.config.ts', project: 'apps/general-project-folder/tests-project-folder', testingType: 'e2e', cwd: '/home/marqo/dev/qupaya/monorepo', userNodePath: '/home/marqo/.volta/tools/image/node/18.16.0/bin/node', userNodeVersion: '18.16.0', invokedFromCli: true } +4ms
  cypress:server:args argv options: { _: [ '/home/marqo/.cache/Cypress/12.13.0/Cypress/Cypress' ], sandbox: false, config: { e2e: { baseUrl: 'http://localhost:5202/' }, env: {} }, configFile: 'cypress.config.ts', project: 'apps/general-project-folder/tests-project-folder', testingType: 'e2e', cwd: '/home/marqo/dev/qupaya/monorepo', userNodePath: '/home/marqo/.volta/tools/image/node/18.16.0/bin/node', userNodeVersion: '18.16.0', invokedFromCli: true, projectRoot: '/home/marqo/dev/qupaya/monorepo/apps/general-project-folder/tests-project-folder' } +0ms
  cypress:server:cypress from argv [ '/home/marqo/.cache/Cypress/12.13.0/Cypress/Cypress', '--no-sandbox', '--config', '{"baseUrl":"http://localhost:5202/","e2e":{}}', '--config-file', 'cypress.config.ts', '--env', '{}', '--project', 'apps/general-project-folder/tests-project-folder', '--testing-type', 'e2e', '--cwd', '/home/marqo/dev/qupaya/monorepo', '--userNodePath', '/home/marqo/.volta/tools/image/node/18.16.0/bin/node', '--userNodeVersion', '18.16.0' ] got options { _: [ '/home/marqo/.cache/Cypress/12.13.0/Cypress/Cypress' ], sandbox: false, config: { e2e: { baseUrl: 'http://localhost:5202/' }, env: {} }, configFile: 'cypress.config.ts', project: 'apps/general-project-folder/tests-project-folder', testingType: 'e2e', cwd: '/home/marqo/dev/qupaya/monorepo', userNodePath: '/home/marqo/.volta/tools/image/node/18.16.0/bin/node', userNodeVersion: '18.16.0', invokedFromCli: true, projectRoot: '/home/marqo/dev/qupaya/monorepo/apps/general-project-folder/tests-project-folder' } +14ms
✔ Browser application bundle generation complete.

15 unchanged chunks

Build at: 2023-09-20T15:37:05.651Z - Hash: 87e8dead200de502 - Time: 6061ms

✔ Compiled successfully.
2023-09-20T15:37:07.007Z cypress:cli child event fired { event: 'exit', code: null, signal: 'SIGSEGV' }
2023-09-20T15:37:07.008Z cypress:cli detecting arch { osPlatform: 'linux', osArch: 'x64' }
2023-09-20T15:37:07.054Z cypress:cli child event fired { event: 'close', code: null, signal: 'SIGSEGV' }
2023-09-20T15:37:07.054Z cypress:cli detecting arch { osPlatform: 'linux', osArch: 'x64' }
2023-09-20T15:37:07.099Z cypress:cli arm uname -m result: { stdout: 'x86_64' }
2023-09-20T15:37:07.099Z cypress:cli arm uname -m result: { stdout: 'x86_64' }
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: linux-x64 (Ubuntu - 20.04)
Cypress Version: 12.13.0


### Other

WSL2 on Windows 10
Use the https://sourceforge.net/projects/xming/ to run Cypress on Windows 10
Already install all dependencies recommended by cypress
@nagash77
Copy link
Contributor

Hi @metal-draken we do not currently officially support WSL/2. Can you try running on one of our supported platforms and see if you still experience this problem? I would also suggest you upgrade to the latest version of Cypress.

@nagash77 nagash77 closed this as not planned Won't fix, can't repro, duplicate, stale Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants