[Webkit-unassigned] [Bug 84970] Mutex failure when HashTable is memcpy'ed in debug build

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 26 10:54:03 PDT 2012


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





--- Comment #5 from Joe Mason <jmason at rim.com>  2012-04-26 10:54:03 PST ---
(In reply to comment #3)
> (In reply to comment #2)
> > I notice that Mutex has WTF_MAKE_NONCOPYABLE, which is bypassed by memcpy/memmove.  Is there any way to assert in Vector<Scope> when a noncopyable object is added?  Preferably at compile time?
> 
> HashTable has copy ctor and operator= implemented, so it is copyable (mutex is not copied though)

Yeah, that would make it much harder to detect.  Have you looked for other classes which may have this problem?

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