Home > Uncategorized > MinGW and Qt Creator: Interrupt/Exception caught code = 0xc00000fd

MinGW and Qt Creator: Interrupt/Exception caught code = 0xc00000fd

On Windows Vista 64-bit or Windows 7 64-bit, GCC make (MinGW) can be failed with the error:

mingw32-make.exe: Interrupt/Exception caught (code = 0xc00000fd, addr = 0x421963)

The bug in “make” causes it to crash when the path (PATH) contains “(” or “)”. With a 64-bit version of Windows the path can contain parentheses.

The problem lies with the way that the PATH environment variable works. When “make” (or any other application) searches for a command in PATH, it starts by looking at the first directory that is listed in the PATH environment variable for that command. If it does not find it there, then it moves on to the next directory in the list, and so on, until it either finds the command that it is looking for, or runs out of directories to search. This means that any directory in the PATH with parentheses that occurs before the directory containing the GCC executables will cause “make” to fail.

In this case shifting the directory containing the GCC executables (C:\Qt\2010.02\mingw\bin) to the start of the list, solved the problem.

mingw Interrupt/Exception Caught

Tags: ,
You must be logged in to post a comment.