[Webkit-unassigned] [Bug 110247] fast/workers/storage/interrupt-database.html asserts flakily

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 20 10:57:10 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=110247


Mark Lam <mark.lam at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|webkit-unassigned at lists.web |mark.lam at apple.com
                   |kit.org                     |
                 CC|                            |ggaren at apple.com




--- Comment #6 from Mark Lam <mark.lam at apple.com>  2013-02-20 10:59:32 PST ---
During an interruption, the SQLTransactionBackend will request its frontend to transit to state End. It then proceeds to put itself in state End.

The frontend SQLTransaction will try to execute the state transition to End, and discovers the database being interrupted (this is our intent when we told it go to End).  Instead, it will initiate clean up which also entails requesting that the SQLTransacionBackend transit to state CleanupAndTerminate.  This is not a problem because the backend state machine will detect that the database interruption, repeat the cleanup (no harm), and go to state End anyway.

That said, that last state transition is from state End to state End, and this makes the assertion unhappy.  I'll provide a patch shortly to clean up the the state dispatch mechanism so that this assertion won't find itself in the interruption path where it does not belong.  It only makes sense under normal circumstances.

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