Closed kylehickinson closed 1 month ago
Most likely a race condition/side-effect of moving the data load to be asynchronous with #39169
Would have to be one of these exceptions being raised: https://github.com/WebKit/WebKit/blob/70e57867e8b2f2ac4ad58e9f2c424218e4237cea/Source/WebKit/UIProcess/WebURLSchemeTask.cpp#L151
The above requires 1.70.126
or higher for 1.70.x
verification 👍
Verified on iPhone 14
using version(s):
Device/OS: iPhone 14 / iOS 17.7
Brave build: 1.70 (126)
BraveCore: 1.70.126 (129.0.6668.100)
STEPS:
NTP
> VerifyReader Mode
button > VerifyCertificate
section > VerifyACTUAL RESULTS:
NTP
;Reader Mode
;unsecured
websites;1 | 2 | 3 |
---|---|---|
Description
There is a crash occurring for some users when loading some
internal://
url (ntp, reader mode, http strict mode, etc.), unfortunately we do not know which one is causing it yet (just that its hitting an exception inInternalSchemeHandler.webView(_:start:)
)Steps to reproduce
Unknown
Actual result
Crash
Expected result
Dont crash
Reproduces how often
Intermittent issue
Brave version
1.69+
Device/iOS version
Any
Affected browser versions
Reproducibility
Miscellaneous information
Crash Report
``` Incident Identifier: 34DF8E44-C6A8-4DEF-BDB3-A1743C423398 Distributor ID: com.apple.AppStore Hardware Model: iPhone14,6 Process: Client [13159] Path: /private/var/containers/Bundle/Application/01A788B4-6FE7-4F62-82C8-98939EDC5EB3/Client.app/Client Identifier: com.brave.ios.browser Version: 1.69.2 (172) AppStoreTools: 16A242b AppVariant: 1:iPhone14,6:16 Code Type: ARM-64 (Native) Role: Foreground Parent Process: launchd [1] Coalition: com.brave.ios.browser [1549] Date/Time: 2024-10-07 20:13:10.6692 +0900 Launch Time: 2024-10-07 20:09:57.4152 +0900 OS Version: iPhone OS 17.6.1 (21G93) Release Type: User Baseband Version: 3.50.04 Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Termination Reason: SIGNAL 6 Abort trap: 6 Terminating Process: Client [13159] Triggered by Thread: 24 Last Exception Backtrace: 0 CoreFoundation 0x1a29e0f20 __exceptionPreprocess + 164 (NSException.m:249) 1 libobjc.A.dylib 0x19a8872b8 objc_exception_throw + 60 (objc-exception.mm:356) 2 CoreFoundation 0x1a2adf6dc +[NSException raise:format:] + 112 (NSException.m:0) 3 Client 0x104cff100 closure #1 in InternalSchemeHandler.webView(_:start:) + 104 (InternalSchemeHandler.swift:149) 4 Client 0x104cfff25 partial apply for closure #1 in InternalSchemeHandler.webView(_:start:) + 1 (