Bug 692145 - Valgrind: CachedXFORM() compares uninitialized data
Summary: Valgrind: CachedXFORM() compares uninitialized data
Status: RESOLVED DUPLICATE of bug 691521
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: Color (show other bugs)
Version: master
Hardware: PC Linux
: P4 normal
Assignee: Michael Vrhel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-12 03:01 UTC by Alex Cherepanov
Modified: 2011-04-19 14:43 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments
patch (1.38 KB, patch)
2011-04-12 03:01 UTC, Alex Cherepanov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Cherepanov 2011-04-12 03:01:34 UTC
Created attachment 7444 [details]
patch

LCMS seems to compare all color components but gs leaves unused components
uninitialised. This causes several Valgrid warning in this case.

valgrind --track-origins=yes gs -sDEVICE=pbmraw -r72 -o /dev/null fts_25_2523.pdf

fts_25_2523.pdf is the most commonly produces rendering differences in
the regression testing. With the attached patch the run ends without warnings
(except unrelated and harmless ones). I don't know yet whether the patch fixes
the indeterminism for the lack of statistics.
Comment 1 Alex Cherepanov 2011-04-19 14:43:07 UTC

*** This bug has been marked as a duplicate of bug 691521 ***