RESOLVED FIXED300722
TestWTF.WTF_OptionSet.AddAndRemove has ASSERTION FAILED: hasOneBitSet(static_cast<StorageType>(option))
https://bugs.webkit.org/show_bug.cgi?id=300722
Summary TestWTF.WTF_OptionSet.AddAndRemove has ASSERTION FAILED: hasOneBitSet(static_...
Bryan Medina
Reported 2025-10-14 13:27:30 PDT
Revert 301450@main because Broke API test TestWTF.WTF_OptionSet.AddAndRemove.
Attachments
Stacktrace (1.70 MB, text/plain)
2025-10-14 13:38 PDT, Bryan Medina
no flags
Radar WebKit Bug Importer
Comment 1 2025-10-14 13:27:39 PDT
Bryan Medina
Comment 2 2025-10-14 13:29:26 PDT
EWS
Comment 3 2025-10-14 13:32:27 PDT
Committed 301494@main (053f7455f3e8): <https://commits.webkit.org/301494@main> Reviewed commits have been landed. Closing PR #52320 and removing active labels.
Bryan Medina
Comment 4 2025-10-14 13:38:54 PDT
Created attachment 477076 [details] Stacktrace
Bryan Medina
Comment 5 2025-10-14 13:44:44 PDT
Commit https://commits.webkit.org/301450@main has caused 'Tests.WTF.WTF.OptionSet' tests to constantly crash
Bryan Medina
Comment 6 2025-10-14 14:22:31 PDT
Logs: ASSERTION FAILED: hasOneBitSet(static_cast<StorageType>(option)) 00:44:22.061 40372 /Volumes/Data/worker/Apple-Sequoia-Debug-Build/build/WebKitBuild/Debug/usr/local/include/wtf/OptionSet.h(98) : WTF::OptionSet<TestWebKitAPI::ExampleFlags, WTF::ConcurrencyTag::None>::OptionSet(std::initializer_list<E>) [E = TestWebKitAPI::ExampleFlags, concurrency = WTF::ConcurrencyTag::None]
Jonathan Bedard
Comment 7 2025-10-14 14:42:06 PDT
This broke many tests, not just the one: TestWebKitAPI.SiteIsolation.OpenBeforeInitialLoad TestWTF.WTF_OptionSet.AddAndRemove TestWTF.WTF_OptionSet.ContainsAll TestWTF.WTF_OptionSet.ContainsAny TestWTF.WTF_OptionSet.ContainsTwoFlags TestWTF.WTF_OptionSet.ContainsTwoFlags2 TestWTF.WTF_OptionSet.ContainsTwoFlags3 TestWTF.WTF_OptionSet.Equal TestWTF.WTF_OptionSet.HashSet TestWTF.WTF_OptionSet.IterateOverOptionSetThatContainsFlags2 TestWTF.WTF_OptionSet.IterateOverOptionSetThatContainsTwoFlags TestWTF.WTF_OptionSet.Minus TestWTF.WTF_OptionSet.OperatorAnd TestWTF.WTF_OptionSet.OperatorXor TestWTF.WTF_OptionSet.OptionSetThatContainsTwoFlagsToRawValueToOptionSet TestWTF.WTF_OptionSet.OptionSetThatContainsTwoFlagsToRawValueToOptionSet2 TestWTF.WTF_OptionSet.Or TestWTF.WTF_OptionSet.OrAssignment TestWTF.WTF_OptionSet.Set TestWTF.WTF_OptionSet.TwoIteratorsIntoSameOptionSet
Note You need to log in before you can comment on or make changes to this bug.