# iOS Crash – NSRangeException when removing KVO observer from CAEAGLLayer (ZoomVideoSDK)

**URL:** <https://devforum.zoom.us/t/ios-crash-nsrangeexception-when-removing-kvo-observer-from-caeagllayer-zoomvideosdk/142054>\
**Category:** React Native\
**Created:** [February 23, 2026, 8:21am UTC](https://devforum.zoom.us/t/ios-crash-nsrangeexception-when-removing-kvo-observer-from-caeagllayer-zoomvideosdk/142054 "2026-02-23T08:21:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![prasanth](https://avatars.discourse-cdn.com/v4/letter/p/87869e/32.png) [@prasanth](https://devforum.zoom.us/u/prasanth)\
**Post date:** [February 23, 2026, 8:21am UTC](https://devforum.zoom.us/t/ios-crash-nsrangeexception-when-removing-kvo-observer-from-caeagllayer-zoomvideosdk/142054/1 "2026-02-23T08:21:07Z")

</div>

Hi Zoom Team,

I’m experiencing a crash in my iOS app when using the **Zoom Video SDK**. The app throws the following exception:

`NSRangeException: Cannot remove an observer <MTLDelegate 0x15eaa5200> `  
`for the key path "bounds" from <CAEAGLLayer 0x15df08980> `  
`because it is not registered as an observer.`

Stack Trace (Relevant Part)

```auto
NSRangeException: Cannot remove an observer <MTLDelegate 0x15eaa5200> for the key path “bounds” from <CAEAGLLayer 0x15df08980> because it is not registered as an observer.

0 CoreFoundation +0xc5960 ___exceptionPreprocess
1 libobjc.A.dylib +0x31810 _objc_exception_throw
2 Foundation +0x946610 -[NSObject(NSKeyValueObserverRegistration) _removeObserver:forProperty:]
3 Foundation +0x946a34 -[NSObject(NSKeyValueObserverRegistration) removeObserver:forKeyPath:]
4 ZoomVideoSDK +0x22458c8 0x22458c8 (0x224589c + 44)
5 ZoomVideoSDK +0x238a4ac 0x238a4ac (0x238a408 + 164)
6 ZoomVideoSDK +0x238a39c 0x238a39c (0x238a344 + 88)
7 ZoomVideoSDK +0x238a500 0x238a500 (0x238a4f8 + 8)
8 ZoomVideoSDK +0x2371dec 0x2371dec (0x2371da8 + 68)
9 ZoomVideoSDK +0x22d90f8 0x22d90f8 (0x22d90d4 + 36)
10 ZoomVideoSDK +0x24b703c 0x24b703c (0x24b6f00 + 316)
11 ZoomVideoSDK +0x24b7148 0x24b7148 (0x24b7138 + 16)
12 ZoomVideoSDK +0x24c2a14 0x24c2a14 (0x24c29f8 + 28)
13 ZoomVideoSDK +0x24dd2d4 0x24dd2d4 (0x24dd17c + 344)
14 ZoomVideoSDK +0x1ab3b90 0x1ab3b90 (0x1ab3adc + 180)
15 ZoomVideoSDK +0x1ab3840 0x1ab3840 (0x1ab374c + 244)
16 ZoomVideoSDK +0x1ab7054 0x1ab7054 (0x1ab6f40 + 276)
17 ZoomVideoSDK +0x1ac3604 0x1ac3604 (0x1ac3524 + 224)
18 ZoomVideoSDK +0x164dfc4 0x164dfc4 (0x164de14 + 432)
19 ZoomVideoSDK +0x16e3b04 0x16e3b04 (0x16e397c + 392)
20 CoreFoundation +0x4dbfc _CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION
21 CoreFoundation +0x4d8bc ___CFRunLoopDoTimer
22 CoreFoundation +0x4d430 ___CFRunLoopDoTimers
23 CoreFoundation +0x1dab8 ___CFRunLoopRun
24 CoreFoundation +0x1ca68 __CFRunLoopRunSpecificWithOptions
25 GraphicsServices +0x1494 _GSEventRunModal
26 UIKitCore +0x9ddf4 -[UIApplication _run]
27 UIKitCore +0x46e50 _UIApplicationMain
28 UIKitCore +0x17281c 0x188bb781c (0x188bb77b8 + 100)
29 dxapp +0xdf70 0x10000df70 (0x10000defc + 116)
30 dyld +0x4e24 start

```

## Issue Description

We are experiencing an iOS crash when using the Zoom Video SDK in a React Native app.

The crash occurs intermittently when:

- Leaving the session

- Users join/leave

## Observations

1. The crash happens on iOS.

2. It appears related to native rendering teardown of `ZoomView`.

3. It seems like the SDK attempts to remove a KVO observer that was:

4. The issue may be triggered by rapid unmount/remount of `ZoomView` during:

Version

`"react": "19.1.0",`  
`"react-native": "0.80.2",`  
`"@zoom/react-native-videosdk": "^2.4.5",`  
`Mac: Apple M4 Pro 26.3 (25D125)`  
`Xcode: Version 26.2 (17C52)`

---

<div class="post-metadata">

**Author:** ![prasanth](https://avatars.discourse-cdn.com/v4/letter/p/87869e/32.png) [@prasanth](https://devforum.zoom.us/u/prasanth)\
**Post date:** [February 23, 2026, 12:29pm UTC](https://devforum.zoom.us/t/ios-crash-nsrangeexception-when-removing-kvo-observer-from-caeagllayer-zoomvideosdk/142054/2 "2026-02-23T12:29:55Z")

</div>

Hello Zoom Support Team,

I would like to clarify that the issue I reported is not limited to my implementation. I am experiencing the same problem in the official Zoom Video SDK sample application provided on the Zoom Marketplace:

> **[App Marketplace](https://marketplace.zoom.us/develop/apps/Fb3xXrUrRSuek0W3qbpm1w/sdk)**

I tested the sample app without modifying the core logic, and the issue still occurs. This suggests that the problem may be related to the SDK itself rather than my integration.

Could you please review this from your end and let me know if:

This is a known issue?

There are any configuration steps or SDK version updates required?

There is a recommended workaround?

Please let me know if you need any additional logs, screen recordings, or environment details.

Thank you for your support.

 ![Screenshot 2026-02-23 at 5.54.58 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/e/2/e290ea2e704fcda34c3a9d3f3c24f2ead9e81cb6.jpeg)

---

<div class="post-metadata">

**Author:** ![jeffremer](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jeffremer/32/73418_2.png) [@jeffremer](https://devforum.zoom.us/u/jeffremer)\
**Post date:** [May 7, 2026, 9:13pm UTC](https://devforum.zoom.us/t/ios-crash-nsrangeexception-when-removing-kvo-observer-from-caeagllayer-zoomvideosdk/142054/3 "2026-05-07T21:13:07Z")

</div>

Likewise we just got a report of this crash from the iOS ZoomVideoSDK in our app. This thread is several years old. Any traction on it?
