When I click start it crashed

Hi dongyuekai1,

Thanks for the post. Could you provide the following information:

  1. How to reproduce this issue?
  2. Could you provide the SDK log for us to further investigate? You can pass true to enable_log while initializing the SDK, and you may find the SDK log at ~/Library/Logs/zoom.us
  3. Could you also provide the .crash file generated by the mac OS?

Thanks!

When I packed the electron packager, I was able to start a meeting normally When I was running through the code and I clicked to start the meeting the code crashed

I cant find the SDK crash log at ~/Library/Logs/zoom.us:
image

When I was running through the code:
step1:

steps2:

step3:

MacOS.crash:
Process: Electron [8219]
Path: /Users/USER/Desktop/*/Electron.app/Contents/MacOS/Electron
Identifier: com.github.Electron
Version: 5.0.13 (5.0.13)
Code Type: X86-64 (Native)
Parent Process: ??? [8217]
Responsible: Electron [8219]
User ID: 502

Date/Time: 2020-03-26 11:57:57.117 +0800
OS Version: Mac OS X 10.14.6 (18G103)
Report Version: 12
Anonymous UUID: F569716F-8041-41EE-F3E1-DB836D022BFA

Sleep/Wake UUID: 80963EC1-5B5F-49B7-9816-1C02F59599E3

Time Awake Since Boot: 82000 seconds
Time Since Wake: 6300 seconds

System Integrity Protection: disabled

Crashed Thread: 38 Dispatch queue: com.apple.root.default-qos

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Termination Reason: Namespace TCC, Code 0x0

Thread 0:: CrBrowserMain Dispatch queue: com.apple.main-thread
0 com.apple.CoreFoundation 0x00007fff46a281ec __CFStringAppendBytes + 8
1 com.apple.CoreFoundation 0x00007fff46a26325 __CFStringAppendFormatCore + 9265
2 com.apple.CoreFoundation 0x00007fff46a6f3e8 CFStringAppendFormatAndArguments + 66
3 com.apple.CoreFoundation 0x00007fff46a6f386 CFStringAppendFormat + 128
4 com.apple.CoreFoundation 0x00007fff46aaecd8 __CFBasicHashCopyDescription_block_invoke + 379
5 com.apple.CoreFoundation 0x00007fff46a3f902 CFBasicHashApply + 105
6 com.apple.CoreFoundation 0x00007fff46aaeb35 CFBasicHashCopyDescription + 777
7 com.apple.CoreFoundation 0x00007fff46aae7df __CFBasicHashCopyDescription + 40
8 com.apple.CoreFoundation 0x00007fff46a68837 CFCopyDescription + 159
9 com.apple.CoreMedia 0x00007fff47b422c6 figFormatDescriptionCopyDebugDesc + 143
10 com.apple.CoreFoundation 0x00007fff46a68837 CFCopyDescription + 159
11 com.apple.CMIOUnits 0x0000000123c0a704 0x123bb7000 + 341764
12 com.apple.CMIOUnits 0x0000000123c094b8 0x123bb7000 + 337080
13 libsystem_pthread.dylib 0x00007fff72bb2ce3 __pthread_once_handler + 65
14 libsystem_platform.dylib 0x00007fff72ba8aab _os_once_callout + 18
15 libsystem_pthread.dylib 0x00007fff72bb2c7f pthread_once + 56
16 com.apple.CMIOUnits 0x0000000123c0a7e7 0x123bb7000 + 341991
17 com.apple.CMIOUnits 0x0000000123be574c 0x123bb7000 + 190284
18 com.apple.CMIOUnits 0x0000000123be5118 0x123bb7000 + 188696
19 com.apple.CoreMediaIO 0x00007fff47c489de CMIOUnitCreateFromDescription + 1588
20 com.apple.CMIOBaseUnits 0x0000000123d3991c 0x123d07000 + 207132
21 com.apple.CMIOBaseUnits 0x0000000123d0ada3 0x123d07000 + 15779
22 com.apple.CMIOBaseUnits 0x0000000123d186b1 0x123d07000 + 71345
23 com.apple.CoreMediaIO 0x00007fff47c35bd7 CMIOUnitNodeInfo::Initialize(CMIOGraph*) + 53
24 com.apple.CoreMediaIO 0x00007fff47c28982 CMIOGraph::Initialize() + 10870
25 com.apple.avfoundation 0x00007fff42a47944 -[AVCaptureSession _buildAndRunGraph] + 1923
26 com.apple.avfoundation 0x00007fff42a4bd1c -[AVCaptureSession _setRunning:] + 247
27 com.apple.avfoundation 0x00007fff42a4bbbb -[AVCaptureSession startRunning] + 97
28 saasbee.nydus 0x0000000111290547 0x1111b0000 + 918855
29 saasbee.nydus 0x0000000111291405 0x1111b0000 + 922629
30 saasbee.nydus 0x00000001112930fc 0x1111b0000 + 930044
31 SaaSbee.mcm 0x000000010e699eb1 0x10e687000 + 77489
32 SaaSbee.mcm 0x000000010e68d40a 0x10e687000 + 25610
33 SaaSBee.zVideoApp 0x00000001129d895b 0x112970000 + 428379
34 SaaSBee.zVideoApp 0x00000001129c8dd9 0x112970000 + 363993
35 SaaSbee.ZoomSDKVideoUI 0x000000010d1a4f17 0x10d17a000 + 175895
36 SaaSbee.ZoomSDKVideoUI 0x000000010d1a2ee9 0x10d17a000 + 167657
37 SaaSbee.ZoomSDKVideoUI 0x000000010d1a5d71 0x10d17a000 + 179569
38 SaaSbee.ZoomSDKVideoUI 0x000000010d390059 0x10d17a000 + 2187353
39 SaaSbee.ZoomSDKVideoUI 0x000000010d38b7cc 0x10d17a000 + 2168780
40 SaaSbee.ZoomSDKVideoUI 0x000000010d38b4aa 0x10d17a000 + 2167978
41 com.apple.CoreFoundation 0x00007fff46aa82f6 CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER + 12
42 com.apple.CoreFoundation 0x00007fff46aa8270 ___CFXRegistrationPost_block_invoke + 63
43 com.apple.CoreFoundation 0x00007fff46aa81da _CFXRegistrationPost + 404
44 com.apple.CoreFoundation 0x00007fff46ab0688 ___CFXNotificationPost_block_invoke + 87
45 com.apple.CoreFoundation 0x00007fff46a19014 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1642
46 com.apple.CoreFoundation 0x00007fff46a183c7 _CFXNotificationPost + 732
47 SaaSbee.ZoomSDKVideoUI 0x000000010d31600c 0x10d17a000 + 1687564
48 SaaSbee.ZoomSDKVideoUI 0x000000010d33fa1c 0x10d17a000 + 1858076
49 SaaSbee.ZoomSDKVideoUI 0x000000010d33f7f8 0x10d17a000 + 1857528
50 SaaSbee.ZoomSDKVideoUI 0x000000010d33d526 0x10d17a000 + 1848614
51 com.apple.CoreFoundation 0x00007fff46aa82f6 CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER + 12
52 com.apple.CoreFoundation 0x00007fff46aa8270 ___CFXRegistrationPost_block_invoke + 63
53 com.apple.CoreFoundation 0x00007fff46aa81da _CFXRegistrationPost + 404
54 com.apple.CoreFoundation 0x00007fff46ab0688 ___CFXNotificationPost_block_invoke + 87
55 com.apple.CoreFoundation 0x00007fff46a19014 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1642
56 com.apple.CoreFoundation 0x00007fff46a183c7 _CFXNotificationPost + 732
57 SaaSbee.ZoomSDKVideoUI 0x000000010d31600c 0x10d17a000 + 1687564
58 SaaSbee.ZoomSDKVideoUI 0x000000010d335e87 0x10d17a000 + 1818247
59 SaaSbee.ZoomSDKVideoUI 0x000000010d231e33 0x10d17a000 + 753203
60 SaaSBee.zVideoApp 0x00000001129e1658 0x112970000 + 464472
61 SaaSBee.zVideoApp 0x00000001129e07e9 0x112970000 + 460777
62 com.apple.CoreFoundation 0x00007fff46a647c0 CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION + 20
63 com.apple.CoreFoundation 0x00007fff46a6436c __CFRunLoopDoTimer + 851
64 com.apple.CoreFoundation 0x00007fff46a63eb2 __CFRunLoopDoTimers + 330
65 com.apple.CoreFoundation 0x00007fff46a450c2 __CFRunLoopRun + 2130
66 com.apple.CoreFoundation 0x00007fff46a4461e CFRunLoopRunSpecific + 455
67 com.apple.HIToolbox 0x00007fff45ca31ab RunCurrentEventLoopInMode + 292
68 com.apple.HIToolbox 0x00007fff45ca2ee5 ReceiveNextEventCommon + 603
69 com.apple.HIToolbox 0x00007fff45ca2c76 _BlockUntilNextEventMatchingListInModeWithFilter + 64
70 com.apple.AppKit 0x00007fff4403b77d _DPSNextEvent + 1135
71 com.apple.AppKit 0x00007fff4403a46b -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1361
72 com.apple.AppKit 0x00007fff44034588 -[NSApplication run] + 699
73 com.github.Electron.framework 0x00000001034611fc 0x1010d0000 + 37294588
74 com.github.Electron.framework 0x000000010345fd3f 0x1010d0000 + 37289279
75 com.github.Electron.framework 0x00000001033d8b58 0x1010d0000 + 36735832
76 com.github.Electron.framework 0x0000000101c29db3 0x1010d0000 + 11902387
77 com.github.Electron.framework 0x0000000101c29bf0 0x1010d0000 + 11901936
78 com.github.Electron.framework 0x0000000101c2bc12 0x1010d0000 + 11910162
79 com.github.Electron.framework 0x0000000101c26ac4 0x1010d0000 + 11889348
80 com.github.Electron.framework 0x0000000102feb2de 0x1010d0000 + 32617182
81 com.github.Electron.framework 0x0000000102feaf51 0x1010d0000 + 32616273
82 com.github.Electron.framework 0x0000000104b97d0f 0x1010d0000 + 61635855
83 com.github.Electron.framework 0x0000000102fea3a4 0x1010d0000 + 32613284
84 com.github.Electron.framework 0x00000001010d20d4 AtomMain + 84
85 com.github.Electron 0x00000001010a19b0 0x1010a0000 + 6576
86 libdyld.dylib 0x00007fff729c03d5 start + 1

Thread 1:
0 libsystem_pthread.dylib 0x00007fff72bb33f0 start_wqthread + 0

Thread 2:: TaskSchedulerServiceThread
0 libsystem_kernel.dylib 0x00007fff72afb78e kevent + 10
1 com.github.Electron.framework 0x0000000103466dc9 0x1010d0000 + 37318089
2 com.github.Electron.framework 0x00000001034648bd 0x1010d0000 + 37308605
3 com.github.Electron.framework 0x000000010345a55e 0x1010d0000 + 37266782
4 com.github.Electron.framework 0x00000001033d8b58 0x1010d0000 + 36735832
5 com.github.Electron.framework 0x000000010340d557 0x1010d0000 + 36951383
6 com.github.Electron.framework 0x000000010341dc4a 0x1010d0000 + 37018698
7 com.github.Electron.framework 0x000000010345a8c7 0x1010d0000 + 37267655
8 libsystem_pthread.dylib 0x00007fff72bb42eb _pthread_body + 126
9 libsystem_pthread.dylib 0x00007fff72bb7249 _pthread_start + 66
10 libsystem_pthread.dylib 0x00007fff72bb340d thread_start + 13

External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 462399
thread_create: 0
thread_set_state: 431

VM Region Summary:
ReadOnly portion of Libraries: Total=618.8M resident=0K(0%) swapped_out_or_unallocated=618.8M(100%)
Writable regions: Total=479.5M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=479.5M(100%)

                            VIRTUAL   REGION 

REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Accelerate framework 256K 2
Activity Tracing 256K 1
CG backing stores 14.9M 4
CG image 168K 12
CoreAnimation 125.8M 52
CoreGraphics 8K 1
CoreImage 28K 3
CoreUI image data 1072K 13
CoreUI image file 320K 4
Dispatch continuations 8192K 1
Foundation 4K 1
IOKit 7940K 1
Image IO 420K 41
Kernel Alloc Once 8K 1
MALLOC 107.3M 61
MALLOC guard page 32K 8
Memory Tag 242 12K 1
Memory Tag 255 139.6M 49
PROTECTED_MEMORY 4K 1
STACK GUARD 56.2M 40
Stack 206.8M 40
VM_ALLOCATE 5476K 36
__DATA 46.4M 370
__DATA_CONST 120K 2
__FONT_DATA 4K 1
__LINKEDIT 228.4M 36
__TEXT 390.4M 354
__UNICODE 564K 1
mapped file 184.4M 103
shared memory 2728K 15
=========== ======= =======
TOTAL 1.5G 1255

i can find crash log at ~/Library/Logs/Electron:

Hi dongyuekai1,

Thanks for the information. Apologize for the wrong path provided for the SDK log, for the Electron SDK log on macOS, the path is :~/Library/Logs/DiagnosticReports/(appName).

Would you mind putting the SDK log and the .crash file into a shared drive and share it with me? I will forward it to the engineering team to investigate the root cause that is causing the crash.

Thanks!

尝试用系统终端运行,不要用使用编辑器的终端运行

1 Like

Hi dongyuekai1,

Thanks for the reply and thanks for providing the log. Based on the log provided, it seems like the crash is happening at this location:

“Crashing due to privacy violation”. Could you double-check if the demo app has been granted the proper permission to run? It seems like it has been blocked.

Hope this helps. Thanks!

When I start a meeting, I saw a page that looks like this,Why isn’t there a normal bottom toolbar:

Hi dongyuekai1,

Thanks for the screenshot. Did you hide the bottom panel before the meeting or did you press the button “Show BottomFloatToolbarWnd” in the control UI?

Are you seeing any errors?

Thanks!

hi Excuse me, can I port this SDK to another version of the electron project ?
The node version and the electron version in my other projects are not consistent with the SDK

Hi dongyuekai1,

Yes, you may use other node version and electron version, you just need to rebuild the node addon. The node version and electron version mentioned in the doc is for running the demo app.

Hope this helps. Thanks!