Bug 241457

Summary: ktorrent always crashed when running for more than an hour or two
Product: [Applications] ktorrent Reporter: Richard Hartmann <richih-kde>
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Richard Hartmann 2010-06-11 19:11:45 UTC
Application: ktorrent (4.0.0)
KDE Platform Version: 4.4.4 (KDE 4.4.4)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-5-686 i686
Distribution: Debian GNU/Linux unstable (sid)

-- Information about the crash:
Topic says all; ktorrent crashed every time it runs for extended periods.

The crash can be reproduced every time.

 -- Backtrace:
Application: KTorrent (ktorrent), signal: Aborted
[Current thread is 1 (Thread 0xb4b0b710 (LWP 2512))]

Thread 7 (Thread 0xb3518b70 (LWP 2555)):
#0  0xb77a0424 in __kernel_vsyscall ()
#1  0xb5b55956 in *__GI___poll (fds=0xb5bd9ff4, nfds=1, timeout=3) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb527e06b in g_poll () from /lib/libglib-2.0.so.0
#3  0xb5270dac in ?? () from /lib/libglib-2.0.so.0
#4  0xb52711b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0xb695436f in QEventDispatcherGlib::processEvents (this=0x8569840, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#6  0xb6926f49 in QEventLoop::processEvents (this=0xb35182d0, flags=) at kernel/qeventloop.cpp:149
#7  0xb692739a in QEventLoop::exec (this=0xb35182d0, flags=...) at kernel/qeventloop.cpp:201
#8  0xb6823bd8 in QThread::exec (this=0x85684a8) at thread/qthread.cpp:487
#9  0xb771dbad in utp::UTPServerThread::run() () from /usr/lib/libktorrent.so.1
#10 0xb682693e in QThreadPrivate::start (arg=0x85684a8) at thread/qthread_unix.cpp:248
#11 0xb5346955 in start_thread (arg=0xb3518b70) at pthread_create.c:300
#12 0xb5b6314e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 6 (Thread 0xb2d17b70 (LWP 2558)):
#0  0xb77a0424 in __kernel_vsyscall ()
#1  0xb5b5c2d1 in select () at ../sysdeps/unix/syscall-template.S:82
#2  0xb76e273a in ?? () from /usr/lib/libktorrent.so.1
#3  0xb682693e in QThreadPrivate::start (arg=0x856f178) at thread/qthread_unix.cpp:248
#4  0xb5346955 in start_thread (arg=0xb2d17b70) at pthread_create.c:300
#5  0xb5b6314e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xb1e7db70 (LWP 2877)):
#0  0xb7679fd6 in ?? () from /usr/lib/libktorrent.so.1
#1  0xb767a0df in ?? () from /usr/lib/libktorrent.so.1
#2  0xb767aca8 in ?? () from /usr/lib/libktorrent.so.1
#3  0xb682693e in QThreadPrivate::start (arg=0x84b7840) at thread/qthread_unix.cpp:248
#4  0xb5346955 in start_thread (arg=0xb1e7db70) at pthread_create.c:300
#5  0xb5b6314e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xb0cfeb70 (LWP 2878)):
#0  0xb77a0424 in __kernel_vsyscall ()
#1  0xb534b242 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2  0xb5b70154 in __pthread_cond_timedwait (cond=0xb0cfe1e8, mutex=0xb0cfe218, abstime=0xb0cfe260) at forward.c:152
#3  0xb6826241 in thread_sleep (ti=0x1) at thread/qthread_unix.cpp:398
#4  0xb6826383 in QThread::msleep (msecs=50) at thread/qthread_unix.cpp:424
#5  0xb7679882 in ?? () from /usr/lib/libktorrent.so.1
#6  0xb767aca8 in ?? () from /usr/lib/libktorrent.so.1
#7  0xb682693e in QThreadPrivate::start (arg=0x84b7c48) at thread/qthread_unix.cpp:248
#8  0xb5346955 in start_thread (arg=0xb0cfeb70) at pthread_create.c:300
#9  0xb5b6314e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xb02ffb70 (LWP 2879)):
#0  0xb77a0424 in __kernel_vsyscall ()
#1  0xb5b55956 in *__GI___poll (fds=0xb5bd9ff4, nfds=1, timeout=5000) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb4b17718 in send_dg (statp=0xb02ffdf4, buf=0xb02fe010 "V\037\001", buflen=45, buf2=0x0, buflen2=0, ans=0xb02fe1a0 "\214\343\201\200", anssiz=1024, ansp=0xb02fe9d8, ansp2=0x0, nansp2=0x0, 
    resplen2=0x0) at res_send.c:1062
