Bug 307557

Summary: Leaks on Mac OS X 10.7.5 libraries at ImageLoader::recursiveInitialization
Product: [Developer tools] valgrind Reporter: Gary Kwong [:gkw] <nth10sd>
Component: generalAssignee: Julian Seward <jseward>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 3.9.0.SVN   
Target Milestone: ---   
Platform: Compiled Sources   
OS: macOS   
Latest Commit: Version Fixed In:
Attachments: Valgrind stack

Description Gary Kwong [:gkw] 2012-09-29 04:59:39 UTC
Compile a 64-bit Firefox Spidermonkey js binary and run it with Valgrind and --leak-check=full, execute 'quit()' without quotes, then leaks will show, see attachment.

Tested on SVN r13015, Mac OS X 10.7.5.

Reproducible: Always

Steps to Reproduce:
Run:

valgrind --smc-check=all-non-file --dsymutil=yes --leak-check=full --gen-suppressions=all ./js

then input:

quit()
Actual Results:  
Leaks.

Expected Results:  
No leaks. The suppressions generated should be added to the main suppressions list.
Comment 1 Gary Kwong [:gkw] 2012-09-29 05:00:12 UTC
Created attachment 74222 [details]
Valgrind stack
Comment 2 Julian Seward 2013-10-14 11:31:09 UTC
Fixed, r13636.