WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
249303
[ New Test ] (
257736@main
): [ macOS Debug ] ASSERTION FAILED: m_targetWindowForMovePreparation => m_targetWindowForMovePreparation == window
https://bugs.webkit.org/show_bug.cgi?id=249303
Summary
[ New Test ] (257736@main): [ macOS Debug ] ASSERTION FAILED: m_targetWindowF...
Karl Rackler
Reported
2022-12-14 05:08:36 PST
Description: TestWebKitAPI.WKWebView.PrepareForMoveToWindowShouldNotCrashWhenRemovingWindowObservers is a consistent crash The test was added at
257736@main
and has been a consistent crash since then. This issue can be bisected to
257736@main
using the command: run-api-tests --debug TestWebKitAPI.WKWebView.PrepareForMoveToWindowShouldNotCrashWhenRemovingWindowObservers History:
https://results.webkit.org/?suite=api-tests&test=TestWebKitAPI.WKWebView.PrepareForMoveToWindowShouldNotCrashWhenRemovingWindowObservers&style=debug&limit=50000
Crashed TestWebKitAPI.WKWebView.PrepareForMoveToWindowShouldNotCrashWhenRemovingWindowObservers ASSERTION FAILED: m_targetWindowForMovePreparation => m_targetWindowForMovePreparation == window /Volumes/Data/worker/trunk-sunburst-debug-archive/build/OpenSource/Source/WebKit/UIProcess/mac/WebViewImpl.mm(2120) : void WebKit::WebViewImpl::viewWillMoveToWindowImpl(NSWindow *) 1 0x124227fa9 WTFCrash 2 0x152eb3435 WebKit::WebViewImpl::viewWillMoveToWindowImpl(NSWindow*) 3 0x152eb4d8f WebKit::WebViewImpl::prepareForMoveToWindow(NSWindow*, WTF::Function<void ()>&&) 4 0x152b88b70 -[WKWebView(WKPrivateMac) _prepareForMoveToWindow:completionHandler:] 5 0x10fea297c WKWebView_PrepareForMoveToWindowShouldNotCrashWhenRemovingWindowObservers_Test::TestBody() 6 0x1105718db void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) 7 0x11053c69a void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) 8 0x11053c5e3 testing::Test::Run() 9 0x11053d761 testing::TestInfo::Run() 10 0x11053e7a4 testing::TestSuite::Run() 11 0x11054d76b testing::internal::UnitTestImpl::RunAllTests() 12 0x11057629b bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) 13 0x11054d12a bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) 14 0x11054d015 testing::UnitTest::Run() 15 0x10fb75071 RUN_ALL_TESTS() 16 0x10fb75006 TestWebKitAPI::TestsController::run(int, char**) 17 0x11050c832 main 18 0x7ff819a5942c start LEAK: 1 WebPage LEAK: 1 WebFrame LEAK: 4 RenderObject LEAK: 1 Page LEAK: 1 Frame LEAK: 1 CachedResource LEAK: 5 WebCoreNode
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-12-14 05:09:19 PST
<
rdar://problem/103352822
>
Karl Rackler
Comment 2
2022-12-14 05:32:54 PST
Revert:
https://commits.webkit.org/257848@main
Alexey Proskuryakov
Comment 3
2022-12-16 17:47:12 PST
Moving to FIXED, as this was addressed by a revert.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug