# Crash on iOS, seemingly within the Dynatrace SDK

**URL:** <https://community.dynatrace.com/t/crash-on-ios-seemingly-within-the-dynatrace-sdk/50341>\
**Category:** Real User Monitoring\
**Tags:** mobile-monitoring, ios, oneagent\
**Created:** [February 19, 2025, 3:57pm UTC](https://community.dynatrace.com/t/crash-on-ios-seemingly-within-the-dynatrace-sdk/50341 "2025-02-19T15:57:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![OliverBrownNext](https://avatars.discourse-cdn.com/v4/letter/o/b5ac83/32.png) [@OliverBrownNext](https://community.dynatrace.com/u/OliverBrownNext)\
**Post date:** [February 19, 2025, 3:57pm UTC](https://community.dynatrace.com/t/crash-on-ios-seemingly-within-the-dynatrace-sdk/50341/1 "2025-02-19T15:57:11Z")

</div>

Hi,

We’re seeing some crashes reported on TestFlight that seem to be originating from the Dynatrace SDK.

The crashes are happening on startup and have a stack trace that looks like the following:

```markup
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Reason: -[NSNull UTF8String]: unrecognized selector sent to instance 0x1ffdcb540
Termination Reason: SIGNAL 6 Abort trap: 6

Thread 12 name:
Thread 12 Crashed:
0 libsystem_kernel.dylib 0x00000001ea8f51d4 __pthread_kill + 8 (:-1)
1 libsystem_pthread.dylib 0x0000000222a62ef8 pthread_kill + 268 (pthread.c:1721)
2 libsystem_c.dylib 0x00000001a22e7ad8 abort + 128 (abort.c:122)
3 libc++abi.dylib 0x00000002228715b8 abort_message + 132 (abort_message.cpp:78)
4 libc++abi.dylib 0x000000022285fbac demangling_terminate_handler() + 348 (cxa_default_handlers.cpp:77)
5 libobjc.A.dylib 0x0000000197846e14 _objc_terminate() + 156 (objc-exception.mm:496)
6 libc++abi.dylib 0x000000022287087c std::__terminate(void (*)()) + 16 (cxa_handlers.cpp:59)
7 libc++abi.dylib 0x0000000222873dfc __cxxabiv1::failed_throw(__cxxabiv1::__cxa_exception*) + 88 (cxa_exception.cpp:152)
8 libc++abi.dylib 0x0000000222873da4 __cxa_throw + 92 (cxa_exception.cpp:294)
9 libobjc.A.dylib 0x000000019782b44c objc_exception_throw + 448 (objc-exception.mm:385)
10 CoreFoundation 0x000000019a65e8c8 -[NSObject(NSObject) doesNotRecognizeSelector:] + 364 (NSObject.m:162)
11 CoreFoundation 0x000000019a4f6b08 ___forwarding___ + 1560 (NSForwarding.m:3612)
12 CoreFoundation 0x000000019a4f6430 _CF_forwarding_prep_0 + 96 (:-1)
13 Dynatrace 0x00000001063bdc4c -[DTXSqliteAbstractionLayer insertCrashReportForSessionIdentification:reportInfo:] + 384
14 Dynatrace 0x00000001063e4d60 -[DTXDBManager processDBQueue] + 3128
15 Dynatrace 0x00000001063e86d0 -[DTXDBManager(Private) run] + 132 (:-1)
16 Foundation 0x00000001991e16c8 __NSThread__ start__ + 724 (NSThread.m:991)
17 libsystem_pthread.dylib 0x0000000222a6137c _pthread_start + 136 (pthread.c:931)
18 libsystem_pthread.dylib 0x0000000222a5c494 thread_start + 8 (:-1)

```

We are using version 8.301.1 of the Swift package.

One thing that may be a factor is we are replacing an installed version of the app developed in Xamarin (using the nuget package version&nbsp;8.271.2) with a native app (using the above Swift package).

Thanks,  
Oliver

---

<div class="post-metadata">

**Author:** ![Patrick\_H](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/patrick_h/32/37540_2.png) [@Patrick\_H](https://community.dynatrace.com/u/Patrick_H)\
**Post date:** [February 26, 2025, 10:48am UTC](https://community.dynatrace.com/t/crash-on-ios-seemingly-within-the-dynatrace-sdk/50341/2 "2025-02-26T10:48:37Z")

</div>

This was handled in a support case and will be fixed with 8.309
