Bug 246174 - REGRESSION(255128@main): [ macOS Debug ] TestWTF.WTF_RunLoop.CapabilityIsCurrentNegativeDeathTest is a constant failure
Summary: REGRESSION(255128@main): [ macOS Debug ] TestWTF.WTF_RunLoop.CapabilityIsCurr...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Kimmo Kinnunen
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-10-06 13:51 PDT by Hercules Hjalmarsson
Modified: 2022-10-06 23:35 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hercules Hjalmarsson 2022-10-06 13:51:25 PDT
TestWTF.WTF_RunLoop.CapabilityIsCurrentNegativeDeathTest

Is a constant API failure on macOS ToT and since 255128@main.

HISTORY:
https://results.webkit.org/?suite=layout-tests&test=TestWTF.WTF_RunLoop.CapabilityIsCurrentNegativeDeathTest

DIFF:
        
        /Volumes/Data/worker/Apple-Monterey-Debug-Build/build/Tools/TestWebKitAPI/Tests/WTF/RunLoop.cpp:260
        Death test: { WTF::initializeMainThread(); Thread::create("CapabilityIsCurrentNegative thread", [&] { assertIsCurrent(RunLoop::main()); })->waitForCompletion(); }
            Result: died but not with expected error.
          Expected: contains regular expression "ASSERTION FAILED: &RunLoop::current\\(\\) == &runLoop"
        Actual msg:
        [  DEATH   ] ASSERTION FAILED: runLoop.isCurrent()
        [  DEATH   ] /Volumes/Data/worker/Apple-Monterey-Debug-Build/build/WebKitBuild/Debug/usr/local/include/wtf/RunLoop.h(286) : void WTF::assertIsCurrent(const WTF::RunLoop &)
        [  DEATH   ] 1   0x70000e022da0 (null)
        [  DEATH   ] 2   0x1020b92d8 (null)
        [  DEATH   ] 3   0xa01c2fee5 (null)
        [  DEATH   ] 4   0x70000e022da0 (null)
        [  DEATH   ] 5   0x70000e022d58 (null)
        [  DEATH   ] 6   0x70000e022d70 (null)
        [  DEATH   ] 7   0x101c3007f WTFPrintBacktrace
        [  DEATH   ] 8   0x70000e022d70 (null)
        [  DEATH   ] 9   0x1020ee600 vtable for CrashLogPrintStream
        [  DEATH   ] 10  0xa0e022d8c (null)
        [  DEATH   ] 

DIFF URL:
https://build.webkit.org/#/builders/369/builds/6030/steps/19/logs/stdio
Comment 1 Radar WebKit Bug Importer 2022-10-06 13:51:57 PDT
<rdar://problem/100868715>
Comment 2 Hercules Hjalmarsson 2022-10-06 13:52:44 PDT
Note:

Only happening on macOS Debug.
Comment 3 Hercules Hjalmarsson 2022-10-06 13:53:01 PDT
This issue can be bisected to 255128@main using command:

run-api-tests --debug --iterations=2   TestWTF.WTF_RunLoop.CapabilityIsCurrentNegativeDeathTest
Comment 4 Kimmo Kinnunen 2022-10-06 22:53:15 PDT
Pull request: https://github.com/WebKit/WebKit/pull/5128
Comment 5 EWS 2022-10-06 23:35:17 PDT
Committed 255254@main (1caa14672691): <https://commits.webkit.org/255254@main>

Reviewed commits have been landed. Closing PR #5128 and removing active labels.