Closed mohitjoshi155 closed 1 year ago
Thanks for the report - could you provide the following info?
NAME="Ubuntu" VERSION="20.04.6 LTS (Focal Fossa)" ID=ubuntu ID_LIKE=debian
parpar version 0.4.2
i am using pre built binary amd one from releases section
node version v18.18.0(updated...error is still coming after update)
command Generating par2: parpar -s5M -r1n*0.6 -m2048M -p1l --progress stderr -q -o /tmp/EbrLp9kYflSEw3e4U/EbrLp9kYflSEw3e4U.par2 -R /tmp/EbrLp9kYflSEw3e4U Calculating : 40.67% parpar: ../deps/uv/src/unix/core.c:254: uv__finish_close: Assertion `handle->flags & UV_HANDLE_CLOSING' failed.
Error during par2 generation: 6 => par2 exit code: 6
error occurs randomly ,like when i upload a whole season in few episode files this error will occur other times it works perfectly having no issue
Thanks for the extra info!
Unfortunately, I can't reproduce your issue, and I'm not able to see any obvious candidate as to why it's occurring.
-q
flag so that the output is shown?handle->flags
and handle->type
when the assertion hits? This may not work with the pre-built binary, so only try this with your own build from the above stepyes static build I think this error is only happening for small files like 100 to 300 mb files that also for some random files I noticed that increasing the slices size and reducing memory helps with this error to some extent I have not encountered this error for big files yet seems very specific issue,not a big deal I am closing the issue for now if you dont mind
Thanks for replying Sir, appreciate your efforts
Thanks for more info. I've been trying a bunch of things to try to find it, but haven't been successful getting anywhere.
Would you happen to be low on free memory perhaps?
Otherwise I'm interested to hear if anyone else is getting similar issues.
By pure luck, I managed to encounter this. Unfortunately I can't get it to happen again, but I have a theory, so implemented a fix.
Are you able to try a build from the dev branch? Otherwise I might sort out a release with this fix.
v0.4.3 released, which should hopefully fix this issue. If you try it out, please let me know how well it fares.
parpar: ../deps/uv/src/unix/core.c:254: uv__finish_close: Assertion `handle->flags & UV_HANDLE_CLOSING' failed.
this error happens sometimes