Results 1 to 3 of 3

Thread: Problem of segmentation fault - Stack indicates qlist.h

  1. #1
    Join Date
    Aug 2011
    Posts
    5
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Problem of segmentation fault - Stack indicates qlist.h

    Hi everyone,

    I am using Qt Creator 2.2.1.
    The application I developp can run OK (well at least it can start) but when I try to debbug it I get a segmentation fault. Based on several forums posts and similar problems, I looked in the stack trying to trace the problem but this one seems to point to qlist.h.
    Below is the full backtrace:

    Thread 1 (Thread 1356.0xe70):
    #0 0x72555f50 in ?? () from C:\Program Files\Print Audit Inc\Print Audit 6\Client\pa6wtrak.dll
    No symbol table info available.
    #1 0x72558960 in ?? () from C:\Program Files\Print Audit Inc\Print Audit 6\Client\pa6wtrak.dll
    No symbol table info available.
    #2 0x72558f11 in ?? () from C:\Program Files\Print Audit Inc\Print Audit 6\Client\pa6wtrak.dll
    No symbol table info available.
    #3 0x725595a3 in ?? () from C:\Program Files\Print Audit Inc\Print Audit 6\Client\pa6wtrak.dll
    No symbol table info available.
    #4 0x725090ea in ?? () from C:\Program Files\Print Audit Inc\Print Audit 6\Client\pa6wtrak.dll
    No symbol table info available.
    #5 0x00000005 in ?? () at d:/QtSDK/Desktop/Qt/4.7.3/mingw/include/QtCore/qlist.h:98
    No locals.
    Backtrace stopped: previous frame inner to this frame (corrupt stack?)

    I have absolutely no idea why it's looking at "Print Audit Inc" first as my application is not trying to print anything neither is using this program.

    I can't really post any code since it is a pretty big application and I have no idea where the problem comes from in the code.

    Any help/suggestions on how to trace this error deeper would be great...

    Thank you

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Problem of segmentation fault - Stack indicates qlist.h

    Backtrace stopped: previous frame inner to this frame (corrupt stack?)
    It looks like your stack is trashed by some wild running code (or threads). You need to step through the code with the debugger and see where the problem occurs. It's likely a problem with threads or with writing past boundaries of objects/buffers.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. The following user says thank you to wysota for this useful post:

    BenG (9th August 2011)

  4. #3
    Join Date
    Aug 2011
    Posts
    5
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Problem of segmentation fault - Stack indicates qlist.h

    Hi wysota,

    You were right, in some way this application prevented my program to start in debbug mode. I just deleted it and it works ok now...

    Thanks a lot

Similar Threads

  1. debugging problem : segmentation fault
    By qureshi in forum Newbie
    Replies: 16
    Last Post: 8th June 2011, 11:21
  2. Replies: 3
    Last Post: 12th February 2011, 13:07
  3. Replies: 5
    Last Post: 20th April 2010, 17:48
  4. Segmentation Fault
    By Krish_ng in forum Qt Programming
    Replies: 8
    Last Post: 7th August 2007, 10:49
  5. Replies: 2
    Last Post: 19th May 2007, 18:25

Tags for this Thread

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.