Open
Bug 922102
Opened 12 years ago
Updated 1 year ago
unreported memory in nsSupportsStringImpl
Categories
(Core :: DOM: Core & HTML, defect, P5)
Core
DOM: Core & HTML
Tracking
()
NEW
People
(Reporter: froydnj, Unassigned)
References
(Blocks 1 open bug)
Details
Seen on fresh startup; hard to see where the *actual* problem is because DMD doesn't trace far enough back in the stack. I think this might be related to session (re)store; I have a lot of open tabs. But it's a pretty big chunk of memory, so worth reporting.
Unreported: 1 block in stack trace record 2 of 5,590
10,600,448 bytes (10,596,950 requested / 3,498 slop)
2.39% of the heap (5.99% cumulative); 7.93% of unreported (19.91% cumulative)
Allocated at
replace_malloc (/home/froydnj/src/mozilla-central-official/memory/replace/dmd/DMD.cpp:1227) 0x7fdcb0f20f44
nsStringBuffer::Alloc(unsigned long) (/home/froydnj/src/mozilla-central-official/xpcom/string/src/nsSubstring.cpp:183) 0x7fdcadb3ebd3
nsAString_internal::MutatePrep(unsigned int, unsigned short**, unsigned int*) (/home/froydnj/src/mozilla-central-official/xpcom/string/src/nsTSubstring.cpp:132) 0x7fdcadb3edfb
nsAString_internal::ReplacePrepInternal(unsigned int, unsigned int, unsigned int, unsigned int) (/home/froydnj/src/mozilla-central-official/xpcom/string/src/nsTSubstring.cpp:168) 0x7fdcadb3ee3e
nsAString_internal::Assign(unsigned short const*, unsigned int, mozilla::fallible_t const&) (/home/froydnj/src/mozilla-central-official/xpcom/string/src/nsTSubstring.cpp:319) 0x7fdcadb3f2b2
nsAString_internal::Assign(nsAString_internal const&, mozilla::fallible_t const&) (/home/froydnj/src/mozilla-central-official/xpcom/string/src/nsTSubstring.cpp:394) 0x7fdcadb3f1ec
nsAString_internal::Assign(nsAString_internal const&) (/home/froydnj/src/mozilla-central-official/xpcom/string/src/nsTSubstring.cpp:355) 0x7fdcadb3f62c
nsSupportsStringImpl::SetData(nsAString_internal const&) (/home/froydnj/src/mozilla-central-official/xpcom/ds/nsSupportsPrimitives.cpp:140) 0x7fdcadb0a2bf
NS_InvokeByIndex (/home/froydnj/src/mozilla-central-official/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_x86_64_unix.cpp:164) 0x7fdcadb38b23
CallMethodHelper::Invoke() (/home/froydnj/src/mozilla-central-official/js/xpconnect/src/XPCWrappedNative.cpp:2804) 0x7fdcad5964aa
XPC_WN_GetterSetter(JSContext*, unsigned int, JS::Value*) (/home/froydnj/src/mozilla-central-official/js/xpconnect/src/XPCWrappedNativeJSOps.cpp:1335) 0x7fdcad599fa0
CallJSNative (/home/froydnj/src/mozilla-central-official/js/src/jscntxtinlines.h:218) 0x7fdcae140653
js::Invoke(JSContext*, JS::Value const&, JS::Value const&, unsigned int, JS::Value*, JS::MutableHandle<JS::Value>) (/home/froydnj/src/mozilla-central-official/js/src/vm/Interpreter.cpp:512) 0x7fdcae1425cd
js::InvokeGetterOrSetter(JSContext*, JSObject*, JS::Value, unsigned int, JS::Value*, JS::MutableHandle<JS::Value>) (/home/froydnj/src/mozilla-central-official/js/src/vm/Interpreter.cpp:584) 0x7fdcae1426fd
js_NativeSet(JSContext*, JS::Handle<JSObject*>, JS::Handle<JSObject*>, JS::Handle<js::Shape*>, bool, JS::MutableHandle<JS::Value>) (/home/froydnj/src/mozilla-central-official/js/src/jsobj.cpp:4113) 0x7fdcae28a054
js::baseops::SetPropertyHelper(JSContext*, JS::Handle<JSObject*>, JS::Handle<JSObject*>, JS::Handle<long>, unsigned int, JS::MutableHandle<JS::Value>, bool) (/home/froydnj/src/mozilla-central-official/js/src/jsobj.cpp:4717) 0x7fdcae28ed59
SetPropertyOperation (/home/froydnj/src/mozilla-central-official/js/src/vm/Interpreter.cpp:338) 0x7fdcae136843
RunScript (/home/froydnj/src/mozilla-central-official/js/src/vm/Interpreter.cpp:419) 0x7fdcae1402c6
RunScript (/home/froydnj/src/mozilla-central-official/js/src/vm/Interpreter.cpp:388) 0x7fdcae140587
js::CallOrConstructBoundFunction(JSContext*, unsigned int, JS::Value*) (/home/froydnj/src/mozilla-central-official/js/src/jsfun.cpp:1254) 0x7fdcae24b88e
CallJSNative (/home/froydnj/src/mozilla-central-official/js/src/jscntxtinlines.h:218) 0x7fdcae140653
js::Invoke(JSContext*, JS::Value const&, JS::Value const&, unsigned int, JS::Value*, JS::MutableHandle<JS::Value>) (/home/froydnj/src/mozilla-central-official/js/src/vm/Interpreter.cpp:512) 0x7fdcae1425cd
js::DirectProxyHandler::call(JSContext*, JS::Handle<JSObject*>, JS::CallArgs const&) (/home/froydnj/src/mozilla-central-official/js/src/jsproxy.cpp:451) 0x7fdcae2ada18
js::CrossCompartmentWrapper::call(JSContext*, JS::Handle<JSObject*>, JS::CallArgs const&) (/home/froydnj/src/mozilla-central-official/js/src/jswrapper.cpp:454) 0x7fdcae2fa26f
Comment 1•12 years ago
|
||
Clearly needs a JS stack. :(
| Reporter | ||
Updated•12 years ago
|
Blocks: DarkMatter
Comment 2•7 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046
Move all DOM bugs that haven't been updated in more than 3 years and has no one currently assigned to P5.
If you have questions, please contact :mdaly.
Priority: -- → P5
| Assignee | ||
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•