I have a program built from MinGw MSYS environment. On my x64 machine, it crashes with the following GDB message -

gdb: unknown target exception 0x80000026 at 0x75aba57d

Program received signal ?, Unknown signal.
0x7751dd7e in setjmp () from C:\Windows\syswow64\msvcrt.dll
What can be the cause of the crash? Should the Windows' msvcrt.dll being called from MinGw programs? If no, how to avoid it being called? I see there are library files C:\MinGW\lib\Libmsvcrt*.a. Should I link the program to those? But how?