WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
201684
[Win] ASSERT(isMainThread()) is failing in MIMETypeRegistry::getMIMETypeForExtension
https://bugs.webkit.org/show_bug.cgi?id=201684
Summary
[Win] ASSERT(isMainThread()) is failing in MIMETypeRegistry::getMIMETypeForEx...
Fujii Hironori
Reported
2019-09-11 03:12:10 PDT
Created
attachment 378551
[details]
webkitdirectory-open-panel-crash-log.txt [Win] ASSERT(isMainThread()) is faling in MIMETypeRegistry::getMIMETypeForExtension fast/forms/file/entries-api/webkitdirectory-open-panel.html is crashing in WinCairo WK2 Debug builds. Callstack:
> [WTF!WTFCrash+0xe] > [WebKit2!WTFCrashWithInfo+0x20] > [WebKit2!WebCore::MIMETypeRegistry::getMIMETypeForExtension+0x8a] > [WebKit2!WebCore::File::computeNameAndContentType+0xed] > [WebKit2!WebCore::File::create+0x84] > [WebKit2!WebCore::File::createWithRelativePath+0x87] > [WebKit2!WebCore::appendDirectoryFiles+0x222] > [WebKit2!WebCore::appendDirectoryFiles+0x1d0] > [WebKit2!WebCore::FileListCreator::createFileList<WebCore::FileListCreator::ShouldResolveDirectories::Yes>+0xe3] > [WebKit2!WebCore::FileListCreator::FileListCreator::<unnamed-tag>::operator+0x68] > [WebKit2!WTF::Detail::CallableWrapper<`lambda at ..\..\Source\WebCore\html/FileListCreator.cpp:68:31',void>::call+0x17] > [WTF!WTF::Function<void +0x90] > [WTF!WTF::WorkQueue::performWorkOnRegisteredWorkThread+0x131] > [WTF!WTF::WorkQueue::workThreadCallback+0x75] > [ntdll!RtlpTpWorkCallback+0x165] > [ntdll!TppWorkerThread+0x8d4] > [KERNEL32!BaseThreadInitThunk+0x14] > [ntdll!RtlUserThreadStart+0x21]
Attachments
webkitdirectory-open-panel-crash-log.txt
(44.93 KB, text/plain)
2019-09-11 03:12 PDT
,
Fujii Hironori
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Fujii Hironori
Comment 1
2019-09-11 03:18:28 PDT
This assertion was introduced by:
Bug 47700
– Make mime type lookup in File::create(path) thread-safe
Fujii Hironori
Comment 2
2022-05-22 23:42:09 PDT
I don't see this problem nowadays.
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