View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001072 | savapage-core | [All Projects] General | public | 2019-08-22 18:49 | 2019-08-22 19:30 |
Reporter | rijkr | Assigned To | rijkr | ||
Priority | normal | Severity | major | Reproducibility | sometimes |
Status | resolved | Resolution | fixed | ||
Product Version | 1.1.0 | ||||
Target Version | 1.2.0 | Fixed in Version | 1.2.0 | ||
Summary | 0001072: Use threaded readers for system command file converters | ||||
Description | IST: 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. | ||||
Tags | No tags attached. | ||||
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 |