Results 1 to 5 of 5

Thread: QT creator Debugger doesn't stop at breakpoint and show up "Segmentation Fault"

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2008
    Posts
    155
    Thanked 15 Times in 13 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: QT creator Debugger doesn't stop at breakpoint and show up "Segmentation Fault"

    The segmentation fault means your program crashed.
    If a breakpoint is not hit you might not be running a debug build.

  2. #2
    Join Date
    Mar 2010
    Posts
    68
    Thanks
    8
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default Re: QT creator Debugger doesn't stop at breakpoint and show up "Segmentation Fault"

    I got it! I changed the build config, it works fine now!

  3. #3
    Join Date
    Nov 2011
    Posts
    1
    Qt products
    Qt3 Qt4 Qt/Embedded Qt Jambi PyQt3 PyQt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: QT creator Debugger doesn't stop at breakpoint and show up "Segmentation Fault"

    Quote Originally Posted by Kevin Hoang View Post
    I got it! I changed the build config, it works fine now!
    Hi Kevin,
    I run into the same issue, could you please kindly share how you solve it?

    Thanks a lot!

  4. #4
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: QT creator Debugger doesn't stop at breakpoint and show up "Segmentation Fault"

    1 year, 7 months, and 14 days ago Kevin decided that in order to debug a program you need to have a debug, not release, build.

    BTW: It is poor netiquette to resurrect threads that have been long dormant.

Similar Threads

  1. linux "Segmentation fault"
    By harrison in forum Newbie
    Replies: 5
    Last Post: 3rd March 2010, 09:33
  2. "Segmentation Fault" for QHttp::setHost()
    By pritam in forum Newbie
    Replies: 2
    Last Post: 3rd March 2010, 07:18
  3. why is there so strange "Segmentation fault" ?
    By lanmanck in forum Qt Programming
    Replies: 9
    Last Post: 2nd March 2010, 12:55
  4. why qstringlist *ps "Segmentation fault"?
    By lanmanck in forum Qt Programming
    Replies: 6
    Last Post: 23rd September 2009, 07:46
  5. QModelIndex destructor causes "user breakpoint"
    By Arthur in forum Qt Programming
    Replies: 2
    Last Post: 30th March 2006, 09:11

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
  •  
Qt is a trademark of The Qt Company.