Having Crash while starting zoom class

When i am trying to join zoom session in our app, so got the crash in a while. In debug mode , this gave error: Cannot retrieve the container URL for the application group identifier group.us.zoom. Make sure that it has been added to the com.apple.security.application-groups entitlement.

Zoom version: 4.4.56624.1028
XCode Version: 11.0

Steps to reproduce the behavior:

  1. Join any live class in app
  2. Start that class
  3. After a while app crashed
  • Device: On All Devices ( checked on iPhone 7, iPhone X, iPhone 8 Plus)
  • Version: 13.1.3

On App Store build as well found crashes since yesterday night. Please update asap for this

As you mentioned in your document that max supported Xcode version is XCode 10, so can we create build from XCode11 or not?

One crash report:
crash me yeh b daalo na unhe

5:57 PM

*** Assertion failure in NSInteger _UITableViewRowDataNumberOfRowsInSection(UITableViewRowData *__unsafe_unretained, NSInteger)(), /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKitCore/UIKit-3899.22.15/UITableViewRowData.m:1666
2019-11-20 17:29:45.769200+0530 Meditation.LIVE[8592:2317359] *** Terminating app due to uncaught exception ‘NSInternalInconsistencyException’, reason: ‘Requested the number of rows for section (1) which is out of bounds.’
*** First throw call stack:
(0x19e08498c 0x19ddad0a4 0x19df86d1c 0x19e40b280 0x1a22918e8 0x104f0e4ec 0x104f0cc50 0x19dfe009c 0x19dfe00e4 0x19dfdf444 0x19dfdf0fc 0x19df5b43c 0x19dfdea4c 0x104e40d0c 0x1058373c0 0x105825ae8 0x10581b298 0x105824cd8 0x105825138 0x105c32ee8 0x105c310bc 0x105c0cc4c 0x105bc76e4 0x105bfecf8 0x10561a4c4 0x10561a924 0x105623e3c 0x1059a2640 0x1059a26cc 0x1058f63d8 0x1058180e4 0x19e002e1c 0x19e002b58 0x19e002228 0x19dffd364 0x19dffc8bc 0x1a7e68328 0x1a20926d4 0x100fe7f70 0x19de87460)
libc++abi.dylib: terminating with uncaught exception of type NSException

When we are trying to start class( that is about to join), this happens sometimes

data:text/text;charset=utf-8,

Cause: Crash due to signal: SIGBUS(BUS_ADRERR) at 16d303fb0

Reported at: 2019-11-19 17:35:25 UTC

Thread 0 [Crashed]:

