[Webkit-unassigned] [Bug 70423] ThreadRestrictionVerifier assertion failure in FormData callback

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 19 12:35:38 PDT 2011


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





--- Comment #2 from David Levin <levin at chromium.org>  2011-10-19 12:35:38 PST ---
(In reply to comment #1)
> Dave, does this look like a real bug, or a false positive? It's expected that FormData callbacks are made on secondary thread. Maybe FormData should be ThreadSafeRefCounted?

At first glance it looks like a real bug, and making FormData ThreadSafeRefCounted would fix it.

It wouldn't be a real bug 
1. if there were some mechanism like locks, etc. which guarded the ref counting but I don't see a place in this call stack that would do the locking.
OR
2. If the FormData were not referenced on the main thread at all at this point. (The assert only gets triggered if the ref count is 2 at present so at least two things are referencing it.)

I'm not familiar enough with the design in FormData to know if either of those is true.

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