Bug 342531 - KTorrent killed upon emptying list
Summary: KTorrent killed upon emptying list
Status: RESOLVED INTENTIONAL
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-01-05 20:14 UTC by Rémy Epke
Modified: 2016-03-06 16:40 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rémy Epke 2015-01-05 20:14:27 UTC
Application: ktorrent (4.3dev)
KDE Platform Version: 4.14.3
Qt Version: 4.8.6
Operating System: Linux 3.17.7-1 x86_64
Distribution: "KaOS"

-- Information about the crash:
- What I was doing when the application crashed:
Delete last torrent from list (or all at once), whether fully downloaded or not makes no difference.

The crash can be reproduced every time.

-- Backtrace:
Application: KTorrent (ktorrent), signal: Segmentation fault
Using host libthread_db library "/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fd28a5c17c0 (LWP 2212))]

Thread 5 (Thread 0x7fd275512700 (LWP 2214)):
#0  0x00007fd282027e9a in ?? () from /usr/lib/libglib-2.0.so.0
#1  0x00007fd282027fbc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#2  0x00007fd286f1d066 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#3  0x00007fd286eef0bf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007fd286eef3b5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007fd286dec71f in QThread::exec() () from /usr/lib/libQtCore.so.4
#6  0x00007fd286ed0b13 in ?? () from /usr/lib/libQtCore.so.4
#7  0x00007fd286deed9f in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007fd288122314 in start_thread () from /lib/libpthread.so.0
#9  0x00007fd2862924dd in clone () from /lib/libc.so.6

Thread 4 (Thread 0x7fd26cae3700 (LWP 2245)):
#0  0x00007fd28a0fa186 in ?? () from /usr/lib/libktorrent.so.5
#1  0x00007fd28a0fa386 in ?? () from /usr/lib/libktorrent.so.5
#2  0x00007fd28a0fa589 in ?? () from /usr/lib/libktorrent.so.5
#3  0x00007fd286deed9f in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007fd288122314 in start_thread () from /lib/libpthread.so.0
#5  0x00007fd2862924dd in clone () from /lib/libc.so.6

Thread 3 (Thread 0x7fd25ffff700 (LWP 2246)):
#0  0x00007fd2862896dd in poll () from /lib/libc.so.6
#1  0x00007fd28a0fd0f9 in net::Poll::poll(int) () from /usr/lib/libktorrent.so.5
#2  0x00007fd28a0f9bb2 in ?? () from /usr/lib/libktorrent.so.5
#3  0x00007fd28a0f9ca6 in ?? () from /usr/lib/libktorrent.so.5
#4  0x00007fd28a0fa589 in ?? () from /usr/lib/libktorrent.so.5
#5  0x00007fd286deed9f in ?? () from /usr/lib/libQtCore.so.4
#6  0x00007fd288122314 in start_thread () from /lib/libpthread.so.0
#7  0x00007fd2862924dd in clone () from /lib/libc.so.6

Thread 2 (Thread 0x7fd25f7fe700 (LWP 2247)):
#0  0x00007fd2881278cf in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fd286def286 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007fd28a0fcbfa in ?? () from /usr/lib/libktorrent.so.5
#3  0x00007fd286deed9f in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007fd288122314 in start_thread () from /lib/libpthread.so.0
#5  0x00007fd2862924dd in clone () from /lib/libc.so.6

Thread 1 (Thread 0x7fd28a5c17c0 (LWP 2212)):
[KCrash Handler]
#5  0x00007fd28798df50 in QStyledItemDelegate::displayText(QVariant const&, QLocale const&) const () from /usr/lib/libQtGui.so.4
#6  0x00007fd28798f22a in QStyledItemDelegate::initStyleOption(QStyleOptionViewItem*, QModelIndex const&) const () from /usr/lib/libQtGui.so.4
#7  0x00007fd28798e14c in QStyledItemDelegate::paint(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const () from /usr/lib/libQtGui.so.4
#8  0x00007fd28792d789 in QTreeView::drawRow(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const () from /usr/lib/libQtGui.so.4
#9  0x00007fd287930cb2 in QTreeView::drawTree(QPainter*, QRegion const&) const () from /usr/lib/libQtGui.so.4
#10 0x00007fd28793445c in QTreeView::paintEvent(QPaintEvent*) () from /usr/lib/libQtGui.so.4
#11 0x00007fd28746c320 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#12 0x00007fd2877e9f6e in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#13 0x00007fd2878f95b3 in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#14 0x00007fd287938110 in QTreeView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#15 0x00007fd286ef0666 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#16 0x00007fd28741d09c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#17 0x00007fd2874235fd in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#18 0x0000000000439672 in _start ()

Reported using DrKonqi
Comment 1 Rémy Epke 2016-03-06 16:40:34 UTC
Still open? Feel free to close this, heavily outdated (still KDE 4) plus the problem no longer occurs.