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]
This assertion was introduced by: Bug 47700 – Make mime type lookup in File::create(path) thread-safe
I don't see this problem nowadays.