Bug 261902 - Torrent up/download may freeze, then ktorrent crashes after a while.
Summary: Torrent up/download may freeze, then ktorrent crashes after a while.
Status: RESOLVED DUPLICATE of bug 261903
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Slackware Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-02 22:14 UTC by thordn
Modified: 2011-01-05 20:15 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description thordn 2011-01-02 22:14:19 UTC
Application: ktorrent (4.0.5)
KDE Platform Version: 4.4.3 (KDE 4.4.3)
Qt Version: 4.6.2
Operating System: Linux 2.6.33.4 x86_64
Distribution (Platform): Slackware Packages

-- Information about the crash:
In this case I ran ktorrent 4.0.5 with about 1700 loaded torrents,  max downloads = 150, max uploads =100.  Adter a while ktorrent crashed. 



 -- Backtrace:
Application: KTorrent (ktorrent), signal: Segmentation fault
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib64/libgobject-2.0.so.0.2200.5-gdb.py", line 9, in <module>
    from gobject import register
  File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
    import gdb.backtrace
ImportError: No module named backtrace
[Current thread is 1 (Thread 0x7f93ddfc2760 (LWP 31900))]

Thread 5 (Thread 0x7f93b7fff710 (LWP 31924)):
#0  0x00007f93db2b6a49 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f93db54b195 in ?? () from /usr/lib64/libQtCore.so.4
#2  0x00007f93db54b2f0 in QThread::msleep(unsigned long) () from /usr/lib64/libQtCore.so.4
#3  0x00007f93ddadb85d in net::DownloadThread::update (this=0x6e1b60) at /thome/tn/sw/ktorrent/libktorrent-1.0.5-3/src/net/downloadthread.cpp:91
#4  0x00007f93ddadc149 in net::NetworkThread::run (this=0x6e1b60) at /thome/tn/sw/ktorrent/libktorrent-1.0.5-3/src/net/networkthread.cpp:48
#5  0x00007f93db54b815 in ?? () from /usr/lib64/libQtCore.so.4
#6  0x00007f93db2b1980 in start_thread () from /lib64/libpthread.so.0
#7  0x00007f93d9ba657d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f93b77fe710 (LWP 31925)):
#0  0x00007f93db2b6a49 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f93db54b195 in ?? () from /usr/lib64/libQtCore.so.4
#2  0x00007f93db54b2f0 in QThread::msleep(unsigned long) () from /usr/lib64/libQtCore.so.4
#3  0x00007f93ddadaf0d in net::UploadThread::update (this=0x6e21b0) at /thome/tn/sw/ktorrent/libktorrent-1.0.5-3/src/net/uploadthread.cpp:89
#4  0x00007f93ddadc149 in net::NetworkThread::run (this=0x6e21b0) at /thome/tn/sw/ktorrent/libktorrent-1.0.5-3/src/net/networkthread.cpp:48
#5  0x00007f93db54b815 in ?? () from /usr/lib64/libQtCore.so.4
#6  0x00007f93db2b1980 in start_thread () from /lib64/libpthread.so.0
#7  0x00007f93d9ba657d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f93bcdeb710 (LWP 1295)):
#0  0x00007f93db2b6a49 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f93db54c742 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f93db541c19 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f93db54b815 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f93db2b1980 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f93d9ba657d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f93be81b710 (LWP 1306)):
#0  0x00007f93d9b9cec3 in poll () from /lib64/libc.so.6
#1  0x00007f93d5c58383 in send_dg () from /lib64/libresolv.so.2
#2  0x00007f93d5c5a004 in __libc_res_nsend () from /lib64/libresolv.so.2
#3  0x00007f93d5c56635 in __libc_res_nquery () from /lib64/libresolv.so.2
#4  0x00007f93d5c56bf1 in __libc_res_nquerydomain () from /lib64/libresolv.so.2
#5  0x00007f93d5c57775 in __libc_res_nsearch () from /lib64/libresolv.so.2
#6  0x00007f93bddf12c8 in _nss_dns_gethostbyname3_r () from /lib64/libnss_dns.so.2
#7  0x00007f93bddf1584 in _nss_dns_gethostbyname2_r () from /lib64/libnss_dns.so.2
#8  0x00007f93d9b8ecbb in gaih_inet () from /lib64/libc.so.6
#9  0x00007f93d9b90712 in getaddrinfo () from /lib64/libc.so.6
#10 0x00007f93dc349ba3 in ?? () from /usr/lib64/libQtNetwork.so.4
#11 0x00007f93dc33f73c in ?? () from /usr/lib64/libQtNetwork.so.4
#12 0x00007f93db541b89 in ?? () from /usr/lib64/libQtCore.so.4
#13 0x00007f93db54b815 in ?? () from /usr/lib64/libQtCore.so.4
#14 0x00007f93db2b1980 in start_thread () from /lib64/libpthread.so.0
#15 0x00007f93d9ba657d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f93ddfc2760 (LWP 31900)):
[KCrash Handler]
#5  0x00007f93db5e8a96 in ?? () from /usr/lib64/libQtCore.so.4
#6  0x00007f93db5e4996 in QTextStream::operator<<(QString const&) () from /usr/lib64/libQtCore.so.4
#7  0x00007f93ddaef270 in bt::PeerManager::savePeerList (this=<value optimized out>, file=<value optimized out>) at /thome/tn/sw/ktorrent/libktorrent-1.0.5-3/src/peer/peermanager.cpp:492
#8  0x00007f93ddb20c20 in bt::TorrentControl::stop (this=0x36a9a20, wjob=0x0) at /thome/tn/sw/ktorrent/libktorrent-1.0.5-3/src/torrent/torrentcontrol.cpp:485
#9  0x00007f93dd81a72a in kt::QueueManager::stopSafely (this=<value optimized out>, tc=0x36a9a20, wjob=0x0) at /thome/tn/sw/ktorrent/ktorrent-4.0.5/libktcore/torrent/queuemanager.cpp:747
#10 0x00007f93dd81d48b in kt::QueueManager::orderQueue (this=0x7b7e90) at /thome/tn/sw/ktorrent/ktorrent-4.0.5/libktcore/torrent/queuemanager.cpp:599
#11 0x00007f93dd81dbd0 in kt::QueueManager::checkStalledTorrents (this=<value optimized out>, now=<value optimized out>, min_stall_time=<value optimized out>)
    at /thome/tn/sw/ktorrent/ktorrent-4.0.5/libktcore/torrent/queuemanager.cpp:814
