Results 1 to 4 of 4

Thread: Error when debugging with Qt creator

  1. #1
    Join Date
    Jul 2010
    Posts
    71
    Thanked 8 Times in 8 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Error when debugging with Qt creator

    My application compiles ok, but when I try to debug, I get:

    "The inferior stopped because it received a signal from the operating system.
    Signal Name: SIGSEGV
    Signal Meaning: Segmentation fault"...


    problem.jpg

  2. #2
    Join Date
    May 2010
    Location
    Romania
    Posts
    1,021
    Thanks
    62
    Thanked 260 Times in 246 Posts
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Error when debugging with Qt creator

    Look for one of the following possible causes of Segmentation Fault:
    # buffer overflow
    # using uninitialized pointers
    # dereference NULL pointers
    # attempt to access memory the program does not own
    # attempt to alter memory the program does not own

  3. #3
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: Error when debugging with Qt creator

    From reading on google I think this has to do with remote debugging.
    If so, someone said his problem was resolved when changing the firewall. (it's on this forum somewhere)

  4. #4
    Join Date
    May 2010
    Location
    Romania
    Posts
    1,021
    Thanks
    62
    Thanked 260 Times in 246 Posts
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Error when debugging with Qt creator

    I forgot one more possible reason of Segmentation Fault: double deletion (take care with what you delete in destructors)

Similar Threads

  1. Replies: 4
    Last Post: 14th September 2011, 01:18
  2. qt creator debugging problem
    By sujan.dasmahapatra in forum Qt Programming
    Replies: 1
    Last Post: 16th December 2009, 21:10
  3. Debugging in QT Creator
    By cae in forum Qt Tools
    Replies: 6
    Last Post: 16th November 2009, 12:45
  4. Qt Creator debugging trouble on Mac OS
    By johnmidd in forum Qt Tools
    Replies: 5
    Last Post: 6th November 2009, 12:34
  5. debugging in QT Creator
    By talk2amulya in forum Qt Tools
    Replies: 3
    Last Post: 22nd February 2009, 06:50

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.