Bug 691643 - memory leaks in ghostxps
Summary: memory leaks in ghostxps
Status: CONFIRMED
Alias: None
Product: GhostXPS
Classification: Unclassified
Component: General (show other bugs)
Version: master
Hardware: All All
: P4 normal
Assignee: Tor Andersson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-24 10:49 UTC by Tor Andersson
Modified: 2011-02-06 00:57 UTC (History)
1 user (show)

See Also:
Customer:
Word Size: ---


Attachments
leaks.awk (436 bytes, application/octet-stream)
2010-09-24 10:49 UTC, Tor Andersson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tor Andersson 2010-09-24 10:49:56 UTC
Created attachment 6754 [details]
leaks.awk

leak [a+]chunk_obj_alloc (xps_new_part)(303296) = 0xf53860
leak [a+]chunk_obj_alloc (xps_new_part)(367112) = 0xfc6140
leak [a+]chunk_obj_alloc (xps_new_part)(409280) = 0x102fc40
leak [a+]chunk_obj_alloc (xps_parse_metadata_imp)(29) = 0xf26b80

as well as

leak [a+]chunk_obj_alloc (gsicc_load_profile)(3144) = 0xf1cf20
leak [a+]chunk_obj_alloc (gsicc_load_profile)(416) = 0x1374f40
leak [a+]chunk_obj_alloc (gsicc_load_profile)(5340) = 0x13713a0
leak [a+]chunk_obj_alloc (gsicc_load_profile)(564) = 0x1370fa0
leak [a+]chunk_obj_alloc (gsicc_new_iccsmask)(32) = 0x1e7d900
leak [a+]chunk_obj_alloc (gsicc_profile_new)(10) = 0x1370c40
leak [a+]chunk_obj_alloc (gsicc_profile_new)(11) = 0x1370c80
leak [a+]chunk_obj_alloc (gsicc_profile_new)(11) = 0x1374f00
leak [a+]chunk_obj_alloc (gsicc_profile_new)(15) = 0xf1cb80
leak [a+]chunk_obj_alloc (gsicc_profile_new)(296) = 0x1370e40
leak [a+]chunk_obj_alloc (gsicc_profile_new)(296) = 0x1371240
leak [a+]chunk_obj_alloc (gsicc_profile_new)(296) = 0x1374da0
leak [a+]chunk_obj_alloc (gsicc_profile_new)(296) = 0xf1cdc0

detected by running with the attached leaks.awk script:

./xps/debugobj/gxps -sDEVICE=ppmraw -sOutputFile=foo.pnm -ZA -l -dNOPAUSE -dQUIT -dBATCH /mnt/d/tests_xps/xpsfts-a4/fts_01xx.xps 2>&1 | awk -f leaks.awk