#12 0x000000000042a4ab in kt::Core::update (this=0x7b7ca0) at /thome/tn/sw/ktorrent/ktorrent-4.0.5/ktorrent/core.cpp:1047
#13 0x0000000000432802 in kt::Core::qt_metacall (this=0x7b7ca0, _c=QMetaObject::InvokeMetaMethod, _id=39216, _a=0x7fffca82b210) at /thome/tn/sw/ktorrent/ktorrent-4.0.5/build/ktorrent/core.moc:169
#14 0x00007f93db652b7f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#15 0x00007f93db64f7d3 in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#16 0x00007f93da7c2cbc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#17 0x00007f93da7c92bb in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#18 0x0000000000438f0a in kt::App::notify (this=0x46af960, receiver=0x18cc5b0, event=0x0) at /thome/tn/sw/ktorrent/ktorrent-4.0.5/ktorrent/app.cpp:97
#19 0x00007f93db63fe1c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#20 0x00007f93db66cac2 in ?? () from /usr/lib64/libQtCore.so.4
#21 0x00007f93db6695e8 in ?? () from /usr/lib64/libQtCore.so.4
#22 0x00007f93d5396f9e in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#23 0x00007f93d539a958 in ?? () from /usr/lib64/libglib-2.0.so.0
#24 0x00007f93d539aa80 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#25 0x00007f93db6692b3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#26 0x00007f93da87177e in ?? () from /usr/lib64/libQtGui.so.4
#27 0x00007f93db63e742 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#28 0x00007f93db63eb1c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#29 0x00007f93db64285b in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#30 0x00000000004285ab in main (argc=<value optimized out>, argv=<value optimized out>) at /thome/tn/sw/ktorrent/ktorrent-4.0.5/ktorrent/main.cpp:176

Reported using DrKonqi
Comment 1 Joris Guisson 2011-01-05 20:15:49 UTC

*** This bug has been marked as a duplicate of bug 261903 ***