Skip to content
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

Segmentation fault on empty files #37

Open
blaiseli opened this issue Dec 20, 2019 · 0 comments · May be fixed by #42
Open

Segmentation fault on empty files #37

blaiseli opened this issue Dec 20, 2019 · 0 comments · May be fixed by #42

Comments

@blaiseli
Copy link

bioawk segfaults when asked to parse an empty files

$ touch test.fastq
$ gzip test.fastq 
$ bioawk -c fastx '{print}' test.fastq.gz 
Segmentation fault

Actually, it also segfaults on non-gzipped input:

$ touch test.fastq
$ bioawk -c fastx '{print}' test.fastq
Segmentation fault

Is it something easily fixable?

@elmccarthy elmccarthy linked a pull request Aug 11, 2022 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant