[Webkit-unassigned] [Bug 64411] New: ASSERT(isMainThread()) triggered in StorageTracker::deleteOrigin()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 12 16:54:50 PDT 2011


           Summary: ASSERT(isMainThread()) triggered in
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: psolanki at apple.com

I just ran into this assert. WebKit was loading a twitter page and I quit it. It asserted when terminating.

/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.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list