Closed dancooke closed 2 years ago
I've encountered a bad access whilst using ssw, the problem line is in ssw.c:
610: direction_line[de] = temp1 > temp2 ? 3 : 2;
I'm accessing through the C++ wrapper. Input sequences are ~4000bp each. Alignment scores (1,1,1,1).
I've put a code snippet in my Dropbox showing the problem. Compiled using g++:
g++ ssw_bug.cpp ssw_cpp.cpp ssw.c -O3 -std=c++11 -o test
I've encountered a bad access whilst using ssw, the problem line is in ssw.c:
610: direction_line[de] = temp1 > temp2 ? 3 : 2;
I'm accessing through the C++ wrapper. Input sequences are ~4000bp each. Alignment scores (1,1,1,1).
I've put a code snippet in my Dropbox showing the problem. Compiled using g++:
g++ ssw_bug.cpp ssw_cpp.cpp ssw.c -O3 -std=c++11 -o test