Results 1 to 2 of 2

Thread: Trouble debuging

  1. #1
    Join Date
    Jul 2013
    Posts
    22
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Thanks
    10

    Default Trouble debuging

    Please watch http://www.youtube.com/watch?feature...&v=Mj43Q_zbe6Y.

    What may cause the segmentation fault just after the mouse enters the window? What's the approach to take in order to solve this problem?

    Any information will be appreciated.

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

    Default Re: Trouble debuging

    What may cause the segmentation fault just after the mouse enters the window?
    Your code. Typically a null, initialised or invalid pointer
    What's the approach to take in order to solve this problem?
    Run a debug build in your debugger. When it crashes look down the stack backtrace until you find the first line of your code and inspect all the variables involved at that point. One of them is most likely rubbish.

Similar Threads

  1. Qt Creator Is there any way to improve debuging?
    By Huk in forum Qt Tools
    Replies: 1
    Last Post: 23rd November 2012, 23:33
  2. debuging
    By Maluko_Da_Tola in forum Newbie
    Replies: 0
    Last Post: 23rd August 2010, 22:49
  3. debuging problem
    By knut in forum Installation and Deployment
    Replies: 0
    Last Post: 15th December 2008, 12:32
  4. debuging problem
    By Ghost in forum Installation and Deployment
    Replies: 2
    Last Post: 6th November 2008, 09:53
  5. Debuging Qt4 in VS2005
    By derick in forum Qt Programming
    Replies: 6
    Last Post: 20th August 2006, 21:55

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.