Bug 618483 - texttopaps becomes runaway memory hog
Summary: texttopaps becomes runaway memory hog
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: paps
Version: 14
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Akira TAGOH
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 618271
TreeView+ depends on / blocked
 
Reported: 2010-07-27 02:38 UTC by Akira TAGOH
Modified: 2010-08-05 23:53 UTC (History)
3 users (show)

Fixed In Version: paps-0.6.8-14.fc13
Clone Of: 618271
Environment:
Last Closed: 2010-08-03 00:37:38 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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