Closed Bug 719701 Opened 13 years ago Closed 11 years ago

"ASSERTION: bad size recorded" with mozConnection

Categories

(Core :: DOM: Core & HTML, defect)

x86_64
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jruderman, Unassigned)

References

Details

(Keywords: assertion, testcase)

Attachments

(2 files, 1 obsolete file)

Attached file testcase (obsolete) (deleted) —
1. Run a debug build of Firefox with XPCOM_MEM_LEAK_LOG=2 2. Load the testcase. Result: ###!!! ASSERTION: bad size recorded: 'aInstanceSize == 0 || entry->GetClassSize() == aInstanceSize', file xpcom/base/nsTraceRefcntImpl.cpp, line 473 NS_LogAddRef_P [xpcom/base/nsTraceRefcntImpl.cpp:998] mozilla::dom::network::Connection::AddRef [dom/network/src/Connection.cpp:79] mozilla::dom::network::Connection::QueryInterface [dom/network/src/Connection.cpp:77] XPCWrappedNative::InitTearOff [js/xpconnect/src/XPCWrappedNative.cpp:1882] XPCWrappedNative::FindTearOff [js/xpconnect/src/XPCWrappedNative.cpp:1835] XPCWrappedNative::GetNewOrUsed [js/xpconnect/src/XPCWrappedNative.cpp:571] XPCConvert::NativeInterface2JSObject [js/xpconnect/src/XPCConvert.cpp:1056] XPCConvert::NativeData2JS [js/xpconnect/src/XPCConvert.cpp:394] CallMethodHelper::GatherAndConvertResults [js/xpconnect/src/xpcprivate.h:3228] XPCWrappedNative::CallMethod [js/xpconnect/src/XPCWrappedNative.cpp:2243] XPC_WN_GetterSetter [js/xpconnect/src/xpcprivate.h:2650] js::CallJSNative [js/src/jscntxtinlines.h:311] (A similar assertion used to happen with another API in bug 711602.)
Blocks: 677166
Attached file stack trace (deleted) —
Attached file testcase (unprefixed) (deleted) —
WFM on trunk
Attachment #590093 - Attachment is obsolete: true
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: