Results 1 to 4 of 4

Thread: internal compiler error: Segmentation fault

  1. #1
    Join Date
    Mar 2011
    Posts
    120
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default internal compiler error: Segmentation fault

    Hi everyone,
    I am using qt 4.7.3. Since last one month i am getting "internal compiler error: Segmentation fault" error. During build I am getting this error. It is not coming frequently.
    For the same code in one system i am getting this error but in different system it is working fine(qt version is same).

    Qt Code:
    1. A: if(a > 0)
    2. continue;
    3.  
    4.  
    5. B: if(a > 0)
    6. {
    7. continue;
    8. }
    To copy to clipboard, switch view to plain text mode 

    For A i am getting error and for B no error.

    Can anybody please tell me about this error ? Is my qt corrupted or there is some other issues in my pc ?

    thanks,
    bibhu.

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: internal compiler error: Segmentation fault

    internal compiler error means that the compiler had an error, usually a bug in the compiler or a bug in a template (which is a bit like code run by the compiler).

    Since it doesn't happen every time, you could have a hardware failure, e.g. memory being faulty.

    Cheers,
    _

  3. #3
    Join Date
    Mar 2011
    Posts
    120
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: internal compiler error: Segmentation fault

    Thanks for reply.

    Can you please tell me what to do ?
    How can i check memory corruption ?
    Is it related to RAM or hadr disk ?

  4. #4
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: internal compiler error: Segmentation fault

    RAM

    Look for memcheck tools for your operating system.

    Cheers,
    _

Similar Threads

  1. Segmentation fault error
    By Niamita in forum Qt Programming
    Replies: 5
    Last Post: 23rd April 2012, 17:00
  2. building error: Segmentation fault
    By kaycee1 in forum Installation and Deployment
    Replies: 2
    Last Post: 21st October 2010, 10:08
  3. fatal error C1001: An internal error has occurred in the compiler
    By noodles in forum Installation and Deployment
    Replies: 0
    Last Post: 12th August 2010, 11:24
  4. fatal err or C1001: An internal error has occurred in the compiler.
    By noodles in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 11th August 2010, 13:47
  5. segmentation fault error
    By sagi in forum Installation and Deployment
    Replies: 2
    Last Post: 25th July 2008, 05:37

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.