Results 1 to 3 of 3

Thread: QAbstractEventDispatcher: INTERNAL ERROR, timer ID 0 is too large

  1. #1
    Join Date
    Jul 2014
    Posts
    23
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default QAbstractEventDispatcher: INTERNAL ERROR, timer ID 0 is too large

    Hi,

    I used QTreeView and QStandardItemModel to model the scope tree.
    Now the parent node has lots of children and sub-children nodes (probably million nodes).
    I suffer a crash when updateGeometries() for the tree view.

    The message is:

    Fatal: QAbstractEventDispatcher: INTERNAL ERROR, timer ID 0 is too large
    catch signal 6

    The call-stack is:
    #7 0x0000000006964621 in catchSignalCB ()
    #8 <signal handler called>
    #9 0x00002aaab0e51265 in raise ()
    #10 0x00002aaab0e52d10 in abort ()
    #11 0x0000000004c0e600 in qtMessageHandler(QtMsgType, char const*)
    #12 0x00002aaaac0ca6fe in qt_message_output(QtMsgType, char const*)
    #13 0x00002aaaac0ca8c8 in qt_message(QtMsgType, char const*, __va_list_tag*)
    #14 0x00002aaaac0caa54 in qFatal(char const*, ...)
    #15 0x00002aaaac1c2e73 in QAbstractEventDispatcherPrivate::allocateTimerId()
    #16 0x00002aaaac1c3176 in QAbstractEventDispatcher::registerTimer(int, QObject*)
    #17 0x00002aaaac1cf371 in QBasicTimer::start(int, QObject*)
    #18 0x00002aaaabaad179 in QTreeView::rowsInserted(QModelIndex const&, int, int)
    #19 0x00002aaaac1e5bcf in QMetaObject::activate(QObject*, QMetaObject const*, int, void**)
    #20 0x00002aaaac22eaa4 in QAbstractItemModel::rowsInserted(QModelIndex const&, int, int)
    #21 0x00002aaaac1cb0ca in QAbstractItemModel::endInsertRows()
    #22 0x00002aaaabafaf30 in QStandardItemModelPrivate::rowsInserted(QStandardI tem*, int, int) ()
    #23 0x00002aaaabafbcf7 in QStandardItemPrivate::insertRows(int, int, QList<QStandardItem*> const&) ()

    Do you have any idea about this, thanks.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QAbstractEventDispatcher: INTERNAL ERROR, timer ID 0 is too large

    When exactly does the crash occur? The trace seems to indicate you were inserting some rows into the model. How many rows?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Jul 2014
    Posts
    23
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: QAbstractEventDispatcher: INTERNAL ERROR, timer ID 0 is too large

    We got a solution, insert the children by group, so the calling of "QAbstractItemModel::rowsInserted" will be reduced, and time ID is not overflow.

Similar Threads

  1. Replies: 4
    Last Post: 29th April 2014, 16:20
  2. fatal error C1001: An internal error has occurred in the compiler
    By noodles in forum Installation and Deployment
    Replies: 0
    Last Post: 12th August 2010, 11:24
  3. QImage internal error
    By GiuseppeBonfa in forum Qt Programming
    Replies: 1
    Last Post: 4th August 2009, 14:12
  4. QHttp internal error
    By LubosD in forum Qt Programming
    Replies: 1
    Last Post: 16th August 2006, 09:57
  5. ERROR:: QPainter: Internal error; no available GC
    By Krishnacins in forum Qt Programming
    Replies: 2
    Last Post: 8th March 2006, 06:05

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.