Closed Bug 611325 Opened 14 years ago Closed 14 years ago

valgrind detects leak under JS_GetStringBytes

Categories

(Core :: JavaScript Engine, defect)

x86_64
Windows CE
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: sayrer, Assigned: igor)

Details

Attachments

(4 files)

we've recently changed this a lot. assigning to igor.
Assignee: general → igor
blocking2.0: --- → beta8+
igor, this blocks b8.
OS: Windows CE → Linux
Attached file typical stack
Igor says on IRC that this is probably fixed by bug 610198.
The bug 610198 indeed removes the affected usage of JS_GetStringBytes but the I will check the code in any case as some code paths in DeflateStringToBytes may leak indeed.
Attached file logreader.py
This patch prints out which strings were added but never removed. They are all interface and function names. This jives with the stacks valgrind gives. Always under either XPCConvert::JSData2Native or XPCJSStackFrame::CreateStack -> JS_GetFunctionName.
leaked 168 strings stopping / starting the browser. I'll see if I can get this number to go up by surfing for a long time.
blocking2.0: beta8+ → ---
OS: Linux → Windows CE
fixed by 610198
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: