Bug 252341 - ktorrent crashes unexpectedly while dowloading files
Summary: ktorrent crashes unexpectedly while dowloading files
Status: RESOLVED DUPLICATE of bug 251117
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian unstable Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
: 242161 256826 257193 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-09-25 15:19 UTC by Dmitriy
Modified: 2010-12-14 19:37 UTC (History)
3 users (show)

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 Dmitriy 2010-09-25 15:19:14 UTC
Application: ktorrent (4.0.2)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.35-5.dmz.1-liquorix-amd64 x86_64
Distribution: Debian GNU/Linux unstable (sid)

-- Information about the crash:
ktorrent crashes unexpectedly while dowloading files

The crash can be reproduced some of the time.

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

Thread 10 (Thread 0x7f2626516710 (LWP 4319)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f26310d1458 in _L_lock_9590 () from /lib/libc.so.6
#2  0x00007f26310cf841 in *__GI___libc_free (mem=0x7f25f8000020) at malloc.c:3737
#3  0x00007f26310ebadd in tzset_internal (always=<value optimized out>, explicit=<value optimized out>) at tzset.c:435
#4  0x00007f26310ebd70 in __tzset () at tzset.c:592
#5  0x00007f26328dc726 in QDateTime::currentDateTime () at tools/qdatetime.cpp:2906
#6  0x00007f2634e72a79 in bt::Log::Private::finishLine (this=0x18a2020) at ../../src/util/log.cpp:132
#7  0x00007f2634e71e57 in bt::Log::Private::endline (lg=...) at ../../src/util/log.cpp:156
#8  bt::endl (lg=...) at ../../src/util/log.cpp:219
#9  0x00007f2634e7200c in bt::Log::operator<< (type=<value optimized out>, msg=0x2db2608 "QSocketNotifier: Invalid socket 16 and type 'Read', disabling...") at ../../src/util/log.h:140
#10 QtMessageOutput (type=<value optimized out>, msg=0x2db2608 "QSocketNotifier: Invalid socket 16 and type 'Read', disabling...") at ../../src/util/log.cpp:294
#11 0x00007f26328c6c2e in qt_message_output (msgType=QtWarningMsg, buf=0x80 <Address 0x80 out of bounds>) at global/qglobal.cpp:2212
#12 0x00007f26328c6e22 in qt_message (msgType=QtWarningMsg, msg=0x7f2632a67cc8 "QSocketNotifier: Invalid socket %d and type '%s', disabling...", ap=0x7f2626515b20) at global/qglobal.cpp:2312
#13 0x00007f26328c7155 in qWarning (msg=0x80 <Address 0x80 out of bounds>) at global/qglobal.cpp:2394
#14 0x00007f26329e7b36 in socketNotifierSourceCheck (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:90
#15 0x00007f262d59a92a in g_main_context_check () from /lib/libglib-2.0.so.0
#16 0x00007f262d59b2e3 in ?? () from /lib/libglib-2.0.so.0
#17 0x00007f262d59b71c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#18 0x00007f26329e76d3 in QEventDispatcherGlib::processEvents (this=0x18357a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#19 0x00007f26329bc9e2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#20 0x00007f26329bcdbc in QEventLoop::exec (this=0x7f2626515de0, flags=) at kernel/qeventloop.cpp:201
#21 0x00007f26328cc77b in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#22 0x00007f2634f1738e in utp::UTPServerThread::run (this=0x1835800) at ../../src/utp/utpserverthread.cpp:44
#23 0x00007f26328cee15 in QThreadPrivate::start (arg=0x1835800) at thread/qthread_unix.cpp:248
#24 0x00007f262e27d8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#25 0x00007f263112802d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#26 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f2625d15710 (LWP 4321)):
#0  0x00007f26311218d3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f2634edfb22 in dht::RPCServerThread::run (this=0x18d85e0) at ../../src/dht/rpcserver.cpp:107
#2  0x00007f26328cee15 in QThreadPrivate::start (arg=0x18d85e0) at thread/qthread_unix.cpp:248
#3  0x00007f262e27d8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f263112802d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

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

Thread 7 (Thread 0x7f2615b01710 (LWP 4443)):
#0  0xffffffffff600177 in ?? ()
#1  0x00007fff5610d841 in ?? ()
#2  0x00007f262d838e7f in *__GI_clock_gettime (clock_id=363858736, tp=0x7f2615b00b30) at ../sysdeps/unix/clock_gettime.c:100
#3  0x00007f26329e4b5f in qt_gettime () at kernel/qcore_unix.cpp:111
#4  0x00007f26329e995d in QTimerInfoList::updateCurrentTime (this=0x7f2615b00b30) at kernel/qeventdispatcher_unix.cpp:340
#5  0x00007f26329e9985 in QTimerInfoList::timerWait (this=0x7f2615b00b30, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#6  0x00007f26329e791d in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7f2615b00c2c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007f262d59acd1 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0x00007f262d59b138 in ?? () from /lib/libglib-2.0.so.0
#9  0x00007f262d59b71c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0x00007f26329e7726 in QEventDispatcherGlib::processEvents (this=0x26c6490, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#11 0x00007f26329bc9e2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#12 0x00007f26329bcdbc in QEventLoop::exec (this=0x7f2615b00dc0, flags=) at kernel/qeventloop.cpp:201
#13 0x00007f26328cc77b in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#14 0x00007f2619d74400 in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#15 0x00007f26328cee15 in QThreadPrivate::start (arg=0x26409c0) at thread/qthread_unix.cpp:248
#16 0x00007f262e27d8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#17 0x00007f263112802d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#18 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f261236e710 (LWP 4447)):
#0  0x00007f263111d113 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=333) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f26123738d5 in ?? () from /usr/lib/xine/plugins/1.29/xineplug_ao_out_alsa.so
#2  0x00007f262e27d8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f263112802d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

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

Thread 4 (Thread 0x7f2605b3a710 (LWP 4881)):
#0  net::Socket::ok (this=0x7f26005e3dc0) at ../../src/net/socket.h:49
#1  0x00007f2634e8093b in net::DownloadThread::waitForSocketReady (this=0x17f8260) at ../../src/net/downloadthread.cpp:121
#2  0x00007f2634e80a46 in net::DownloadThread::update (this=0x7f26005e3dc0) at ../../src/net/downloadthread.cpp:48
#3  0x00007f2634e81529 in net::NetworkThread::run (this=0x17f8260) at ../../src/net/networkthread.cpp:48
#4  0x00007f26328cee15 in QThreadPrivate::start (arg=0x17f8260) at thread/qthread_unix.cpp:248
#5  0x00007f262e27d8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f263112802d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f2605339710 (LWP 4882)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f26328ce563 in QMutexPrivate::wait (this=0x17f81e0, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x00007f26328c9de5 in QMutex::lock (this=0x6d69c8) at thread/qmutex.cpp:167
#3  0x00007f2634e7fe8d in net::UploadThread::waitForSocketsReady (this=0x17f88b0) at ../../src/net/uploadthread.cpp:112
#4  0x00007f2634e800f6 in net::UploadThread::update (this=0x17f822c) at ../../src/net/uploadthread.cpp:45
#5  0x00007f2634e81529 in net::NetworkThread::run (this=0x17f88b0) at ../../src/net/networkthread.cpp:48
#6  0x00007f26328cee15 in QThreadPrivate::start (arg=0x17f88b0) at thread/qthread_unix.cpp:248
#7  0x00007f262e27d8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#8  0x00007f263112802d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f2604b38710 (LWP 4883)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f26328cfe6b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x195b9a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x195b9a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f2634e84252 in net::ReverseResolverThread::run (this=0x195b990) at ../../src/net/reverseresolver.cpp:123
#4  0x00007f26328cee15 in QThreadPrivate::start (arg=0x195b990) at thread/qthread_unix.cpp:248
#5  0x00007f262e27d8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f263112802d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2635369760 (LWP 4308)):
[KCrash Handler]
#5  _int_malloc (av=0x7f25f8000020, bytes=56) at malloc.c:4628
#6  0x00007f26310cf930 in *__GI___libc_malloc (bytes=56) at malloc.c:3661
#7  0x00007f2632916913 in QString::fromLatin1_helper (str=0x7f26252e55fe "hmac(sha256)", size=12) at tools/qstring.cpp:3603
#8  0x00007f263291c58d in QString::fromAscii_helper (str=0x5 <Address 0x5 out of bounds>, size=56) at tools/qstring.cpp:3638
#9  0x00007f26252c6d87 in ?? () from /usr/lib/qt4/plugins/crypto/libqca-ossl.so
#10 0x00007f26252d4aa4 in opensslProvider::features() const () from /usr/lib/qt4/plugins/crypto/libqca-ossl.so
#11 0x00007f2630b6ea56 in QCA::ProviderManager::findFor(QString const&, QString const&) const () from /usr/lib/libqca.so.2
#12 0x00007f2630b6144e in QCA::getContext(QString const&, QString const&) () from /usr/lib/libqca.so.2
#13 0x00007f2630b615ab in QCA::Algorithm::change(QString const&, QString const&) () from /usr/lib/libqca.so.2
#14 0x00007f2630b6163c in QCA::Algorithm::Algorithm(QString const&, QString const&) () from /usr/lib/libqca.so.2
#15 0x00007f2630b729d9 in QCA::Hash::Hash(QString const&, QString const&) () from /usr/lib/libqca.so.2
#16 0x00007f2634e6ab97 in SHA1HashGen (this=0x7fff560f8c90) at ../../src/util/sha1hashgen.cpp:53
#17 0x00007f2634e6b0dc in bt::SHA1Hash::generate (data=0x38 <Address 0x38 out of bounds>, len=5) at ../../src/util/sha1hash.cpp:69
#18 0x00007f2634e88b72 in mse::EncryptedServerAuthenticate::findReq1 (this=0x7f25f80dabe0) at ../../src/mse/encryptedserverauthenticate.cpp:85
#19 0x00007f2634e88d29 in mse::EncryptedServerAuthenticate::handleYA (this=0x7f25f80dabe0) at ../../src/mse/encryptedserverauthenticate.cpp:73
#20 0x00007f2634e8b4c9 in bt::AuthenticationMonitor::handleData (this=0x6d6460) at ../../src/peer/authenticationmonitor.cpp:127
#21 0x000000000042adaa in kt::Core::update (this=0x18f4ad0) at ../../ktorrent/core.cpp:1014
#22 0x0000000000433322 in kt::Core::qt_metacall (this=0x18f4ad0, _c=QMetaObject::InvokeMetaMethod, _id=-524289, _a=0x7fff560f8fd0) at ./core.moc:167
#23 0x00007f26329d1306 in QMetaObject::activate (sender=0x18f4af8, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x5) at kernel/qobject.cpp:3295
#24 0x00007f26329cdb63 in QObject::event (this=0x18f4af8, e=0x7fff560f9700) at kernel/qobject.cpp:1212
#25 0x00007f2631d5e32c in QApplicationPrivate::notify_helper (this=0x1824480, receiver=0x18f4af8, e=0x7fff560f9700) at kernel/qapplication.cpp:4302
#26 0x00007f2631d6480b in QApplication::notify (this=0x7fff560f9a30, receiver=0x18f4af8, e=0x7fff560f9700) at kernel/qapplication.cpp:4185
#27 0x0000000000439a0a in kt::App::notify (this=0x7f25f8000020, receiver=0x38, event=0x5) at ../../ktorrent/app.cpp:97
#28 0x00007f26329be0bc in QCoreApplication::notifyInternal (this=0x7fff560f9a30, receiver=0x18f4af8, event=0x7fff560f9700) at kernel/qcoreapplication.cpp:726
#29 0x00007f26329eae92 in QCoreApplication::sendEvent (this=0x1827e40) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#30 QTimerInfoList::activateTimers (this=0x1827e40) at kernel/qeventdispatcher_unix.cpp:603
#31 0x00007f26329e7a08 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#32 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#33 0x00007f262d5976f2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#34 0x00007f262d59b568 in ?? () from /lib/libglib-2.0.so.0
#35 0x00007f262d59b71c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#36 0x00007f26329e76d3 in QEventDispatcherGlib::processEvents (this=0x17f61d0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#37 0x00007f2631e0e18e in QGuiEventDispatcherGlib::processEvents (this=0x7f25f8000020, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#38 0x00007f26329bc9e2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#39 0x00007f26329bcdbc in QEventLoop::exec (this=0x7fff560f99a0, flags=) at kernel/qeventloop.cpp:201
#40 0x00007f26329c1a4b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#41 0x0000000000428f5b in main (argc=<value optimized out>, argv=<value optimized out>) at ../../ktorrent/main.cpp:176

Reported using DrKonqi
Comment 1 Joris Guisson 2010-10-31 12:37:52 UTC
*** Bug 242161 has been marked as a duplicate of this bug. ***
Comment 2 Joris Guisson 2010-11-18 18:19:44 UTC
*** Bug 257193 has been marked as a duplicate of this bug. ***
Comment 3 Joris Guisson 2010-11-30 19:26:43 UTC
*** Bug 256826 has been marked as a duplicate of this bug. ***
Comment 4 Joris Guisson 2010-12-14 19:37:10 UTC

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