newrelic / newrelic-capacitor-plugin

Mobile instrumentation plugin for the Capacitor hybrid mobile platform by Ionic
Apache License 2.0
7 stars 10 forks source link

Fetch instrumentation crashes iOS app on failed network requests #96

Open ztsmith opened 1 month ago

ztsmith commented 1 month ago

Description

After upgrading from newrelic-capacitor-plugin 1.3.2 to 1.4.2 we noticed intermittent crashes and white screens reported by users of our application. It seems the major change between 1.3.x and 1.4.x is the fetch instrumentation, and we suspect that it's this instrumentation that is causing the issue.

Steps to Reproduce

I've been able to reproduce consistently by deploying an app to an iOS simulator that makes a fetch request, and then disabling the internet connection for the host machine and triggering the request.

Expected Behavior

The app doesn't crash

Relevant Logs / Console output

iOS crash log

```sh ------------------------------------- Translated Report (Full Report Below) ------------------------------------- Incident Identifier: CFEE1FEF-7012-451B-A498-C78C71C324F8 CrashReporter Key: C5E9CF8B-150D-A30E-E51F-537403443DF6 Hardware Model: MacBookPro17,1 Process: App [39910] Path: /Users/USER/Library/Developer/CoreSimulator/Devices/05EB7C58-1C4E-47AA-9D1A-E0399A8B6F22/data/Containers/Bundle/Application/9A43902D-FCBC-42A9-ADDD-765D3A611295/App.app/App Identifier: com.conqa.app.ios Version: 1.0 (1) Code Type: ARM-64 (Native) Role: Foreground Parent Process: launchd_sim [32626] Coalition: com.apple.CoreSimulator.SimDevice.05EB7C58-1C4E-47AA-9D1A-E0399A8B6F22 [180477] Responsible Process: SimulatorTrampoline [69406] Date/Time: 2024-07-24 13:23:23.5097 +1200 Launch Time: 2024-07-24 13:22:52.4329 +1200 OS Version: macOS 14.5 (23F79) Release Type: User Report Version: 104 Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000018 Exception Codes: 0x0000000000000001, 0x0000000000000018 VM Region Info: 0x18 is not in any region. Bytes before following region: 4375363560 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL UNUSED SPACE AT START ---> __TEXT 104cac000-104cb8000 [ 48K] r-x/r-x SM=COW /Users/USER/Library/Developer/CoreSimulator/Devices/05EB7C58-1C4E-47AA-9D1A-E0399A8B6F22/data/Containers/Bundle/Application/9A43902D-FCBC-42A9-ADDD-765D3A611295/App.app/App Triggered by Thread: 0 Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 WebCore 0x18bd25fd4 JSC::JSValue WebCore::wrap(JSC::JSGlobalObject*, WebCore::JSDOMGlobalObject*, WebCore::DOMException&) + 24 1 WebCore 0x18cb8494c WebCore::CloneDeserializer::readDOMException() + 152 2 WebCore 0x18cb6e454 WebCore::SerializedScriptValue::deserialize(JSC::JSGlobalObject&, JSC::JSGlobalObject*, WTF::Vector, WTF::DefaultRefDerefTraits>, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc> const&, WTF::Vector const&, WTF::Vector const&, WebCore::SerializationErrorMode, bool*) + 7368 3 WebCore 0x18cb6ef48 WebCore::SerializedScriptValue::deserialize(OpaqueJSContext const*, OpaqueJSValue const**) + 100 4 WebKit 0x18affae9c API::SerializedScriptValue::deserialize(WebCore::SerializedScriptValue&, OpaqueJSValue const**) + 64 5 WebKit 0x18b04ebf4 ScriptMessageHandlerDelegate::didPostMessage(WebKit::WebPageProxy&, WebKit::FrameInfoData&&, API::ContentWorld&, WebCore::SerializedScriptValue&) + 168 6 WebKit 0x18b40bc00 WebKit::WebUserContentControllerProxy::didPostMessage(WTF::ObjectIdentifierGeneric, WebKit::FrameInfoData&&, unsigned long long, std::__1::span const&, WTF::CompletionHandler&&, WTF::String const&)>&&) + 552 7 WebKit 0x18b73f534 void IPC::handleMessageAsync, WebKit::FrameInfoData&&, unsigned long long, std::__1::span const&, WTF::CompletionHandler&&, WTF::String const&)>&&)>(IPC::Connection&, IPC::Decoder&, WebKit::WebUserContentControllerProxy*, void (WebKit::WebUserContentControllerProxy::*)(WTF::ObjectIdentifierGeneric, WebKit::FrameInfoData&&, unsigned long long, std::__1::span const&, WTF::CompletionHandler&&, WTF::String const&)>&&)) + 188 8 WebKit 0x18b73f464 WebKit::WebUserContentControllerProxy::didReceiveMessage(IPC::Connection&, IPC::Decoder&) + 76 9 WebKit 0x18b78f714 IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&, IPC::Decoder&) + 252 10 WebKit 0x18b38e108 WebKit::WebProcessProxy::didReceiveMessage(IPC::Connection&, IPC::Decoder&) + 36 11 WebKit 0x18b78b924 IPC::Connection::dispatchMessage(std::__1::unique_ptr>) + 732 12 WebKit 0x18b78bc44 IPC::Connection::dispatchIncomingMessages() + 468 13 JavaScriptCore 0x194d952b4 WTF::RunLoop::performWork() + 176 14 JavaScriptCore 0x194d95fc4 WTF::RunLoop::performWork(void*) + 32 15 CoreFoundation 0x1803f1f18 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24 16 CoreFoundation 0x1803f1e60 __CFRunLoopDoSource0 + 172 17 CoreFoundation 0x1803f15d0 __CFRunLoopDoSources0 + 232 18 CoreFoundation 0x1803ebcb8 __CFRunLoopRun + 768 19 CoreFoundation 0x1803eb5a4 CFRunLoopRunSpecific + 572 20 GraphicsServices 0x18e9fbae4 GSEventRunModal + 160 21 UIKitCore 0x1852f02e4 -[UIApplication _run] + 868 22 UIKitCore 0x1852f3f5c UIApplicationMain + 124 23 App 0x104cb1b80 main + 64 (AppDelegate.swift:6) 24 dyld_sim 0x104e2d544 start_sim + 20 25 dyld 0x1050160e0 start + 2360 Thread 1: 0 libsystem_pthread.dylib 0x1062025cc start_wqthread + 0 Thread 2:: com.apple.uikit.eventfetch-thread 0 libsystem_kernel.dylib 0x106529570 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x10653ab80 mach_msg2_internal + 76 2 libsystem_kernel.dylib 0x106531798 mach_msg_overwrite + 532 3 libsystem_kernel.dylib 0x1065298e8 mach_msg + 20 4 CoreFoundation 0x1803f1754 __CFRunLoopServiceMachPort + 156 5 CoreFoundation 0x1803ebe34 __CFRunLoopRun + 1148 6 CoreFoundation 0x1803eb5a4 CFRunLoopRunSpecific + 572 7 Foundation 0x180dcd68c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 208 8 Foundation 0x180dcd8b0 -[NSRunLoop(NSRunLoop) runUntilDate:] + 60 9 UIKitCore 0x185393b88 -[UIEventFetcher threadMain] + 404 10 Foundation 0x180df3e70 __NSThread__start__ + 720 11 libsystem_pthread.dylib 0x106207414 _pthread_start + 104 12 libsystem_pthread.dylib 0x1062025e0 thread_start + 8 Thread 3: 0 libsystem_pthread.dylib 0x1062025cc start_wqthread + 0 Thread 4:: JavaScriptCore libpas scavenger 0 libsystem_kernel.dylib 0x10652ca70 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x1062079cc _pthread_cond_wait + 1216 2 JavaScriptCore 0x196277bd0 scavenger_thread_main + 1148 3 libsystem_pthread.dylib 0x106207414 _pthread_start + 104 4 libsystem_pthread.dylib 0x1062025e0 thread_start + 8 Thread 5: 0 libsystem_pthread.dylib 0x1062025cc start_wqthread + 0 Thread 6:: com.apple.NSURLConnectionLoader 0 libsystem_kernel.dylib 0x106529570 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x10653ab80 mach_msg2_internal + 76 2 libsystem_kernel.dylib 0x106531798 mach_msg_overwrite + 532 3 libsystem_kernel.dylib 0x1065298e8 mach_msg + 20 4 CoreFoundation 0x1803f1754 __CFRunLoopServiceMachPort + 156 5 CoreFoundation 0x1803ebe34 __CFRunLoopRun + 1148 6 CoreFoundation 0x1803eb5a4 CFRunLoopRunSpecific + 572 7 CFNetwork 0x184467f68 0x184250000 + 2195304 8 Foundation 0x180df3e70 __NSThread__start__ + 720 9 libsystem_pthread.dylib 0x106207414 _pthread_start + 104 10 libsystem_pthread.dylib 0x1062025e0 thread_start + 8 Thread 7: 0 libsystem_pthread.dylib 0x1062025cc start_wqthread + 0 Thread 8:: JSC Heap Collector Thread 0 libsystem_kernel.dylib 0x10652ca70 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x1062079cc _pthread_cond_wait + 1216 2 JavaScriptCore 0x194db5428 WTF::ThreadCondition::timedWait(WTF::Mutex&, WTF::WallTime) + 236 3 JavaScriptCore 0x194d8f470 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda const&, WTF::ScopedLambda const&, WTF::TimeWithDynamicClockType const&) + 2272 4 JavaScriptCore 0x194d50fbc WTF::Detail::CallableWrapper::call() + 492 5 JavaScriptCore 0x194db260c WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 332 6 JavaScriptCore 0x194db4a98 WTF::wtfThreadEntryPoint(void*) + 12 7 libsystem_pthread.dylib 0x106207414 _pthread_start + 104 8 libsystem_pthread.dylib 0x1062025e0 thread_start + 8 Thread 9:: Heap Helper Thread 0 libsystem_kernel.dylib 0x10652ca70 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x1062079cc _pthread_cond_wait + 1216 2 JavaScriptCore 0x194db5428 WTF::ThreadCondition::timedWait(WTF::Mutex&, WTF::WallTime) + 236 3 JavaScriptCore 0x194d8f470 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda const&, WTF::ScopedLambda const&, WTF::TimeWithDynamicClockType const&) + 2272 4 JavaScriptCore 0x194d50fbc WTF::Detail::CallableWrapper::call() + 492 5 JavaScriptCore 0x194db260c WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 332 6 JavaScriptCore 0x194db4a98 WTF::wtfThreadEntryPoint(void*) + 12 7 libsystem_pthread.dylib 0x106207414 _pthread_start + 104 8 libsystem_pthread.dylib 0x1062025e0 thread_start + 8 Thread 10:: Heap Helper Thread 0 libsystem_kernel.dylib 0x10652ca70 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x1062079cc _pthread_cond_wait + 1216 2 JavaScriptCore 0x194db5428 WTF::ThreadCondition::timedWait(WTF::Mutex&, WTF::WallTime) + 236 3 JavaScriptCore 0x194d8f470 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda const&, WTF::ScopedLambda const&, WTF::TimeWithDynamicClockType const&) + 2272 4 JavaScriptCore 0x194d50fbc WTF::Detail::CallableWrapper::call() + 492 5 JavaScriptCore 0x194db260c WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 332 6 JavaScriptCore 0x194db4a98 WTF::wtfThreadEntryPoint(void*) + 12 7 libsystem_pthread.dylib 0x106207414 _pthread_start + 104 8 libsystem_pthread.dylib 0x1062025e0 thread_start + 8 Thread 11:: Heap Helper Thread 0 libsystem_kernel.dylib 0x10652ca70 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x1062079cc _pthread_cond_wait + 1216 2 JavaScriptCore 0x194db5428 WTF::ThreadCondition::timedWait(WTF::Mutex&, WTF::WallTime) + 236 3 JavaScriptCore 0x194d8f470 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda const&, WTF::ScopedLambda const&, WTF::TimeWithDynamicClockType const&) + 2272 4 JavaScriptCore 0x194d50fbc WTF::Detail::CallableWrapper::call() + 492 5 JavaScriptCore 0x194db260c WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 332 6 JavaScriptCore 0x194db4a98 WTF::wtfThreadEntryPoint(void*) + 12 7 libsystem_pthread.dylib 0x106207414 _pthread_start + 104 8 libsystem_pthread.dylib 0x1062025e0 thread_start + 8 Thread 12:: Heap Helper Thread 0 libsystem_kernel.dylib 0x10652ca70 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x1062079cc _pthread_cond_wait + 1216 2 JavaScriptCore 0x194db5428 WTF::ThreadCondition::timedWait(WTF::Mutex&, WTF::WallTime) + 236 3 JavaScriptCore 0x194d8f470 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda const&, WTF::ScopedLambda const&, WTF::TimeWithDynamicClockType const&) + 2272 4 JavaScriptCore 0x194d50fbc WTF::Detail::CallableWrapper::call() + 492 5 JavaScriptCore 0x194db260c WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 332 6 JavaScriptCore 0x194db4a98 WTF::wtfThreadEntryPoint(void*) + 12 7 libsystem_pthread.dylib 0x106207414 _pthread_start + 104 8 libsystem_pthread.dylib 0x1062025e0 thread_start + 8 Thread 13:: Heap Helper Thread 0 libsystem_kernel.dylib 0x10652ca70 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x1062079cc _pthread_cond_wait + 1216 2 JavaScriptCore 0x194db5428 WTF::ThreadCondition::timedWait(WTF::Mutex&, WTF::WallTime) + 236 3 JavaScriptCore 0x194d8f470 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda const&, WTF::ScopedLambda const&, WTF::TimeWithDynamicClockType const&) + 2272 4 JavaScriptCore 0x194d50fbc WTF::Detail::CallableWrapper::call() + 492 5 JavaScriptCore 0x194db260c WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 332 6 JavaScriptCore 0x194db4a98 WTF::wtfThreadEntryPoint(void*) + 12 7 libsystem_pthread.dylib 0x106207414 _pthread_start + 104 8 libsystem_pthread.dylib 0x1062025e0 thread_start + 8 Thread 14:: Heap Helper Thread 0 libsystem_kernel.dylib 0x10652ca70 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x1062079cc _pthread_cond_wait + 1216 2 JavaScriptCore 0x194db5428 WTF::ThreadCondition::timedWait(WTF::Mutex&, WTF::WallTime) + 236 3 JavaScriptCore 0x194d8f470 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda const&, WTF::ScopedLambda const&, WTF::TimeWithDynamicClockType const&) + 2272 4 JavaScriptCore 0x194d50fbc WTF::Detail::CallableWrapper::call() + 492 5 JavaScriptCore 0x194db260c WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 332 6 JavaScriptCore 0x194db4a98 WTF::wtfThreadEntryPoint(void*) + 12 7 libsystem_pthread.dylib 0x106207414 _pthread_start + 104 8 libsystem_pthread.dylib 0x1062025e0 thread_start + 8 Thread 15:: Heap Helper Thread 0 libsystem_kernel.dylib 0x10652ca70 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x1062079cc _pthread_cond_wait + 1216 2 JavaScriptCore 0x194db5428 WTF::ThreadCondition::timedWait(WTF::Mutex&, WTF::WallTime) + 236 3 JavaScriptCore 0x194d8f470 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda const&, WTF::ScopedLambda const&, WTF::TimeWithDynamicClockType const&) + 2272 4 JavaScriptCore 0x194d50fbc WTF::Detail::CallableWrapper::call() + 492 5 JavaScriptCore 0x194db260c WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 332 6 JavaScriptCore 0x194db4a98 WTF::wtfThreadEntryPoint(void*) + 12 7 libsystem_pthread.dylib 0x106207414 _pthread_start + 104 8 libsystem_pthread.dylib 0x1062025e0 thread_start + 8 Thread 0 crashed with ARM Thread State (64-bit): x0: 0x0000000139134068 x1: 0x0000000139134068 x2: 0x0000000117052200 x3: 0x00000001170521fe x4: 0x0000000000000001 x5: 0x0000000000000000 x6: 0x0000000000000072 x7: 0x0000000000000000 x8: 0x0000000000000000 x9: 0x0000000000000004 x10: 0x0000000000000009 x11: 0x0000000000000000 x12: 0x00000001170521fd x13: 0x000000018e2b5312 x14: 0x6f72724574726f62 x15: 0x6f72724574726f62 x16: 0x0000000194da4e18 x17: 0x00000001170d8518 x18: 0x0000000000000000 x19: 0x0000000000000000 x20: 0x000000016b1507d0 x21: 0x00000001391dbe00 x22: 0x0000000000000000 x23: 0x0000000000000000 x24: 0x00000001391dcfa0 x25: 0x0000000000000030 x26: 0x000000016b1507c8 x27: 0x000000016b1507d0 x28: 0x0000000139134068 fp: 0x000000016b1506c0 lr: 0x000000018cb8494c sp: 0x000000016b1506a0 pc: 0x000000018bd25fd4 cpsr: 0x60001000 far: 0x0000000000000000 esr: 0x56000080 Address size fault Binary Images: 0x105010000 - 0x10509bfff dyld (*) <37bbc384-0755-31c7-a808-0ed49e44dd8e> /usr/lib/dyld 0x105eb0000 - 0x105ebbfff libobjc-trampolines.dylib (*) <67a0ff9d-452e-3fe0-8b6e-ea95cf3a8b07> /Volumes/VOLUME/*/libobjc-trampolines.dylib 0x105ecc000 - 0x105f93fff org.cocoapods.Capacitor (6.1.0) /Users/USER/Library/Developer/CoreSimulator/Devices/05EB7C58-1C4E-47AA-9D1A-E0399A8B6F22/data/Containers/Bundle/Application/9A43902D-FCBC-42A9-ADDD-765D3A611295/App.app/Frameworks/Capacitor.framework/Capacitor 0x104d84000 - 0x104d8ffff org.cocoapods.CapacitorApp (6.0.0) /Users/USER/Library/Developer/CoreSimulator/Devices/05EB7C58-1C4E-47AA-9D1A-E0399A8B6F22/data/Containers/Bundle/Application/9A43902D-FCBC-42A9-ADDD-765D3A611295/App.app/Frameworks/CapacitorApp.framework/CapacitorApp 0x104da8000 - 0x104db3fff org.cocoapods.CapacitorBlobWriter (0.0.1) /Users/USER/Library/Developer/CoreSimulator/Devices/05EB7C58-1C4E-47AA-9D1A-E0399A8B6F22/data/Containers/Bundle/Application/9A43902D-FCBC-42A9-ADDD-765D3A611295/App.app/Frameworks/CapacitorBlobWriter.framework/CapacitorBlobWriter 0x104eb0000 - 0x104ed3fff org.cocoapods.CapacitorCamera (6.0.1) <52490b3e-15ac-340b-a578-f42e727783c5> /Users/USER/Library/Developer/CoreSimulator/Devices/05EB7C58-1C4E-47AA-9D1A-E0399A8B6F22/data/Containers/Bundle/Application/9A43902D-FCBC-42A9-ADDD-765D3A611295/App.app/Frameworks/CapacitorCamera.framework/CapacitorCamera 0x104f10000 - 0x104f33fff org.cocoapods.CapacitorCommunityCameraPreview (6.0.0) /Users/USER/Library/Developer/CoreSimulator/Devices/05EB7C58-1C4E-47AA-9D1A-E0399A8B6F22/data/Containers/Bundle/Application/9A43902D-FCBC-42A9-ADDD-765D3A611295/App.app/Frameworks/CapacitorCommunityCameraPreview.framework/CapacitorCommunityCameraPreview 0x104dfc000 - 0x104e0bfff org.cocoapods.CapacitorDevice (6.0.0) <0ea42de4-ae87-3b56-8c1e-69b629b1c690> /Users/USER/Library/Developer/CoreSimulator/Devices/05EB7C58-1C4E-47AA-9D1A-E0399A8B6F22/data/Containers/Bundle/Application/9A43902D-FCBC-42A9-ADDD-765D3A611295/App.app/Frameworks/CapacitorDevice.framework/CapacitorDevice 0x104fbc000 - 0x104fdbfff org.cocoapods.CapacitorFilesystem (6.0.0) /Users/USER/Library/Developer/CoreSimulator/Devices/05EB7C58-1C4E-47AA-9D1A-E0399A8B6F22/data/Containers/Bundle/Application/9A43902D-FCBC-42A9-ADDD-765D3A611295/App.app/Frameworks/CapacitorFilesystem.framework/CapacitorFilesystem 0x105d5c000 - 0x105d77fff org.cocoapods.CapacitorLiveUpdates (0.2.1) <2500d9d4-ae7e-31f9-ba55-5cfbbc9198b6> /Users/USER/Library/Developer/CoreSimulator/Devices/05EB7C58-1C4E-47AA-9D1A-E0399A8B6F22/data/Containers/Bundle/Application/9A43902D-FCBC-42A9-ADDD-765D3A611295/App.app/Frameworks/CapacitorLiveUpdates.framework/CapacitorLiveUpdates 0x105d08000 - 0x105d1bfff org.cocoapods.CapacitorNetwork (6.0.1) /Users/USER/Library/Developer/CoreSimulator/Devices/05EB7C58-1C4E-47AA-9D1A-E0399A8B6F22/data/Containers/Bundle/Application/9A43902D-FCBC-42A9-ADDD-765D3A611295/App.app/Frameworks/CapacitorNetwork.framework/CapacitorNetwork 0x105db0000 - 0x105dbffff org.cocoapods.CapacitorPushNotifications (6.0.1) <55964f64-9a05-3998-bc2b-9584a78480b0> /Users/USER/Library/Developer/CoreSimulator/Devices/05EB7C58-1C4E-47AA-9D1A-E0399A8B6F22/data/Containers/Bundle/Application/9A43902D-FCBC-42A9-ADDD-765D3A611295/App.app/Frameworks/CapacitorPushNotifications.framework/CapacitorPushNotifications 0x104dcc000 - 0x104dd3fff org.cocoapods.CapacitorTextZoom (6.0.1) <14613c92-3d7f-3c20-a6cf-7b788f1a5334> /Users/USER/Library/Developer/CoreSimulator/Devices/05EB7C58-1C4E-47AA-9D1A-E0399A8B6F22/data/Containers/Bundle/Application/9A43902D-FCBC-42A9-ADDD-765D3A611295/App.app/Frameworks/CapacitorTextZoom.framework/CapacitorTextZoom 0x105de4000 - 0x105deffff org.cocoapods.CapawesomeCapacitorAppUpdate (6.0.0) <140fe49b-c20d-3eac-8025-4606b460bd00> /Users/USER/Library/Developer/CoreSimulator/Devices/05EB7C58-1C4E-47AA-9D1A-E0399A8B6F22/data/Containers/Bundle/Application/9A43902D-FCBC-42A9-ADDD-765D3A611295/App.app/Frameworks/CapawesomeCapacitorAppUpdate.framework/CapawesomeCapacitorAppUpdate 0x105e0c000 - 0x105e17fff org.cocoapods.Cordova (6.1.0) /Users/USER/Library/Developer/CoreSimulator/Devices/05EB7C58-1C4E-47AA-9D1A-E0399A8B6F22/data/Containers/Bundle/Application/9A43902D-FCBC-42A9-ADDD-765D3A611295/App.app/Frameworks/Cordova.framework/Cordova 0x10623c000 - 0x10637ffff org.cocoapods.CordovaPlugins (6.1.0) /Users/USER/Library/Developer/CoreSimulator/Devices/05EB7C58-1C4E-47AA-9D1A-E0399A8B6F22/data/Containers/Bundle/Application/9A43902D-FCBC-42A9-ADDD-765D3A611295/App.app/Frameworks/CordovaPlugins.framework/CordovaPlugins 0x105e34000 - 0x105e47fff org.cocoapods.FBLPromises (2.2.0) /Users/USER/Library/Developer/CoreSimulator/Devices/05EB7C58-1C4E-47AA-9D1A-E0399A8B6F22/data/Containers/Bundle/Application/9A43902D-FCBC-42A9-ADDD-765D3A611295/App.app/Frameworks/FBLPromises.framework/FBLPromises 0x105e68000 - 0x105e7bfff org.cocoapods.FirebaseCore (10.7.0) <206c8ef2-9b53-31d3-8748-e519626f2dfb> /Users/USER/Library/Developer/CoreSimulator/Devices/05EB7C58-1C4E-47AA-9D1A-E0399A8B6F22/data/Containers/Bundle/Application/9A43902D-FCBC-42A9-ADDD-765D3A611295/App.app/Frameworks/FirebaseCore.framework/FirebaseCore 0x106104000 - 0x106127fff org.cocoapods.FirebaseCoreInternal (10.7.0) <632a64ae-057c-35cd-b3e0-9d07fcc565db> /Users/USER/Library/Developer/CoreSimulator/Devices/05EB7C58-1C4E-47AA-9D1A-E0399A8B6F22/data/Containers/Bundle/Application/9A43902D-FCBC-42A9-ADDD-765D3A611295/App.app/Frameworks/FirebaseCoreInternal.framework/FirebaseCoreInternal 0x106098000 - 0x1060b3fff org.cocoapods.FirebaseInstallations (10.7.0) <73023467-eca1-3832-b72e-d66049d5ab8d> /Users/USER/Library/Developer/CoreSimulator/Devices/05EB7C58-1C4E-47AA-9D1A-E0399A8B6F22/data/Containers/Bundle/Application/9A43902D-FCBC-42A9-ADDD-765D3A611295/App.app/Frameworks/FirebaseInstallations.framework/FirebaseInstallations 0x1063e0000 - 0x106423fff org.cocoapods.FirebaseMessaging (10.7.0) /Users/USER/Library/Developer/CoreSimulator/Devices/05EB7C58-1C4E-47AA-9D1A-E0399A8B6F22/data/Containers/Bundle/Application/9A43902D-FCBC-42A9-ADDD-765D3A611295/App.app/Frameworks/FirebaseMessaging.framework/FirebaseMessaging 0x106170000 - 0x106193fff org.cocoapods.GCDWebServer (3.5.4) /Users/USER/Library/Developer/CoreSimulator/Devices/05EB7C58-1C4E-47AA-9D1A-E0399A8B6F22/data/Containers/Bundle/Application/9A43902D-FCBC-42A9-ADDD-765D3A611295/App.app/Frameworks/GCDWebServer.framework/GCDWebServer 0x10646c000 - 0x10649bfff org.cocoapods.GoogleDataTransport (9.2.1) <23a86cc6-3644-3a31-a225-b7b47a6fb0a2> /Users/USER/Library/Developer/CoreSimulator/Devices/05EB7C58-1C4E-47AA-9D1A-E0399A8B6F22/data/Containers/Bundle/Application/9A43902D-FCBC-42A9-ADDD-765D3A611295/App.app/Frameworks/GoogleDataTransport.framework/GoogleDataTransport 0x1064d4000 - 0x1064f7fff org.cocoapods.GoogleUtilities (7.11.0) /Users/USER/Library/Developer/CoreSimulator/Devices/05EB7C58-1C4E-47AA-9D1A-E0399A8B6F22/data/Containers/Bundle/Application/9A43902D-FCBC-42A9-ADDD-765D3A611295/App.app/Frameworks/GoogleUtilities.framework/GoogleUtilities 0x1065cc000 - 0x106647fff io.ionic.IonicLiveUpdates (1.0) <8266dbcc-c0dd-3d67-aeef-889f4f1ecfd1> /Users/USER/Library/Developer/CoreSimulator/Devices/05EB7C58-1C4E-47AA-9D1A-E0399A8B6F22/data/Containers/Bundle/Application/9A43902D-FCBC-42A9-ADDD-765D3A611295/App.app/Frameworks/IonicLiveUpdates.framework/IonicLiveUpdates 0x106fe0000 - 0x10715bfff com.newrelic.Agent (7.4.12) /Users/USER/Library/Developer/CoreSimulator/Devices/05EB7C58-1C4E-47AA-9D1A-E0399A8B6F22/data/Containers/Bundle/Application/9A43902D-FCBC-42A9-ADDD-765D3A611295/App.app/Frameworks/NewRelic.framework/NewRelic 0x1061c0000 - 0x1061d7fff org.cocoapods.NewrelicNewrelicCapacitorPlugin (1.4.2) <86183a49-8009-3e5d-bf70-b3669e731871> /Users/USER/Library/Developer/CoreSimulator/Devices/05EB7C58-1C4E-47AA-9D1A-E0399A8B6F22/data/Containers/Bundle/Application/9A43902D-FCBC-42A9-ADDD-765D3A611295/App.app/Frameworks/NewrelicNewrelicCapacitorPlugin.framework/NewrelicNewrelicCapacitorPlugin 0x104f70000 - 0x104f77fff org.cocoapods.nanopb (2.30909.0) <0ec12cc9-1b5a-3d84-9b6c-210b0b256066> /Users/USER/Library/Developer/CoreSimulator/Devices/05EB7C58-1C4E-47AA-9D1A-E0399A8B6F22/data/Containers/Bundle/Application/9A43902D-FCBC-42A9-ADDD-765D3A611295/App.app/Frameworks/nanopb.framework/nanopb 0x104d60000 - 0x104d67fff libsystem_platform.dylib (*) /usr/lib/system/libsystem_platform.dylib 0x106528000 - 0x106563fff libsystem_kernel.dylib (*) <0c657561-0a7d-344e-838f-109a718679cf> /usr/lib/system/libsystem_kernel.dylib 0x106200000 - 0x10620ffff libsystem_pthread.dylib (*) /usr/lib/system/libsystem_pthread.dylib 0x104f88000 - 0x104fa3fff com.apple.mlcompiler.services (95) <25f3a985-ceb4-3de6-be6b-d78298983f92> /Volumes/VOLUME/*/MLCompilerServices.framework/MLCompilerServices 0x104cac000 - 0x104cb7fff com.conqa.app.ios (1.0) /Users/USER/Library/Developer/CoreSimulator/Devices/05EB7C58-1C4E-47AA-9D1A-E0399A8B6F22/data/Containers/Bundle/Application/9A43902D-FCBC-42A9-ADDD-765D3A611295/App.app/App 0x104e2c000 - 0x104e73fff dyld_sim (*) <45b5018b-7ae1-3c95-86a5-d89fd6cb36ae> /Volumes/VOLUME/*/dyld_sim 0x18b934000 - 0x18e378fdf com.apple.WebCore (8617) <8ac47f62-1b99-373b-b3f5-69d7a353e3e1> /Volumes/VOLUME/*/WebCore.framework/WebCore 0x18ad4f000 - 0x18b933fff com.apple.WebKit (8617) /Volumes/VOLUME/*/WebKit.framework/WebKit 0x194d47000 - 0x1963ccfdf com.apple.JavaScriptCore (8617) /Volumes/VOLUME/*/JavaScriptCore.framework/JavaScriptCore 0x180364000 - 0x180717fff com.apple.CoreFoundation (6.9) /Volumes/VOLUME/*/CoreFoundation.framework/CoreFoundation 0x18e9f8000 - 0x18ea00fff com.apple.GraphicsServices (1.0) <7cea06b5-77ce-3388-bb85-9a6942ca7f99> /Volumes/VOLUME/*/GraphicsServices.framework/GraphicsServices 0x18471f000 - 0x186085fff com.apple.UIKitCore (1.0) /Volumes/VOLUME/*/UIKitCore.framework/UIKitCore 0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ??? 0x180797000 - 0x18123dfff com.apple.Foundation (6.9) <03b66a9f-be07-39ef-812d-ea7d8b87f7eb> /Volumes/VOLUME/*/Foundation.framework/Foundation 0x184250000 - 0x1845e1fff com.apple.CFNetwork (1.0) <12886c7c-4c78-3c51-82a9-87ea2bff7b7d> /Volumes/VOLUME/*/CFNetwork.framework/CFNetwork ```

Your Environment

MacBookPro17,1, BootROM 10151.121.1, proc 8:4:4 processors, 16 GB, SMC iPhone 15 simulator on Capacitor 6.0.0

Additional context

it seems to be some kind of serialisation issue, possibly due to the exception being unhandled in the newrelic plugin and sending some kind of non-seriablize error context. e.g. the response object

ndesai-newrelic commented 1 month ago

@ztsmith we are unable to reproduce the issue on our side, can you share the sample app for this?