Bug 204839

Summary: Kget crashes when exiting
Product: [Applications] kget Reporter: Donald <simpson.donald>
Component: generalAssignee: KGet authors <kget>
Status: RESOLVED DUPLICATE    
Severity: crash CC: alfred.egger, andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Donald 2009-08-23 10:37:05 UTC
Application that crashed: kget
Version of the application: 2.3.0
KDE Version: 4.3.00 (KDE 4.3.0)
Qt Version: 4.5.1
Operating System: Linux 2.6.29-gentoo-r4 x86_64
Distribution: "Gentoo Base System release 1.12.11.1"

What I was doing when the application crashed:
Kget crashes when exiting

 -- Backtrace:
Application: KGet (kget), signal: Segmentation fault
[Current thread is 0 (LWP 7466)]

Thread 3 (Thread 0x7f9f67c19950 (LWP 7625)):
#0  0x00007f9f77d91c7d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f9f77ffd527 in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f9f77ff4ff6 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007f9f77ffcd20 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f9f77d8d087 in start_thread () from /lib/libpthread.so.0
#5  0x00007f9f7707377d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f9f67212950 (LWP 7626)):
#0  0x00007f9f7706b5d6 in poll () from /lib/libc.so.6
#1  0x00007f9f72566f28 in ?? () from /lib64/libresolv.so.2
#2  0x00007f9f72565dff in __libc_res_nquery () from /lib64/libresolv.so.2
#3  0x00007f9f7256612e in ?? () from /lib64/libresolv.so.2
#4  0x00007f9f7256663d in __libc_res_nsearch () from /lib64/libresolv.so.2
#5  0x00007f9f67215dea in _nss_dns_gethostbyname3_r () from /lib/libnss_dns.so.2
#6  0x00007f9f67216074 in _nss_dns_gethostbyname2_r () from /lib/libnss_dns.so.2
#7  0x00007f9f7705ff4d in ?? () from /lib/libc.so.6
#8  0x00007f9f77061943 in getaddrinfo () from /lib/libc.so.6
#9  0x00007f9f79a7420a in ?? () from /usr/lib64/qt4/libQtNetwork.so.4
#10 0x00007f9f79a6bfff in QHostInfo::fromName () from /usr/lib64/qt4/libQtNetwork.so.4
#11 0x00007f9f7ac3653b in ?? () from /usr/lib64/libkio.so.5
#12 0x00007f9f7ac37d63 in ?? () from /usr/lib64/libkio.so.5
#13 0x00007f9f77ff5092 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#14 0x00007f9f77ffcd20 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#15 0x00007f9f77d8d087 in start_thread () from /lib/libpthread.so.0
#16 0x00007f9f7707377d in clone () from /lib/libc.so.6
#17 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f9f7b60f7a0 (LWP 7466)):
[KCrash Handler]
#5  0x00007f9f7a3e738a in TransferHandler::changesFlags () from /usr/lib64/libkgetcore.so.4
#6  0x00007f9f7a3dba94 in TransferTreeModel::timerEvent () from /usr/lib64/libkgetcore.so.4
#7  0x00007f9f780d5bb2 in QObject::event () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007f9f78c2beee in QApplicationPrivate::notify_helper () from /usr/lib64/qt4/libQtGui.so.4
#9  0x00007f9f78c32d5e in QApplication::notify () from /usr/lib64/qt4/libQtGui.so.4
#10 0x00007f9f7b1504db in KApplication::notify () from /usr/lib64/libkdeui.so.5
#11 0x00007f9f780c6663 in QCoreApplication::notifyInternal () from /usr/lib64/qt4/libQtCore.so.4
#12 0x00007f9f780ed0f9 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#13 0x00007f9f780eaded in ?? () from /usr/lib64/qt4/libQtCore.so.4
#14 0x00007f9f736e6d3f in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#15 0x00007f9f736e9c5d in ?? () from /usr/lib/libglib-2.0.so.0
#16 0x00007f9f736ea1a7 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#17 0x00007f9f780eb41e in QEventDispatcherGlib::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#18 0x00007f9f78cabaef in ?? () from /usr/lib64/qt4/libQtGui.so.4
#19 0x00007f9f780c5a55 in QEventLoop::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#20 0x00007f9f780c5bd6 in QEventLoop::exec () from /usr/lib64/qt4/libQtCore.so.4
#21 0x00007f9f780c7a49 in QCoreApplication::exec () from /usr/lib64/qt4/libQtCore.so.4
#22 0x000000000045a7c0 in ?? ()
#23 0x00007f9f76fcb5e4 in __libc_start_main () from /lib/libc.so.6
#24 0x0000000000422e29 in _start ()

This bug may be a duplicate of or related to bug 192991

Reported using DrKonqi
Comment 1 Dario Andres 2009-08-23 16:04:40 UTC
Backtrace looks related to bug 204689, do you recognize the situation ?
Thanks
Comment 2 Donald 2009-08-23 21:22:23 UTC
This situation is almost identical, I can reproduce it by by restarting a previously finished download, and then cancelling that download, Kget will crash at that point.
Comment 3 Dario Andres 2009-08-24 01:29:27 UTC
Ok, Merging. Thanks.

*** This bug has been marked as a duplicate of bug 204689 ***
Comment 4 Alfred Egger 2009-08-24 12:56:16 UTC
Reproduction of the crash:

Application: KGet (kget), signal: Segmentation fault
[KCrash Handler]
#6  0xb697d7ac in QObject::connect(QObject const*, char const*, QObject const*, char const*, Qt::ConnectionType) () from /usr/lib/libQtCore.so.4
#7  0xb3f094e0 in ?? () from /usr/lib/kde4/kget_multisegkiofactory.so
#8  0xb3f0950e in ?? () from /usr/lib/kde4/kget_multisegkiofactory.so
#9  0xb3f09643 in ?? () from /usr/lib/kde4/kget_multisegkiofactory.so
#10 0xb3f0bbcb in ?? () from /usr/lib/kde4/kget_multisegkiofactory.so
#11 0xb6980b33 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#12 0xb6981782 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#13 0xb6986847 in ?? () from /usr/lib/libQtCore.so.4
#14 0xb698696c in ?? () from /usr/lib/libQtCore.so.4
#15 0xb697bbcf in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#16 0xb6e50814 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#17 0xb6e5897e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#18 0xb7d4b00d in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#19 0xb696b9cb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#20 0xb699a361 in ?? () from /usr/lib/libQtCore.so.4
#21 0xb6996900 in ?? () from /usr/lib/libQtCore.so.4
#22 0xb5f0f368 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#23 0xb5f128c3 in ?? () from /usr/lib/libglib-2.0.so.0
#24 0xb5f12a48 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#25 0xb6996858 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#26 0xb6eeffd5 in ?? () from /usr/lib/libQtGui.so.4
#27 0xb696a01a in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#28 0xb696a462 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#29 0xb7299fe1 in QMenu::exec(QPoint const&, QAction*) () from /usr/lib/libQtGui.so.4
#30 0x0807644c in _start ()
Comment 5 Dario Andres 2009-09-04 16:59:14 UTC
@Alfred: your crash is bug 204463. Thanks