Results 1 to 3 of 3

Thread: Segmentation Fault

  1. #1
    Join Date
    May 2009
    Posts
    55
    Thanks
    4
    Qt products
    Qt4
    Platforms
    Windows

    Default Segmentation Fault

    I'm getting a run-time error flagged by GDB which says:

    Program received signal SIGSEGV, Segmentation fault.
    [Switching to Thread 3412.0x4ac]
    0x7c96df51 in ntdll!RtlpNtMakeTemporaryKey ()
    from C:\WINDOWS\system32\ntdll.dll


    My program is running well if I'm not using debugger to run it. What could be the cause of this error? And why is my app not crashing if I'm having a segmentation fault?

  2. #2
    Join Date
    May 2008
    Location
    Kyiv, Ukraine
    Posts
    418
    Thanks
    1
    Thanked 29 Times in 27 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Segmentation Fault

    What does 'backtrace' says?
    I'm a rebel in the S.D.G.

  3. #3
    Join Date
    May 2009
    Posts
    55
    Thanks
    4
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Segmentation Fault

    backtrace says:

    #0 0x7c96df51 in ntdll!RtlpNtMakeTemporaryKey()
    from C:\WINDOWS\system32\ntdll.dll
    #1 0x7c94a5d0 in ntdll!RtlInsertElementGenericTableAvl()
    from C:\WINDOWS\system32\ntdll.dll
    #2 0X7c9268ad in ntdll!iswdigit () from C:\WINDOWS\system32\ntdll.dll
    #3 0x77c2c2de in msvcrt!free() from C:\WINDOWS\system32\msvcrt.dll
    #4 0x052b0000 in ?? ()
    #5 0x00000000 in ?? ()

Similar Threads

  1. Segmentation fault
    By Schimanski in forum Qt Programming
    Replies: 20
    Last Post: 31st August 2009, 16:26
  2. Segmentation Fault?!
    By r07f1 in forum Newbie
    Replies: 2
    Last Post: 11th April 2008, 15:10
  3. Segmentation Fault
    By Krish_ng in forum Qt Programming
    Replies: 8
    Last Post: 7th August 2007, 10:49
  4. Segmentation Fault
    By merry in forum General Programming
    Replies: 4
    Last Post: 12th March 2007, 04:08
  5. segmentation fault
    By shamik in forum Qt Programming
    Replies: 3
    Last Post: 24th November 2006, 07:33

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.