Bug 247872

Summary: [WinCairo] KeyedDecoderGeneric: TestWebCore.KeyedCoding.DecodeRandomData is crashing
Product: WebKit Reporter: Fujii Hironori <Hironori.Fujii>
Component: WebCore Misc.Assignee: Fujii Hironori <Hironori.Fujii>
Status: RESOLVED FIXED    
Severity: Normal CC: don.olmstead, ross.kirsling, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Fujii Hironori
Reported 2022-11-13 18:21:13 PST
[WinCairo] KeyedDecoderGeneric: TestWebCore.KeyedCoding.DecodeRandomData is failing TestWebCore.KeyedCoding.DecodeRandomData 1 00007FF8FA44248B WTFCrash 2 00007FF8D05E8FFF (null) 3 00007FF8D062D7AE (null) 4 00007FF8D062A6D1 (null) 5 00007FF8D09D7FC3 WebCore::appendLinkedFonts 6 00007FF8D0A5CB26 WebCore::KeyedDecoder::decoder 7 00007FF8D0A5BAE0 WebCore::KeyedDecoder::decoder 8 00007FF8D0A64313 WebCore::KeyedDecoder::decoder 9 00007FF8D0A63A36 WebCore::KeyedDecoder::decoder 10 00007FF8D0A5B898 WebCore::KeyedDecoder::decoder 11 00007FF8D05E7884 (null) 12 00007FF8D530961D WebCore::XPathResult::snapshotItem 13 00007FF8D53094FC WebCore::XPathResult::snapshotItem 14 00007FF8D52F068B WebCore::XPathResult::snapshotItem 15 00007FF8D52F120D WebCore::XPathResult::snapshotItem 16 00007FF8D52F1AEE WebCore::XPathResult::snapshotItem 17 00007FF8D52F7E57 WebCore::XPathResult::snapshotItem 18 00007FF8D53097AD WebCore::XPathResult::snapshotItem 19 00007FF8D53095EC WebCore::XPathResult::snapshotItem 20 00007FF8D52F2326 WebCore::XPathResult::snapshotItem 21 00007FF8D0517573 (null) 22 00007FF8D051490E (null) 23 00007FF8D066666B WebCore::PlatformTimeRanges::length 24 00007FF8D06666BC dllLauncherEntryPoint 25 00007FF701AA1A0C (null) 26 00007FF701AA5BD4 (null) 27 00007FF9083E7974 BaseThreadInitThunk 28 00007FF9247AA271 RtlUserThreadStart File name unavailable SEH exception with code 0xc0000005 thrown in the test body. 254680@main: Last good 254685@main: First bad, https://build.webkit.org/#/builders/60/builds/8127
Attachments
Patch (1.26 KB, patch)
2022-11-13 20:25 PST, Fujii Hironori
no flags
Fujii Hironori
Comment 2 2022-11-13 20:24:18 PST
Backtrace: > WTF.dll!WTFCrash() Line 327 C++ > TestWebCoreLib.dll!WTF::VectorBufferBase<unsigned char,WTF::FastMalloc>::allocateBuffer<0>(unsigned __int64 newCapacity) Line 313 C++ > TestWebCoreLib.dll!WTF::VectorBufferBase<unsigned char,WTF::FastMalloc>::allocateBuffer(unsigned __int64 newCapacity) Line 327 C++ > TestWebCoreLib.dll!WTF::VectorBuffer<unsigned char,0,WTF::FastMalloc>::VectorBuffer<unsigned char,0,WTF::FastMalloc>(unsigned __int64 capacity, unsigned __int64 size) Line 414 C++ > TestWebCoreLib.dll!WTF::Vector<unsigned char,0,WTF::CrashOnOverflow,16,WTF::FastMalloc>::Vector<unsigned char,0,WTF::CrashOnOverflow,16,WTF::FastMalloc>(unsigned __int64 size) Line 689 C++ > TestWebCoreLib.dll!WebCore::readString(WTF::Persistence::Decoder & decoder) Line 61 C++ > TestWebCoreLib.dll!WebCore::KeyedDecoderGeneric::KeyedDecoderGeneric(const unsigned char * data, unsigned __int64 size) Line 106 C++ > [External Code] > TestWebCoreLib.dll!WTF::makeUnique<WebCore::KeyedDecoderGeneric,unsigned char const * &,unsigned __int64 &>(const unsigned char * & <args_0>, unsigned __int64 & <args_1>) Line 539 C++ > TestWebCoreLib.dll!WebCore::KeyedDecoder::decoder(const unsigned char * data, unsigned __int64 size) Line 86 C++ > TestWebCoreLib.dll!TestWebKitAPI::KeyedCoding_DecodeRandomData_Test::TestBody() Line 309 C++ > TestWebCoreLib.dll!testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test,void>(testing::Test * object, void(testing::Test::*)() method, const char * location) Line 2592 C++ > TestWebCoreLib.dll!testing::internal::HandleExceptionsInMethodIfSupported<testing::Test,void>(testing::Test * object, void(testing::Test::*)() method, const char * location) Line 2662 C++ > TestWebCoreLib.dll!testing::Test::Run() Line 2689 C++ > TestWebCoreLib.dll!testing::TestInfo::Run() Line 2864 C++ > TestWebCoreLib.dll!testing::TestSuite::Run() Line 3016 C++ > TestWebCoreLib.dll!testing::internal::UnitTestImpl::RunAllTests() Line 5852 C++ > TestWebCoreLib.dll!testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl,bool>(testing::internal::UnitTestImpl * object, bool(testing::internal::UnitTestImpl::*)() method, const char * location) Line 2592 C++ > TestWebCoreLib.dll!testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl,bool>(testing::internal::UnitTestImpl * object, bool(testing::internal::UnitTestImpl::*)() method, const char * location) Line 2662 C++ > TestWebCoreLib.dll!testing::UnitTest::Run() Line 5434 C++ > TestWebCoreLib.dll!RUN_ALL_TESTS() Line 2472 C++ > TestWebCoreLib.dll!TestWebKitAPI::TestsController::run(int argc, char * * argv) Line 89 C++ > TestWebCoreLib.dll!main(int argc, char * * argv) Line 41 C++ > TestWebCoreLib.dll!dllLauncherEntryPoint(int argc, char * * argv) Line 49 C++ > TestWebCore.exe!main(int argc, const char * * argv) Line 223 C++ > [External Code]
Fujii Hironori
Comment 3 2022-11-13 20:25:46 PST
Ross Kirsling
Comment 4 2022-11-14 00:19:15 PST
Comment on attachment 463511 [details] Patch LGTM
EWS
Comment 5 2022-11-14 01:27:37 PST
Committed 256642@main (6d664461ef74): <https://commits.webkit.org/256642@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 463511 [details].
Radar WebKit Bug Importer
Comment 6 2022-11-14 01:28:24 PST
Note You need to log in before you can comment on or make changes to this bug.