Closed
Bug 642902
Opened 14 years ago
Closed 14 years ago
we leak invalid profiles in the jpeg decoder.
Categories
(Core :: Graphics: ImageLib, defect)
Core
Graphics: ImageLib
Tracking
()
RESOLVED
FIXED
mozilla5
People
(Reporter: jrmuizel, Assigned: joe)
References
Details
(Keywords: memory-leak)
Attachments
(4 files, 4 obsolete files)
(deleted),
patch
|
jrmuizel
:
review+
|
Details | Diff | Splinter Review |
(deleted),
image/jpeg
|
Details | |
(deleted),
patch
|
joe
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
jrmuizel
:
review+
|
Details | Diff | Splinter Review |
The original patch for color management added this leak.
The leak was found using the 'leaks' tool on OS X and recognizing icc profiles in the memory contents.
The leak is failing to free here:
http://mxr.mozilla.org/mozilla-central/source/modules/libpr0n/decoders/nsJPEGDecoder.cpp#257
Assignee | ||
Updated•14 years ago
|
Assignee: nobody → joe
Component: GFX: Color Management → ImageLib
OS: Mac OS X → All
QA Contact: color-management → imagelib
Hardware: x86 → All
Assignee | ||
Comment 1•14 years ago
|
||
Attachment #520252 -
Flags: review?(jmuizelaar)
Reporter | ||
Updated•14 years ago
|
Attachment #520252 -
Flags: review?(jmuizelaar) → review+
Reporter | ||
Comment 2•14 years ago
|
||
Reporter | ||
Comment 3•14 years ago
|
||
Attachment #520312 -
Attachment is obsolete: true
Reporter | ||
Comment 4•14 years ago
|
||
Attachment #520313 -
Attachment is obsolete: true
Reporter | ||
Comment 5•14 years ago
|
||
Attachment #520319 -
Flags: review?(joe)
Reporter | ||
Comment 6•14 years ago
|
||
Address review comments
Attachment #520319 -
Attachment is obsolete: true
Attachment #520319 -
Flags: review?(joe)
Assignee | ||
Updated•14 years ago
|
Attachment #520320 -
Flags: review+
Assignee | ||
Comment 7•14 years ago
|
||
http://hg.mozilla.org/projects/cedar/rev/952373d0334e
http://hg.mozilla.org/projects/cedar/rev/0fdc05b3cd03
Whiteboard: fixed-in-cedar
Comment 8•14 years ago
|
||
Landing this on cedar turned out to cause some problems:
Talos crash:
http://tinderbox.mozilla.org/showlog.cgi?log=Cedar/1300910008.1300910194.30255.gz&fulltext=1
Reftest failure:
http://tinderbox.mozilla.org/showlog.cgi?log=Cedar/1300908691.1300909022.24616.gz&fulltext=1
Webgl crash:
http://tinderbox.mozilla.org/showlog.cgi?log=Cedar/1300909925.1300910308.30609.gz&fulltext=1#err0
Joe backed it out of cedar.
Whiteboard: fixed-in-cedar → not-ready
Assignee | ||
Comment 9•14 years ago
|
||
poor.
qcms_profile_from_memory() takes a void* as its first argument, so screwing this argument up didn't fail to compile.
Attachment #521291 -
Flags: review?(jmuizelaar)
Assignee | ||
Updated•14 years ago
|
Whiteboard: not-ready
Assignee | ||
Comment 10•14 years ago
|
||
actually qref
Attachment #521291 -
Attachment is obsolete: true
Attachment #521291 -
Flags: review?(jmuizelaar)
Attachment #521292 -
Flags: review?(jmuizelaar)
Reporter | ||
Updated•14 years ago
|
Attachment #521292 -
Flags: review?(jmuizelaar) → review+
Assignee | ||
Comment 11•14 years ago
|
||
http://hg.mozilla.org/projects/cedar/rev/9bc4aefb44db
http://hg.mozilla.org/projects/cedar/rev/c1be34bded71
and, because I'm a moron:
http://hg.mozilla.org/projects/cedar/rev/5ad746647a66
Whiteboard: fixed-in-cedar
Comment 12•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/9bc4aefb44db
http://hg.mozilla.org/mozilla-central/rev/c1be34bded71
and, because Joe is a pretty smart guy who makes a few mistakes rarely, just because he's human:
http://hg.mozilla.org/mozilla-central/rev/5ad746647a66
Status: NEW → RESOLVED
Closed: 14 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Whiteboard: fixed-in-cedar
Target Milestone: --- → mozilla2.2
You need to log in
before you can comment on or make changes to this bug.
Description
•