You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The program is segfaulting with more recent compilers, in particular with gcc11.x.y
Additional context igor -run_demo
results in a segfault Steps to reproduce the bug
As above Expected behavior
To fun the test program correctly
System information:
IGoR version: 1.4.0 / 1.4.2
OS: Debian Buster
Compiler and compiler version: gcc-11.2.0 and gcc-11.3.0
Compiling the code with newer, i.e. more recent compilers like gcc-11.2 or gcc-11.3 lead to a segfault in the demo program.
The attached patch fixes this in Aligner.cpp, so the demo program can be used. This also fixes another problem in Utils.h.
In Utils.h #include <string> is missing but I am sure you can patch that yourself.
There are still some small buffer overflows, which you can see for yourself if you compile with the -g3 -fsanitize=address flags. See here for more information: https://gcc.gnu.org/onlinedocs/gcc/Instrumentation-Options.html
Describe the bug
The program is segfaulting with more recent compilers, in particular with
gcc
11.x.y
Additional context
igor -run_demo
results in a segfault
Steps to reproduce the bug
As above
Expected behavior
To fun the test program correctly
System information:
gcc-11.2.0
andgcc-11.3.0
Compiling the code with newer, i.e. more recent compilers like gcc-11.2 or gcc-11.3 lead to a segfault in the demo program.
The attached patch fixes this in Aligner.cpp, so the demo program can be used. This also fixes another problem in Utils.h.
In Utils.h
#include <string>
is missing but I am sure you can patch that yourself.There are still some small buffer overflows, which you can see for yourself if you compile with the
-g3 -fsanitize=address
flags. See here for more information:https://gcc.gnu.org/onlinedocs/gcc/Instrumentation-Options.html
Thanks
igor-1.4.0-c++-patch.txt
The text was updated successfully, but these errors were encountered: