Opened 3 years ago

#6141 new Bug

Assertion 'item == myRootItem' failed

Reported by: cantabile Owned by: jordan
Priority: Normal Milestone: None Set
Component: Qt Client Version: 2.92
Severity: Normal Keywords:
Cc:

Description

transmission-qt: FileTreeModel.cc:357: void FileTreeModel::addFile(int, const QString&, bool, int, uint64_t, uint64_t, bool): Assertion `item == myRootItem' failed.

I have this one torrent that causes the above error. Just opening the file list tab makes it happen.

I use the Qt client as graphical interface for the daemon, both running on the same computer.

The operating system is Arch Linux, 64 bit. Qt is version 5.6.0.

Here is a backtrace:

(gdb) bt full
#0  0x00007ffff3bab295 in raise () from /usr/lib/libc.so.6
No symbol table info available.
#1  0x00007ffff3bac6da in abort () from /usr/lib/libc.so.6
No symbol table info available.
#2  0x00007ffff3ba4297 in __assert_fail_base () from /usr/lib/libc.so.6
No symbol table info available.
#3  0x00007ffff3ba4342 in __assert_fail () from /usr/lib/libc.so.6
No symbol table info available.
#4  0x0000000000459431 in FileTreeModel::addFile (this=0xc1e3a0, fileIndex=0, filename=..., wanted=true, priority=0, totalSize=1578213, have=1578213,
    updateFields=false) at FileTreeModel.cc:357
        indexWithChangedParents = {r = -1, c = -1, i = 0, m = 0x0}
        filenameIt = {<(anonymous namespace)::PathIteratorBase> = {myPath = @0x190fbf0, mySlashIndex = 0, myToken = {static null = {<No data fields>},
              d = 0x11cd7d0}, static SlashChar = {ucs = 47}}, <No data fields>}
        item = 0x2560180
        __PRETTY_FUNCTION__ = "void FileTreeModel::addFile(int, const QString&, bool, int, uint64_t, uint64_t, bool)"
#5  0x000000000045edcb in FileTreeView::update (this=0xc1f820, files=..., updateFields=false) at FileTreeView.cc:186
        file = @0x190fbe0: {wanted = true, index = 0, priority = 0, filename = {static null = {<No data fields>}, d = 0x16e9fb0}, size = 1578213,
          have = 1578213}
        __for_range = @0x19f7aa0: {<QListSpecialMethods<TorrentFile>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {
                    _q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {
                  0x0}}, d = 0x16ed400}, d = 0x16ed400}}
        __for_begin = {i = 0x16ed410}
        __for_end = {i = 0x16edac8}
        modelWasEmpty = false
#6  0x000000000043c9d8 in DetailsDialog::refresh (this=0xc39260) at DetailsDialog.cc:939
        n = 1
        single = true
        blank = {static null = {<No data fields>}, d = 0x7ffff4d5bb20 <QArrayData::shared_null>}
        fm = {d = {d = 0x9b5f50}}
        torrents = {<QListSpecialMethods<Torrent const*>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {
                    _q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {
                  0x0}}, d = 0x252c820}, d = 0x252c820}}
        string = {static null = {<No data fields>}, d = 0x1a1b270}
        none = {static null = {<No data fields>}, d = 0x2540e20}
        mixed = {static null = {<No data fields>}, d = 0x11c5b30}
        unknown = {static null = {<No data fields>}, d = 0x11ce5c0}
        stateString = {static null = {<No data fields>}, d = 0x11c6a00}
        sizeWhenDone = 55827790
        available = 55827790
        qdt_now = {d = {d = 0x11db840}}
        isCommentMixed = false
        peers2 = {d = 0x7ffff4d9d9a0 <QMapDataBase::shared_null>}
        newItems = {<QListSpecialMethods<QTreeWidgetItem*>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {
                    _q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {
                  0x0}}, d = 0x7ffff4d5d9c0 <QListData::shared_null>}, d = 0x7ffff4d5d9c0 <QListData::shared_null>}}
#7  0x00000000004d28ef in DetailsDialog::qt_static_metacall (_o=0xc39260, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffffffda20)
    at moc_DetailsDialog.cpp:153
        _t = 0xc39260
#8  0x00007ffff4cd9679 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
No symbol table info available.
#9  0x00007ffff4ce6193 in ?? () from /usr/lib/libQt5Core.so.5
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#10 0x00007ffff4cda133 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
No symbol table info available.
#11 0x00007ffff5fcc7bc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
No symbol table info available.
#12 0x00007ffff5fd195f in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
No symbol table info available.
#13 0x00007ffff4cac280 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
No symbol table info available.
#14 0x00007ffff4d015ee in QTimerInfoList::activateTimers() () from /usr/lib/libQt5Core.so.5
No symbol table info available.
#15 0x00007ffff4d01b11 in ?? () from /usr/lib/libQt5Core.so.5
No symbol table info available.
#16 0x00007ffff1da9f07 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#17 0x00007ffff1daa160 in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#18 0x00007ffff1daa20c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#19 0x00007ffff4d026cf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
No symbol table info available.
#20 0x00007ffff4caa46a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
No symbol table info available.
#21 0x00007ffff4cb2a0c in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
No symbol table info available.
#22 0x0000000000433355 in main (argc=3, argv=0x7fffffffe1e8) at Application.cc:589
        app = {<QApplication> = {<No data fields>}, static staticMetaObject = {d = {superdata = 0x7ffff66c4100 <QApplication::staticMetaObject>,
              stringdata = 0x55a820 <qt_meta_stringdata_Application>, data = 0x55aa40 <qt_meta_data_Application>,
              static_metacall = 0x4d190e <Application::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0,
              extradata = 0x0}}, myPrefs = 0x9e9620, mySession = 0x9c4560, myModel = 0x9c44b0, myWindow = 0x9ce9f0, myWatchDir = 0xcadeb0,
          myModelTimer = <incomplete type>, myStatsTimer = <incomplete type>, mySessionTimer = <incomplete type>, myLastFullUpdateTime = 1465126162,
          myQtTranslator = <incomplete type>, myAppTranslator = <incomplete type>, myFavicons = {<QObject> = {<No data fields>}, static staticMetaObject = {
              d = {superdata = 0x7ffff50ea8e0 <QObject::staticMetaObject>, stringdata = 0x55b7e0 <qt_meta_stringdata_FaviconCache>,
                data = 0x55b8e0 <qt_meta_data_FaviconCache>,
                static_metacall = 0x4d2d30 <FaviconCache::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0,
                extradata = 0x0}}, myNAM = 0x9b82c0, myPixmaps = {d = 0x131d780}}}
(gdb)

Change History (0)

Note: See TracTickets for help on using tickets.