We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
fasta implementation for C is broken; "Segmentation fault"
The text was updated successfully, but these errors were encountered:
Seems related to this call:
generate_And_Wrap_Pseudorandom_DNA_Sequence(iub_Nucleotides_Information, sizeof(iub_Nucleotides_Information) / sizeof(nucleotide_info), 3 * n);
Sorry, something went wrong.
Compiling and running with address sanitizer does not raise any issues:
gcc -g -fsanitize=address -fsanitize=undefined -pipe -Wall -O3 -fomit-frame-pointer -march=native -std=c99 -mfpmath=sse -msse3 -fopenmp fasta.gcc-2.c -o fasta.gcc-2.gcc_run && ./fasta.gcc-2.gcc_run 25000000 > /dev/null
Valgrind does not find any issues either. But on the first attempt, I tried to run the program without a parameter and it segfaulted here:
Energy-Languages/C/fasta/fasta.gcc-2.c
Line 311 in 1356528
Was that perhaps the issue for you as well?
No branches or pull requests
fasta implementation for C is broken; "Segmentation fault"
The text was updated successfully, but these errors were encountered: