Bug 89552 - huge memory leak
Summary: huge memory leak
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: xpdf
Version: 9
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Than Ngo
QA Contact: Mike McLean
URL: http://www.cyber.com.au/cyber/about/l...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-04-24 10:05 UTC by Michael Schwendt
Modified: 2007-04-18 16:53 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-07-23 10:34:03 UTC
Embargoed:


Attachments (Terms of Use)

Description Michael Schwendt 2003-04-24 10:05:04 UTC
I see a huge memory-leak in

  Xpdf 1.00 - Red Hat Linux 7.3
  Xpdf 2.01 - Red Hat Linux 9

upon reading the following document:

  http://www.cyber.com.au/cyber/about/linux_vs_windows_tco_comparison.pdf

With each page, memory consumption increases around 10-30 MiB. Bug-report sent
to author on Sat, 19 Apr 2003 21:00:28 +0200. No reaction yet.

Version-Release number of selected component (if applicable):
2.01-8 and 1.00-5

How reproducible:
Always

Steps to Reproduce:
1. xpdf linux_vs_windows_tco_comparison.pdf
2. press "page down"
3. repeat step 2 till at least page 5
4. observe memory usage

Comment 1 Than Ngo 2003-04-24 13:54:28 UTC
it seems that the pdf file is broken. xpdf linux_vs_windows_tco_comparison.pdf
shows errors:

Error (0): PDF file is damaged - attempting to reconstruct xref table...
Error: Couldn't find trailer dictionary
Error: Couldn't read xref table


Do you have a correct pdf file for testing?

Comment 2 Michael Schwendt 2003-04-24 14:48:26 UTC
I don't get such errors, assuming the file is not damaged. It is a fairly recent
download. Acrobat Reader displays it without similar symptoms. pdf2ps converts
it without trouble.

$ md5sum linux_vs_windows_tco_comparison.pdf 
32e77bf40d1f73a73019e3ed43baf3a8  linux_vs_windows_tco_comparison.pdf

$ pdfinfo linux_vs_windows_tco_comparison.pdf 
Title:        linux_vs_windows_tco_comparison.sxd
Author:       conz
Creator:      StarOffice 6.0 
Producer:     AFPL Ghostscript 7.03
CreationDate: Mon Apr 29 10:56:40 2002
Tagged:       no
Pages:        17
Encrypted:    no
Page size:    595 x 842 pts (A4)
File size:    1904623 bytes
Optimized:    no
PDF version:  1.2

Comment 3 Than Ngo 2003-07-23 10:34:03 UTC
The autor is aware this bug and he said to me that he is working on a new
rasterizer, and a new font system, so it will be fixed in next upstream.


Note You need to log in before you can comment on or make changes to this bug.