Results 1 to 2 of 2

Thread: crash on qt eventloop

  1. #1
    Join Date
    Mar 2012
    Location
    china
    Posts
    54
    Thanks
    2
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default crash on qt eventloop

    #0 0x00007ffff4cb65f6 in QBrush::QBrush(QBrush const&) () from /opt/QtSDK/Desktop/Qt/4.8.1/gcc/lib/libQtGui.so.4
    #1 0x00007ffff4bca8fe in ?? () from /opt/QtSDK/Desktop/Qt/4.8.1/gcc/lib/libQtGui.so.4
    #2 0x00007ffff464da2e in QVariant::QVariant(QVariant const&) () from /opt/QtSDK/Desktop/Qt/4.8.1/gcc/lib/libQtCore.so.4
    #3 0x00007ffff51775e3 in QTreeWidgetItem::data(int, int) const () from /opt/QtSDK/Desktop/Qt/4.8.1/gcc/lib/libQtGui.so.4
    #4 0x00007ffff51768d5 in ?? () from /opt/QtSDK/Desktop/Qt/4.8.1/gcc/lib/libQtGui.so.4
    #5 0x00007ffff51aee93 in QStyledItemDelegate::initStyleOption(QStyleOptionV iewItem*, QModelIndex const&) const () from /opt/QtSDK/Desktop/Qt/4.8.1/gcc/lib/libQtGui.so.4
    #6 0x00007ffff51b0218 in QStyledItemDelegate::sizeHint(QStyleOptionViewItem const&, QModelIndex const&) const () from /opt/QtSDK/Desktop/Qt/4.8.1/gcc/lib/libQtGui.so.4
    #7 0x00007ffff514117d in QTreeView::indexRowSizeHint(QModelIndex const&) const () from /opt/QtSDK/Desktop/Qt/4.8.1/gcc/lib/libQtGui.so.4
    #8 0x00007ffff5141589 in QTreeViewPrivate::itemHeight(int) const () from /opt/QtSDK/Desktop/Qt/4.8.1/gcc/lib/libQtGui.so.4
    #9 0x00007ffff514481f in QTreeView::dataChanged(QModelIndex const&, QModelIndex const&) () from /opt/QtSDK/Desktop/Qt/4.8.1/gcc/lib/libQtGui.so.4
    #10 0x00007ffff463abae in QObject::event(QEvent*) () from /opt/QtSDK/Desktop/Qt/4.8.1/gcc/lib/libQtCore.so.4
    #11 0x00007ffff4bdc1ef in QWidget::event(QEvent*) () from /opt/QtSDK/Desktop/Qt/4.8.1/gcc/lib/libQtGui.so.4
    #12 0x00007ffff4fc7936 in QFrame::event(QEvent*) () from /opt/QtSDK/Desktop/Qt/4.8.1/gcc/lib/libQtGui.so.4
    #13 0x00007ffff5055f6b in QAbstractScrollArea::event(QEvent*) () from /opt/QtSDK/Desktop/Qt/4.8.1/gcc/lib/libQtGui.so.4
    #14 0x00007ffff50fb41b in QAbstractItemView::event(QEvent*) () from /opt/QtSDK/Desktop/Qt/4.8.1/gcc/lib/libQtGui.so.4
    #15 0x00007ffff4b8756c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /opt/QtSDK/Desktop/Qt/4.8.1/gcc/lib/libQtGui.so.4
    #16 0x00007ffff4b8ca1d in QApplication::notify(QObject*, QEvent*) () from /opt/QtSDK/Desktop/Qt/4.8.1/gcc/lib/libQtGui.so.4
    #17 0x00007ffff462830c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /opt/QtSDK/Desktop/Qt/4.8.1/gcc/lib/libQtCore.so.4
    #18 0x00007ffff462cbf3 in QCoreApplicationPrivate::sendPostedEvents(QObject* , int, QThreadData*) () from /opt/QtSDK/Desktop/Qt/4.8.1/gcc/lib/libQtCore.so.4
    #19 0x00007ffff4659cf3 in ?? () from /opt/QtSDK/Desktop/Qt/4.8.1/gcc/lib/libQtCore.so.4
    #20 0x00007ffff216a58d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
    #21 0x00007ffff216ad88 in ?? () from /usr/lib64/libglib-2.0.so.0
    #22 0x00007ffff216af59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
    #23 0x00007ffff4659833 in QEventDispatcherGlib:rocessEvents(QFlags<QEventLoop::ProcessEventsFlag> ) () from /opt/QtSDK/Desktop/Qt/4.8.1/gcc/lib/libQtCore.so.4
    #24 0x00007ffff4c3a90e in ?? () from /opt/QtSDK/Desktop/Qt/4.8.1/gcc/lib/libQtGui.so.4
    #25 0x00007ffff4626ec2 in QEventLoop:rocessEvents(QFlags<QEventLoop::ProcessEventsFlag> ) () from /opt/QtSDK/Desktop/Qt/4.8.1/gcc/lib/libQtCore.so.4
    #26 0x00007ffff4627334 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsF lag>) () from /opt/QtSDK/Desktop/Qt/4.8.1/gcc/lib/libQtCore.so.4
    #27 0x00007ffff462cfc9 in QCoreApplication::exec() () from /opt/QtSDK/Desktop/Qt/4.8.1/gcc/lib/libQtCore.so.4
    #28 0x0000000000435895 in main (argc=1, argv=0x7fffffffdd18) at ../goldenrod/trunk/surveil/chameleon/main.cpp:71
    what should i do?

  2. #2
    Join Date
    Sep 2011
    Posts
    1,241
    Thanks
    3
    Thanked 127 Times in 126 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: crash on qt eventloop

    look at the data in your tree
    If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.

Similar Threads

  1. Replies: 9
    Last Post: 5th July 2012, 21:16
  2. Qt EventLoop Duty Cycle (Blocking vs Spinning)
    By bob2oneil in forum Qt Programming
    Replies: 5
    Last Post: 20th July 2011, 22:06
  3. QTcpSocket EventLoop thread is still running?
    By mihau in forum Qt Programming
    Replies: 0
    Last Post: 28th February 2011, 09:41
  4. Problem with eventloop in QThread
    By speedy_gonzales in forum Qt Programming
    Replies: 2
    Last Post: 25th February 2010, 19:17
  5. Thread eventLoop and run
    By ^NyAw^ in forum Qt Programming
    Replies: 2
    Last Post: 8th May 2008, 19:36

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.