0 libobjc.A.dylib 0x1978631ec lookUpImpOrForward + 4
1 Foundation 0x197ed4138 _NSKVONotifyingMutatorsShouldNotifyForIsaAndKey + 96
2 Foundation 0x197ed2c7c NSKVODeallocate + 692
3 UIKitCore 0x19bfcdc38 -[_UIContentUnavailableView .cxx_destruct] + 152
4 QuartzCore 0x19e4adb40 -[CALayer _renderForegroundInContext:] + 2620
5 QuartzCore 0x19e4b3704 CA::Layer::setter(unsigned int, _CAValueType, void const*) + 144
6 QuartzCore 0x19e4bb184 -[CALayer(CALayerPrivate) _copyRenderLayer:layerFlags:commitFlags:] + 4332
7 QuartzCore 0x19e4abebc -[CALayer removeAllAnimations] + 136
8 UIKitCore 0x19bfab88c -[UIView(Rendering) setAlpha:] + 68
9 UIKitCore 0x19bf3fc38 -[UIScrollView _endPanNormal:] + 684
10 UIKitCore 0x19bd07a20 -[UITableView _stopIndexOverlayTimer] + 20
11 UIKitCore 0x19bf40d60 -[UIScrollView _updatePinchGestureForState:] + 2072
12 UIKitCore 0x19bd08b20 -[UITableView _canFocusCell:] + 280
13 Foundation 0x197ed949c -[NSObject(NSKeyValueObservingPrivate) _changeValueForKeys:count:maybeOldValuesDict:maybeNewValuesDict:usingBlock:] + 500
14 Foundation 0x197e28dbc -[NSLayoutConstraint _engineToContainerScalingCoefficients] + 12
15 Foundation 0x197ed55f0 _NSSetPointValueAndNotify + 236
16 Foundation 0x197ed7a28 NSKeyValueNotifyObserver + 224
17 Foundation 0x197ed9a84 NSKeyValueDidChange.llvm.5617959444755928820 + 268
18 Foundation 0x197ed94d8 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKeys:count:maybeOldValuesDict:maybeNewValuesDict:usingBlock:] + 560
19 Foundation 0x197e28dbc -[NSLayoutConstraint _engineToContainerScalingCoefficients] + 12
20 Foundation 0x197ed55f0 _NSSetPointValueAndNotify + 236
21 UIKitCore 0x19bf5d884 _153-[UIScrollView(_UIApplicationTesting) _simulateScrollWithTranslation:duration:willBeginDragging:didEndDragging:willBeginDecelerating:didEndDecelerating:]_block_invoke.298 + 4
22 UIKitCore 0x19bcfa274 -[UITableView _canRowBeIncludedInMultipleSelection:] + 12
23 UIKitCore 0x19bce975c _46-[UITableView _updateWithItems:updateSupport:]_block_invoke.1060 + 3336
24 UIKitCore 0x19bce9784 _46-[UITableView _updateWithItems:updateSupport:]_block_invoke.1060 + 3376
25 UIKitCore 0x19bce9784 _46-[UITableView _updateWithItems:updateSupport:]_block_invoke.1060 + 3376
26 UIKitCore 0x19bce9784 _46-[UITableView _updateWithItems:updateSupport:]_block_invoke.1060 + 3376
27 UIKitCore 0x19bce9784 _46-[UITableView _updateWithItems:updateSupport:]_block_invoke.1060 + 3376
28 UIKitCore 0x19bce9784 _46-[UITableView _updateWithItems:updateSupport:]_block_invoke.1060 + 3376
29 UIKitCore 0x19bce9784 _46-[UITableView _updateWithItems:updateSupport:]_block_invoke.1060 + 3376
30 UIKitCore 0x19bce9784 _46-[UITableView _updateWithItems:updateSupport:]_block_invoke.1060 + 3376
31 UIKitCore 0x19bce9784 _46-[UITableView _updateWithItems:updateSupport:]_block_invoke.1060 + 3376
32 UIKitCore 0x19bce9784 _46-[UITableView _updateWithItems:updateSupport:]_block_invoke.1060 + 3376
33 UIKitCore 0x19bce9784 _46-[UITableView _updateWithItems:updateSupport:]_block_invoke.1060 + 3376
34 UIKitCore 0x19bce9784 _46-[UITableView _updateWithItems:updateSupport:]_block_invoke.1060 + 3376
35 UIKitCore 0x19bce9784 _46-[UITableView _updateWithItems:updateSupport:]_block_invoke.1060 + 3376
36 UIKitCore 0x19bce9784 _46-[UITableView _updateWithItems:updateSupport:]_block_invoke.1060 + 3376
37 UIKitCore 0x19bce9784 _46-[UITableView _updateWithItems:updateSupport:]_block_invoke.1060 + 3376
38 UIKitCore 0x19bce9784 _46-[UITableView _updateWithItems:updateSupport:]_block_invoke.1060 + 3376
39 UIKitCore 0x19bce9784 _46-[UITableView _updateWithItems:updateSupport:]_block_invoke.1060 + 3376
40 UIKitCore 0x19bce9784 _46-[UITableView _updateWithItems:updateSupport:]_block_invoke.1060 + 3376
41 UIKitCore 0x19bce9784 _46-[UITableView _updateWithItems:updateSupport:]_block_invoke.1060 + 3376
42 UIKitCore 0x19bce9784 _46-[UITableView _updateWithItems:updateSupport:]_block_invoke.1060 + 3376
43 UIKitCore 0x19bce9784 _46-[UITableView _updateWithItems:updateSupport:]_block_invoke.1060 + 3376
44 UIKitCore 0x19bce9784 _46-[UITableView _updateWithItems:updateSupport:]_block_invoke.1060 + 3376
45 UIKitCore 0x19bce9784 _46-[UITableView _updateWithItems:updateSupport:]_block_invoke.1060 + 3376
46 UIKitCore 0x19bce9784 _46-[UITableView _updateWithItems:updateSupport:]_block_invoke.1060 + 3376
47 UIKitCore 0x19bce9784 _46-[UITableView _updateWithItems:updateSupport:]_block_invoke.1060 + 3376
48 UIKitCore 0x19bce9784 _46-[UITableView _updateWithItems:updateSupport:]_block_invoke.1060 + 3376
49 UIKitCore 0x19bce9784 _46-[UITableView _updateWithItems:updateSupport:]_block_invoke.1060 + 3376

Thread 1:

0 libsystem_kernel.dylib 0x197925a74 _workq_kernreturn + 8
1 libsystem_pthread.dylib 0x19784cae0 start_wqthread + 8

Thread 2:

0 libsystem_kernel.dylib 0x197925a74 _workq_kernreturn + 8
1 libsystem_pthread.dylib 0x19784cae0 start_wqthread + 8

Thread 3:

0 libsystem_kernel.dylib 0x197925a74 _workq_kernreturn + 8
1 libsystem_pthread.dylib 0x19784cae0 start_wqthread + 8

Thread 4:

0 libsystem_kernel.dylib 0x1979035f4 mach_msg_overwrite_trap + 0
1 CoreFoundation 0x197aaa068 _CFRunLoopDoSources0 + 116
2 CoreFoundation 0x197aa5188 _CFRunLoopRun + 972
3 CoreFoundation 0x197aa48bc _CFRunLoopModeIsEmpty + 328
4 Foundation 0x197de4994 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 116
5 Foundation 0x197de4874 -[NSURL(NSURL) release] + 248
6 UIKitCore 0x19bbd249c -[UIValuePredictor initFromValuePredictor:] + 112
7 Foundation 0x197f150b0 NSThread__start
+ 784
8 libsystem_pthread.dylib 0x1978491ec _pthread_start + 124
9 libsystem_pthread.dylib 0x19784caec thread_start + 8

Thread 5:

0 libsystem_kernel.dylib 0x1979035f4 mach_msg_overwrite_trap + 0
1 CoreFoundation 0x197aaa068 _CFRunLoopDoSources0 + 116
2 CoreFoundation 0x197aa5188 _CFRunLoopRun + 972
3 CoreFoundation 0x197aa48bc _CFRunLoopModeIsEmpty + 328
4 AVFAudio 0x1a4505e68 ControllerImpl::setDuckOthersOption(bool) + 740
5 AVFAudio 0x1a4556df0 CAPThread::Entry(CAPThread*) + 44
6 libsystem_pthread.dylib 0x1978491ec _pthread_start + 124
7 libsystem_pthread.dylib 0x19784caec thread_start + 8

Thread 6:

0 libsystem_kernel.dylib 0x197903648 semaphore_timedwait_signal_trap + 0
1 libdispatch.dylib 0x1977a0ef0 _dispatch_semaphore_wait_slow + 72
2 libdispatch.dylib 0x1977aedd4 _dispatch_worker_thread + 352
3 libsystem_pthread.dylib 0x1978491ec _pthread_start + 124
4 libsystem_pthread.dylib 0x19784caec thread_start + 8

Thread 7:

0 libsystem_kernel.dylib 0x197925a74 _workq_kernreturn + 8
1 libsystem_pthread.dylib 0x19784cae0 start_wqthread + 8

Thread 8:

0 libsystem_kernel.dylib 0x197927144 poll + 8
1 MobileRTC 0x10470ba14 (null)
2 libsystem_pthread.dylib 0x1978491ec _pthread_start + 124
3 libsystem_pthread.dylib 0x19784caec thread_start + 8

Thread 9:

0 libsystem_kernel.dylib 0x197927144 poll + 8
1 MobileRTC 0x10470ba14 (null)
2 libsystem_pthread.dylib 0x1978491ec _pthread_start + 124
3 libsystem_pthread.dylib 0x19784caec thread_start + 8

Thread 10:

0 libsystem_kernel.dylib 0x197927144 poll + 8
1 MobileRTC 0x10470ba14 (null)
2 libsystem_pthread.dylib 0x1978491ec _pthread_start + 124
3 libsystem_pthread.dylib 0x19784caec thread_start + 8

Thread 11:

0 libsystem_kernel.dylib 0x197925238 _semwait_signal + 8
1 libsystem_c.dylib 0x19779151c usleep + 64
2 MobileRTC 0x1046e7b14 (null)
3 MobileRTC 0x1045a98f0 (null)
4 libsystem_pthread.dylib 0x1978491ec _pthread_start + 124
5 libsystem_pthread.dylib 0x19784caec thread_start + 8

Thread 12:

0 libsystem_kernel.dylib 0x197925238 _semwait_signal + 8
1 libsystem_c.dylib 0x19779151c usleep + 64
2 MobileRTC 0x1041d31c8 (null)
3 MobileRTC 0x1045a98f0 (null)
4 libsystem_pthread.dylib 0x1978491ec _pthread_start + 124
5 libsystem_pthread.dylib 0x19784caec thread_start + 8

Thread 13:

0 libsystem_kernel.dylib 0x197925238 _semwait_signal + 8
1 libsystem_c.dylib 0x19779151c usleep + 64
2 MobileRTC 0x1044ec450 (null)
3 MobileRTC 0x1045a98f0 (null)
4 libsystem_pthread.dylib 0x1978491ec _pthread_start + 124
5 libsystem_pthread.dylib 0x19784caec thread_start + 8

Thread 14:

0 libsystem_kernel.dylib 0x197903648 semaphore_timedwait_signal_trap + 0
1 libdispatch.dylib 0x1977a0ef0 _dispatch_semaphore_wait_slow + 72
2 libdispatch.dylib 0x1977aedd4 _dispatch_worker_thread + 352
3 libsystem_pthread.dylib 0x1978491ec _pthread_start + 124
4 libsystem_pthread.dylib 0x19784caec thread_start + 8

Thread 15:

0 libsystem_kernel.dylib 0x1979035f4 mach_msg_overwrite_trap + 0
1 Meditation.LIVE 0x102bd2078 (null)
2 libsystem_pthread.dylib 0x1978491ec _pthread_start + 124
3 libsystem_pthread.dylib 0x19784caec thread_start + 8

Thread 16:

0 libsystem_kernel.dylib 0x197925a74 _workq_kernreturn + 8
1 libsystem_pthread.dylib 0x19784cae0 start_wqthread + 8

Thread 17:

0 Instabug 0x1039721f4 mach_exception_callback + 168
1 Instabug 0x10397dd1c exception_server_thread + 264
2 libsystem_pthread.dylib 0x1978491ec _pthread_start + 124
3 libsystem_pthread.dylib 0x19784caec thread_start + 8

Thread 18:

0 libsystem_kernel.dylib 0x1979035f4 mach_msg_overwrite_trap + 0
1 CoreFoundation 0x197aaa068 _CFRunLoopDoSources0 + 116
2 CoreFoundation 0x197aa5188 _CFRunLoopRun + 972
3 CoreFoundation 0x197aa48bc CFRunLoopModeIsEmpty + 328
4 CFNetwork 0x19ad1fe68 0x000000018367ce68 + 100
5 Foundation 0x197f150b0 NSThread__start
+ 784
6 libsystem_pthread.dylib 0x1978491ec _pthread_start + 124
7 libsystem_pthread.dylib 0x19784caec thread_start + 8

Thread 19:

0 libsystem_kernel.dylib 0x197927144 poll + 8
1 MobileRTC 0x10470ba14 (null)
2 libsystem_pthread.dylib 0x1978491ec _pthread_start + 124
3 libsystem_pthread.dylib 0x19784caec thread_start + 8

Thread 20:

0 libsystem_kernel.dylib 0x197927144 poll + 8
1 MobileRTC 0x10470ba14 (null)
2 libsystem_pthread.dylib 0x1978491ec _pthread_start + 124
3 libsystem_pthread.dylib 0x19784caec thread_start + 8

