Electron-builder: macOS apps crash when built with 22.1.0

Created on 4 Nov 2019  路  6Comments  路  Source: electron-userland/electron-builder

  • Version: 22.1.0
  • Target: macOS

Actual:
.app crashes after opening the main window.

Repro steps:

  1. Download and unzip electron-builder-4390.zip
  2. cd electron-builder-4390/21.2.0
  3. npm install
  4. npx electron . (works)
  5. npx electron-builder --mac
  6. Launch ./dist/mac/electron-builder-4390.app/Contents/MacOS/electron-builder-4390

Log

~/: ./dist/mac/electron-builder-4390.app/Contents/MacOS/electron-builder-4390 
[59493:1103/231235.221684:FATAL:gpu_data_manager_impl_private.cc(962)] The display compositor is frequently crashing. Goodbye.
zsh: trace trap  ./dist/mac/electron-builder-4390.app/Contents/MacOS/electron-builder-4390

Most helpful comment

4244 is the change causing this to happen.

All 6 comments

the same issue

I can confirm that the apps won't start at all. I have managed to get the electron working on macOS by running electron-builder --dir -c.mac.identity=null but the app content is empty.

Same here on macOS 10.14.16

4244 is the change causing this to happen.

Fixed in 22.2.0

i am using electron-builder 22.2.0 and electron 6.0.10 i have same error
[60389:0116/153159.902739:FATAL:gpu_data_manager_impl_private.cc(894)] The display compositor is frequently crashing. Goodbye.

Was this page helpful?
0 / 5 - 0 ratings