Skip to content

webview_flutter_wkwebview tests crash during -[WKNavigationResponse dealloc] on Xcode 26 beta 4 #173326

@jmagman

Description

@jmagman

Testing Xcode 26 beta 4 in this PR: flutter/packages#9748

Failure logs:
https://ci.chromium.org/ui/p/flutter/builders/try/Mac_arm64%20ios_platform_tests_shard_5%20master/23112/overview

Restarting after unexpected exit, crash, or test timeout; summary will include totals from previous launches.

Xcode xcresult failure from that run: https://storage.googleapis.com/flutter_logs/flutter/b50f795f-82df-417e-b550-b8d86b1ef0b0/boot%20simulator/b50f795f-82df-417e-b550-b8d86b1ef0b0/xcodebuild-2025-08-05T21:40:08.382079.zip

Tests crashing:

-[NavigationResponseProxyAPITests testIsForMainFrame]
-[NavigationResponseProxyAPITests testResponse]
-[NavigationDelegateProxyAPITests testDecidePolicyForNavigationResponse]

Crash log:

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x0000000101f3dd54
Termination Reason: SIGNAL 5 Trace/BPT trap: 5
Terminating Process: exc handler [33630]

Triggered by Thread:  0

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   CoreFoundation                	       0x101f3dd54 CFRetain.cold.1 + 16
1   CoreFoundation                	       0x101e14860 CFRetain + 104
2   WebKit                        	       0x10864dd24 -[WKNavigationResponse dealloc] + 52
3   RunnerTests                   	       0x158223a2c NavigationResponseProxyAPITests.testIsForMainFrame() + 784 (NavigationResponseProxyAPITests.swift:29)
4   RunnerTests                   	       0x158223b9c @objc NavigationResponseProxyAPITests.testIsForMainFrame() + 44

xcode26_crash.txt

I was able to reproduce this locally on Xcode 26.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listp: webviewThe WebView pluginpackageflutter/packages repository. See also p: labels.platform-iosiOS applications specificallyteam-iosOwned by iOS platform teamtriaged-iosTriaged by iOS platform team

    Type

    No type

    Projects

    Status

    Not started

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions