Mac quit unexpectedly
See original GitHub issue- Electron-Builder: 20.28.4 and 20.29.0
- Electron-Updater: 3.1.3 and 3.1.5
- Target: Mac
I’m getting user reports of people on various mac versions of the electron app quitting unexpectedly. I thought an update to Electron would fix these issues, but they still persist. This report below is from Mojave 10.14, another reported issue was from High Sierra
Process: Ahad Cove [1565]
Path: /Applications/Ahad Cove.app/Contents/MacOS/Ahad Cove
Identifier: com.ahadcove.ahadcove
Version: 4.0.0 (4.0.0)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Ahad Cove [1565]
User ID: 501
Date/Time: 2018-10-26 18:03:12.519 -0400
OS Version: Mac OS X 10.14 (18A391)
Report Version: 12
Bridge OS Version: 3.0 (16P375)
Anonymous UUID: E2D02A6C-9B54-1334-A9C4-4B63BE77DB19
Time Awake Since Boot: 2700 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Trace/BPT trap: 5
Termination Reason: Namespace SIGNAL, Code 0x5
Terminating Process: exc handler [1565]
Application Specific Information:
dyld2 mode
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 com.github.electron.framework 0x0000000108910db5 0x107e57000 + 11247029
1 com.github.electron.framework 0x0000000108274093 0x107e57000 + 4313235
2 com.github.electron.framework 0x0000000109f1d8e3 0x107e57000 + 34367715
3 com.github.electron.framework 0x0000000108273074 0x107e57000 + 4309108
4 com.github.electron.framework 0x0000000107e59a04 AtomMain + 68
5 com.ahadcove.ahadcove 0x00000001048f9f16 main + 38
6 libdyld.dylib 0x00007fff77311085 start + 1
Thread 1:
0 libsystem_pthread.dylib 0x00007fff77502408 start_wqthread + 0
1 ??? 0x0000000054485244 0 + 1414025796
Thread 2:
0 libsystem_pthread.dylib 0x00007fff77502408 start_wqthread + 0
1 ??? 0x0000000054485244 0 + 1414025796
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x000000010c26de70 rbx: 0x000000010c5215c0 rcx: 0x000000000000001d rdx: 0x0000000000000000
rdi: 0x00007ffeeb306af8 rsi: 0x00007fff483bdf53 rbp: 0x00007ffeeb3065c0 rsp: 0x00007ffeeb3065c0
r8: 0x0000000000000000 r9: 0x0000000000000000 r10: 0x0000000107dfe078 r11: 0x00007fff4a24b4f1
r12: 0x0000000000000000 r13: 0x0000000000000000 r14: 0x0000000000000000 r15: 0x00006000004142a0
rip: 0x0000000108910db5 rfl: 0x0000000000000202 cr2: 0x0000000108131180
Logical CPU: 4
Error Code: 0x00000000
Trap Number: 3
Issue Analytics
- State:
- Created 5 years ago
- Comments:17 (7 by maintainers)
Top Results From Across the Web
Apps Freeze or Quit Unexpectedly on macOS 10.14? How to Fix
1. Force-Quit and Restart the App ... You can quickly fix a frozen or unresponsive app by forcing it to quit if the...
Read more >Apps Crashing on macOS Ventura? Here's the Fix
Click the Apple menu > Force Quit. Find the app that keeps crashing in the list, select it, and click the Force Quit...
Read more >Apps Crash and Unexpectedly Quit on Mac - Macube Cleaner
Solution 1. Force quit the app. When the app gets frozen or unresponsive, you might as well try force quit it by going...
Read more >[Ventura] Fix Apps Quit Unexpectedly or Keep Crashing on Mac
How to fix apps quit unexpectedly on Mac? · Restart your Mac · Force quit unresponsive apps · Launch apps with the Shift...
Read more >Steam Quit Unexpectedly Mac | Fixed in 6 Ways - EaseUS
Try to open the app again and enable Dates and Times reset if Steam unexpectedly quits on macOS. Additionally, you can go to...
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
Not related to this issue, but if you change the name of the application (in my case, using the builder programmatically), you also need to change the
appName
field in package.json by overriding the value withconfig.extraMetadata.productName
. This seems simple, but if you have any invalid characters in your name (I had a/
), the build process sanitizes those out of the app name, but they remain in theappName
field. This causes the app to instant-crash when opened, even though the build process seems fine.Just leaving my experience here in case someone else finds this and is doing the same thing I am.
I’m getting this when quitting the app. It quits, and then I get the “quit unexpectedly” error.