Thread 21:

0 libsystem_kernel.dylib 0x197927144 poll + 8
1 MobileRTC 0x10470ba14 (null)
2 libsystem_pthread.dylib 0x1978491ec _pthread_start + 124
3 libsystem_pthread.dylib 0x19784caec thread_start + 8

Thread 22:

0 libsystem_kernel.dylib 0x197927144 poll + 8
1 MobileRTC 0x10470ba14 (null)
2 libsystem_pthread.dylib 0x1978491ec _pthread_start + 124
3 libsystem_pthread.dylib 0x19784caec thread_start + 8

Thread 23:

0 libsystem_kernel.dylib 0x197927144 poll + 8
1 MobileRTC 0x10470ba14 (null)
2 libsystem_pthread.dylib 0x1978491ec _pthread_start + 124
3 libsystem_pthread.dylib 0x19784caec thread_start + 8

Thread 24:

0 libsystem_kernel.dylib 0x197927144 poll + 8
1 MobileRTC 0x10470ba14 (null)
2 libsystem_pthread.dylib 0x1978491ec _pthread_start + 124
3 libsystem_pthread.dylib 0x19784caec thread_start + 8

Thread 25:

0 libsystem_kernel.dylib 0x197924c8c _psynch_cvwait + 8
1 MobileRTC 0x104b0cc80 (null)
2 MobileRTC 0x104adffdc (null)
3 libsystem_pthread.dylib 0x1978491ec _pthread_start + 124
4 libsystem_pthread.dylib 0x19784caec thread_start + 8

Thread 26:

0 libsystem_kernel.dylib 0x1979035f4 mach_msg_overwrite_trap + 0
1 CoreFoundation 0x197aaa068 _CFRunLoopDoSources0 + 116
2 CoreFoundation 0x197aa5188 _CFRunLoopRun + 972
3 CoreFoundation 0x197aa48bc _CFRunLoopModeIsEmpty + 328
4 MobileRTC 0x104b28864 (null)
5 MobileRTC 0x104adffdc (null)
6 libsystem_pthread.dylib 0x1978491ec _pthread_start + 124
7 libsystem_pthread.dylib 0x19784caec thread_start + 8

Thread 27:

0 libsystem_kernel.dylib 0x197924c8c _psynch_cvwait + 8
1 MobileRTC 0x104aed9a8 (null)
2 MobileRTC 0x104adffdc (null)
3 libsystem_pthread.dylib 0x1978491ec _pthread_start + 124
4 libsystem_pthread.dylib 0x19784caec thread_start + 8

Thread 28:

0 libsystem_kernel.dylib 0x197924c8c _psynch_cvwait + 8
1 MobileRTC 0x104aed9a8 (null)
2 MobileRTC 0x104adffdc (null)
3 libsystem_pthread.dylib 0x1978491ec _pthread_start + 124
4 libsystem_pthread.dylib 0x19784caec thread_start + 8

Thread 29:

0 libsystem_kernel.dylib 0x197903630 semaphore_wait_trap + 8
1 caulk 0x1bacf1530 (null)
2 caulk 0x1bacf5238 (null)
3 caulk 0x1bacf53c8 (null)
4 libsystem_pthread.dylib 0x1978491ec _pthread_start + 124
5 libsystem_pthread.dylib 0x19784caec thread_start + 8

Thread 30:

0 libsystem_kernel.dylib 0x197924c8c _psynch_cvwait + 8
1 MobileRTC 0x104ae9338 (null)
2 MobileRTC 0x104adffdc (null)
3 libsystem_pthread.dylib 0x1978491ec _pthread_start + 124
4 libsystem_pthread.dylib 0x19784caec thread_start + 8

Thread 31:

0 libsystem_kernel.dylib 0x1979035f4 mach_msg_overwrite_trap + 0
1 libEmbeddedSystemAUs.dylib 0x1b52f7794 (null)
2 libAudioToolboxUtility.dylib 0x1a2b964f8 (null)
3 libsystem_pthread.dylib 0x1978491ec _pthread_start + 124
4 libsystem_pthread.dylib 0x19784caec thread_start + 8

