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

[Parent 19583] ###!!! ASSERTION: bad size recorded: 'aInstanceSize == 0
|| entry->GetClassSize() == aInstanceSize', file
/REF-COMM-CENTRAL/comm-central/mozilla/xpcom/base/nsTraceRefcnt.cpp,
line 441
NS_LogAddRef
(/REF-COMM-CENTRAL/comm-central/mozilla/xpcom/base/nsTraceRefcnt.cpp:979)
mozilla::dom::workers::MessagePort::AddRef()
(/REF-COMM-CENTRAL/comm-central/mozilla/dom/workers/MessagePort.cpp:220)
mozilla::dom::workers::SharedWorker::SharedWorker(nsPIDOMWindow*,
mozilla::dom::workers::WorkerPrivate*)
(/WWW-DIR/ff-objdir-tb3/dom/workers/../../dist/include/nsAutoPtr.h:879)
mozilla::dom::workers::RuntimeService::CreateSharedWorker(mozilla::dom::GlobalObject
const&, nsAString_internal const&, nsACString_internal const&,
mozilla::dom::workers::SharedWorker**)
(/WWW-DIR/ff-objdir-tb3/dom/workers/../../dist/include/nsAutoPtr.h:917)
 ...


NOTE: Interesting thing is that almost all such ASSERTIONS have the
following line at the top of the trace.
(I think "ALL" is likely, but I may have missed a few lines.)

mozilla::dom::workers::MessagePort::AddRef()
(/REF-COMM-CENTRAL/comm-central/mozilla/dom/workers/MessagePort.cpp:220)


_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to