[
https://issues.apache.org/jira/browse/TIKA-4385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17927080#comment-17927080
]
ASF GitHub Bot commented on TIKA-4385:
--------------------------------------
lsliwko commented on PR #2126:
URL: https://github.com/apache/tika/pull/2126#issuecomment-2658681622
Yes, it should work. I will re-implement it.
> GDALParser deadlocks while reading gdalinfo output
> --------------------------------------------------
>
> Key: TIKA-4385
> URL: https://issues.apache.org/jira/browse/TIKA-4385
> Project: Tika
> Issue Type: Bug
> Components: parser
> Affects Versions: 3.1.0
> Reporter: Leszek Sliwko
> Priority: Minor
> Attachments: content-type-test.grb2
>
>
> As per
> [https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Process.html:]
> _Because some native platforms only provide limited buffer size for standard
> input and output streams, failure to promptly write the input stream or read
> the output stream of the process may cause the process to block, or even
> deadlock._
> The fix is to read the output buffer in another thread. Sample file causing
> this issue attached.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)