Closed Bug 714690 Opened 13 years ago Closed 12 years ago

Leak of 18 bytes in malloc_zone_malloc as detected by Valgrind on Mac OS X Lion

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
critical

Tracking

()

RESOLVED WONTFIX

People

(Reporter: gkw, Unassigned)

Details

(Keywords: testcase, valgrind, Whiteboard: js-triage-needed)

Attachments

(2 files)

Attached file stack
quit()

shows the attached leak signature on 32-bit debug js shell on m-c changeset d77b056ed4bd on Mac OS X Lion.

CLI command: valgrind --dsymutil=yes --leak-check=full ./js

Using Valgrind SVN rev 12325:

Last Changed Author: florian
Last Changed Rev: 12325
Last Changed Date: 2012-01-02 08:12:30 -0800 (Mon, 02 Jan 2012)

Configured using:

sh ./configure --target=i386-apple-darwin8.0.0 --enable-optimize --disable-debug --enable-profiling --enable-valgrind --disable-tests --enable-type-inference --enable-more-deterministic
Just to confirm, the error also shows with js opt shells.
Well, that seems like a leak in the system libraries, no?  I bet you
can't repro this on Linux.
Filed in ADC id 10652055. Will the lack of Spidermonkey lines be a clue in deciding that this is a problem with the system libraries?
Uh, as per comment #2, did you check whether you can repro this leak on Linux?
It won't reproduce on Linux, because Linux doesn't have malloc_zone_malloc and the libraries are all Mac-specific.  A deeper stack-trace (via --num-callers=50) might be instructive.
> Uh, as per comment #2, did you check whether you can repro this leak on
> Linux?

Yes, I did, it does not reproduce on 64-bit opt shell w/ Valgrind.
> Yes, I did, it does not reproduce on 64-bit opt shell w/ Valgrind.

*does not reproduce on Linux*
I thought I commented on this... maybe the comment was eaten, or maybe I commented in another similar bug.  Anyway, that stack trace is all Mac system library stuff beyond our control.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: