Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 632198 - cups-filters: foomatic-rip fails from upstream/downstream SIGPIPE + renderer error checking
Summary: cups-filters: foomatic-rip fails from upstream/downstream SIGPIPE + renderer ...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-27 21:39 UTC by Luum
Modified: 2017-09-28 17:40 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Proposed patch (IGNORE_UPDOWNSTREAM_SIGPIPE.patch,8.46 KB, patch)
2017-09-27 21:39 UTC, Luum
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Luum 2017-09-27 21:39:58 UTC
Created attachment 496770 [details, diff]
Proposed patch

per https://www.cups.org/doc/api-filter.html, foomatic-rip should ignore upstream/downstream SIGPIPE's but isn't

Also when executing the renderer thread foomatic-rip erroneously reports success even when it failed due to incorrect bash script execution

Attaching patch to have foomatic-rip ignore upstream/downstream SIGPIPE's but exit accordingly due to child crashes. Also fixes renderer thread execution.
Comment 1 Luum 2017-09-28 17:40:50 UTC
Moved bug from here to https://bugs.linuxfoundation.org/show_bug.cgi?id=1412