Bug 618271

Summary: texttopaps becomes runaway memory hog
Product: Red Hat Enterprise Linux 6 Reporter: Tim Waugh <twaugh>
Component: papsAssignee: Akira TAGOH <tagoh>
Status: CLOSED ERRATA QA Contact: desktop-bugs <desktop-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0CC: eng-i18n-bugs, ktakemur, snagar
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: paps-0.6.8-13.el6.1 Doc Type: Bug Fix
Doc Text:
Prior to this update, the presence of certain non-printable characters in the input file could cause paps to get stuck in an infinite loop, consuming all available system memory. With this update, the underlying source code has been modified to prevent this behavior, and such memory leaks no longer occur.
Story Points: ---
Clone Of:
: 618483 (view as bug list) Environment:
Last Closed: 2011-02-23 12:12:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 618483    
Bug Blocks: 659134    
Attachments:
Description Flags
badline none

Description Tim Waugh 2010-07-26 14:36:55 UTC
Created attachment 434432 [details]
badline

Description of problem:
Some input files cause texttopaps to turn into a runaway memory hog, eating all available memory.

Version-Release number of selected component (if applicable):
paps-0.6.8-13.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1./usr/lib/cups/filter/texttopaps 1 tim '' 1 '' badline
  
Actual results:
System slows to a crawl, processes start dying

Expected results:
PostScript output.

Additional info:
Found while investigating bug #595852.

Comment 1 Akira TAGOH 2010-07-27 02:03:34 UTC
confirmed on even Fedora.

Comment 3 Akira TAGOH 2010-12-09 04:59:22 UTC
Fixed in paps-0.6.8-13.el6.1

Comment 5 Jaromir Hradilek 2010-12-10 10:57:41 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Prior to this update, the presence of certain non-printable characters in the input file could cause paps to get stuck in an infinite loop, consuming all available system memory. With this update, the underlying source code has been modified to prevent this behavior, and such memory leaks no longer occur.

Comment 7 errata-xmlrpc 2011-02-23 12:12:58 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0296.html