# \[iOS SDK Crash Issue\] AGXGLDriver (gldUpdateDispatch): OpenGL rendering while app in background state

**URL:** <https://devforum.zoom.us/t/ios-sdk-crash-issue-agxgldriver-gldupdatedispatch-opengl-rendering-while-app-in-background-state/44841>\
**Category:** iOS\
**Created:** [March 4, 2021, 9:42am UTC](https://devforum.zoom.us/t/ios-sdk-crash-issue-agxgldriver-gldupdatedispatch-opengl-rendering-while-app-in-background-state/44841 "2021-03-04T09:42:53Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![bayuaslamaa](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bayuaslamaa/32/24016_2.png) [@bayuaslamaa](https://devforum.zoom.us/u/bayuaslamaa)\
**Post date:** [March 4, 2021, 9:42am UTC](https://devforum.zoom.us/t/ios-sdk-crash-issue-agxgldriver-gldupdatedispatch-opengl-rendering-while-app-in-background-state/44841/1 "2021-03-04T09:42:53Z")

</div>

Hi Zoom Developer Team,

I got an issue detected on Firebase Crashlytics, but I cannot find where the issue actually is, can you please check it? Based on their log, my app got an issue when running Zoom Call with MobileRTC, **the message** is:

**Description**

“Based on the stack trace displayed here, it looks like new calls triggering OpenGL rendering took place while the app was transitioning to, or from, a background state. If you set up OpenGL drawing in your app delegate’s methods, make sure that you only did so in applicationDidBecomeActive:, never in application:willFinishLaunchingWithOptions: or application:didFinishLaunchingWithOptions:. According to some reports, even displaying an FPS indicator for SpriteKit could cause rendering to occur before it is allowed.”

**Here is the stack trace:**

**Crashed: Thread #1**

EXC\_BAD\_ACCESS KERN\_INVALID\_ADDRESS 0x000000000000000

Crashed: Thread  
0 libGPUSupportMercury.dylib 0x24248bfe4 gpus\_ReturnNotPermittedKillClient  
1 AGXGLDriver 0x246b39ed8 gldUpdateDispatch  
2 libGPUSupportMercury.dylib 0x24248cfac gpusSubmitDataBuffers  
3 AGXGLDriver 0x246b3b404 gldUpdateDispatch  
4 AGXGLDriver 0x246b36b00 gldPresentFramebufferData  
5 AGXGLDriver 0x246b2f974 gldPresentFramebufferData  
6 GLEngine 0x247b1eb10 glTexSubImage2D\_Exec  
7 OpenGLES 0x229682214 glTexSubImage2D + 88  
8 MobileRTC 0x1032db180 TermSBPTUIModule(Cmm::ICmmMessageQueueClient\*) + 20698876  
9 MobileRTC 0x1032d90b0 TermSBPTUIModule(Cmm::ICmmMessageQueueClient\*) + 20690476  
10 MobileRTC 0x1032d962c TermSBPTUIModule(Cmm::ICmmMessageQueueClient\*) + 20691880  
11 MobileRTC 0x1032d49c4 TermSBPTUIModule(Cmm::ICmmMessageQueueClient\*) + 20672320  
12 MobileRTC 0x1032d48cc TermSBPTUIModule(Cmm::ICmmMessageQueueClient\*) + 20672072  
13 MobileRTC 0x1032ce8c4 TermSBPTUIModule(Cmm::ICmmMessageQueueClient\*) + 20647488  
14 MobileRTC 0x1032ce918 TermSBPTUIModule(Cmm::ICmmMessageQueueClient\*) + 20647572  
15 MobileRTC 0x1032d1b34 TermSBPTUIModule(Cmm::ICmmMessageQueueClient\*) + 20660400  
16 MobileRTC 0x103317434 TermSBPTUIModule(Cmm::ICmmMessageQueueClient\*) + 20945328  
17 MobileRTC 0x1032d1b34 TermSBPTUIModule(Cmm::ICmmMessageQueueClient\*) + 20660400  
18 MobileRTC 0x10333e7d0 TermSBPTUIModule(Cmm::ICmmMessageQueueClient\*) + 21105996  
19 MobileRTC 0x10333ebcc TermSBPTUIModule(Cmm::ICmmMessageQueueClient\*) + 21107016  
20 MobileRTC 0x1032ce8c4 TermSBPTUIModule(Cmm::ICmmMessageQueueClient\*) + 20647488  
21 MobileRTC 0x1032ce918 TermSBPTUIModule(Cmm::ICmmMessageQueueClient\*) + 20647572  
22 MobileRTC 0x1032d1b34 TermSBPTUIModule(Cmm::ICmmMessageQueueClient\*) + 20660400  
23 MobileRTC 0x10327f38c TermSBPTUIModule(Cmm::ICmmMessageQueueClient\*) + 20322568  
24 MobileRTC 0x10326fa88 TermSBPTUIModule(Cmm::ICmmMessageQueueClient\*) + 20258820  
25 libsystem\_pthread.dylib 0x2260992c0 \_pthread\_body + 128  
26 libsystem\_pthread.dylib 0x226099220 \_pthread\_start + 44  
27 libsystem\_pthread.dylib 0x22609ccdc thread\_start + 4

**com.apple.main-thread**

0 libsystem\_kernel.dylib 0x22600c0f4 mach\_msg\_trap + 8  
1 libsystem\_kernel.dylib 0x22600b5a0 mach\_msg + 72  
2 CoreFoundation 0x22640c914 \_\_CFRunLoopServiceMachPort + 236  
3 CoreFoundation 0x226407824 \_\_CFRunLoopRun + 1360  
4 CoreFoundation 0x226406fb4 CFRunLoopRunSpecific + 436  
5 GraphicsServices 0x22860879c GSEventRunModal + 104  
6 UIKitCore 0x252c68c38 UIApplicationMain + 212  
7 0x1000c4338 main + 24 (AppDelegate.swift:24)  
8 libdyld.dylib 0x225eca8e0 start + 4

**com.apple.uikit.eventfetch-thread**  
0 libsystem\_kernel.dylib 0x22600c0f4 mach\_msg\_trap + 8  
1 libsystem\_kernel.dylib 0x22600b5a0 mach\_msg + 72  
2 CoreFoundation 0x22640c914 \_\_CFRunLoopServiceMachPort + 236  
3 CoreFoundation 0x226407824 \_\_CFRunLoopRun + 1360  
4 CoreFoundation 0x226406fb4 CFRunLoopRunSpecific + 436  
5 Foundation 0x226dd595c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 300  
6 Foundation 0x226dd57ec -[NSRunLoop(NSRunLoop) runUntilDate:] + 96  
7 UIKitCore 0x252d4e754 -[UIEventFetcher threadMain] + 136  
8 Foundation 0x226f024a0 **NSThread\_\_start** + 984  
9 libsystem\_pthread.dylib 0x2260992c0 \_pthread\_body + 128  
10 libsystem\_pthread.dylib 0x226099220 \_pthread\_start + 44  
11 libsystem\_pthread.dylib 0x22609ccdc thread\_start + 4

com.google.firebase.crashlytics.MachExceptionServer  
0 0x1005fa374 FIRCLSProcessRecordAllThreads + 392 (FIRCLSProcess.c:392)  
1 0x1005fa758 FIRCLSProcessRecordAllThreads + 423 (FIRCLSProcess.c:423)  
2 0x1005f1030 FIRCLSHandler + 34 (FIRCLSHandler.m:34)  
3 0x1005f3a2c FIRCLSMachExceptionServer + 524 (FIRCLSMachException.c:524)  
4 libsystem\_pthread.dylib 0x2260992c0 \_pthread\_body + 128  
5 libsystem\_pthread.dylib 0x226099220 \_pthread\_start + 44  
6 libsystem\_pthread.dylib 0x22609ccdc thread\_start + 4

com.sendbird.SocketRocket.NetworkThread  
0 libsystem\_kernel.dylib 0x22600c0f4 mach\_msg\_trap + 8  
1 libsystem\_kernel.dylib 0x22600b5a0 mach\_msg + 72  
2 CoreFoundation 0x22640c914 \_\_CFRunLoopServiceMachPort + 236  
3 CoreFoundation 0x226407824 \_\_CFRunLoopRun + 1360  
4 CoreFoundation 0x226406fb4 CFRunLoopRunSpecific + 436  
5 Foundation 0x226dd595c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 300  
6 SendBirdSDK 0x101572420 -[SendBird\_SRRunLoopThread main] + 70 (SendBird\_SRRunLoopThread.m:70)  
7 Foundation 0x226f024a0 **NSThread\_\_start** + 984  
8 libsystem\_pthread.dylib 0x2260992c0 \_pthread\_body + 128  
9 libsystem\_pthread.dylib 0x226099220 \_pthread\_start + 44  
10 libsystem\_pthread.dylib 0x22609ccdc thread\_start + 4

com.apple.NSURLConnectionLoader  
0 libsystem\_kernel.dylib 0x22600c0f4 mach\_msg\_trap + 8  
1 libsystem\_kernel.dylib 0x22600b5a0 mach\_msg + 72  
2 CoreFoundation 0x22640c914 \_\_CFRunLoopServiceMachPort + 236  
3 CoreFoundation 0x226407824 \_\_CFRunLoopRun + 1360  
4 CoreFoundation 0x226406fb4 CFRunLoopRunSpecific + 436  
5 CFNetwork 0x226a2174c -[\_\_CoreSchedulingSetRunnable runForever] + 216  
6 Foundation 0x226f024a0 **NSThread\_\_start** + 984  
7 libsystem\_pthread.dylib 0x2260992c0 \_pthread\_body + 128  
8 libsystem\_pthread.dylib 0x226099220 \_pthread\_start + 44  
9 libsystem\_pthread.dylib 0x22609ccdc thread\_start + 4

com.apple.CFSocket.private  
0 libsystem\_kernel.dylib 0x226017328 \_\_select + 8  
1 libsystem\_kernel.dylib 0x226017328 select$DARWIN\_EXTSN + 8  
2 CoreFoundation 0x2264155f8 \_\_CFSocketManager + 620  
3 libsystem\_pthread.dylib 0x2260992c0 \_pthread\_body + 128  
4 libsystem\_pthread.dylib 0x226099220 \_pthread\_start + 44  
5 libsystem\_pthread.dylib 0x22609ccdc thread\_start + 4

Thread  
0 libsystem\_kernel.dylib 0x226016ee4 \_\_psynch\_cvwait + 8  
1 libsystem\_pthread.dylib 0x226091cf8 \_pthread\_cond\_wait$VARIANT$mp + 636  
2 MobileRTC 0x102c3c424 TermSBPTUIModule(Cmm::ICmmMessageQueueClient\*) + 13756832  
3 MobileRTC 0x102ad4e88 TermSBPTUIModule(Cmm::ICmmMessageQueueClient\*) + 12284932  
4 MobileRTC 0x102995ed4 TermSBPTUIModule(Cmm::ICmmMessageQueueClient\*) + 10978384  
5 libsystem\_pthread.dylib 0x2260992c0 \_pthread\_body + 128  
6 libsystem\_pthread.dylib 0x226099220 \_pthread\_start + 44  
7 libsystem\_pthread.dylib 0x22609ccdc thread\_start + 4

Thread  
0 libsystem\_kernel.dylib 0x226016ee4 \_\_psynch\_cvwait + 8  
1 libsystem\_pthread.dylib 0x226091cf8 \_pthread\_cond\_wait$VARIANT$mp + 636  
2 MobileRTC 0x102c3c424 TermSBPTUIModule(Cmm::ICmmMessageQueueClient\*) + 13756832  
3 MobileRTC 0x102ad979c TermSBPTUIModule(Cmm::ICmmMessageQueueClient\*) + 12303640  
4 MobileRTC 0x102995ed4 TermSBPTUIModule(Cmm::ICmmMessageQueueClient\*) + 10978384  
5 libsystem\_pthread.dylib 0x2260992c0 \_pthread\_body + 128  
6 libsystem\_pthread.dylib 0x226099220 \_pthread\_start + 44  
7 libsystem\_pthread.dylib 0x22609ccdc thread\_start + 4

AVAudioSession Notify Thread  
0 libsystem\_kernel.dylib 0x22600c0f4 mach\_msg\_trap + 8  
1 libsystem\_kernel.dylib 0x22600b5a0 mach\_msg + 72  
2 CoreFoundation 0x22640c914 \_\_CFRunLoopServiceMachPort + 236  
3 CoreFoundation 0x226407824 \_\_CFRunLoopRun + 1360  
4 CoreFoundation 0x226406fb4 CFRunLoopRunSpecific + 436  
5 AVFAudio 0x22c379334 GenericRunLoopThread::Entry(void\*) + 156  
6 AVFAudio 0x22c3a3c60 CAPThread::Entry(CAPThread\*) + 88  
7 libsystem\_pthread.dylib 0x2260992c0 \_pthread\_body + 128  
8 libsystem\_pthread.dylib 0x226099220 \_pthread\_start + 44  
9 libsystem\_pthread.dylib 0x22609ccdc thread\_start + 4

com.apple.sydprotection  
0 libsystem\_kernel.dylib 0x22600c0f4 mach\_msg\_trap + 8  
1 libsystem\_kernel.dylib 0x22600b5a0 mach\_msg + 72  
2 libdispatch.dylib 0x225e70884 \_dispatch\_mach\_send\_and\_wait\_for\_reply + 500  
3 libdispatch.dylib 0x225e70d14 dispatch\_mach\_send\_with\_result\_and\_wait\_for\_reply$VARIANT$mp + 52  
4 libxpc.dylib 0x2260d091c xpc\_connection\_send\_message\_with\_reply\_sync + 204  
5 SyncedDefaults 0x24d190d0c -[SYDClient \_sendMessageWithReplySync:] + 316  
6 SyncedDefaults 0x24d1918dc -[SYDClient sendMessageWithName:userInfo:] + 92  
7 SyncedDefaults 0x24d19424c -[SYDRemotePreferencesSource \_synchronizeForced:] + 812  
8 SyncedDefaults 0x24d193ef4 \_\_48-[SYDRemotePreferencesSource synchronizeForced:]\_block\_invoke + 52  
9 libdispatch.dylib 0x225eb97d4 \_dispatch\_client\_callout + 16  
10 libdispatch.dylib 0x225e67c1c \_dispatch\_lane\_barrier\_sync\_invoke\_and\_complete + 56  
11 SyncedDefaults 0x24d193e98 -[SYDRemotePreferencesSource synchronizeForced:] + 116  
12 Foundation 0x226e13674 -[NSUbiquitousKeyValueStore synchronizeWithSourceForced:] + 32  
13 Foundation 0x226fe14c4 \_\_53-[NSUbiquitousKeyValueStore \_syncConcurrentlyForced:]\_block\_invoke + 40  
14 libdispatch.dylib 0x225eb8a38 \_dispatch\_call\_block\_and\_release + 24  
15 libdispatch.dylib 0x225eb97d4 \_dispatch\_client\_callout + 16  
16 libdispatch.dylib 0x225e62324 \_dispatch\_lane\_serial\_drain$VARIANT$mp + 592  
17 libdispatch.dylib 0x225e62e40 \_dispatch\_lane\_invoke$VARIANT$mp + 428  
18 libdispatch.dylib 0x225e6b4ac \_dispatch\_workloop\_worker\_thread + 596  
19 libsystem\_pthread.dylib 0x22609a114 \_pthread\_wqthread + 304  
20 libsystem\_pthread.dylib 0x22609ccd4 start\_wqthread + 4

com.google.fira.worker  
0 libobjc.A.dylib 0x22566b528 objc\_msgSend + 8  
1 Foundation 0x226dd4828 -[NSString stringByAppendingString:] + 148  
2 0x1006a34bc -[APMAlarm cancel] + 4303549628  
3 0x1006a3174 -[APMAlarm runAfterDelay:withBlock:] + 4303548788  
4 0x1006c0c50 -[APMMeasurement updateSchedule] + 4303670352  
5 0x1006f6374 -[APMMeasurement(Event) handleEventOnWorkerQueue:] + 4303889268  
6 0x1006c31c8 -[APMMeasurement logEventOnWorkerQueue:notifyEventListeners:] + 4303679944  
7 0x1006c3170 -[APMMeasurement logEventOnWorkerQueueWithOrigin:isPublicEvent:name:parameters:timestamp:enabled:ignoreEnabled:ignoreInterceptor:interceptor:addedScreenParameters:] + 4303679856  
8 0x1006c2e4c \_\_151-[APMMeasurement logEventWithOrigin:isPublicEvent:name:parameters:timestamp:enabled:ignoreEnabled:ignoreInterceptor:interceptor:addedScreenParameters:]\_block\_invoke + 4303679052  
9 0x1006cffdc \_\_51-[APMScheduler scheduleOnWorkerQueueBlockID:block:]\_block\_invoke + 4303732700  
10 libdispatch.dylib 0x225eb8a38 \_dispatch\_call\_block\_and\_release + 24  
11 libdispatch.dylib 0x225eb97d4 \_dispatch\_client\_callout + 16  
12 libdispatch.dylib 0x225e62324 \_dispatch\_lane\_serial\_drain$VARIANT$mp + 592  
13 libdispatch.dylib 0x225e62e40 \_dispatch\_lane\_invoke$VARIANT$mp + 428  
14 libdispatch.dylib 0x225e6b4ac \_dispatch\_workloop\_worker\_thread + 596  
15 libsystem\_pthread.dylib 0x22609a114 \_pthread\_wqthread + 304  
16 libsystem\_pthread.dylib 0x22609ccd4 start\_wqthread + 4

iOS SDK:zoom-sdk-ios-5.4.54802.0124

## **Screenshots**

**Smartphone:**

- Device: iPhone 6
- OS: iOS 12.4.9

**Additional context**  
I can find the issue where actually is, please inform me what is cause the issue and how to solve it? thank you

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [March 4, 2021, 7:15pm UTC](https://devforum.zoom.us/t/ios-sdk-crash-issue-agxgldriver-gldupdatedispatch-opengl-rendering-while-app-in-background-state/44841/2 "2021-03-04T19:15:04Z")

</div>

Hey @bayuaslamaa,

Thanks for using the dev forum!

Can you provide the following:

- Are you using scenedelgates?
- Do you have background modes enabled?
- What does your appdelegate code look like?
- What device(s) have been effected by this?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![bayuaslamaa](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bayuaslamaa/32/24016_2.png) [@bayuaslamaa](https://devforum.zoom.us/u/bayuaslamaa)\
**Post date:** [March 5, 2021, 3:01am UTC](https://devforum.zoom.us/t/ios-sdk-crash-issue-agxgldriver-gldupdatedispatch-opengl-rendering-while-app-in-background-state/44841/3 "2021-03-05T03:01:33Z")

</div>

Hey Michael,

Thanks for responding my topic in dev forum

Here is my answer that can I provide for your questions:

- I used to use scenedelegates, but now I am not using it any more as instructed for integrating with zoom sdk

- Yes I have background modes enabled for remote notifications

- My code in AppDelegate look like this:  
func application(\_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) → Bool {  
…  
…  
…  
…  
…  
…  
let zoomSDK = MobileRTCSDKInitContext()  
zoomSDK.domain = “[zoom.us](http://zoom.us)”  
zoomSDK.appGroupId = “”  
MobileRTC.shared().initialize(zoomSDK)  
let zoomAuth = MobileRTC.shared().getAuthService()  
zoomAuth?.delegate = self  
zoomAuth?.clientKey = “”  
zoomAuth?.clientSecret = “”  
zoomAuth?.sdkAuth()

- The device have been effected is iPhone 6 with iOS 12.4.9

And I have a question, Is it possible cause I wrote it inside didFinishLaunchingWithOption, after I create rootViewController?

Thank you

Best Regards

Bayu

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [March 5, 2021, 9:58pm UTC](https://devforum.zoom.us/t/ios-sdk-crash-issue-agxgldriver-gldupdatedispatch-opengl-rendering-while-app-in-background-state/44841/4 "2021-03-05T21:58:29Z")

</div>

Hey @bayuaslamaa,

Thank you for answering those 🙂

> [@bayuaslamaa](#):
>
> And I have a question, Is it possible cause I wrote it inside didFinishLaunchingWithOption, after I create rootViewController?

This may be possible, however I have not seen this exact crash before with other developers who have initialized the SDK there. You do not have to initialize the SDK in any specific part of the app, so it may be worth trying to move that code somewhere else if you are suspicious that the placement of it is causing issues.

Do you have the MobileRTC appdelegate calls in your application?

> func applicationWillTerminate(\_ application: UIApplication) {  
> MobileRTC.shared().appWillTerminate()  
> }
> 
> ```
> func applicationDidBecomeActive(_ application: UIApplication) {
> MobileRTC.shared().appDidBecomeActive()
> }
> 
> func applicationWillResignActive(_ application: UIApplication) {
> MobileRTC.shared().appWillResignActive()
> }
> 
> func applicationDidEnterBackground(_ application: UIApplication) {
> MobileRTC.shared().appDidEnterBackgroud()
> }
> 
> ```

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [March 5, 2021, 11:13pm UTC](https://devforum.zoom.us/t/ios-sdk-crash-issue-agxgldriver-gldupdatedispatch-opengl-rendering-while-app-in-background-state/44841/5 "2021-03-05T23:13:13Z")

</div>

Hey @bayuaslamaa,

One other question, are you using annotations in your app?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![bayuaslamaa](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bayuaslamaa/32/24016_2.png) [@bayuaslamaa](https://devforum.zoom.us/u/bayuaslamaa)\
**Post date:** [March 8, 2021, 5:01am UTC](https://devforum.zoom.us/t/ios-sdk-crash-issue-agxgldriver-gldupdatedispatch-opengl-rendering-while-app-in-background-state/44841/6 "2021-03-08T05:01:48Z")

</div>

Hey Michael,

Thanks for responding my answer before,

Oh, I see, I will try to move the code somewhere if this is a suspect for the crash did.

No, I don’t have those MobileRTC appdelegate calls in my application, do I have to use and call it in my application / app delegate?

For the annotations, I don’t set it, just some config for default zoom

Unfortunately, I get another **crash** (ios\_getpid()) from firebase crashlytics,

Here is the detail:

- Device: iPhone SE (2nd generation)
- iOS 14.4.0
- Stack Trace:

Crashed: com.apple.main-thread  
0 libobjc.A.dylib 0x19a6cb0f8 objc\_msgSend + 24  
1 MobileRTC 0x104e01770 ios\_getpid() + 432204  
2 libdispatch.dylib 0x1852a724c \_dispatch\_call\_block\_and\_release + 32  
3 libdispatch.dylib 0x1852a8db0 \_dispatch\_client\_callout + 20  
4 libdispatch.dylib 0x1852b67ac \_dispatch\_main\_queue\_callback\_4CF + 836  
5 CoreFoundation 0x18563011c **CFRUNLOOP\_IS\_SERVICING\_THE\_MAIN\_DISPATCH\_QUEUE** + 16  
6 CoreFoundation 0x18562a120 \_\_CFRunLoopRun + 2508  
7 CoreFoundation 0x18562921c CFRunLoopRunSpecific + 600  
8 GraphicsServices 0x19d1f5784 GSEventRunModal + 164  
9 UIKitCore 0x188069ee8 -[UIApplication \_run] + 1072  
10 UIKitCore 0x18806f75c UIApplicationMain + 168  
11 0x102fb4338 main + 24 (AppDelegate.swift:24)  
12 libdyld.dylib 0x1852e96b0 start + 4

Is it related from the crash before?

Thank you

Best Regards,  
Bayu Aslama Z A

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [March 8, 2021, 10:01pm UTC](https://devforum.zoom.us/t/ios-sdk-crash-issue-agxgldriver-gldupdatedispatch-opengl-rendering-while-app-in-background-state/44841/7 "2021-03-08T22:01:39Z")

</div>

Hey @bayuaslamaa,

> [@bayuaslamaa](#):
>
> No, I don’t have those MobileRTC appdelegate calls in my application, do I have to use and call it in my application / app delegate?

Yes, these calls alert the SDK of application events so that the proper meeting actions can be performed by Zoom. It is possible that without these, there exists some scenario that would cause the SDK to crash.

> [@bayuaslamaa](#):
>
> For the annotations, I don’t set it, just some config for default zoom

I see. We have identified an issue with the annotation feature that can cause crashes. If annotations are used in your application we suggest the following:  
On Xcode 11, Edit scheme \> Run \> Options \> Metal API validation \> disable  
On Xcode 12, Edit scheme \> Run \> Diagnostics \> Metal \> uncheck API validation

As for that second crash, it is hard to tell what could’ve caused that just from this trace. However, it may also be related to the appdelegate calls not being implemented.

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![bayuaslamaa](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bayuaslamaa/32/24016_2.png) [@bayuaslamaa](https://devforum.zoom.us/u/bayuaslamaa)\
**Post date:** [March 11, 2021, 1:01pm UTC](https://devforum.zoom.us/t/ios-sdk-crash-issue-agxgldriver-gldupdatedispatch-opengl-rendering-while-app-in-background-state/44841/8 "2021-03-11T13:01:51Z")

</div>

Hey @Michael_Condon ,

Thanks for the suggestion, I will add it to my app delegate code and try your suggestiion about annotation. If the issue still exist, I will tell you soon

Best Regards  
Bayu

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [March 11, 2021, 11:05pm UTC](https://devforum.zoom.us/t/ios-sdk-crash-issue-agxgldriver-gldupdatedispatch-opengl-rendering-while-app-in-background-state/44841/9 "2021-03-11T23:05:27Z")

</div>

Hey @bayuaslamaa,

Sounds good! Keep me posted.

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [April 11, 2021, 9:05am UTC](https://devforum.zoom.us/t/ios-sdk-crash-issue-agxgldriver-gldupdatedispatch-opengl-rendering-while-app-in-background-state/44841/10 "2021-04-11T09:05:56Z")

</div>

Closed on April 11, 2021, 9:05am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
