Post

Replies

Boosts

Views

Activity

CoreFoundation crash
Hello, I am facing a strange issue with my app. I am getting a number of crashes in Firebase logs. but I am unable to reproduce it. I am getting the following crash log from the Firebase crash analytics. StackTrack: Fatal Exception: NSMallocException Failed to grow buffer Fatal Exception: NSMallocException 0 CoreFoundation 0xa248 __exceptionPreprocess 1 libobjc.A.dylib 0x17a68 objc_exception_throw 2 CoreFoundation 0x1b2c2c -[NSInvocation _initWithMethodSignature:frame:buffer:size:].cold.1 3 CoreFoundation 0x1aabfc __CFReallocationFailed 4 CoreFoundation 0x8b068 __CFSafelyReallocate 5 Foundation 0x9f678 _convertJSONString 6 Foundation 0xa158c _writeJSONString 7 Foundation 0xc56b8 ___writeJSONObject_block_invoke 8 libswiftCore.dylib 0x37ea8c specialized _SwiftDeferredNSDictionary.enumerateKeysAndObjects(options:using:) 9 libswiftCore.dylib 0xc9fec @objc _SwiftDeferredNSDictionary.enumerateKeysAndObjects(options:using:) 10 Foundation 0x274c4 _writeJSONObject 11 Foundation 0x50b4c -[_NSJSONWriter dataWithRootObject:options:] 12 Foundation 0x50578 +[NSJSONSerialization dataWithJSONObject:options:error:] 13 AccountLinking 0x1c63c (Missing UUID ba0b194e3fe83a5a8990a27a4ef85da6) 14 AccountLinking 0x1bfac (Missing UUID ba0b194e3fe83a5a8990a27a4ef85da6) 15 AccountLinking 0x22184 (Missing UUID ba0b194e3fe83a5a8990a27a4ef85da6) 16 AccountLinking 0x29594 (Missing UUID ba0b194e3fe83a5a8990a27a4ef85da6) 17 AccountLinking 0x178fc (Missing UUID ba0b194e3fe83a5a8990a27a4ef85da6) 18 libdispatch.dylib 0x3fdc _dispatch_client_callout 19 libdispatch.dylib 0x13574 _dispatch_lane_barrier_sync_invoke_and_complete 20 AccountLinking 0x28c84 (Missing UUID ba0b194e3fe83a5a8990a27a4ef85da6) 21 AccountLinking 0x22524 (Missing UUID ba0b194e3fe83a5a8990a27a4ef85da6) 22 WebKit 0x2e251c ScriptMessageHandlerDelegate::didPostMessage(WebKit::WebPageProxy&, WebKit::FrameInfoData&&, API::ContentWorld&, WebCore::SerializedScriptValue&) 23 WebKit 0x6dd0dc WebKit::WebUserContentControllerProxy::didPostMessage(***::ObjectIdentifier<WebKit::WebPageProxyIdentifierType>, WebKit::FrameInfoData&&, unsigned long long, ***::Span<unsigned char const, 18446744073709551615ul> const&, ***::CompletionHandler<void (***::Span<unsigned char const, 18446744073709551615ul> const&, ***::String const&)>&&) 24 WebKit 0xa54f88 WebKit::WebUserContentControllerProxy::didReceiveMessage(IPC::Connection&, IPC::Decoder&) 25 WebKit 0x3d2d30 IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&, IPC::Decoder&) 26 WebKit 0x61d54c WebKit::WebProcessProxy::didReceiveMessage(IPC::Connection&, IPC::Decoder&) 27 WebKit 0x3cb6ac IPC::Connection::dispatchMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >) 28 WebKit 0x3caf28 IPC::Connection::dispatchIncomingMessages() 29 JavaScriptCore 0x4fb5c ***::RunLoop::performWork() 30 JavaScriptCore 0x50894 ***::RunLoop::performWork(void*) 31 CoreFoundation 0xd622c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ 32 CoreFoundation 0xe2614 __CFRunLoopDoSource0 33 CoreFoundation 0x6657c __CFRunLoopDoSources0 34 CoreFoundation 0x7beb8 __CFRunLoopRun 35 CoreFoundation 0x811e4 CFRunLoopRunSpecific 36 GraphicsServices 0x1368 GSEventRunModal 37 UIKitCore 0x3a2d88 -[UIApplication _run] 38 UIKitCore 0x3a29ec UIApplicationMain 39 MyApp 0x95a0 main + 35 (AppDelegate.swift:35) 40 ??? 0x1b4abd948 (Missing)
1
2
1.2k
Mar ’23
iOS 15 Crash : Foundation +[NSDateFormatter setDefaultFormatterBehavior:]
My App is getting crash on the user side but not able to reproduce it on our side. this issue is being reported via Crashlytics. Also, I am getting this crash issue in iOS 15 version but not getting any log for iOS 16 version. how I can catch this crash and fix it. any help will be appreciated. Here is the crash log, crashlog.txt
2
0
615
Mar ’23