[ 
https://issues.apache.org/jira/browse/TIKA-4385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17928139#comment-17928139
 ] 

Hudson commented on TIKA-4385:
------------------------------

SUCCESS: Integrated in Jenkins build Tika ยป tika-branch_3x-jdk11 #1973 (See 
[https://ci-builds.apache.org/job/Tika/job/tika-branch_3x-jdk11/1973/])
TIKA-4385 : fix : GDAL process output read in another thread (#2126) (tallison: 
[https://github.com/apache/tika/commit/3fc3476f997d559713fa823c42716141545c5283])
* (edit) 
tika-parsers/tika-parsers-extended/tika-parser-scientific-module/src/main/java/org/apache/tika/parser/gdal/GDALParser.java


> 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
>             Fix For: 4.0.0, 3.1.1
>
>         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)

Reply via email to