FMM [@ inCSSValueSearch::~inCSSValueSearch]

RESOLVED FIXED

Status

Other Applications
DOM Inspector
RESOLVED FIXED
15 years ago
11 years ago

People

(Reporter: timeless, Assigned: timeless)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

863 bytes, patch
Christopher Aillon (sabbatical, not receiving bugmail)
: review+
Heikki Toivonen (remove -bugzilla when emailing directly)
: superreview+
Details | Diff | Splinter Review
(Assignee)

Description

15 years ago
valgrind boffo qt tinderbox

==1284== Mismatched free() / delete / delete []
==1284==    at 0x40047092: __builtin_delete (vg_clientfuncs.c:194)
==1284==    by 0x48B9F632: inCSSValueSearch::~inCSSValueSearch(void)
(/mnt/ibm/mozhack/mozilla/extensions/inspec
tor/base/src/inCSSValueSearch.cpp:68)
==1284==    by 0x48B9F867: inCSSValueSearch::Release(void)
(/mnt/ibm/mozhack/mozilla/extensions/inspector/base/s
rc/inCSSValueSearch.cpp:72)
==1284==    by 0x43A5D053: XPCWrappedNative::~XPCWrappedNative(void)
(/mnt/ibm/mozhack/mozilla/js/src/xpconnect/
src/xpcwrappednative.cpp:554)
==1284==    by 0x43A5E05A: XPCWrappedNative::Release(void)
(/mnt/ibm/mozhack/mozilla/js/src/xpconnect/src/xpcwra
ppednative.cpp:784)
==1284==    by 0x43A5E2AD: XPCWrappedNative::FlatJSObjectFinalized(JSContext *,
JSObject *) (/mnt/ibm/mozhack/mo
zilla/js/src/xpconnect/src/xpcwrappednative.cpp:903)
==1284==    by 0x43A6A8D4: XPC_WN_NoHelper_Finalize(JSContext *, JSObject *)
(/mnt/ibm/mozhack/mozilla/js/src/xp
connect/src/xpcwrappednativejsops.cpp:640)
==1284==    by 0x402ADFCC: js_FinalizeObject
(/mnt/ibm/mozhack/mozilla/js/src/jsobj.c:1840)
==1284==    by 0x4028A3EC: js_GC (/mnt/ibm/mozhack/mozilla/js/src/jsgc.c:1314)
==1284==    by 0x40289807: js_ForceGC (/mnt/ibm/mozhack/mozilla/js/src/jsgc.c:994)
==1284==    by 0x40255943: JS_GC (/mnt/ibm/mozhack/mozilla/js/src/jsapi.c:1661)
==1284==    by 0x804C9B5: main
(/mnt/ibm/mozhack/mozilla/js/src/xpconnect/shell/xpcshell.cpp:936)
==1284==    by 0x4059117D: __libc_start_main (in /lib/libc-2.2.5.so)
==1284==    by 0x804AA81: (within
/mnt/ibm/mozhack/obj-i686-pc-linux-gnu-qt/js/src/xpconnect/shell/xpcshell)
==1284==    Address 0x416B21C4 is 0 bytes inside a block of size 400 alloc'd
==1284==    at 0x40046F28: __builtin_vec_new (vg_clientfuncs.c:156)
==1284==    by 0x48B9F5B2: inCSSValueSearch::inCSSValueSearch(void)
(/mnt/ibm/mozhack/mozilla/extensions/inspect
or/base/src/inCSSValueSearch.cpp:62)
==1284==    by 0x48B9047B: inCSSValueSearchConstructor(nsISupports *, nsID const
&, void **) (/mnt/ibm/mozhack/m
ozilla/extensions/inspector/build/src/nsInspectorModule.cpp:60)
==1284==    by 0x4044681A: nsGenericFactory::CreateInstance(nsISupports *, nsID
const &, void **) (/mnt/ibm/mozh
ack/mozilla/xpcom/glue/nsGenericFactory.cpp:86)
==1284==    by 0x403EB2AC: nsComponentManagerImpl::CreateInstance(nsID const &,
nsISupports *, nsID const &, voi
d **) (/mnt/ibm/mozhack/mozilla/xpcom/components/nsComponentManager.cpp:1965)
==1284==    by 0x403F32C6: nsComponentManager::CreateInstance(nsID const &,
nsISupports *, nsID const &, void **
) (/mnt/ibm/mozhack/mozilla/xpcom/components/nsComponentManagerObsolete.cpp:102)
==1284==    by 0x43A452B2: nsJSCID::CreateInstance(nsISupports **)
(/mnt/ibm/mozhack/mozilla/js/src/xpconnect/sr
c/xpcjsid.cpp:791)
==1284==    by 0x4042B308: XPTC_InvokeByIndex (in
/mnt/ibm/mozhack/obj-i686-pc-linux-gnu-qt/xpcom/build/libxpcom
.so)
==1284==    by 0x43A60FF9: XPCWrappedNative::CallMethod(XPCCallContext &,
XPCWrappedNative::CallMode) (/mnt/ibm/
mozhack/mozilla/js/src/xpconnect/src/xpcwrappednative.cpp:2023)
==1284==    by 0x43A6CEBE: XPC_WN_CallMethod(JSContext *, JSObject *, unsigned
int, long *, long *) (/mnt/ibm/mo
zhack/mozilla/js/src/xpconnect/src/xpcwrappednativejsops.cpp:1292)
==1284==    by 0x4028D2BB: js_Invoke
(/mnt/ibm/mozhack/mozilla/js/src/jsinterp.c:843)
==1284==    by 0x4029C5E2: js_Interpret
(/mnt/ibm/mozhack/mozilla/js/src/jsinterp.c:2830)
==1284==    by 0x4028DAEA: js_Execute
(/mnt/ibm/mozhack/mozilla/js/src/jsinterp.c:1038)
==1284==    by 0x4025AED7: JS_ExecuteScript
(/mnt/ibm/mozhack/mozilla/js/src/jsapi.c:3373)
==1284==    by 0x804B861: Process(JSContext *, JSObject *, char *, _IO_FILE *)
(/mnt/ibm/mozhack/mozilla/js/src/
xpconnect/shell/xpcshell.cpp:516)
==1284==    by 0x804BDD5: ProcessArgs(JSContext *, JSObject *, char **, int)
(/mnt/ibm/mozhack/mozilla/js/src/xp
connect/shell/xpcshell.cpp:654)
==1284==    by 0x804C98E: main
(/mnt/ibm/mozhack/mozilla/js/src/xpconnect/shell/xpcshell.cpp:909)
==1284==    by 0x4059117D: __libc_start_main (in /lib/libc-2.2.5.so)
==1284==    by 0x804AA81: (within
/mnt/ibm/mozhack/obj-i686-pc-linux-gnu-qt/js/src/xpconnect/shell/xpcshell)
(Assignee)

Comment 1

15 years ago
Created attachment 117953 [details] [diff] [review]
match the allocator
(Assignee)

Updated

15 years ago
Attachment #117953 - Flags: superreview?(bzbarsky)
Attachment #117953 - Flags: review?(caillon)
Attachment #117953 - Flags: superreview?(bzbarsky) → superreview+
Attachment #117953 - Flags: review?(caillon) → review+
(Assignee)

Comment 2

15 years ago
checked in
Status: NEW → RESOLVED
Last Resolved: 15 years ago
Resolution: --- → FIXED
Product: Core → Other Applications
QA Contact: timeless → dom-inspector
You need to log in before you can comment on or make changes to this bug.