PDA

View Full Version : Interrupt/Exception caught while compiling Qt program



Qt Coder
25th June 2010, 12:09
I m using Qt 4.6.2 on win XP
When I compile my program I get following error and compilation stops

Running build steps for project Bi-FoldDoors...
Configuration unchanged, skipping QMake step.
Starting: C:/Qt/2010.02.1/mingw/bin/mingw32-make.exe -w
C:\Qt\2010.02.1\mingw\bin\mingw32-make.exe: Interrupt/Exception caught (code = 0xc0000005, addr = 0x7c884f9c)
Exited with code 255.
Error while building project Bi-FoldDoors
When executing build step 'Make'

The strange thing is that only sometime I get this error,otherwise it works normally without error.

This error goes when I restart my PC and start Qt creator again,same problem with Qt command prompt

JohannesMunk
25th June 2010, 22:08
Computers and programs should be deterministic. So if you start from the exact same situation twice and observe different behaviour your hardware is faulty => check your memory, harddisk etc..

For this logic to work, you have to make sure that the situation is exactly the same though. E.g. cleared project, same temp files etc.. If it always works after restart.. maybe you found a bug - usage of some non initialized memory somewhere.. that would result in different behaviour depending on the values that were there before..

Joh