Thread 32:

0 libsystem_kernel.dylib 0x197903648 semaphore_timedwait_signal_trap + 0
1 MobileRTC 0x104f42be0 (null)
2 MobileRTC 0x104f42aec (null)
3 libsystem_pthread.dylib 0x1978491ec _pthread_start + 124
4 libsystem_pthread.dylib 0x19784caec thread_start + 8

Binary Images:

0x19784f000 libobjc.A.dylib arm64 B39048C3-8395-3DE4-AF4D-ACA3097FDC53
0x197ddd000 Foundation arm64 0DF2911E-80CB-3289-8A1E-ED0913D55A12
0x19b14a000 UIKitCore arm64 82C949DD-37F6-35F7-B3EF-62BA342F6BF5
0x19e361000 QuartzCore arm64 5A4A8F86-A37D-3290-AC6A-9C03140FA5D3
0x197900000 libsystem_kernel.dylib arm64 92CBD0CB-514F-3A23-A21C-169E915052A7
0x19783e000 libsystem_pthread.dylib arm64 C3FA4F34-750F-362B-BEFE-835BFB15C0F8
0x197a01000 CoreFoundation arm64 DA838E75-6B30-360E-9661-C4800A7E1BF6
0x1a44a0000 AVFAudio arm64 90502188-4460-33E8-84FD-9A1D30A416B4
0x19779e000 libdispatch.dylib arm64 3A5DB4E0-BC24-375D-897E-51E6CF7D6304
0x103eb8000 MobileRTC arm64 F0570299-85B1-3B39-8133-0EF41B91A6AC
0x197721000 libsystem_c.dylib arm64 C4BEB94C-B831-3889-A403-4B7A4AA4DCDF
0x102a00000 Meditation.LIVE arm64 518C1845-86D8-38E4-967B-F67E3186BEBE
0x10374c000 Instabug arm64 3591F317-035B-38C5-B1DB-F2B218122D12
0x19ad1e000 CFNetwork arm64 DD159500-7D53-3484-AA3D-9DD5073D7A2F
0x1bacea000 caulk arm64 40C59F79-F177-3737-87DB-8857002E4A9A
0x1b526b000 libEmbeddedSystemAUs.dylib arm64 025133E9-D6FB-3557-B9C8-24BC170F0A4C
0x1a2b87000 libAudioToolboxUtility.dylib arm64 800ACFD8-417E-3C28-AEE5-E654F7982A55

Hi Dolly,

Thanks for the post. Based on the error code you are mentioning:

Cannot retrieve the container URL for the application group identifier group.us.zoom. Make sure that it has been added to the com.apple.security.application-groups entitlement.

It seems like you are using the groupID group.us.zoom for the sharing feature, this is a Zoom’s group ID so when Apple found out that your account is not from us, it blocks you from using it. Please use your own groupID instead. You may follow the instruction in our doc for the sharing feature: https://marketplace.zoom.us/docs/sdk/native-sdks/iOS/mastering-zoom-sdk/in-meeting-function/zoom-meeting-ui/screen-share

Hope this helps. Thanks!

Hi, we are not using app groups, they are disabled in XCode. We just have permissions enable for App Groups in developer account. No app group attached there.

Hi dolly.vaish,

Thanks for the reply. Based on the error message, it seems like our groupID is included somewhere in you code, please double-check the following position:

  1. Please do not directly include or import the MobileRTCSampleScreenShare broadcast upload extension
  2. In your SDK initialization, please set the appGroupId to be your own groupID(https://github.com/zoom/zoom-sdk-ios/blob/master/MobileRTCSample/MobileRTCSample/SDKPresenters/how_to_init_auth_sdk/how_to_init_sdk/SDKInitPresenter.m#L25), if you do not have one, you can just leave it empty.
  3. In your broadcast upload extension, set the groupID to be your own groupID(https://github.com/zoom/zoom-sdk-ios/blob/master/MobileRTCSample/MobileRTCSampleScreenShare/SampleHandler.m#L28)

And thanks for sharing the crash report, based on the information provided in the crash report, it seems the crash is not from our SDK.

Hope this helps.Thanks