New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pod5 subset job with double free or corruption error #87
Comments
Hi @antoinefelden, Can you confirm what version of pod5 you are using? What version of python are you using when you get the original What environment is the command running in, OS, architecture etc.
|
Thanks George, I'm working on a cluster with the following specs: NAME="Rocky Linux" pod5 is the latest version, i.e. 0.3.0 Here is my $PATH as well: Let me know if any other detail would be helpful! |
Hi @antoinefelden, We have a new release https://github.com/nanoporetech/pod5-file-format/releases/tag/0.3.1, which has fixes in the area of subset which this could be. If this doesn't fix the issue, I'd ideally like to try and reproduce your issue under a debugger (or in my own setup), to see whats going on. Thanks,
|
Thanks, I've downloaded the tarball but from here I'm not sure how to run version 0.3.1, pip only seems to install 0.3.0 and adding the directory to PATH produced the error "export: [...]/pod5-file-format/pod5-file-format-0.3.1': not a valid identifier". |
Hmm, that is strange, |
I think pip doesn't overwrite the previous version I have? I get the warning "Requirement already satisfied: pod5 in /nfs/home/feldenan/.local/lib/python3.8/site-packages (0.3.0)" |
Interesting, What is the exact command you're running to try to install it? |
I've tried
So I've removed all things pod5 in /nfs/home/feldenan/.local/lib/python3.8/site-packages and reinstalled pod5 - it seems to run! However, the output file is funky looking - should I be worried? |
can you try:
That should kick it to install the latest.
|
Thanks for the pip tip - it now seems to run fine even on the full 70 Gb dataset. The error log is however a bit weird with lots of line returns and "[A" as attached in my previous comment. Is that normal? |
That is a bit odd... I'll take a look internally now, but it sounds like the subset itself is working? Thanks,
|
Yes, the output itself has no visible issue. Thanks for helping! |
I’m running into a error that I haven’t managed to debug so far. The job runs fine until the
pod5 subset
command, starts it for a few seconds, and then stops writing files. The errors are not always exactly the same, nor they are happening at the same point of the subsetting process. Here is a representative example, the “double free” error is recurring:Both errors seem to be related to memory/pointers at the pod5 subset command. I’ve tried the script with the newer version of Python, it returns a
POD5 has encountered an error: 'libffi.so.7: cannot open shared object file: No such file or directory
error.Here is the script I’m running:
Any idea on where the error could come from? I can post more outputs if needed. I've tried to run it a fair few time now, it is interesting how the job stops at slightly different stages, with sometimes other error messages popping up (e.g.
malloc(): unaligned fastbin chunk detected
)The text was updated successfully, but these errors were encountered: