Skip to content

"Segmentation fault" when writing reads to disk #803

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

Open
flixitt opened this issue Mar 29, 2025 · 4 comments
Open

"Segmentation fault" when writing reads to disk #803

flixitt opened this issue Mar 29, 2025 · 4 comments

Comments

@flixitt
Copy link

flixitt commented Mar 29, 2025

Good morning,

I am trying to run Hifiasm on long reads sequenced by Nanopore (R10), but my run crashes every time the program attempts to write the reads.​

I submitted the run through SLURM (64 CPUs, 300 GB of memory).​

Here is the end of the log:

Image

Thank you very much for any help you can provide !

@chhylp123
Copy link
Owner

Hifiasm won't crashed at this stage in most cases. It would be better that you can check there is other issues like out of memory.

@flixitt
Copy link
Author

flixitt commented Mar 29, 2025

Thanks for the quick response!

I ran some tests with 500–600 GB of memory, but the results are the same. Additionally, I have over 200 GB of free space on the server, so the issue doesn't stem from there.

I'll attempt to create a new environment; perhaps the libraries are corrupted.

Thanks again!

@faulk-lab
Copy link

I am having the same issue. Any fix?

@danpal96
Copy link

danpal96 commented May 7, 2025

I encountered the same error, in my case, it was because I hadn’t created the output directory. It might be helpful if hifiasm could check whether the output file is writable beforehand, to prevent the segmentation fault.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants