View Issue Details

IDProjectCategoryView StatusLast Update
0001072savapage-core[All Projects] Generalpublic2019-08-22 19:30
ReporterrijkrAssigned Torijkr 
PrioritynormalSeveritymajorReproducibilitysometimes
Status resolvedResolutionfixed 
Product Version1.1.0 
Target Version1.2.0Fixed in Version1.2.0 
Summary0001072: Use threaded readers for system command file converters
DescriptionIST: File converters that use system commands (e.g. pdftocairo, qpdf) are implemented with a simple executor that uses non-threaded writer/readers for stdin and stdout/stderr streams. This has the advantage of minimal overhead, but can result in deadlock when the process executing the command halts, because stderr/stdout reaches buffer max, while the converter waits for the process to return, so it can read the streams and unload the buffers. In cases where a repair attempt of an invalid Web Printed PDF's fails and stderr and/or stdout grows really big, a deadlock will occur.
SOLL: Apply the advanced command executor for all File converters. This executor prevents deadlock by starting stdout/stderr reading in separate threads, just before waiting for the system command process to finish.
TagsNo tags attached.

Relationships

related to 0001029 closedrijkr Add PDF repair option for Web Print 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-08-22 18:49 rijkr New Issue
2019-08-22 18:49 rijkr Status new => assigned
2019-08-22 18:49 rijkr Assigned To => rijkr
2019-08-22 18:50 rijkr Relationship added related to 0001029
2019-08-22 18:52 rijkr Summary Use threaded input readers for system commands => Use threaded input readers for system command file converters
2019-08-22 18:53 rijkr Summary Use threaded input readers for system command file converters => Use threaded readers for system command file converters
2019-08-22 19:30 rijkr Status assigned => resolved
2019-08-22 19:30 rijkr Resolution open => fixed
2019-08-22 19:30 rijkr Fixed in Version => 1.2.0