The application that I'm working on uses WebKit. I'm seeing some crashes that happen only in iOS 17.1, regarding the WebSelectionRect.
NSInvalidArgumentException: -[WebSelectionRect _transform]: unrecognized selector sent to instance 0x280e18dc0
0 CoreFoundation +0xec86c ___exceptionPreprocess
1 libobjc.A.dylib +0x2bbfc _objc_exception_throw
2 CoreFoundation +0x17d198 -[NSObject(NSObject) doesNotRecognizeSelector:]
3 CoreFoundation +0x31ff4 ____forwarding___
4 CoreFoundation +0x172b0c ___forwarding_prep_0___
5 UIKitCore +0x9314ac -[_UITextChoiceAccelerationBubble updateWithChoices:fromParentView:referenceTextView:presentedFromRect:]
6 UIKitCore +0x93a8cc ___96-[_UITextChoiceAccelerationAssistant showPromptForReplacementCandidate:originalCandidate:delay:]_block_invoke
7 Foundation +0x74dd68 ___NSFireTimer
8 CoreFoundation +0xad5cc ___CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__
9 CoreFoundation +0xad274 ___CFRunLoopDoTimer
10 CoreFoundation +0x36e70 ___CFRunLoopDoTimers
11 CoreFoundation +0x33e88 ___CFRunLoopRun
12 CoreFoundation +0x33664 _CFRunLoopRunSpecific
13 GraphicsServices +0x35e8 _GSEventRunModal
14 UIKitCore +0x22d37c -[UIApplication _run]
15 UIKitCore +0x22c9b8 _UIApplicationMain
16 *** +0xe330 main (main.m:16:10)
17 dyld +0x5dc8 start
This behavior was not seen in any other iOS version. Is there a way to find the reason for this error? Or has anyone faced it and could solve it?
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
The application that I'm working on uses WebKit.
I'm facing a strange behavior in the app with iOS 17, in which errors are being reported only for this OS version.
It is a SIGABRT error, but there is no relevant information on it to work on.
SIGABRT:
0 libsystem_kernel.dylib +0xa01c ___pthread_kill
1 libsystem_pthread.dylib +0x567c _pthread_kill
2 libsystem_c.dylib +0x75bac _abort
3 libc++.1.dylib +0x21bb0 std::__1::__libcpp_verbose_abort(char const*, ...)
4 WebKit +0x5b7ed8 WebKit::ProcessThrottler::sendPrepareToSuspendIPC(WebKit::IsSuspensionImminent)
5 WebKit +0x5b71d0 WebKit::ProcessThrottler::removeActivity(WebKit::ProcessThrottlerActivity&)
6 WebKit +0x20dae8 WebKit::ProcessThrottlerActivity::~ProcessThrottlerActivity()
7 WebKit +0x20da80 std::__1::unique_ptr<WebKit::ProcessThrottlerActivity, std::__1::default_delete<WebKit::ProcessThrottlerActivity> >::reset[abi:v160006](WebKit::ProcessThrottlerActivity*)
8 WebKit +0x5a0d9c WTF::Detail::CallableWrapper<WebKit::AuxiliaryProcessProxy::sendMessage(WTF::UniqueRef<IPC::Encoder>&&, WTF::OptionSet<IPC::SendOption>, std::__1::optional<IPC::ConnectionAsyncReplyHandler>, WebKit::AuxiliaryProcessProxy::ShouldStartProcessThrottlerActivity)::$_5, void, IPC::Decoder*>::~CallableWrapper()
9 WebKit +0xac1524 IPC::Connection::dispatchMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >)
10 WebKit +0xac1868 IPC::Connection::dispatchIncomingMessages()
11 JavaScriptCore +0x4fe10 WTF::RunLoop::performWork()
12 JavaScriptCore +0x50ce0 WTF::RunLoop::performWork(void*)
13 CoreFoundation +0x37ac8 ___CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
14 CoreFoundation +0x36d44 ___CFRunLoopDoSource0
15 CoreFoundation +0x354f8 ___CFRunLoopDoSources0
16 CoreFoundation +0x34234 ___CFRunLoopRun
17 CoreFoundation +0x33e14 _CFRunLoopRunSpecific
18 GraphicsServices +0x35e8 _GSEventRunModal
19 UIKitCore +0x22f2f8 -[UIApplication _run]
20 UIKitCore +0x22e934 _UIApplicationMain
21 xxx +0xd0c4 main (main.m:15:10)
22 dyld +0x5d40 start
This error is not occurring on iOS 16 or less.
Is there a way to find the reason for this error? Or has anyone faced it and could solve it?