If you experienced the file access problem always at the same position you can force precomp to avoid it. Just add to your compress definition
Code:
-mprecomp:v:i169529374+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8
where 169529374 is position of last found stream before the problem occurs (see your scr).
Take some JPGs and try to compress them - they're well-precomped and shouldn't cause any error. If it worked, most likely cause of the error is data type you want to compress before. As I said: not all files are eligible for precomping
BTW: use -c- parameter instead of -cb for precomp. The first leaves output file non compressed (so it can be well-srepped), second compress output with bZip2 (poorly-srepped)