Can I have a link to a file for which I can test this?
Indeed - there was such check returning -99 in past. However it has gone (obviously we have unreachable section of code there... - good point).
But even in the multi-threaded processing it shouldn't hog CPU much if only a single-stream file is decompressed. And the file is supposed to be processed in smaller portions (not the whole one into RAM).
* I would recommend using 1.1.7 (available here: https://launchpad.net/pbzip2). (Won't fix the observed issue but patches some other issues)
Can I have a link to a file for which I can test this?
Indeed - there was such check returning -99 in past. However it has gone (obviously we have unreachable section of code there... - good point).
But even in the multi-threaded processing it shouldn't hog CPU much if only a single-stream file is decompressed. And the file is supposed to be processed in smaller portions (not the whole one into RAM).
* I would recommend using 1.1.7 (available here: https:/ /launchpad. net/pbzip2). (Won't fix the observed issue but patches some other issues)