Bug 220988 - kget crashes when closing a torrent file transfer
Summary: kget crashes when closing a torrent file transfer
Status: RESOLVED FIXED
Alias: None
Product: kget
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: KGet authors
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-02 16:49 UTC by Luca
Modified: 2010-01-02 16:57 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 Luca 2010-01-02 16:49:37 UTC
Application that crashed: kget
Version of the application: 2.3.4
KDE Version: 4.3.4 (KDE 4.3.4)
Qt Version: 4.5.3
Operating System: Linux 2.6.31-ARCH i686
Distribution: "(none)"

What I was doing when the application crashed:
I tried to close a 100% completed bit-torrent dowload right-clicking on the transfer name and choosing "Delete selected" in the menu.

Kget crashed, and when I launched it again the transfer list was empty: it forgot the transfers to do.

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

Thread 3 (Thread 0xb04ffb70 (LWP 18796)):
#0  0xb780b424 in __kernel_vsyscall ()
#1  0xb5f6eeb6 in poll () from /lib/libc.so.6
#2  0xb13d90d6 in net::DownloadThread::waitForSocketReady(int) () from /usr/lib/kde4/kget_bittorrentfactory.so
#3  0xb13d91a9 in net::DownloadThread::update() () from /usr/lib/kde4/kget_bittorrentfactory.so
#4  0xb13d9bd8 in net::NetworkThread::run() () from /usr/lib/kde4/kget_bittorrentfactory.so
#5  0xb6156922 in ?? () from /usr/lib/libQtCore.so.4
#6  0xb5e458ac in start_thread () from /lib/libpthread.so.0
#7  0xb5f7901e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xafcfeb70 (LWP 18797)):
#0  0xb780b424 in __kernel_vsyscall ()
#1  0xb5e49e55 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5f865fd in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb6157937 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0xb13d890d in net::UploadThread::update() () from /usr/lib/kde4/kget_bittorrentfactory.so
#5  0xb13d9bd8 in net::NetworkThread::run() () from /usr/lib/kde4/kget_bittorrentfactory.so
#6  0xb6156922 in ?? () from /usr/lib/libQtCore.so.4
#7  0xb5e458ac in start_thread () from /lib/libpthread.so.0
#8  0xb5f7901e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb301e730 (LWP 18699)):
[KCrash Handler]
#6  0xb715d520 in TransferHandler::addObserver(TransferObserver*) () from /usr/lib/libkgetcore.so.4
#7  0xb139a24d in BTDetailsWidget::showEvent(QShowEvent*) () from /usr/lib/kde4/kget_bittorrentfactory.so
#8  0xb6756a6b in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#9  0xb67023a4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#10 0xb67099da in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#11 0xb762b5ca in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#12 0xb6244e8b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#13 0xb675c5a5 in QWidgetPrivate::show_helper() () from /usr/lib/libQtGui.so.4
#14 0xb675c7c9 in QWidgetPrivate::show_recursive() () from /usr/lib/libQtGui.so.4
#15 0xb675c8bc in QWidgetPrivate::showChildren(bool) () from /usr/lib/libQtGui.so.4
#16 0xb675c4ae in QWidgetPrivate::show_helper() () from /usr/lib/libQtGui.so.4
#17 0xb675d99b in QWidget::setVisible(bool) () from /usr/lib/libQtGui.so.4
#18 0xb760cee9 in KExtendableItemDelegate::paint(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const () from /usr/lib/libkdeui.so.5
#19 0x08075eec in _start ()

Reported using DrKonqi
Comment 1 Lukas Appelhans 2010-01-02 16:57:08 UTC
We completely removed all Observer stuff. This should be fixed in latest trunk...

Lukas