#3  __libc_res_nsend (statp=0xb02ffdf4, buf=0xb02fe010 "V\037\001", buflen=45, buf2=0x0, buflen2=0, ans=0xb02fe1a0 "\214\343\201\200", anssiz=1024, ansp=0xb02fe9d8, ansp2=0x0, nansp2=0x0, 
    resplen2=0x0) at res_send.c:553
#4  0xb4b158a3 in *__GI___libc_res_nquery (statp=0xb02ffdf4, name=0xb02fe5d6 "183.23.131.187.in-addr.arpa", class=1, type=12, answer=0xb02fe1a0 "\214\343\201\200", anslen=1024, answerp=0xb02fe9d8, 
    answerp2=0x0, nanswerp2=0x0, resplen2=0x0) at res_query.c:225
#5  0xb1664fa3 in *__GI__nss_dns_gethostbyaddr2_r (addr=0x8d2ab0b4, len=4, af=2, result=0xb02ff054, buffer=0xb02fea90 "\377\002", buflen=1024, errnop=0xb02ffb28, h_errnop=0xb02ff088, ttlp=0x0)
    at nss_dns/dns-host.c:471
#6  0xb16650fa in _nss_dns_gethostbyaddr_r (addr=0x8d2ab0b4, len=4, af=2, result=0xb02ff054, buffer=0xb02fea90 "\377\002", buflen=1024, errnop=0xb02ffb28, h_errnop=0xb02ff088)
    at nss_dns/dns-host.c:530
#7  0xb5b7994b in __gethostbyaddr_r (addr=0x8d2ab0b4, len=4, type=2, resbuf=0xb02ff054, buffer=0xb02fea90 "\377\002", buflen=1024, result=0xb02ff084, h_errnop=0xb02ff088) at ../nss/getXXbyYY_r.c:253
#8  0xb5b7ebbb in *__GI_getnameinfo (sa=0x8d2ab0b0, addrlen=16, host=0xb02ff198 "", hostlen=199, serv=0xb02ff0d0 "", servlen=199, flags=<value optimized out>) at getnameinfo.c:223
#9  0xb767de40 in ?? () from /usr/lib/libktorrent.so.1
#10 0xb767dec3 in ?? () from /usr/lib/libktorrent.so.1
#11 0xb767dfc7 in ?? () from /usr/lib/libktorrent.so.1
#12 0xb682693e in QThreadPrivate::start (arg=0xb0314680) at thread/qthread_unix.cpp:248
#13 0xb5346955 in start_thread (arg=0xb02ffb70) at pthread_create.c:300
#14 0xb5b6314e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0x24ffb70 (LWP 3571)):
#0  0xb77a0424 in __kernel_vsyscall ()
#1  0xb5b55956 in *__GI___poll (fds=0xb5bd9ff4, nfds=1, timeout=4999) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb4b17718 in send_dg (statp=0x24ffdf4, buf=0x24fd330 "?7\001", buflen=41, buf2=0x24fd35c "Q\246\001", buflen2=41, ans=0x24fde80 "\332p\201\200", anssiz=2048, ansp=0x24fe6b4, ansp2=0x24fe6b0, 
    nansp2=0x24fe6ac, resplen2=0x24fe6a8) at res_send.c:1062
#3  __libc_res_nsend (statp=0x24ffdf4, buf=0x24fd330 "?7\001", buflen=41, buf2=0x24fd35c "Q\246\001", buflen2=41, ans=0x24fde80 "\332p\201\200", anssiz=2048, ansp=0x24fe6b4, ansp2=0x24fe6b0, 
    nansp2=0x24fe6ac, resplen2=0x24fe6a8) at res_send.c:553
#4  0xb4b158a3 in *__GI___libc_res_nquery (statp=0x24ffdf4, name=0x24fd5cf "tracker.sladinki007.net.", class=1, type=62321, answer=0x24fde80 "\332p\201\200", anslen=2048, answerp=0x24fe6b4, 
    answerp2=0x24fe6b0, nanswerp2=0x24fe6ac, resplen2=0x24fe6a8) at res_query.c:225
#5  0xb4b15e8b in __libc_res_nquerydomain (statp=0x24ffdf4, name=0x1387 <Address 0x1387 out of bounds>, domain=0x24ffe54 "", class=1, type=62321, answer=0x24fde80 "\332p\201\200", anslen=2048, 
    answerp=0x24fe6b4, answerp2=0x24fe6b0, nanswerp2=0x24fe6ac, resplen2=0x24fe6a8) at res_query.c:576
#6  0xb4b16119 in *__GI___libc_res_nsearch (statp=0x24ffdf4, name=0x536824c8 "tracker.sladinki007.net", class=1, type=62321, answer=0x24fde80 "\332p\201\200", anslen=2048, answerp=0x24fe6b4, 
    answerp2=0x24fe6b0, nanswerp2=0x24fe6ac, resplen2=0x24fe6a8) at res_query.c:414
#7  0xb16658c0 in _nss_dns_gethostbyname4_r (name=0x536824c8 "tracker.sladinki007.net", pat=0x24fec28, buffer=0x24fe6f0 "\377\002", buflen=1024, errnop=0x24fec24, herrnop=0x24fec14, ttlp=0x0)
    at nss_dns/dns-host.c:314
#8  0xb5b3c380 in gaih_inet (name=<value optimized out>, service=<value optimized out>, req=0x24ff1d0, pai=0x24fed64, naddrs=0x24fed54) at ../sysdeps/posix/getaddrinfo.c:715
#9  0xb5b3e565 in *__GI_getaddrinfo (name=0x536824c8 "tracker.sladinki007.net", service=0x0, hints=0x24ff1d0, pai=0x24ff23c) at ../sysdeps/posix/getaddrinfo.c:2153
#10 0xb6de7c11 in QHostInfoAgent::fromName (hostName=...) at kernel/qhostinfo_unix.cpp:211
#11 0xb6ddd6a3 in QHostInfoRunnable::run (this=0x66ff46d8) at kernel/qhostinfo.cpp:425
#12 0xb681baec in QThreadPoolThread::run (this=0x8eef4b0) at concurrent/qthreadpool.cpp:106
#13 0xb682693e in QThreadPrivate::start (arg=0x8eef4b0) at thread/qthread_unix.cpp:248
#14 0xb5346955 in start_thread (arg=0x24ffb70) at pthread_create.c:300
#15 0xb5b6314e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb4b0b710 (LWP 2512)):
[KCrash Handler]
#6  0xb77a0424 in __kernel_vsyscall ()
#7  0xb5ac1751 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0xb5ac4b82 in *__GI_abort () at abort.c:92
#9  0xb5ce14ef in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/libstdc++.so.6
#10 0xb5cdf425 in ?? () from /usr/lib/libstdc++.so.6
#11 0xb5cdf462 in std::terminate() () from /usr/lib/libstdc++.so.6
#12 0xb5cdf51b in __cxa_rethrow () from /usr/lib/libstdc++.so.6
#13 0xb693c47a in QMetaObject::activate (sender=0x856391c, m=0xb6a3b704, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3303
#14 0xb698d967 in QTimer::timeout (this=0x856391c) at .moc/release-shared/moc_qtimer.cpp:134
#15 0xb694437e in QTimer::timerEvent (this=0x856391c, e=0xbfe65d90) at kernel/qtimer.cpp:271
#16 0xb6938f74 in QObject::event (this=0x856391c, e=0x6) at kernel/qobject.cpp:1212
#17 0xb5e6fbec in QApplicationPrivate::notify_helper (this=0x84da8f0, receiver=0x856391c, e=0xbfe65d90) at kernel/qapplication.cpp:4300
#18 0xb5e7675e in QApplication::notify (this=0xbfe660e4, receiver=0x856391c, e=0xbfe65d90) at kernel/qapplication.cpp:3704
#19 0xb70c7b4a in KApplication::notify (this=0xbfe660e4, receiver=0x856391c, event=0xbfe65d90) at ../../kdeui/kernel/kapplication.cpp:302
#20 0xb692892b in QCoreApplication::notifyInternal (this=0xbfe660e4, receiver=0x856391c, event=0xbfe65d90) at kernel/qcoreapplication.cpp:704
#21 0xb6957986 in QCoreApplication::sendEvent (this=0x84dfac4) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#22 QTimerInfoList::activateTimers (this=0x84dfac4) at kernel/qeventdispatcher_unix.cpp:603
#23 0xb6954677 in timerSourceDispatch (source=0x84df7f8) at kernel/qeventdispatcher_glib.cpp:184
#24 idleTimerSourceDispatch (source=0x84df7f8) at kernel/qeventdispatcher_glib.cpp:231
#25 0xb526d2f5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#26 0xb5270fd8 in ?? () from /lib/libglib-2.0.so.0
#27 0xb52711b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#28 0xb6954335 in QEventDispatcherGlib::processEvents (this=0x84b6640, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#29 0xb5f2e255 in QGuiEventDispatcherGlib::processEvents (this=0x84b6640, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#30 0xb6926f49 in QEventLoop::processEvents (this=0xbfe66054, flags=) at kernel/qeventloop.cpp:149
#31 0xb692739a in QEventLoop::exec (this=0xbfe66054, flags=...) at kernel/qeventloop.cpp:201
#32 0xb692b52f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#33 0xb5e6fc87 in QApplication::exec () at kernel/qapplication.cpp:3579
#34 0x08069121 in _start ()

Possible duplicates by query: bug 241253, bug 241158, bug 241077, bug 240735, bug 238794.

Reported using DrKonqi
Comment 1 Joris Guisson 2010-06-12 10:10:36 UTC

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