Results 1 to 6 of 6

Thread: QVector push_back error

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2014
    Posts
    7
    Thanks
    1
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11

    Default Re: QVector push_back error

    Qt Code:
    1. ==3024==
    2. ==3024== Process terminating with default action of signal 11 (SIGSEGV)
    3. ==3024== General Protection Fault
    4. ==3024== at 0x410CA5: QBasicAtomicInt::operator!=(int) const (qbasicatomic.h:75)
    5. ==3024== by 0x417AEA: QVector<QPoint>::append(QPoint const&) (qvector.h:575)
    6. ==3024== by 0x4171C2: QVector<QPoint>::push_back(QPoint const&) (qvector.h:281)
    7. ==3024== by 0x420DF0: Route::SetCameraPositions(QVector<QPoint>*) (cRoute.cpp:46)
    8. ==3024== by 0x4107DA: MainWindow::SetCameraLocations() (mainwindow.cpp:678)
    9. ==3024== by 0x40C577: MainWindow::SetupModel() (mainwindow.cpp:141)
    10. ==3024== by 0x40B6CB: MainWindow::MainWindow(QWidget*) (mainwindow.cpp:48)
    11. ==3024== by 0x40B3BF: main (main.cpp:18)
    12. ==3024==
    13. ==3024== Events : Ir
    14. ==3024== Collected : 172003489
    15. ==3024==
    16. ==3024== I refs: 172,003,489
    17. ** Process crashed **
    To copy to clipboard, switch view to plain text mode 


    EDIT: I've solved problem. It's in mainwindow file, not in the code i wrote here.
    Last edited by Eleasar; 17th April 2014 at 09:22.

Similar Threads

  1. [SOLVED]Weird compile error QObject, QVector
    By Alir3z4 in forum Qt Programming
    Replies: 2
    Last Post: 30th January 2012, 16:07
  2. 0xc0000005 error when using qVector
    By przemo in forum Newbie
    Replies: 5
    Last Post: 9th December 2010, 14:02
  3. Replies: 1
    Last Post: 3rd December 2009, 10:17
  4. QVector.push_back problem...
    By luche in forum Newbie
    Replies: 2
    Last Post: 11th January 2009, 02:22
  5. Replies: 1
    Last Post: 25th October 2008, 19:18

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.