Results 1 to 2 of 2

Thread: Interrupt/Exception caught while compiling Qt program

  1. #1
    Join Date
    Mar 2009
    Posts
    116
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Interrupt/Exception caught while compiling Qt program

    I m using Qt 4.6.2 on win XP
    When I compile my program I get following error and compilation stops
    Qt Code:
    1. Running build steps for project Bi-FoldDoors...
    2. Configuration unchanged, skipping QMake step.
    3. Starting: C:/Qt/2010.02.1/mingw/bin/mingw32-make.exe -w
    4. C:\Qt\2010.02.1\mingw\bin\mingw32-make.exe: Interrupt/Exception caught (code = 0xc0000005, addr = 0x7c884f9c)
    5. Exited with code 255.
    6. Error while building project Bi-FoldDoors
    7. When executing build step 'Make'
    To copy to clipboard, switch view to plain text mode 

    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

  2. #2
    Join Date
    Feb 2007
    Location
    Karlsruhe, Germany
    Posts
    469
    Thanks
    17
    Thanked 90 Times in 88 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Interrupt/Exception caught while compiling Qt program

    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

Similar Threads

  1. Replies: 1
    Last Post: 15th February 2010, 23:20
  2. LNK 2019 Error while compiling qt program in VS2008
    By mevkurray in forum Qt for Embedded and Mobile
    Replies: 3
    Last Post: 7th February 2010, 00:29
  3. Program not compiling on Fresh install of Leopard
    By dvmorris in forum Qt Programming
    Replies: 1
    Last Post: 22nd November 2007, 10:22
  4. keyPressEvent not being caught
    By vieraci in forum Qt Programming
    Replies: 2
    Last Post: 29th October 2007, 12:53
  5. Control-C to interrupt is not working
    By rburge in forum Qt Programming
    Replies: 1
    Last Post: 17th April 2006, 21:18

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.