Cypress runner 8.7 quit unexpectedly with SIGABRT on MacOS Big Sur (11.6.2)
See original GitHub issueCurrent behavior
We recent upgraded Cypress from 6.2 to 8.7. Opening the test runner works fine but closing the test runner crashes every time on MacOS Big Sur.
Command to open Cypress runner: yarn cypress open --project ./integration/www
and our node version is 14
Upgrading Cypress to the latest 9.4.1 does not solve the issue. Based on the stack trace, it seems to be related to Electron.
Does anyone else have the same issue and have fixes?
Process: Cypress [63477]
Path: /Users/*/Library/Caches/*/Cypress.app/Contents/MacOS/Cypress
Identifier: com.electron.cypress
Version: 8.7.0 (8.7.0.954264)
Code Type: X86-64 (Native)
Parent Process: node [63476]
Responsible: iTerm2 [544]
User ID: 501
Date/Time: 2022-02-08 12:49:19.621 -0800
OS Version: macOS 11.6.2 (20G314)
Report Version: 12
Bridge OS Version: 6.1 (19P647)
Anonymous UUID: 2A8FD667-7B06-4C38-D268-6443ADCA96FF
Sleep/Wake UUID: 84F5E451-93EE-4053-AEFF-CCD120689C65
Time Awake Since Boot: 62000 seconds
Time Since Wake: 10000 seconds
System Integrity Protection: enabled
Crashed Thread: 0 CrBrowserMain Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
abort() called
Thread 0 Crashed:: CrBrowserMain Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff203d692e __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff204055bd pthread_kill + 263
2 libsystem_c.dylib 0x00007fff2035a406 abort + 125
3 com.github.Electron.framework 0x0000000107b9bdf4 uv_mutex_lock + 20
4 com.github.Electron.framework 0x000000010b0f42b6 napi_release_threadsafe_function + 38
5 fsevents.node 0x0000000104899821 fse_instance_destroy + 145
6 com.github.Electron.framework 0x000000010b0f486f napi_ref_threadsafe_function + 1247
7 com.github.Electron.framework 0x000000010b0e54a4 napi_is_detached_arraybuffer + 1172
8 com.github.Electron.framework 0x000000010b0f4467 napi_ref_threadsafe_function + 215
9 com.github.Electron.framework 0x000000010b0f53a5 napi_ref_threadsafe_function + 4117
10 com.github.Electron.framework 0x000000010b0f540e napi_ref_threadsafe_function + 4222
11 com.github.Electron.framework 0x000000010b0f571b napi_ref_threadsafe_function + 5003
12 com.github.Electron.framework 0x0000000107b8fea7 uv_run + 535
13 com.github.Electron.framework 0x000000010b0cf1a1 node::EmitAsyncDestroy(node::Environment*, node::async_context) + 263329
14 com.github.Electron.framework 0x000000010b0cf650 node::EmitAsyncDestroy(node::Environment*, node::async_context) + 264528
15 com.github.Electron.framework 0x000000010b08ba03 node::FreeEnvironment(node::Environment*) + 99
16 com.github.Electron.framework 0x0000000107c7e145 ElectronInitializeICUandStartNode + 902277
17 com.github.Electron.framework 0x0000000107c6cc89 ElectronInitializeICUandStartNode + 831433
18 com.github.Electron.framework 0x0000000108f25182 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 3402930
19 com.github.Electron.framework 0x0000000108f2679a v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 3408586
20 com.github.Electron.framework 0x0000000108f22590 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 3391680
21 com.github.Electron.framework 0x00000001082e728d electron::fuses::IsCookieEncryptionEnabled() + 5797997
22 com.github.Electron.framework 0x00000001082e6d72 electron::fuses::IsCookieEncryptionEnabled() + 5796690
23 com.github.Electron.framework 0x00000001082e5ecc electron::fuses::IsCookieEncryptionEnabled() + 5792940
24 com.github.Electron.framework 0x00000001082e5fb2 electron::fuses::IsCookieEncryptionEnabled() + 5793170
25 com.github.Electron.framework 0x0000000107ba1c86 ElectronMain + 134
26 com.electron.cypress 0x00000001006a4626 0x1006a3000 + 5670
27 libdyld.dylib 0x00007fff20420f3d start + 1
Desired behavior
Cypress runner can be closed properly without any errors.
Test code to reproduce
- Upgrade/Change Cypress version to 8.7
- Open Cypress test runner on MacOS Big Sur
- Close Cypress test runner
Cypress Version
8.7
Other
No response
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
xcode crashes after mac os Big sur… | Apple Developer Forums
when I open Xcode, it says xcode quit unexpectedly while using the libMainThreadChecker.dylib plug-in. my Xcode version is 10.3 and it was working...
Read more >VirtualBox does not work after upgrading to Big Sur
Currently have a VM running, no issues. The major hassles for me came a few OS versions earlier (Catalina), presumably due to tightened...
Read more >MySQLWorkbench quit unexpectedly on macOS Big Sur 11.1
I just installed workbench 8.0.22 on MacOs big sur 11.2. It works well. however, it doesn't work for workbench 8.0.23.
Read more >MYSQL Workbench Quit Unexpectedly on MAC OS Big Sur 11
In this video, I explained how to fix MYSQL Workbench Quit Unexpectedly on MAC OS Big Sur 11.1 error.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve tried to downgrade Cypress versions to 8.3-8.5, 8.3 and 8.4 do not have the crash issue when closing the test runner, but the issue occurs on 8.5.
I’m also facing it with Cypress v11.1.0.