Results 1 to 5 of 5

Thread: QList: unexplicable crash

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2008
    Posts
    491
    Thanks
    12
    Thanked 142 Times in 135 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11

    Default Re: QList: unexplicable crash

    Don't see why what you described won't work. Can you post your project as an attachment?

  2. #2
    Join Date
    Nov 2009
    Location
    Argentina
    Posts
    16
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QList: unexplicable crash

    Quote Originally Posted by norobro View Post
    Don't see why what you described won't work. Can you post your project as an attachment?
    Thanks for answering!
    Ok, I'll post it tomorrow, now I haven't the project in this computer.
    Greetings,
    Facundo

  3. #3
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QList: unexplicable crash

    Possible double free issue? Are you delete'ing those objects yourself as it seems they have no parent. If so, remove that code and see if it still crashes.

  4. #4
    Join Date
    Nov 2009
    Location
    Argentina
    Posts
    16
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QList: unexplicable crash

    Hi,
    First of all, I want to thank both of you for answering, I solved the problem, (although don't know HOW). I changed the code a little and then rebooted my computer and WORKED!
    I don't know what could it be.
    Kind regards,
    Facundo

Similar Threads

  1. Copying an QList into a new, sorted QList.
    By Thomas Wrobel in forum Newbie
    Replies: 3
    Last Post: 11th January 2010, 18:27
  2. crash at QList<MyControls *> handling
    By navid in forum Newbie
    Replies: 4
    Last Post: 4th November 2009, 15:40
  3. program crash on signalMapping QList
    By wagmare in forum Qt Programming
    Replies: 4
    Last Post: 22nd July 2009, 16:23
  4. QList: Out of memory - without having defined QList
    By miroslav_karpis in forum Qt Programming
    Replies: 1
    Last Post: 27th March 2009, 08:42
  5. QList crash in destructor
    By mclark in forum Newbie
    Replies: 7
    Last Post: 6th December 2006, 15:27

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