Closed
Bug 1606511
Opened 6 years ago
Closed 4 years ago
LeakSanitizer: [@ WorkerInput]
Categories
(Core :: JavaScript Engine, defect, P1)
Tracking
()
People
(Reporter: gkw, Assigned: jandem)
Details
(4 keywords, Whiteboard: [jsbugmon:])
Attachments
(2 files)
funfuzz found a non-reproducible leak on LSan with the following backtrace:
Backtrace:
Direct leak of 72 byte(s) in 3 object(s) allocated from:
#0 0x558bc2c359f3 in __interceptor_malloc (/home/ubuntu/shell-cache/js-64-profDisabled-asan-linux-x86_64-781f53bf9c78/js-64-profDisabled-asan-linux-x86_64-781f53bf9c78+0x185f9f3)
#1 0x558bc2caf9dc in js_arena_malloc(unsigned long, unsigned long) /home/ubuntu/shell-cache/js-64-profDisabled-asan-linux-x86_64-781f53bf9c78/objdir-js/dist/include/js/Utility.h:386:10
#2 0x558bc2caf9dc in js_malloc(unsigned long) /home/ubuntu/shell-cache/js-64-profDisabled-asan-linux-x86_64-781f53bf9c78/objdir-js/dist/include/js/Utility.h:390
#3 0x558bc2caf9dc in WorkerInput* js_new<WorkerInput, JSRuntime*, mozilla::UniquePtr<char16_t [], JS::FreePolicy>, unsigned long>(JSRuntime*&&, mozilla::UniquePtr<char16_t [], JS::FreePolicy>&&, unsigned long&&) /home/ubuntu/shell-cache/js-64-profDisabled-asan-linux-x86_64-781f53bf9c78/objdir-js/dist/include/js/Utility.h:539
#4 0x558bc2caf9dc in EvalInWorker(JSContext*, unsigned int, JS::Value*) /home/ubuntu/trees/mozilla-central/js/src/shell/js.cpp:4058
/snip
For detailed crash information, see attachment.
Jan mentioned over email that it may be "a leak of the shell-only WorkerInput class, when we fail to create a new shell worker thread." Setting needinfo? from Jan as a start.
Flags: needinfo?(jdemooij)
Assignee | ||
Comment 1•6 years ago
|
||
Updated•6 years ago
|
Assignee: nobody → jdemooij
Status: NEW → ASSIGNED
Assignee | ||
Updated•6 years ago
|
Flags: needinfo?(jdemooij)
Updated•6 years ago
|
Priority: -- → P1
Updated•6 years ago
|
status-firefox72:
--- → wontfix
status-firefox74:
--- → affected
status-firefox-esr68:
--- → wontfix
Updated•6 years ago
|
Comment 2•6 years ago
|
||
There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:jandem, could you have a look please?
For more information, please visit auto_nag documentation.
Flags: needinfo?(jdemooij)
Comment 3•4 years ago
|
||
Hey Jan, I was looking at this bug and was wondering if you were planning on landing the patch you have for it?
Hi Jan
we are checking on really old bugs to see if we can close some or not.
Im wondering if this bug can be closed or it should stay open
Do you know?
thanks
Pushed by jdemooij@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4572ad752598
Use UniquePtr more in JS shell worker thread code to avoid leaks. r=iain
Comment 7•4 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox92:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 92 Branch
Updated•4 years ago
|
status-firefox90:
--- → wontfix
status-firefox91:
--- → wontfix
status-firefox-esr78:
--- → wontfix
status-firefox-esr91:
--- → wontfix
You need to log in
before you can comment on or make changes to this bug.
Description
•