Description
I have a bundled electron app using the zoom electron SDK and I’ve noticed that during Zoom meetings, if a user exits the app using CMD+Q, it results in an app crash and crash report dialog. Based on the crash report crashed thread, it appears something in the ZoomSDK layer is seg faulting leading to the crash. Here is a snippet from the crash report:
Process: MyApp [995]
Path: /Applications/MyApp.app/Contents/MacOS/MyApp
Identifier: com.electron.MyApp
Version: 1.0.2 (1.0.2)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: MyApp [995]
User ID: 501Date/Time: 2020-05-20 11:36:27.365 -0500
OS Version: Mac OS X 10.15.4 (19E2265)
Report Version: 12
Bridge OS Version: 4.4 (17P4534)
Anonymous UUID: 1F8A3E41-D57B-2201-A91E-DDEEFEC87AAFSleep/Wake UUID: 626C58A1-8B0E-46BE-87BF-95EEC5AAD9AD
Time Awake Since Boot: 120000 seconds
Time Since Wake: 12000 secondsSystem Integrity Protection: enabled
Crashed Thread: 0 CrBrowserMain Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000055
Exception Note: EXC_CORPSE_NOTIFYTermination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [995]VM Regions Near 0x55:
→
__TEXT 0000000108bb8000-0000000108be1000 [ 164K] r-x/r-x SM=COW /Applications/MyApp.app/Contents/MacOS/MyAppThread 0 Crashed:: CrBrowserMain Dispatch queue: com.apple.main-thread
0 zoom.us.ZoomSDK 0x00000001148d5cc8 0x114790000 + 1334472
1 zoom.us.ZoomSDK 0x000000011489f1ac 0x114790000 + 1110444
2 zoom.us.ZoomSDK 0x000000011489ed9d 0x114790000 + 1109405
3 zoom.us.ZoomSDK 0x000000011489e625 0x114790000 + 1107493
4 libsystem_c.dylib 0x00007fff6887013c __cxa_finalize_ranges + 319
5 libsystem_c.dylib 0x00007fff68870412 exit + 55
6 libdyld.dylib 0x00007fff687c6cd0 start + 8
Here is a link to the full crash report: MyApp_2020-05-20-113629_MacBook-Pro.crash - Google Drive
Which version?
Latest Zoom SDK Electron - Release v4.6.21666.0428 · zoom/zoom-sdk-electron · GitHub
To Reproduce(If applicable)
Steps to reproduce the behavior:
- Package up an electron application using the latest zoom electron sdk
- Start a meeting using the packaged app
- Quit the app using CMD+Q
Additional context
macOS Catalina
Thanks in advance!
Nitin