Bug 210235

Summary: KGet crashed while deleting torrents [TransferTreeModel::isTransferGroup, TransferTreeModel::parent, QAbstractItemModelPrivate::rowsAboutToBeRemoved]
Product: [Applications] kget Reporter: marco <marcomelo>
Component: generalAssignee: KGet authors <kget>
Status: RESOLVED FIXED    
Severity: crash CC: andresbajotierra, me, nekkar, swestrup
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description marco 2009-10-11 20:58:41 UTC
Application that crashed: kget
Version of the application: 2.3.1
KDE Version: 4.3.1 (KDE 4.3.1)
Qt Version: 4.5.2
Operating System: Linux 2.6.30.8-64.fc11.i586 i686

What I was doing when the application crashed:
kget crashed while deleting torrents

 -- Backtrace:
Application: KGet (kget), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7f21780 (LWP 2481))]

Thread 3 (Thread 0xb5affb70 (LWP 2499)):
#0  0x00d52422 in __kernel_vsyscall ()
#1  0x002b4396 in poll () from /lib/libc.so.6
#2  0x00fa97f6 in ?? () from /usr/lib/kde4/kget_bittorrentfactory.so
#3  0x00fa98c9 in ?? () from /usr/lib/kde4/kget_bittorrentfactory.so
#4  0x00faa2f8 in ?? () from /usr/lib/kde4/kget_bittorrentfactory.so
#5  0x0512b2f2 in ?? () from /usr/lib/libQtCore.so.4
#6  0x00389935 in start_thread () from /lib/libpthread.so.0
#7  0x002be94e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xb50feb70 (LWP 2500)):
#0  0x00d52422 in __kernel_vsyscall ()
#1  0x0038dfa5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x0512c337 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x00fa902d in ?? () from /usr/lib/kde4/kget_bittorrentfactory.so
#4  0x00faa2f8 in ?? () from /usr/lib/kde4/kget_bittorrentfactory.so
#5  0x0512b2f2 in ?? () from /usr/lib/libQtCore.so.4
#6  0x00389935 in start_thread () from /lib/libpthread.so.0
#7  0x002be94e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb7f21780 (LWP 2481)):
[KCrash Handler]
#6  0x0078c74c in __dynamic_cast () from /usr/lib/libstdc++.so.6
#7  0x05089522 in TransferTreeModel::isTransferGroup(QModelIndex const&) const () from /usr/lib/libkgetcore.so.4
#8  0x0508a056 in TransferTreeModel::parent(QModelIndex const&) const () from /usr/lib/libkgetcore.so.4
#9  0x05213063 in QAbstractItemModelPrivate::rowsAboutToBeRemoved(QModelIndex const&, int, int) () from /usr/lib/libQtCore.so.4
#10 0x052135df in QAbstractItemModel::beginRemoveRows(QModelIndex const&, int, int) () from /usr/lib/libQtCore.so.4
#11 0x05089f46 in TransferTreeModel::delTransfer(Transfer*) () from /usr/lib/libkgetcore.so.4
#12 0x0507e1b4 in KGet::delTransfer(TransferHandler*) () from /usr/lib/libkgetcore.so.4
#13 0x080980ee in _start ()

Reported using DrKonqi
Comment 1 Dario Andres 2009-10-11 21:05:48 UTC
- Does KGet crash again if you repeat the situation you described ?
Thanks
Comment 2 Dario Massarin 2009-10-11 21:37:56 UTC
Do you have the chance to test the current trunk version? We put many many fixes for these problems.
Comment 3 FiNeX 2009-12-01 17:34:07 UTC
*** Bug 216950 has been marked as a duplicate of this bug. ***
Comment 4 Lukas Appelhans 2009-12-01 20:48:00 UTC
This should be fixed indeed...

Lukas
Comment 5 Lukas Appelhans 2009-12-12 15:33:15 UTC
*** Bug 218349 has been marked as a duplicate of this bug. ***