Closed
Bug 1230677
Opened 10 years ago
Closed 1 year ago
Multiple memory leaks
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
INCOMPLETE
| Tracking | Status | |
|---|---|---|
| firefox45 | --- | affected |
People
(Reporter: hyc, Unassigned)
Details
Mozilla Seamonkey leaks about 40MB in under 1 minute of runtime. The worst offenders are in the JSONParser, #1 here leaked over 1MB in 31 allocations:
Memory leaks (39072466 total):
Leak, blocks, size: 0x4c07e10,31,1095488 char16_t* ExtractWellSized<char16_t, js::Vector<char16_t, 32ul, js::TempAllocPolicy> >(js::Ex
clusiveContext*, js::Vector<char16_t, 32ul, js::TempAllocPolicy>&) (MallocProvider.h:74)
stack: libxul.so : js::JSONParserBase::Token js::JSONParser<char16_t>::readString<(js::JSONParserBase::StringType)1>() (JSO
NParser.cpp:170)
libxul.so : js::JSONParser<char16_t>::parse(JS::MutableHandle<JS::Value>) (JSONParser.cpp:700)
libxul.so : bool js::ParseJSONWithReviver<char16_t>(JSContext*, mozilla::Range<char16_t const>, JS::Handle<JS::Value
>, JS::MutableHandle<JS::Value>) (json.cpp:826)
libxul.so : json_parse(JSContext*, unsigned int, JS::Value*) (json.cpp:879)
libxul.so : js::Invoke(JSContext*, JS::CallArgs const&, js::MaybeConstruct) (jsfun.h:236)
libxul.so : Interpret(JSContext*, js::RunState&) (Interpreter.cpp:2763)
libxul.so : js::RunScript(JSContext*, js::RunState&) (Interpreter.cpp:362)
libxul.so : js::Invoke(JSContext*, JS::CallArgs const&, js::MaybeConstruct) (jsfun.h:129)
libxul.so : js::Invoke(JSContext*, JS::Value const&, JS::Value const&, unsigned int, JS::Value const*, JS::MutableHa
ndle<JS::Value>) (Interpreter.cpp:496)
libxul.so : JS_CallFunctionValue(JSContext*, JS::Handle<JSObject*>, JS::Handle<JS::Value>, JS::HandleValueArray cons
t&, JS::MutableHandle<JS::Value>) (jsapi.cpp:2769)
libxul.so : nsXPCWrappedJSClass::CallMethod(nsXPCWrappedJS*, unsigned short, XPTMethodDescriptor const*, nsXPTCMiniV
ariant*) (XPCWrappedJSClass.cpp:1221)
libxul.so : PrepareAndDispatch (xptcstubs_x86_64_linux.cpp:124)
libxul.so : SharedStub (xptcstubs_x86_64_linux.cpp:0)
libxul.so : nsObserverList::NotifyObservers(nsISupports*, char const*, char16_t const*) (nsObserverList.cpp:113)
<unknown_obj> : ?? (<unknown_file>:0)
a full report is at http://highlandsun.com/hyc/mleak.txt.gz
The leak tracer used to produce the report is at https://github.com/hyc/mleak
Mozilla built with --disable-jemalloc because otherwise LD_PRELOADing a malloc wrapper doesn't work.
| Reporter | ||
Updated•10 years ago
|
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Updated•3 years ago
|
Severity: normal → S3
Comment 1•1 year ago
|
||
This is an old bug. Howard, please reopn if you can still repro!
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → INCOMPLETE
| Reporter | ||
Comment 2•1 year ago
|
||
Sorry it took a couple hours to update my source tree but I was finally able to check. This was most likely fixed by changeset: 422917:7a56278c7b78 for bug#1467274. I haven't seen this particular leak in a long time.
You need to log in
before you can comment on or make changes to this bug.
Description
•