-
Notifications
You must be signed in to change notification settings - Fork 90
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
Crash on running example command #15
Comments
I'm curious about the "No such file or directory" part of the core dump. Is it possible that either of your input files is missing or can't be opened (due to permissions maybe)? There should be a nicer error for that, but it's possible our error checking doesn't work with this GCC version. |
I was too, but I'm using the example data from the repository. After the first crash I figured it might be my data, or running from hxr@leda:~/work/Mash$ ls -al genome* data/genome*
-rw-rw-r-- 1 hxr hxr 132 Nov 2 09:09 data/genome1.fna
-rw-rw-r-- 1 hxr hxr 132 Nov 2 09:09 data/genome2.fna
-rw-rw-r-- 1 hxr hxr 132 Nov 2 09:09 data/genome3.fna
-rw-r----- 1 hxr hxr 4706047 Nov 2 09:30 genome1.fna
-rw-r----- 1 hxr hxr 5577087 Nov 2 09:30 genome2.fna
hxr@leda:~/work/Mash$ md5sum genome*.fna
385181dd87acd9dfac85b4f03d8840c2 genome1.fna
2819c48fc28e4399eefdcd6b1695c6c0 genome2.fna
hxr@leda:~/work/Mash$ head genome1.fna
>gi|49175990|ref|NC_000913.2| Escherichia coli str. K-12 substr. MG1655, complete genome
AGCTTTTCATTCTGACTGCAACGGGCAATATGTCTCTGTGTGGATTAAAAAAAGAGTGTCTGATAGCAGC
TTCTGAACTGGTTACCTGCCGTGAGTAAATTAAAATTTTATTGACTTAGGTCACTAAATACTTTAACCAA
TATAGGCATAGCGCACAGACAGATAAAAATTACAGAGTACACAACATCCATGAAACGCATTAGCACCACC
ATTACCACCACCATCACCATTACCACAGGTAACGGTGCGGGCTGACGCGTACAGGAAACACAGAAAAAAG
CCCGCACCTGACAGTGCGGGCTTTTTTTTTCGACCAAAGGTAACGAGGTAACAACCATGCGAGTGTTGAA
GTTCGGCGGTACATCAGTGGCAAATGCAGAACGTTTTCTGCGTGTTGCCGATATTCTGGAAAGCAATGCC
AGGCAGGGGCAGGTGGCCACCGTCCTCTCTGCCCCCGCCAAAATCACCAACCACCTGGTGGCGATGATTG
AAAAAACCATTAGCGGCCAGGATGCTTTACCCAATATCAGCGATGCCGAACGTATTTTTGCCGAACTTTT
GACGGGACTCGCCGCCGCCCAGCCGGGGTTCCCGCTGGCGCAATTGAAAACTTTCGTCGATCAGGAATTT Here's the backtrace (sorry, forgot that earlier)
after some cursory searching, that same "No such file or directory" error seems to show up in other places as well, so that error may be a spurious warning next to the stack smashing attempt which I'm guessing is just an overflowing buffer somewhere. |
It looks likes that's true; there is an overflowing buffer during hashing that just never manifested as an error in older environments (presumably due to less error-checking). Here is a binary that should be fixed; if you can confirm I will push the code and incorporate into the first minor update: |
Yep, that's fixed it! Thanks so much :)
I'll be working on developing a Galaxy wrapper for this now that I can run it. |
Fix posted in v1.0.1. |
Howdy! Mash looks like a lot of fun and I'd like to try it out, but after getting it built, I see a crash when running the example command:
Here's the crash message:
And opening the core dump up in gdb:
can post core dump/etc if needed :)
Other stuff:
The text was updated successfully, but these errors were encountered: