Bug 242161 - Ktorrent crashes regularly
Summary: Ktorrent crashes regularly
Status: RESOLVED DUPLICATE of bug 252341
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
: 245158 245999 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-06-19 13:16 UTC by Helmut Pozimski
Modified: 2010-10-31 12:38 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (9.99 KB, text/plain)
2010-07-14 20:34 UTC, Helmut Pozimski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Pozimski 2010-06-19 13:16:59 UTC
Application: ktorrent (4.0.0)
KDE Platform Version: 4.4.4 (KDE 4.4.4)
Qt Version: 4.6.3
Operating System: Linux 2.6.32-5-amd64 x86_64
Distribution: Debian GNU/Linux testing (squeeze)

-- Information about the crash:
I am using Ktorrent to seed a bunch of torrents (about 30) with the utorrent-protocoll enabled. It always crashes some times after the program has been started.

The crash can be reproduced every time.

 -- Backtrace:
Application: KTorrent (ktorrent), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f12515f3760 (LWP 3850))]

Thread 11 (Thread 0x7f1241f97710 (LWP 3852)):
#0  0x00007f124a51916c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f124eb63583 in ?? () from /usr/lib/libQtCore.so.4
#2  0x00007f124eb5ee25 in QMutex::lock() () from /usr/lib/libQtCore.so.4
#3  0x00007f125110506b in bt::Out (arg=19) at ../../src/util/log.cpp:267
#4  0x00007f125110570a in QtMessageOutput (type=<value optimized out>, msg=0x7f11f1126098 "QSocketNotifier: Invalid socket 20 and type 'Read', disabling...") at ../../src/util/log.cpp:294
#5  0x00007f124eb5bc4e in qt_message_output(QtMsgType, char const*) () from /usr/lib/libQtCore.so.4
#6  0x00007f124eb5be42 in ?? () from /usr/lib/libQtCore.so.4
#7  0x00007f124eb5c175 in qWarning(char const*, ...) () from /usr/lib/libQtCore.so.4
#8  0x00007f124ec7cb76 in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007f12498318fa in g_main_context_check () from /lib/libglib-2.0.so.0
#10 0x00007f12498322b3 in ?? () from /lib/libglib-2.0.so.0
#11 0x00007f12498326ec in g_main_context_iteration () from /lib/libglib-2.0.so.0
#12 0x00007f124ec7c713 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#13 0x00007f124ec51a82 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#14 0x00007f124ec51e5c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#15 0x00007f124eb6179b in QThread::exec() () from /usr/lib/libQtCore.so.4
#16 0x00007f124eb63e35 in ?? () from /usr/lib/libQtCore.so.4
#17 0x00007f124a5148ba in start_thread () from /lib/libpthread.so.0
#18 0x00007f124d3bd01d in clone () from /lib/libc.so.6
#19 0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f1241796710 (LWP 3853)):
#0  0x00007f124d3c9b0e in ?? () from /lib/libc.so.6
#1  0x00007f124d3666e2 in ?? () from /lib/libc.so.6
#2  0x00007f124d365a24 in realloc () from /lib/libc.so.6
#3  0x00007f124eb9090a in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f124eb9feb1 in ?? () from /usr/lib/libQtCore.so.4
#5  0x00007f124eba00bb in QRegExp::indexIn(QString const&, int, QRegExp::CaretMode) const () from /usr/lib/libQtCore.so.4
#6  0x00007f124f3c9410 in ?? () from /usr/lib/libkdecore.so.5
#7  0x00007f124f3c9f13 in ?? () from /usr/lib/libkdecore.so.5
#8  0x00007f124f3c9fec in ?? () from /usr/lib/libkdecore.so.5
#9  0x00007f124f39a256 in ?? () from /usr/lib/libkdecore.so.5
#10 0x00007f124f39ab11 in ?? () from /usr/lib/libkdecore.so.5
#11 0x00007f124f39b598 in KLocalizedString::toString() const () from /usr/lib/libkdecore.so.5
#12 0x00007f125110b3fd in i18n<char> (this=<value optimized out>) at /usr/include/klocalizedstring.h:613
#13 bt::BDecoder::decode (this=<value optimized out>) at ../../src/bcodec/bdecoder.cpp:62
#14 0x00007f1251172ca5 in dht::RPCServerThread::handlePacket (this=0x1552b40) at ../../src/dht/rpcserver.cpp:74
#15 0x00007f1251172fe8 in dht::RPCServerThread::run (this=0x1552b40) at ../../src/dht/rpcserver.cpp:109
#16 0x00007f124eb63e35 in ?? () from /usr/lib/libQtCore.so.4
#17 0x00007f124a5148ba in start_thread () from /lib/libpthread.so.0
#18 0x00007f124d3bd01d in clone () from /lib/libc.so.6
#19 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f123163b710 (LWP 3875)):
#0  0x00007f124a5194d9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f1235651f41 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f124a5148ba in start_thread () from /lib/libpthread.so.0
#3  0x00007f124d3bd01d in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f123affd710 (LWP 3876)):
#0  0x00007f124a516f05 in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0x00007f12498323c1 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f12498326ec in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f124ec7c766 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007f124ec51a82 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007f124ec51e5c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007f124eb6179b in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007f12358ad400 in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#8  0x00007f124eb63e35 in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007f124a5148ba in start_thread () from /lib/libpthread.so.0
#10 0x00007f124d3bd01d in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f1232ec4710 (LWP 3879)):
#0  0x00007f124d3b2103 in poll () from /lib/libc.so.6
#1  0x00007f1232ec9805 in ?? () from /usr/lib/xine/plugins/1.28/xineplug_ao_out_alsa.so
#2  0x00007f124a5148ba in start_thread () from /lib/libpthread.so.0
#3  0x00007f124d3bd01d in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f12326c3710 (LWP 3880)):
#0  0x00007f124a51916c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f1235662a3b in ?? () from /usr/lib/libxine.so.1
#2  0x00007f124a5148ba in start_thread () from /lib/libpthread.so.0
#3  0x00007f124d3bd01d in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f1227b35710 (LWP 3897)):
#0  0x00007f124d3c9b0e in ?? () from /lib/libc.so.6
#1  0x00007f124d366498 in ?? () from /lib/libc.so.6
#2  0x00007f124d364881 in free () from /lib/libc.so.6
#3  0x00007f1251118739 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<int const, QSharedPointer<net::PollClient> > > >::deallocate (this=0x13ee218, __x=0x0)
    at /usr/include/c++/4.4/ext/new_allocator.h:95
#4  std::_Rb_tree<int, std::pair<int const, QSharedPointer<net::PollClient> >, std::_Select1st<std::pair<int const, QSharedPointer<net::PollClient> > >, std::less<int>, std::allocator<std::pair<int const, QSharedPointer<net::PollClient> > > >::_M_put_node (this=0x13ee218, __x=0x0) at /usr/include/c++/4.4/bits/stl_tree.h:363
#5  std::_Rb_tree<int, std::pair<int const, QSharedPointer<net::PollClient> >, std::_Select1st<std::pair<int const, QSharedPointer<net::PollClient> > >, std::less<int>, std::allocator<std::pair<int const, QSharedPointer<net::PollClient> > > >::_M_destroy_node (this=0x13ee218, __x=0x0) at /usr/include/c++/4.4/bits/stl_tree.h:384
#6  std::_Rb_tree<int, std::pair<int const, QSharedPointer<net::PollClient> >, std::_Select1st<std::pair<int const, QSharedPointer<net::PollClient> > >, std::less<int>, std::allocator<std::pair<int const, QSharedPointer<net::PollClient> > > >::_M_erase (this=0x13ee218, __x=0x0) at /usr/include/c++/4.4/bits/stl_tree.h:972
#7  0x00007f1251117f57 in std::_Rb_tree<int, std::pair<int const, QSharedPointer<net::PollClient> >, std::_Select1st<std::pair<int const, QSharedPointer<net::PollClient> > >, std::less<int>, std::allocator<std::pair<int const, QSharedPointer<net::PollClient> > > >::clear (this=0x13ee1f0, timeout=<value optimized out>) at /usr/include/c++/4.4/bits/stl_tree.h:726
#8  std::map<int, QSharedPointer<net::PollClient>, std::less<int>, std::allocator<std::pair<int const, QSharedPointer<net::PollClient> > > >::clear (this=0x13ee1f0, timeout=<value optimized out>)
    at /usr/include/c++/4.4/bits/stl_map.h:626
#9  net::Poll::poll (this=0x13ee1f0, timeout=<value optimized out>) at ../../src/net/poll.cpp:113
#10 0x00007f1251114080 in net::DownloadThread::waitForSocketReady (this=0x13ee1e0) at ../../src/net/downloadthread.cpp:128
#11 0x00007f1251114156 in net::DownloadThread::update (this=0x7f124d64ae40) at ../../src/net/downloadthread.cpp:48
#12 0x00007f1251114c39 in net::NetworkThread::run (this=0x13ee1e0) at ../../src/net/networkthread.cpp:48
#13 0x00007f124eb63e35 in ?? () from /usr/lib/libQtCore.so.4
#14 0x00007f124a5148ba in start_thread () from /lib/libpthread.so.0
#15 0x00007f124d3bd01d in clone () from /lib/libc.so.6
#16 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f1227334710 (LWP 3898)):
#0  0x00007f124a5194d9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f124eb637b5 in ?? () from /usr/lib/libQtCore.so.4
#2  0x00007f124eb63910 in QThread::msleep(unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x00007f12511139fd in net::UploadThread::update (this=0x13ee830) at ../../src/net/uploadthread.cpp:89
#4  0x00007f1251114c39 in net::NetworkThread::run (this=0x13ee830) at ../../src/net/networkthread.cpp:48
#5  0x00007f124eb63e35 in ?? () from /usr/lib/libQtCore.so.4
#6  0x00007f124a5148ba in start_thread () from /lib/libpthread.so.0
#7  0x00007f124d3bd01d in clone () from /lib/libc.so.6
#8  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f1226b33710 (LWP 3899)):
#0  0x00007f124a51916c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f124eb64e8b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f1251117962 in net::ReverseResolverThread::run (this=0x2974d60) at ../../src/net/reverseresolver.cpp:123
#3  0x00007f124eb63e35 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f124a5148ba in start_thread () from /lib/libpthread.so.0
#5  0x00007f124d3bd01d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f123bfff710 (LWP 4134)):
#0  0x00007f124d3c9b0e in ?? () from /lib/libc.so.6
#1  0x00007f124d366498 in ?? () from /lib/libc.so.6
#2  0x00007f124d364881 in free () from /lib/libc.so.6
#3  0x00007f124982dfba in ?? () from /lib/libglib-2.0.so.0
#4  0x00007f124ec7d1f3 in QEventDispatcherGlib::~QEventDispatcherGlib() () from /usr/lib/libQtCore.so.4
#5  0x00007f124eb63a24 in ?? () from /usr/lib/libQtCore.so.4
#6  0x00007f124eb63e3d in ?? () from /usr/lib/libQtCore.so.4
#7  0x00007f124a5148ba in start_thread () from /lib/libpthread.so.0
#8  0x00007f124d3bd01d in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f12515f3760 (LWP 3850)):
[KCrash Handler]
#5  0x00007f124d36297e in ?? () from /lib/libc.so.6
#6  0x00007f124d364970 in malloc () from /lib/libc.so.6
#7  0x00007f124ebab933 in QString::fromLatin1_helper(char const*, int) () from /usr/lib/libQtCore.so.4
#8  0x00007f124ebab9fe in QString::fromLatin1(char const*, int) () from /usr/lib/libQtCore.so.4
#9  0x00007f124eb72e3b in QTime::toString(Qt::DateFormat) const () from /usr/lib/libQtCore.so.4
#10 0x00007f124eb76c7b in QDateTime::toString(Qt::DateFormat) const () from /usr/lib/libQtCore.so.4
#11 0x00007f12511061a6 in bt::Log::Private::finishLine (this=0x14e8130) at ../../src/util/log.cpp:132
#12 0x00007f1251105577 in bt::Log::Private::endline (lg=...) at ../../src/util/log.cpp:156
#13 bt::endl (lg=...) at ../../src/util/log.cpp:219
#14 0x00007f125111d60e in bt::Log::operator<< (this=0xd47c12e0, succes=false) at ../../src/util/log.h:140
#15 bt::Authenticate::onFinish (this=0xd47c12e0, succes=false) at ../../src/peer/authenticate.cpp:156
#16 0x00007f125111dd8f in Authenticate (this=0xd47c12e0, ip=..., port=<value optimized out>, proto=bt::UTP, info_hash=<value optimized out>, peer_id=<value optimized out>, pcon=0xb86bd2d0)
    at ../../src/peer/authenticate.cpp:76
#17 0x00007f125111b85d in EncryptedAuthenticate (this=0x7f124d64ae40, ip=..., port=5, proto=5, info_hash=..., peer_id=..., pcon=0xb86bd2d0) at ../../src/mse/encryptedauthenticate.cpp:46
#18 0x00007f1251130c0e in bt::PeerConnector::start (this=0xb86bd2d0, method=<value optimized out>) at ../../src/peer/peerconnector.cpp:114
#19 0x00007f12511287e7 in bt::PeerManager::connectToPeers (this=0x191b830) at ../../src/peer/peermanager.cpp:434
#20 0x00007f1251157756 in bt::TorrentControl::update (this=0x19066a0) at ../../src/torrent/torrentcontrol.cpp:170
#21 0x000000000042aafb in kt::Core::update (this=0x14f57f0) at ../../ktorrent/core.cpp:1020
#22 0x0000000000432fb2 in kt::Core::qt_metacall (this=0x14f57f0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff374738c0) at ./core.moc:167
#23 0x00007f124ec66346 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#24 0x00007f124ec62ba3 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#25 0x00007f124dff332c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#26 0x00007f124dff980b in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#27 0x00007f12502a1436 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#28 0x00007f124ec5315c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#29 0x00007f124ec7fed2 in ?? () from /usr/lib/libQtCore.so.4
#30 0x00007f124ec7ca48 in ?? () from /usr/lib/libQtCore.so.4
#31 0x00007f124982e6c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#32 0x00007f1249832538 in ?? () from /lib/libglib-2.0.so.0
#33 0x00007f12498326ec in g_main_context_iteration () from /lib/libglib-2.0.so.0
#34 0x00007f124ec7c713 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#35 0x00007f124e0a314e in ?? () from /usr/lib/libQtGui.so.4
#36 0x00007f124ec51a82 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#37 0x00007f124ec51e5c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#38 0x00007f124ec56aeb in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#39 0x0000000000428d7b in main (argc=<value optimized out>, argv=<value optimized out>) at ../../ktorrent/main.cpp:173

Reported using DrKonqi
Comment 1 Joris Guisson 2010-06-19 16:08:42 UTC
Can you upgrade to 4.0.1 ?
Comment 2 Helmut Pozimski 2010-06-19 16:40:07 UTC
seems to ba available in unstable so I will try that next.
Comment 3 Helmut Pozimski 2010-06-19 17:24:46 UTC
updatet to 4.0.1 an it crashed again, here ist the new Backtrace the crash handler is giving me:

Application: KTorrent (ktorrent), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fa8b031e760 (LWP 5899))]

Thread 10 (Thread 0x7fa89dd7f710 (LWP 5901)):
[KCrash Handler]
#5  0x00007fa8ad97c155 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#6  0x00007fa8ad9a8ed2 in ?? () from /usr/lib/libQtCore.so.4
#7  0x00007fa8ad9a5a48 in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007fa8a85576c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#9  0x00007fa8a855b538 in ?? () from /lib/libglib-2.0.so.0
#10 0x00007fa8a855b6ec in g_main_context_iteration () from /lib/libglib-2.0.so.0
#11 0x00007fa8ad9a5713 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#12 0x00007fa8ad97aa82 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#13 0x00007fa8ad97ae5c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#14 0x00007fa8ad88a79b in QThread::exec() () from /usr/lib/libQtCore.so.4
#15 0x00007fa8ad88ce35 in ?? () from /usr/lib/libQtCore.so.4
#16 0x00007fa8a923d8ba in start_thread () from /lib/libpthread.so.0
#17 0x00007fa8ac0e601d in clone () from /lib/libc.so.6
#18 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7fa89d57e710 (LWP 5902)):
#0  0x00007fa8ac0df8b3 in select () from /lib/libc.so.6
#1  0x00007fa8afe9ca02 in dht::RPCServerThread::run (this=0x12b3ed0) at ../../src/dht/rpcserver.cpp:107
#2  0x00007fa8ad88ce35 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007fa8a923d8ba in start_thread () from /lib/libpthread.so.0
#4  0x00007fa8ac0e601d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fa88e63d710 (LWP 5906)):
#0  0x00007fa8a92424d9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fa892e54f41 in ?? () from /usr/lib/libxine.so.1
#2  0x00007fa8a923d8ba in start_thread () from /lib/libpthread.so.0
#3  0x00007fa8ac0e601d in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fa88ee3e710 (LWP 5907)):
#0  0x00007fa8ac0f2a00 in pthread_mutex_unlock () from /lib/libc.so.6
#1  0x00007fa8a855b39a in ?? () from /lib/libglib-2.0.so.0
#2  0x00007fa8a855b6ec in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007fa8ad9a5766 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007fa8ad97aa82 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007fa8ad97ae5c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007fa8ad88a79b in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007fa8930b0400 in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#8  0x00007fa8ad88ce35 in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007fa8a923d8ba in start_thread () from /lib/libpthread.so.0
#10 0x00007fa8ac0e601d in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fa8906c7710 (LWP 5910)):
#0  0x00007fa8ac0d9ead in read () from /lib/libc.so.6
#1  0x00007fa8933480e5 in ?? () from /usr/lib/libasound.so.2
#2  0x00007fa893342f08 in snd_hctl_handle_events () from /usr/lib/libasound.so.2
#3  0x00007fa89334cb39 in snd_mixer_handle_events () from /usr/lib/libasound.so.2
#4  0x00007fa8906cc846 in ?? () from /usr/lib/xine/plugins/1.28/xineplug_ao_out_alsa.so
#5  0x00007fa8a923d8ba in start_thread () from /lib/libpthread.so.0
#6  0x00007fa8ac0e601d in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fa88fec6710 (LWP 5911)):
#0  0x00007fa8a924216c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fa892e65a3b in ?? () from /usr/lib/libxine.so.1
#2  0x00007fa8a923d8ba in start_thread () from /lib/libpthread.so.0
#3  0x00007fa8ac0e601d in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fa8853bf710 (LWP 5954)):
#0  0x00007fa8a92424d9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fa8ad88c7b5 in ?? () from /usr/lib/libQtCore.so.4
#2  0x00007fa8ad88c910 in QThread::msleep(unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x00007fa8afe3db1d in net::DownloadThread::update (this=0x10fc1e0) at ../../src/net/downloadthread.cpp:91
#4  0x00007fa8afe3e409 in net::NetworkThread::run (this=0x10fc1e0) at ../../src/net/networkthread.cpp:48
#5  0x00007fa8ad88ce35 in ?? () from /usr/lib/libQtCore.so.4
#6  0x00007fa8a923d8ba in start_thread () from /lib/libpthread.so.0
#7  0x00007fa8ac0e601d in clone () from /lib/libc.so.6
#8  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fa884bbe710 (LWP 5955)):
#0  0x00007fa8a92424d9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fa8ad88c7b5 in ?? () from /usr/lib/libQtCore.so.4
#2  0x00007fa8ad88c910 in QThread::msleep(unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x00007fa8afe3d1cd in net::UploadThread::update (this=0x10fc830) at ../../src/net/uploadthread.cpp:89
#4  0x00007fa8afe3e409 in net::NetworkThread::run (this=0x10fc830) at ../../src/net/networkthread.cpp:48
#5  0x00007fa8ad88ce35 in ?? () from /usr/lib/libQtCore.so.4
#6  0x00007fa8a923d8ba in start_thread () from /lib/libpthread.so.0
#7  0x00007fa8ac0e601d in clone () from /lib/libc.so.6
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fa87ffff710 (LWP 5956)):
#0  0x00007fa8a924216c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fa8ad88de8b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007fa8afe41132 in net::ReverseResolverThread::run (this=0x2d2d5b0) at ../../src/net/reverseresolver.cpp:123
#3  0x00007fa8ad88ce35 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007fa8a923d8ba in start_thread () from /lib/libpthread.so.0
#5  0x00007fa8ac0e601d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fa8b031e760 (LWP 5899)):
#0  0x00007fa8a92424d9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fa8ad88c7b5 in ?? () from /usr/lib/libQtCore.so.4
#2  0x00007fa8ad88c910 in QThread::msleep(unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x00007fa8930d7b1a in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#4  0x00007fa8a948c827 in ?? () from /usr/lib/libphonon.so.4
#5  0x00007fa8ac04d5f2 in ?? () from /lib/libc.so.6
#6  0x00007fa8ac04d645 in exit () from /lib/libc.so.6
#7  0x00007fa8acd92e38 in ?? () from /usr/lib/libQtGui.so.4
#8  0x00007fa8aefc9e58 in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib/libkdeui.so.5
#9  0x00007fa8aa958e3e in _XIOError () from /usr/lib/libX11.so.6
#10 0x00007fa8aa96025f in ?? () from /usr/lib/libX11.so.6
#11 0x00007fa8aa960b97 in _XEventsQueued () from /usr/lib/libX11.so.6
#12 0x00007fa8aa949463 in XEventsQueued () from /usr/lib/libX11.so.6
#13 0x00007fa8acdcc377 in ?? () from /usr/lib/libQtGui.so.4
#14 0x00007fa8a855aca1 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#15 0x00007fa8a855b108 in ?? () from /lib/libglib-2.0.so.0
#16 0x00007fa8a855b6ec in g_main_context_iteration () from /lib/libglib-2.0.so.0
#17 0x00007fa8ad9a5713 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#18 0x00007fa8acdcc14e in ?? () from /usr/lib/libQtGui.so.4
#19 0x00007fa8ad97aa82 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#20 0x00007fa8ad97ae5c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#21 0x00007fa8ad97faeb in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#22 0x0000000000428edb in main (argc=<value optimized out>, argv=<value optimized out>) at ../../ktorrent/main.cpp:176
Comment 4 Helmut Pozimski 2010-06-19 18:24:02 UTC
Here is another backtrace that should be more useful (according to the crash handler):

Application: KTorrent (ktorrent), signal: Aborted
The current source language is "auto; currently asm".
[Current thread is 1 (Thread 0x7f2eb9ea2760 (LWP 6139))]

Thread 10 (Thread 0x7f2eaa844710 (LWP 6141)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f2eb7410583 in QMutexPrivate::wait (this=0x19d6680, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x00007f2eb740be25 in QMutex::lock (this=0x19d4100) at thread/qmutex.cpp:205
#3  0x00007f2eb99b281b in bt::Out (arg=19) at ../../src/util/log.cpp:267
#4  0x00007f2eb99b2eba in QtMessageOutput (type=<value optimized out>, msg=0x483a6858 "QSocketNotifier: Invalid socket 20 and type 'Read', disabling...") at ../../src/util/log.cpp:294
#5  0x00007f2eb7408c4e in qt_message_output (msgType=QtWarningMsg, buf=0x80 <Address 0x80 out of bounds>) at global/qglobal.cpp:2212
#6  0x00007f2eb7408e42 in qt_message (msgType=QtWarningMsg, msg=0x7f2eb75a9d08 "QSocketNotifier: Invalid socket %d and type '%s', disabling...", ap=0x7f2eaa843b60) at global/qglobal.cpp:2312
#7  0x00007f2eb7409175 in qWarning (msg=0x80 <Address 0x80 out of bounds>) at global/qglobal.cpp:2394
#8  0x00007f2eb7529b76 in socketNotifierSourceCheck (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:90
#9  0x00007f2eb20de8fa in g_main_context_check () from /lib/libglib-2.0.so.0
#10 0x00007f2eb20df2b3 in ?? () from /lib/libglib-2.0.so.0
#11 0x00007f2eb20df6ec in g_main_context_iteration () from /lib/libglib-2.0.so.0
#12 0x00007f2eb7529713 in QEventDispatcherGlib::processEvents (this=0x1a2d6c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#13 0x00007f2eb74fea82 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#14 0x00007f2eb74fee5c in QEventLoop::exec (this=0x7f2eaa843e20, flags=) at kernel/qeventloop.cpp:201
#15 0x00007f2eb740e79b in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#16 0x00007f2eb7410e35 in QThreadPrivate::start (arg=0x1a2e5d0) at thread/qthread_unix.cpp:248
#17 0x00007f2eb2dc18ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#18 0x00007f2eb5c6a01d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f2eaa043710 (LWP 6142)):
#0  0x00007f2eb5c638b3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f2eb9a20a02 in dht::RPCServerThread::run (this=0x1a34510) at ../../src/dht/rpcserver.cpp:107
#2  0x00007f2eb7410e35 in QThreadPrivate::start (arg=0x1a34510) at thread/qthread_unix.cpp:248
#3  0x00007f2eb2dc18ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f2eb5c6a01d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f2e9b974710 (LWP 6146)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f2e9f98af41 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f2eb2dc18ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f2eb5c6a01d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f2eab045710 (LWP 6147)):
#0  0x00007f2eb20de911 in g_main_context_check () from /lib/libglib-2.0.so.0
#1  0x00007f2eb20df2b3 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f2eb20df6ec in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f2eb7529766 in QEventDispatcherGlib::processEvents (this=0x2a921c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f2eb74fea82 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f2eb74fee5c in QEventLoop::exec (this=0x7f2eab044dc0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f2eb740e79b in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f2e9fbe6400 in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#8  0x00007f2eb7410e35 in QThreadPrivate::start (arg=0x2bbb300) at thread/qthread_unix.cpp:248
#9  0x00007f2eb2dc18ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f2eb5c6a01d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f2e9d1fd710 (LWP 6150)):
#0  0x00007f2eb5c5dead in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f2e9fe7e0e5 in ?? () from /usr/lib/libasound.so.2
#2  0x00007f2e9fe78f08 in snd_hctl_handle_events () from /usr/lib/libasound.so.2
#3  0x00007f2e9fe82b39 in snd_mixer_handle_events () from /usr/lib/libasound.so.2
#4  0x00007f2e9d202846 in ?? () from /usr/lib/xine/plugins/1.28/xineplug_ao_out_alsa.so
#5  0x00007f2eb2dc18ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f2eb5c6a01d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f2e9c9fc710 (LWP 6151)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f2e9f99ba3b in ?? () from /usr/lib/libxine.so.1
#2  0x00007f2eb2dc18ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f2eb5c6a01d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f2e8ff9a710 (LWP 6379)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f2eb7410583 in QMutexPrivate::wait (this=0x18da160, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x00007f2eb740be05 in QMutex::lock (this=0x6d68a8) at thread/qmutex.cpp:167
#3  0x00007f2eb99c1943 in net::DownloadThread::update (this=0x18da1e0) at ../../src/net/downloadthread.cpp:51
#4  0x00007f2eb99c2409 in net::NetworkThread::run (this=0x18da1e0) at ../../src/net/networkthread.cpp:48
#5  0x00007f2eb7410e35 in QThreadPrivate::start (arg=0x18da1e0) at thread/qthread_unix.cpp:248
#6  0x00007f2eb2dc18ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#7  0x00007f2eb5c6a01d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f2e8f799710 (LWP 6380)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f2eb5c13498 in _L_lock_9590 () from /lib/libc.so.6
#2  0x00007f2eb5c11881 in *__GI___libc_free (mem=0x7f2e78000020) at malloc.c:3737
#3  0x00007f2eb99d9fa6 in __gnu_cxx::new_allocator<std::_List_node<bt::Packet*> >::deallocate (this=0x18ea99e0, data=<value optimized out>, max_to_write=16393)
    at /usr/include/c++/4.4/ext/new_allocator.h:95
#4  std::_List_base<bt::Packet*, std::allocator<bt::Packet*> >::_M_put_node (this=0x18ea99e0, data=<value optimized out>, max_to_write=16393) at /usr/include/c++/4.4/bits/stl_list.h:320
#5  std::list<bt::Packet*, std::allocator<bt::Packet*> >::_M_erase (this=0x18ea99e0, data=<value optimized out>, max_to_write=16393) at /usr/include/c++/4.4/bits/stl_list.h:1431
#6  std::list<bt::Packet*, std::allocator<bt::Packet*> >::pop_front (this=0x18ea99e0, data=<value optimized out>, max_to_write=16393) at /usr/include/c++/4.4/bits/stl_list.h:906
#7  bt::PacketWriter::onReadyToWrite (this=0x18ea99e0, data=<value optimized out>, max_to_write=16393) at ../../src/peer/packetwriter.cpp:268
#8  0x00007f2eb99c7305 in mse::StreamSocket::onReadyToWrite (this=0x11b3f550, 
    data=0x98302d0 "g2\225\305v*\017\350\270.\331C-\270\225\240\335\332\036z\363aZ\346~\266\250\352\372\243\n\033\264\024\326\340\200\210\305\242\300?]\254\250\241\271\240\303\270QMX\316V\214.,'i\314\354\024\242pp\345!6M\374\242\236'J\314\361\244\266\251\024\231\272\230;rm\315VHjk\372\006>\313\313J\027wz \271\n.", max_to_write=1748873824) at ../../src/mse/streamsocket.cpp:299
#9  0x00007f2eb99bcc7a in net::BufferedSocket::writeBuffered (this=0x13d002c0, max=16, now=1276964502961) at ../../src/net/bufferedsocket.cpp:196
#10 0x00007f2eb99c35a6 in net::SocketGroup::processLimited (this=0x18dac40, up=<value optimized out>, now=<value optimized out>, allowance=@0x7f2e8f798d4c) at ../../src/net/socketgroup.cpp:77
#11 0x00007f2eb99c3754 in net::SocketGroup::process (this=0x7f2e78000020, up=128, now=139837294096992, global_allowance=@0x7f2e8f798d4c) at ../../src/net/socketgroup.cpp:188
#12 0x00007f2eb99c1fd7 in net::NetworkThread::doGroupsLimited (this=0x18da830, num_ready=<value optimized out>, now=<value optimized out>, allowance=@0x7f2e8f798dbc)
    at ../../src/net/networkthread.cpp:111
#13 0x00007f2eb99c22e9 in net::NetworkThread::doGroups (this=0x18da830, num_ready=49, now=1276964502961, limit=<value optimized out>) at ../../src/net/networkthread.cpp:190
#14 0x00007f2eb99c1129 in net::UploadThread::update (this=0x18da830) at ../../src/net/uploadthread.cpp:81
#15 0x00007f2eb99c2409 in net::NetworkThread::run (this=0x18da830) at ../../src/net/networkthread.cpp:48
#16 0x00007f2eb7410e35 in QThreadPrivate::start (arg=0x18da830) at thread/qthread_unix.cpp:248
#17 0x00007f2eb2dc18ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#18 0x00007f2eb5c6a01d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f2e8ef98710 (LWP 6381)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f2eb7411e8b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x7f2ea408b110, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x7f2ea408b110, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f2eb99c5132 in net::ReverseResolverThread::run (this=0x7f2ea408b100) at ../../src/net/reverseresolver.cpp:123
#4  0x00007f2eb7410e35 in QThreadPrivate::start (arg=0x7f2ea408b100) at thread/qthread_unix.cpp:248
#5  0x00007f2eb2dc18ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f2eb5c6a01d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2eb9ea2760 (LWP 6139)):
[KCrash Handler]
#5  0x00007f2eb5bcd175 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007f2eb5bcff80 in *__GI_abort () at abort.c:92
#7  0x00007f2eb5c032bb in __libc_message (do_abort=<value optimized out>, fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#8  0x00007f2eb5c0cb16 in malloc_printerr (action=3, str=0x7f2eb5cc0a96 "corrupted double-linked list", ptr=<value optimized out>) at malloc.c:6267
#9  0x00007f2eb5c0e548 in _int_free (av=0x7f2e78000020, p=0x7f2e740ecc70) at malloc.c:4957
#10 0x00007f2eb5c1188c in *__GI___libc_free (mem=<value optimized out>) at malloc.c:3739
#11 0x00007f2eb74a49db in ~QByteArray (this=0x4d) at ../../include/QtCore/../../src/corelib/tools/qbytearray.h:382
#12 QTextStreamPrivate::flushWriteBuffer (this=0x4d) at io/qtextstream.cpp:705
#13 0x00007f2eb74a5929 in flush (stream=...) at io/qtextstream.cpp:2878
#14 0x00007f2eb99b3a0e in operator<< (this=0x19d40d0) at /usr/include/qt4/QtCore/qtextstream.h:291
#15 bt::Log::Private::finishLine (this=0x19d40d0) at ../../src/util/log.cpp:134
#16 0x00007f2eb99b2d27 in bt::Log::Private::endline (lg=...) at ../../src/util/log.cpp:156
#17 bt::endl (lg=...) at ../../src/util/log.cpp:219
#18 0x00007f2eb99cadde in bt::Log::operator<< (this=0x7f2e747f2580, succes=false) at ../../src/util/log.h:140
#19 bt::Authenticate::onFinish (this=0x7f2e747f2580, succes=false) at ../../src/peer/authenticate.cpp:156
#20 0x00007f2eb99cb1df in Authenticate (this=0x7f2e747f2580, ip=..., port=<value optimized out>, proto=bt::UTP, info_hash=<value optimized out>, peer_id=<value optimized out>, pcon=0x7f2e75ff3660)
    at ../../src/peer/authenticate.cpp:76
#21 0x00007f2eb99de51f in bt::PeerConnector::start (this=0x7f2e75ff3660, method=<value optimized out>) at ../../src/peer/peerconnector.cpp:116
#22 0x00007f2eb99de9cd in bt::PeerConnector::authenticationFinished (this=<value optimized out>, auth=<value optimized out>, ok=<value optimized out>) at ../../src/peer/peerconnector.cpp:105
#23 0x00007f2eb99cc3a9 in bt::AuthenticationMonitor::handleData (this=0x6d6340) at ../../src/peer/authenticationmonitor.cpp:127
#24 0x000000000042ad2a in kt::Core::update (this=0x7f2ea40035a0) at ../../ktorrent/core.cpp:1011
#25 0x0000000000433232 in kt::Core::qt_metacall (this=0x7f2ea40035a0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffdb983400) at ./core.moc:167
#26 0x00007f2eb7513346 in QMetaObject::activate (sender=0x7f2ea40035c8, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3295
#27 0x00007f2eb750fba3 in QObject::event (this=0x7f2ea40035c8, e=0x7fffdb983b30) at kernel/qobject.cpp:1212
#28 0x00007f2eb68a032c in QApplicationPrivate::notify_helper (this=0x1905fb0, receiver=0x7f2ea40035c8, e=0x7fffdb983b30) at kernel/qapplication.cpp:4302
#29 0x00007f2eb68a680b in QApplication::notify (this=0x7fffdb983e60, receiver=0x7f2ea40035c8, e=0x7fffdb983b30) at kernel/qapplication.cpp:4185
#30 0x000000000043991a in kt::App::notify (this=0x17fb, receiver=0x17fb, event=0x6) at ../../ktorrent/app.cpp:97
#31 0x00007f2eb750015c in QCoreApplication::notifyInternal (this=0x7fffdb983e60, receiver=0x7f2ea40035c8, event=0x7fffdb983b30) at kernel/qcoreapplication.cpp:726
#32 0x00007f2eb752ced2 in QCoreApplication::sendEvent (this=0x190d240) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#33 QTimerInfoList::activateTimers (this=0x190d240) at kernel/qeventdispatcher_unix.cpp:603
#34 0x00007f2eb7529a48 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#35 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#36 0x00007f2eb20db6c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#37 0x00007f2eb20df538 in ?? () from /lib/libglib-2.0.so.0
#38 0x00007f2eb20df6ec in g_main_context_iteration () from /lib/libglib-2.0.so.0
#39 0x00007f2eb7529713 in QEventDispatcherGlib::processEvents (this=0x18d81d0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#40 0x00007f2eb695014e in QGuiEventDispatcherGlib::processEvents (this=0x17fb, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x00007f2eb74fea82 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#42 0x00007f2eb74fee5c in QEventLoop::exec (this=0x7fffdb983dd0, flags=) at kernel/qeventloop.cpp:201
#43 0x00007f2eb7503aeb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#44 0x0000000000428edb in main (argc=<value optimized out>, argv=<value optimized out>) at ../../ktorrent/main.cpp:176
Comment 5 Joris Guisson 2010-06-20 00:20:45 UTC
Could you post the last 10 lines of your log file (~/.kde/share/apps/ktorrent/log) after a crash ?
Comment 6 Helmut Pozimski 2010-06-20 02:37:57 UTC
sure, the last few lines are:

So. Jun 20 02:31:18 2010: Initiating connection to xxx.xxx.xxx.xxx via (UTP)
So. Jun 20 02:31:18 2010: Connection closed
So. Jun 20 02:31:18 2010: Timeout occurred
So. Jun 20 02:31:18 2010: Authentication to xxx.xxx.xxx.xxx : failure
So. Jun 20 02:31:18 2010: Initiating connection to xxx.xxx.xxx.xxx via (TCP)
So. Jun 20 02:31:18 2010: Error thrown: Illegal token: 17
So. Jun 20 02:31:18 2010: Error happened during parsing : Illegal token: 17
So. Jun 20 02:31:19 2010: Authentication to xxx.xxx.xxx.xxx : failure
So. Jun 20 02:31:19 2010: Initiating connection to xxx.xxx.xxx.xxx via (UTP)
So. Jun 20 02:31:19 2010: Authentication to xxx.xxx.xxx.xxx : failure
So. Jun 20 02:31:19 2010: Initiating connection to xxx.xxx.xxx.xxx via (UTP)
So. Jun 20 02:31:19 2010: Timeout occurred
So. Jun 20 02:31:19 2010: Authentication to xxx.xxx.xxx.xxx : failure
So. Jun 20 02:31:19 2010: Error thrown: Illegal token: 33
So. Jun 20 02:31:19 2010: Error happened during parsing : Illegal token: 33
So. Jun 20 02:31:19 2010: Error thrown: Illegal token: 33
So. Jun 20 02:31:19 2010: Error happened during parsing : Illegal token: 33
So. Jun 20 02:31:19 2010: Initiating connection to xxx.xxx.xxx.xxx via (UTP)
So. Jun 20 02:31:19 2010: Piece cache: memory in use 0 B, memory freed 16.0 KiB
So. Jun 20 02:31:19 2010: WakeUpPipe: read failed 
So. Jun 20 02:31:19 2010: Qt Warning: QSocketNotifier: Invalid socket 9 and type 'Read', disabling...
So. Jun 20 02:31:19 2010: Qt Warning: ktorrent: Fatal IO error: client killed
Comment 7 Joris Guisson 2010-06-21 20:11:51 UTC
Fatal IO error: client killed

Means X closed the connection on ktorrent, that is not good.
Comment 8 Helmut Pozimski 2010-06-25 21:49:39 UTC
If only the original bittorrent protocol is enabled, ktorrent runs as stable as alway so this bug seems to be connected to the implementation of the utorrent-protocol.
Comment 9 Joris Guisson 2010-07-09 19:44:35 UTC
Upgrade to 4.0.2, it should be fixed in that release
Comment 10 Helmut Pozimski 2010-07-11 00:54:46 UTC
Confirmed, after the update to 4.0.2 utorrent-protocol is working properly. No crashes so far.
Comment 11 Helmut Pozimski 2010-07-14 20:34:33 UTC
Created attachment 49150 [details]
New crash information added by DrKonqi

Unfortunately it seems the bug was closed too early. The crash now happens less frequently but the bug seems to be still there. Another backtrace of 4.0.2 is attached, I don't see much of a difference but maybe it is helpful to you.
Comment 12 Joris Guisson 2010-07-15 10:57:07 UTC
It's an XIOError

I haven't got a clue how to fix these

It also has nothing to do with the original problem here.
Comment 13 Nicolas L. 2010-07-19 20:24:56 UTC
*** Bug 245158 has been marked as a duplicate of this bug. ***
Comment 14 Christoph Feck 2010-09-01 18:54:52 UTC
Joris, the XIOError usually means the program was aborted in a different thread (in case of comment #11 it is a crash in thread 9).
Comment 15 Joris Guisson 2010-09-02 22:01:37 UTC
If the program gets aborted in a thread due to a segmentation fault or an abort call, you can't have an XIOError, because the program will immediately be terminated by the kernel.
Comment 16 Joris Guisson 2010-10-31 12:37:52 UTC

*** This bug has been marked as a duplicate of bug 252341 ***
Comment 17 Joris Guisson 2010-10-31 12:38:48 UTC
*** Bug 245999 has been marked as a duplicate of this bug. ***