[
https://issues.apache.org/jira/browse/TIKA-2892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Luís Filipe Nassif resolved TIKA-2892.
--------------------------------------
Fix Version/s: 1.23
2.0
Resolution: Fixed
I am back :) (generated another personal access token)
> ForkParser deadlock when InputStreamResource catches/returns IOException
> ------------------------------------------------------------------------
>
> Key: TIKA-2892
> URL: https://issues.apache.org/jira/browse/TIKA-2892
> Project: Tika
> Issue Type: Bug
> Components: parser
> Affects Versions: 1.20, 1.19.1, 1.21
> Reporter: Luís Filipe Nassif
> Assignee: Luís Filipe Nassif
> Priority: Major
> Fix For: 2.0, 1.23
>
>
> It happens because ForkServer is waiting an int with the number of bytes read
> and, when InputStreamResource returns IOException, ForkClient does nothing
> with the IOException and tries to read input channel again.
> Simple fix is to do m = -1 instead of returning IOException in
> InputStreamResource. Better fix should propagate the IOException to
> ForkServer, no time to implement that now...
--
This message was sent by Atlassian Jira
(v8.3.4#803005)