On Saturday 2014-04-19 08:36 +0900, ISHIKAWA,chiaki wrote: > I see the following ASSERTION error about *800* times during > test run of |mach mochitest-plain| of full debug build of FF created > from M-C portion (./mozilla) of C-C source tree. > They look grave but test harness seems to pass the tests themsevles most > of the time. > > ###!!! ASSERTION: bad size recorded: 'aInstanceSize == 0 || > entry->GetClassSize() == aInstanceSize', file > /REF-COMM-CENTRAL/comm-central/mozilla/xpcom/base/nsTraceRefcnt.cpp, > line 441 > > What does this error mean? > I have not seen these assertions in full debug TB test and so not sure > how grave or light the assertions are. > > A typical trace shows something like this (sanitized a bit to remove the > timestamp > at the beginning of the each line) :
It probably means that there are two different classes reporting the same name to nsTraceRefcnt. Classes that use the NS_IMPL_ISUPPORTSn or NS_IMPL_ADDREF + NS_IMPL_RELEASE macros should use the fully qualified class name and not depend on being inside namespace declarations. In this case, I think the problem is mozilla::dom::MessagePort and mozilla::dom::workers::MessagePort. -David -- 𝄞 L. David Baron http://dbaron.org/ 𝄂 𝄢 Mozilla https://www.mozilla.org/ 𝄂 Before I built a wall I'd ask to know What I was walling in or walling out, And to whom I was like to give offense. - Robert Frost, Mending Wall (1914)
signature.asc
Description: Digital signature
_______________________________________________ dev-platform mailing list [email protected] https://lists.mozilla.org/listinfo/dev-platform

