Skip to content

Chromium renderer process crashed #42

@ehmicky

Description

@ehmicky

One build reported the following error message in the logs:

It looks like this is your first time using Cypress: 4.5.0

[16:09:13]  Verifying Cypress can run /opt/buildhome/.cache/Cypress/4.5.0/Cypress [started]
[16:09:18]  Verifying Cypress can run /opt/buildhome/.cache/Cypress/4.5.0/Cypress [completed]

Opening Cypress...
================================================================================
tput: No value for $TERM and no -T specified
 (Run Starting)
 ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
 │ Cypress: 4.5.0 │
 │ Browser: Electron 80 (headless) │
 │ Specs: 4 found (about.test.js, app.test.js, contact.test.js, portfolio.test.js) │
 └────────────────────────────────────────────────────────────────────────────────────────────────┘
────────────────────────────────────────────────────────────────────────────────────────────────────
Running: about.test.js (1 of 4)

 About page
 ✓ loads about page (1864ms)
 ✓ displays filters (724ms)
 ✓ filters skills (1496ms)
  3 passing (4s)
 (Results)
 ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
 │ Tests: 3 │
 │ Passing: 3 │
 │ Failing: 0 │
 │ Pending: 0 │
 │ Skipped: 0 │
 │ Screenshots: 0 │
 │ Video: true │
 │ Duration: 4 seconds │
 │ Spec Ran: about.test.js │
 └────────────────────────────────────────────────────────────────────────────────────────────────┘
 (Video)
  - Started processing: Compressing to 32 CRF
  - Finished processing: /opt/build/repo/cypress/videos/about.test.js.mp4 (4 seconds)
────────────────────────────────────────────────────────────────────────────────────────────────────
Running: app.test.js (2 of 4)

 Portfolio app
 ✓ loads home page (585ms)
[2195:0429/160950.056733:FATAL:memory.cc(22)] Out of memory. size=262144
We detected that the Chromium Renderer process just crashed.

This is the equivalent to seeing the 'sad face' when Chrome dies.

This can happen for a number of different reasons:
- You wrote an endless loop and you must fix your own code
- There is a memory leak in Cypress (unlikely but possible)
- You are running Docker (there is an easy fix for this: see link below)
- You are running lots of tests on a memory intense application
- You are running in a memory starved VM environment
- There are problems with your GPU / GPU drivers
- There are browser bugs in Chromium

You can learn more including how to fix Docker here:

https://on.cypress.io/renderer-process-crashed
TypeError: onError is not a function
at BrowserWindow.onCrashed (/opt/buildhome/.cache/Cypress/4.5.0/Cypress/resources/app/packages/server/lib/modes/run.js:538:7)
at WebContents.<anonymous> (/opt/buildhome/.cache/Cypress/4.5.0/Cypress/resources/app/packages/server/lib/gui/windows.js:181:34)
at WebContents.emit (events.js:215:7)
TypeError: onError is not a function
at BrowserWindow.onCrashed (/opt/buildhome/.cache/Cypress/4.5.0/Cypress/resources/app/packages/server/lib/modes/run.js:538:7)
at WebContents.<anonymous> (/opt/buildhome/.cache/Cypress/4.5.0/Cypress/resources/app/packages/server/lib/gui/windows.js:181:34)
at WebContents.emit (events.js:215:7)

┌────────────────────────────────────────────────┐
│ Plugin "netlify-plugin-cypress" internal error │
└────────────────────────────────────────────────┘

Error message
Error: The Test Runner unexpectedly exited via a exit event with signal SIGILL

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 (Ubuntu Linux - 16.04)
Cypress Version: 4.5.0

Plugin details
ID: netlify-plugin-cypress
Version: 1.3.7
Repository: git+https://github.com/cypress-io/netlify-plugin-cypress.git
npm link: https://www.npmjs.com/package/netlify-plugin-cypress
Report issues: https://github.com/cypress-io/netlify-plugin-cypress/issues

Error location
In "onPostBuild" event in npm package "netlify-plugin-cypress"
at /opt/build/repo/node_modules/cypress/lib/errors.js:326:15
at tryCatcher (/opt/build/repo/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/opt/build/repo/node_modules/bluebird/js/release/promise.js:547:31)
at Promise._settlePromise (/opt/build/repo/node_modules/bluebird/js/release/promise.js:604:18)
at Promise._settlePromise0 (/opt/build/repo/node_modules/bluebird/js/release/promise.js:649:10)
at Promise._settlePromises (/opt/build/repo/node_modules/bluebird/js/release/promise.js:729:18)
at Promise._fulfill (/opt/build/repo/node_modules/bluebird/js/release/promise.js:673:18)
at Promise._resolveCallback (/opt/build/repo/node_modules/bluebird/js/release/promise.js:466:57)
at Promise._settlePromiseFromHandler (/opt/build/repo/node_modules/bluebird/js/release/promise.js:559:17)
at Promise._settlePromise (/opt/build/repo/node_modules/bluebird/js/release/promise.js:604:18)
at Promise._settlePromise0 (/opt/build/repo/node_modules/bluebird/js/release/promise.js:649:10)
at Promise._settlePromises (/opt/build/repo/node_modules/bluebird/js/release/promise.js:729:18)
at Promise._fulfill (/opt/build/repo/node_modules/bluebird/js/release/promise.js:673:18)
at Promise._resolveCallback (/opt/build/repo/node_modules/bluebird/js/release/promise.js:466:57)
at Promise._settlePromiseFromHandler (/opt/build/repo/node_modules/bluebird/js/release/promise.js:559:17)
at Promise._settlePromise (/opt/build/repo/node_modules/bluebird/js/release/promise.js:604:18)

Error properties
{ known: true }

It seems like the Chromium renderer process crashed.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions