Bug 618483

Summary: texttopaps becomes runaway memory hog
Product: [Fedora] Fedora Reporter: Akira TAGOH <tagoh>
Component: papsAssignee: Akira TAGOH <tagoh>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: i18n-bugs, tagoh, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: paps-0.6.8-14.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 618271 Environment:
Last Closed: 2010-08-03 00:37:38 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:    
Bug Blocks: 618271    

Description Akira TAGOH 2010-07-27 02:38:19 UTC
+++ This bug was initially created as a clone of Bug #618271 +++

Created an attachment (id=434432)
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.

--- Additional comment from tagoh on 2010-07-26 22:03:34 EDT ---

confirmed on even Fedora.

Comment 1 Akira TAGOH 2010-07-27 03:10:58 UTC
Okay, this issue happens with the non-printable characters. wcwidth() returns -1 for them and it becomes bigger for unsignedness.

Comment 2 Akira TAGOH 2010-07-27 03:46:33 UTC
Fixed in paps-0.6.8-14.fc14.

Comment 3 Fedora Update System 2010-07-27 04:40:28 UTC
paps-0.6.8-14.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/paps-0.6.8-14.fc13

Comment 4 Fedora Update System 2010-07-27 04:41:09 UTC
paps-0.6.8-14.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/paps-0.6.8-14.fc12

Comment 5 Fedora Update System 2010-07-30 08:35:14 UTC
paps-0.6.8-14.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update paps'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/paps-0.6.8-14.fc13

Comment 6 Bug Zapper 2010-07-30 12:52:17 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 14 development cycle.
Changing version to '14'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 7 Fedora Update System 2010-08-03 00:37:33 UTC
paps-0.6.8-14.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2010-08-05 23:53:54 UTC
paps-0.6.8-14.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.