WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
64411
ASSERT(isMainThread()) triggered in StorageTracker::deleteOrigin()
https://bugs.webkit.org/show_bug.cgi?id=64411
Summary
ASSERT(isMainThread()) triggered in StorageTracker::deleteOrigin()
Pratik Solanki
Reported
2011-07-12 16:54:50 PDT
I just ran into this assert. WebKit was loading a twitter page and I quit it. It asserted when terminating. ASSERTION FAILED: isMainThread() /Volumes/Data/psolanki/sources/external/WebKit.git/Source/WebCore/storage/StorageTracker.cpp(416) : void WebCore::StorageTracker::deleteOrigin(WebCore::SecurityOrigin *) 1 WebCore::StorageTracker::deleteOrigin(WebCore::SecurityOrigin*) 2 WebCore::StorageTracker::deleteOrigin(WTF::String const&) 3 WebCore::StorageAreaSync::deleteEmptyDatabase() 4 WebCore::LocalStorageTask::performTask() 5 WebCore::LocalStorageThread::threadEntryPoint() 6 WebCore::LocalStorageThread::threadEntryPointCallback(void*) 7 WTF::threadEntryPoint(void*) 8 _pthread_start 9 thread_start Looking at the code, StorageAreaSync::deleteEmptyDatabase() asserts that it is not on the main thread. But then it calls deleteOrigin() that wants to be on the main thread.
Attachments
Add attachment
proposed patch, testcase, etc.
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