Bug 275950

Summary: ktorrent crash (dev version)
Product: [Applications] ktorrent Reporter: George R. Goffe <grgoffe>
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description George R. Goffe 2011-06-18 05:04:34 UTC
Application: ktorrent (4.2dev)
KDE Platform Version: 4.6.3 (4.6.3)
Qt Version: 4.7.2
Operating System: Linux 2.6.35.13-92.fc14.i686 i686
Distribution: "Fedora release 14 (Laughlin)"

-- Information about the crash:
"normal" ktorrent operations, after 45-60 minutes it crashes.

ktorrent --version
Qt: 4.7.2
KDE Development Platform: 4.6.3 (4.6.3)
KTorrent: 4.2dev

The crash can be reproduced every time.

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

Thread 12 (Thread 0xb55ebb70 (LWP 10374)):
#0  0x00d5d416 in __kernel_vsyscall ()
#1  0x005e8c36 in __poll (fds=0xb4c05e80, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x00e2adac in g_poll (fds=0xb4c05e80, nfds=1, timeout=-1) at gpoll.c:132
#3  0x00e1a8b7 in g_main_context_poll (context=0xb4c004e8, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3093
#4  g_main_context_iterate (context=0xb4c004e8, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2775
#5  0x00e1ac35 in g_main_context_iteration (context=0xb4c004e8, may_block=1) at gmain.c:2843
#6  0x021b1ce7 in QEventDispatcherGlib::processEvents (this=0xb4c00468, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#7  0x021830fa in QEventLoop::processEvents (this=0xb55eb260, flags=...) at kernel/qeventloop.cpp:149
#8  0x021833aa in QEventLoop::exec (this=0xb55eb260, flags=...) at kernel/qeventloop.cpp:201
#9  0x02089b73 in QThread::exec (this=0x12bb84a8) at thread/qthread.cpp:492
#10 0x011b4b5a in kt::ScanThread::run (this=0x12bb84a8) at /tools/ktorrent/ktorrent/plugins/scanfolder/scanthread.cpp:151
#11 0x0208c6c3 in QThreadPrivate::start (arg=0x12bb84a8) at thread/qthread_unix.cpp:320
#12 0x006b4e99 in start_thread (arg=0xb55ebb70) at pthread_create.c:301
#13 0x005f3d2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 11 (Thread 0xb25d2b70 (LWP 10375)):
#0  0x00d5d416 in __kernel_vsyscall ()
#1  0x006b939b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:169
#2  0x420de1d7 in scavengerThread (context=0x4268a380) at wtf/FastMalloc.cpp:2378
#3  WTF::TCMalloc_PageHeap::runScavengerThread (context=0x4268a380) at wtf/FastMalloc.cpp:1497
#4  0x006b4e99 in start_thread (arg=0xb25d2b70) at pthread_create.c:301
#5  0x005f3d2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 10 (Thread 0xb0afeb70 (LWP 10378)):
#0  0x00d5d416 in __kernel_vsyscall ()
#1  0x005e8c36 in __poll (fds=0xb0afca30, nfds=1, timeout=5000) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x007d94c4 in send_dg (statp=0xb0afedf4, buf=0xb0afca90 "\n\345\001", buflen=44, buf2=0x0, buflen2=0, ans=0xb0afd4d0 "=\032\201\200", anssiz=1024, ansp=0xb0afdd04, ansp2=0x0, nansp2=0x0, resplen2=0x0) at res_send.c:1058
#3  __libc_res_nsend (statp=0xb0afedf4, buf=0xb0afca90 "\n\345\001", buflen=44, buf2=0x0, buflen2=0, ans=0xb0afd4d0 "=\032\201\200", anssiz=1024, ansp=0xb0afdd04, ansp2=0x0, nansp2=0x0, resplen2=0x0) at res_send.c:556
#4  0x007d7037 in __libc_res_nquery (statp=0xb0afedf4, name=0xaff73e88 "tracker.openbittorrent.com", class=1, type=28, answer=0xb0afd4d0 "=\032\201\200", anslen=1024, answerp=0xb0afdd04, answerp2=0x0, nanswerp2=0x0, resplen2=0x0) at res_query.c:225
#5  0x007d75cb in __libc_res_nquerydomain (statp=0xb0afedf4, name=<value optimized out>, domain=0x0, class=1, type=28, answer=0xb0afd4d0 "=\032\201\200", anslen=1024, answerp=0xb0afdd04, answerp2=0x0, nanswerp2=0x0, resplen2=0x0) at res_query.c:576
#6  0x007d79c5 in __libc_res_nsearch (statp=0xb0afedf4, name=0xaff73e88 "tracker.openbittorrent.com", class=1, type=28, answer=0xb0afd4d0 "=\032\201\200", anslen=1024, answerp=0xb0afdd04, answerp2=0x0, nanswerp2=0x0, resplen2=0x0) at res_query.c:377
#7  0x056b56cf in _nss_dns_gethostbyname3_r (name=0xaff73e88 "tracker.openbittorrent.com", af=10, result=0xb0afe06c, buffer=0xb0afdda0 "", buflen=512, errnop=0xb0afeb28, h_errnop=0xb0afe084, canonp=0x0, ttlp=0x0) at nss_dns/dns-host.c:197
#8  0x0060e675 in __gethostbyname2_r (name=0xaff73e88 "tracker.openbittorrent.com", af=10, resbuf=0xb0afe06c, buffer=0xb0afdda0 "", buflen=512, result=0xb0afe088, h_errnop=0xb0afe084) at ../nss/getXXbyYY_r.c:256
#9  0x005d8e5f in gaih_inet (name=0xaff73e88 "tracker.openbittorrent.com", service=<value optimized out>, req=0xb0afe238, pai=0xb0afe1d4, naddrs=0xb0afe1c4) at ../sysdeps/posix/getaddrinfo.c:531
#10 0x005db72b in getaddrinfo (name=0xaff73e88 "tracker.openbittorrent.com", service=<value optimized out>, hints=0xb0afe238, pai=0xb0afe268) at ../sysdeps/posix/getaddrinfo.c:2161
#11 0x07297eb9 in (anonymous namespace)::GetAddrInfoThread::run (this=0xaff73e28) at /usr/src/debug/kdelibs-4.6.3/kdecore/network/k3resolverstandardworkers.cpp:456
#12 0x07296073 in KNetwork::Internal::KResolverThread::run (this=0xb1301e20) at /usr/src/debug/kdelibs-4.6.3/kdecore/network/k3resolvermanager.cpp:278
#13 0x0208c6c3 in QThreadPrivate::start (arg=0xb1301e20) at thread/qthread_unix.cpp:320
#14 0x006b4e99 in start_thread (arg=0xb0afeb70) at pthread_create.c:301
#15 0x005f3d2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 9 (Thread 0xafeffb70 (LWP 10380)):
#0  0x00d5d416 in __kernel_vsyscall ()
#1  0x005e8c36 in __poll (fds=0xafefda30, nfds=1, timeout=5000) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x007d94c4 in send_dg (statp=0xafeffdf4, buf=0xafefda90 "\342\030\001", buflen=38, buf2=0x0, buflen2=0, ans=0xafefe4d0 "\340\357\201\200", anssiz=1024, ansp=0xafefed04, ansp2=0x0, nansp2=0x0, resplen2=0x0) at res_send.c:1058
#3  __libc_res_nsend (statp=0xafeffdf4, buf=0xafefda90 "\342\030\001", buflen=38, buf2=0x0, buflen2=0, ans=0xafefe4d0 "\340\357\201\200", anssiz=1024, ansp=0xafefed04, ansp2=0x0, nansp2=0x0, resplen2=0x0) at res_send.c:556
#4  0x007d7037 in __libc_res_nquery (statp=0xafeffdf4, name=0xaff7b208 "tracker.publicbt.com", class=1, type=28, answer=0xafefe4d0 "\340\357\201\200", anslen=1024, answerp=0xafefed04, answerp2=0x0, nanswerp2=0x0, resplen2=0x0) at res_query.c:225
#5  0x007d75cb in __libc_res_nquerydomain (statp=0xafeffdf4, name=<value optimized out>, domain=0x0, class=1, type=28, answer=0xafefe4d0 "\340\357\201\200", anslen=1024, answerp=0xafefed04, answerp2=0x0, nanswerp2=0x0, resplen2=0x0) at res_query.c:576
#6  0x007d79c5 in __libc_res_nsearch (statp=0xafeffdf4, name=0xaff7b208 "tracker.publicbt.com", class=1, type=28, answer=0xafefe4d0 "\340\357\201\200", anslen=1024, answerp=0xafefed04, answerp2=0x0, nanswerp2=0x0, resplen2=0x0) at res_query.c:377
#7  0x056b56cf in _nss_dns_gethostbyname3_r (name=0xaff7b208 "tracker.publicbt.com", af=10, result=0xafeff06c, buffer=0xafefeda0 "", buflen=512, errnop=0xafeffb28, h_errnop=0xafeff084, canonp=0x0, ttlp=0x0) at nss_dns/dns-host.c:197
#8  0x0060e675 in __gethostbyname2_r (name=0xaff7b208 "tracker.publicbt.com", af=10, resbuf=0xafeff06c, buffer=0xafefeda0 "", buflen=512, result=0xafeff088, h_errnop=0xafeff084) at ../nss/getXXbyYY_r.c:256
#9  0x005d8e5f in gaih_inet (name=0xaff7b208 "tracker.publicbt.com", service=<value optimized out>, req=0xafeff238, pai=0xafeff1d4, naddrs=0xafeff1c4) at ../sysdeps/posix/getaddrinfo.c:531
#10 0x005db72b in getaddrinfo (name=0xaff7b208 "tracker.publicbt.com", service=<value optimized out>, hints=0xafeff238, pai=0xafeff268) at ../sysdeps/posix/getaddrinfo.c:2161
#11 0x07297eb9 in (anonymous namespace)::GetAddrInfoThread::run (this=0xaff7b1a8) at /usr/src/debug/kdelibs-4.6.3/kdecore/network/k3resolverstandardworkers.cpp:456
#12 0x07296073 in KNetwork::Internal::KResolverThread::run (this=0xb0101c00) at /usr/src/debug/kdelibs-4.6.3/kdecore/network/k3resolvermanager.cpp:278
#13 0x0208c6c3 in QThreadPrivate::start (arg=0xb0101c00) at thread/qthread_unix.cpp:320
#14 0x006b4e99 in start_thread (arg=0xafeffb70) at pthread_create.c:301
#15 0x005f3d2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 8 (Thread 0xb1ca9b70 (LWP 10385)):
#0  0x00d5d416 in __kernel_vsyscall ()
#1  0x005e8c36 in __poll (fds=0xb1ca7a30, nfds=1, timeout=5000) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x007d94c4 in send_dg (statp=0xb1ca9df4, buf=0xb1ca7a90 "\370\311\001", buflen=59, buf2=0x0, buflen2=0, ans=0xb1ca84d0 "w\260\201\200", anssiz=1024, ansp=0xb1ca8d04, ansp2=0x0, nansp2=0x0, resplen2=0x0) at res_send.c:1058
#3  __libc_res_nsend (statp=0xb1ca9df4, buf=0xb1ca7a90 "\370\311\001", buflen=59, buf2=0x0, buflen2=0, ans=0xb1ca84d0 "w\260\201\200", anssiz=1024, ansp=0xb1ca8d04, ansp2=0x0, nansp2=0x0, resplen2=0x0) at res_send.c:556
#4  0x007d7037 in __libc_res_nquery (statp=0xb1ca9df4, name=0xb1ca7c23 "tracker.openbittorrent.com.sleazegate.com", class=1, type=28, answer=0xb1ca84d0 "w\260\201\200", anslen=1024, answerp=0xb1ca8d04, answerp2=0x0, nanswerp2=0x0, resplen2=0x0) at res_query.c:225
#5  0x007d75cb in __libc_res_nquerydomain (statp=0xb1ca9df4, name=<value optimized out>, domain=0xb1ca9e69 "sleazegate.com", class=1, type=28, answer=0xb1ca84d0 "w\260\201\200", anslen=1024, answerp=0xb1ca8d04, answerp2=0x0, nanswerp2=0x0, resplen2=0x0) at res_query.c:576
#6  0x007d784c in __libc_res_nsearch (statp=0xb1ca9df4, name=0xaff7b018 "tracker.openbittorrent.com", class=1, type=28, answer=0xb1ca84d0 "w\260\201\200", anslen=1024, answerp=0xb1ca8d04, answerp2=0x0, nanswerp2=0x0, resplen2=0x0) at res_query.c:414
#7  0x056b56cf in _nss_dns_gethostbyname3_r (name=0xaff7b018 "tracker.openbittorrent.com", af=10, result=0xb1ca906c, buffer=0xb1ca8da0 "", buflen=512, errnop=0xb1ca9b28, h_errnop=0xb1ca9084, canonp=0x0, ttlp=0x0) at nss_dns/dns-host.c:197
#8  0x0060e675 in __gethostbyname2_r (name=0xaff7b018 "tracker.openbittorrent.com", af=10, resbuf=0xb1ca906c, buffer=0xb1ca8da0 "", buflen=512, result=0xb1ca9088, h_errnop=0xb1ca9084) at ../nss/getXXbyYY_r.c:256
#9  0x005d8e5f in gaih_inet (name=0xaff7b018 "tracker.openbittorrent.com", service=<value optimized out>, req=0xb1ca9238, pai=0xb1ca91d4, naddrs=0xb1ca91c4) at ../sysdeps/posix/getaddrinfo.c:531
#10 0x005db72b in getaddrinfo (name=0xaff7b018 "tracker.openbittorrent.com", service=<value optimized out>, hints=0xb1ca9238, pai=0xb1ca9268) at ../sysdeps/posix/getaddrinfo.c:2161
#11 0x07297eb9 in (anonymous namespace)::GetAddrInfoThread::run (this=0xaff7afb8) at /usr/src/debug/kdelibs-4.6.3/kdecore/network/k3resolverstandardworkers.cpp:456
#12 0x07296073 in KNetwork::Internal::KResolverThread::run (this=0x12be7ab8) at /usr/src/debug/kdelibs-4.6.3/kdecore/network/k3resolvermanager.cpp:278
#13 0x0208c6c3 in QThreadPrivate::start (arg=0x12be7ab8) at thread/qthread_unix.cpp:320
#14 0x006b4e99 in start_thread (arg=0xb1ca9b70) at pthread_create.c:301
#15 0x005f3d2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 7 (Thread 0xb12ffb70 (LWP 10386)):
#0  0x00d5d416 in __kernel_vsyscall ()
#1  0x005e8c36 in __poll (fds=0xb12fda30, nfds=1, timeout=5000) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x007d94c4 in send_dg (statp=0xb12ffdf4, buf=0xb12fda90 "T(\001", buflen=54, buf2=0x0, buflen2=0, ans=0xb12fe4d0 "\004\264\201\200", anssiz=1024, ansp=0xb12fed04, ansp2=0x0, nansp2=0x0, resplen2=0x0) at res_send.c:1058
#3  __libc_res_nsend (statp=0xb12ffdf4, buf=0xb12fda90 "T(\001", buflen=54, buf2=0x0, buflen2=0, ans=0xb12fe4d0 "\004\264\201\200", anssiz=1024, ansp=0xb12fed04, ansp2=0x0, nansp2=0x0, resplen2=0x0) at res_send.c:556
#4  0x007d7037 in __libc_res_nquery (statp=0xb12ffdf4, name=0xb12fdc23 "denis.stalker.h3q.com.sleazegate.com", class=1, type=1, answer=0xb12fe4d0 "\004\264\201\200", anslen=1024, answerp=0xb12fed04, answerp2=0x0, nanswerp2=0x0, resplen2=0x0) at res_query.c:225
#5  0x007d75cb in __libc_res_nquerydomain (statp=0xb12ffdf4, name=<value optimized out>, domain=0xb12ffe69 "sleazegate.com", class=1, type=1, answer=0xb12fe4d0 "\004\264\201\200", anslen=1024, answerp=0xb12fed04, answerp2=0x0, nanswerp2=0x0, resplen2=0x0) at res_query.c:576
#6  0x007d784c in __libc_res_nsearch (statp=0xb12ffdf4, name=0xaff66010 "denis.stalker.h3q.com", class=1, type=1, answer=0xb12fe4d0 "\004\264\201\200", anslen=1024, answerp=0xb12fed04, answerp2=0x0, nanswerp2=0x0, resplen2=0x0) at res_query.c:414
#7  0x056b56cf in _nss_dns_gethostbyname3_r (name=0xaff66010 "denis.stalker.h3q.com", af=2, result=0xb12ff06c, buffer=0xb12feda0 "\320^\353\225", buflen=512, errnop=0xb12ffb28, h_errnop=0xb12ff084, canonp=0x0, ttlp=0x0) at nss_dns/dns-host.c:197
#8  0x0060e675 in __gethostbyname2_r (name=0xaff66010 "denis.stalker.h3q.com", af=2, resbuf=0xb12ff06c, buffer=0xb12feda0 "\320^\353\225", buflen=512, result=0xb12ff088, h_errnop=0xb12ff084) at ../nss/getXXbyYY_r.c:256
#9  0x005d8e5f in gaih_inet (name=0xaff66010 "denis.stalker.h3q.com", service=<value optimized out>, req=0xb12ff238, pai=0xb12ff1d4, naddrs=0xb12ff1c4) at ../sysdeps/posix/getaddrinfo.c:531
#10 0x005db72b in getaddrinfo (name=0xaff66010 "denis.stalker.h3q.com", service=<value optimized out>, hints=0xb12ff238, pai=0xb12ff268) at ../sysdeps/posix/getaddrinfo.c:2161
#11 0x07297eb9 in (anonymous namespace)::GetAddrInfoThread::run (this=0xaff65fb0) at /usr/src/debug/kdelibs-4.6.3/kdecore/network/k3resolverstandardworkers.cpp:456
#12 0x07296073 in KNetwork::Internal::KResolverThread::run (this=0xb1302e58) at /usr/src/debug/kdelibs-4.6.3/kdecore/network/k3resolvermanager.cpp:278
#13 0x0208c6c3 in QThreadPrivate::start (arg=0xb1302e58) at thread/qthread_unix.cpp:320
#14 0x006b4e99 in start_thread (arg=0xb12ffb70) at pthread_create.c:301
#15 0x005f3d2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 6 (Thread 0xaf6feb70 (LWP 10387)):
#0  0x00d5d416 in __kernel_vsyscall ()
#1  0x005e8c36 in __poll (fds=0xaf6fca30, nfds=1, timeout=5000) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x007d94c4 in send_dg (statp=0xaf6fedf4, buf=0xaf6fca90 "\316\301\001", buflen=38, buf2=0x0, buflen2=0, ans=0xaf6fd4d0 "\365k\201\200", anssiz=1024, ansp=0xaf6fdd04, ansp2=0x0, nansp2=0x0, resplen2=0x0) at res_send.c:1058
#3  __libc_res_nsend (statp=0xaf6fedf4, buf=0xaf6fca90 "\316\301\001", buflen=38, buf2=0x0, buflen2=0, ans=0xaf6fd4d0 "\365k\201\200", anssiz=1024, ansp=0xaf6fdd04, ansp2=0x0, nansp2=0x0, resplen2=0x0) at res_send.c:556
#4  0x007d7037 in __libc_res_nquery (statp=0xaf6fedf4, name=0xaff76ac8 "tracker.publicbt.com", class=1, type=28, answer=0xaf6fd4d0 "\365k\201\200", anslen=1024, answerp=0xaf6fdd04, answerp2=0x0, nanswerp2=0x0, resplen2=0x0) at res_query.c:225
#5  0x007d75cb in __libc_res_nquerydomain (statp=0xaf6fedf4, name=<value optimized out>, domain=0x0, class=1, type=28, answer=0xaf6fd4d0 "\365k\201\200", anslen=1024, answerp=0xaf6fdd04, answerp2=0x0, nanswerp2=0x0, resplen2=0x0) at res_query.c:576
#6  0x007d79c5 in __libc_res_nsearch (statp=0xaf6fedf4, name=0xaff76ac8 "tracker.publicbt.com", class=1, type=28, answer=0xaf6fd4d0 "\365k\201\200", anslen=1024, answerp=0xaf6fdd04, answerp2=0x0, nanswerp2=0x0, resplen2=0x0) at res_query.c:377
#7  0x056b56cf in _nss_dns_gethostbyname3_r (name=0xaff76ac8 "tracker.publicbt.com", af=10, result=0xaf6fe06c, buffer=0xaf6fdda0 "", buflen=512, errnop=0xaf6feb28, h_errnop=0xaf6fe084, canonp=0x0, ttlp=0x0) at nss_dns/dns-host.c:197
#8  0x0060e675 in __gethostbyname2_r (name=0xaff76ac8 "tracker.publicbt.com", af=10, resbuf=0xaf6fe06c, buffer=0xaf6fdda0 "", buflen=512, result=0xaf6fe088, h_errnop=0xaf6fe084) at ../nss/getXXbyYY_r.c:256
#9  0x005d8e5f in gaih_inet (name=0xaff76ac8 "tracker.publicbt.com", service=<value optimized out>, req=0xaf6fe238, pai=0xaf6fe1d4, naddrs=0xaf6fe1c4) at ../sysdeps/posix/getaddrinfo.c:531
#10 0x005db72b in getaddrinfo (name=0xaff76ac8 "tracker.publicbt.com", service=<value optimized out>, hints=0xaf6fe238, pai=0xaf6fe268) at ../sysdeps/posix/getaddrinfo.c:2161
#11 0x07297eb9 in (anonymous namespace)::GetAddrInfoThread::run (this=0xaff76a68) at /usr/src/debug/kdelibs-4.6.3/kdecore/network/k3resolverstandardworkers.cpp:456
#12 0x07296073 in KNetwork::Internal::KResolverThread::run (this=0x12a36788) at /usr/src/debug/kdelibs-4.6.3/kdecore/network/k3resolvermanager.cpp:278
#13 0x0208c6c3 in QThreadPrivate::start (arg=0x12a36788) at thread/qthread_unix.cpp:320
#14 0x006b4e99 in start_thread (arg=0xaf6feb70) at pthread_create.c:301
#15 0x005f3d2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 5 (Thread 0xaeaedb70 (LWP 10404)):
#0  0x00d5d416 in __kernel_vsyscall ()
#1  0x006b9743 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:236
#2  0x0208cd30 in wait (this=0x14c454ac, mutex=0x14c454a8, time=30000) at thread/qwaitcondition_unix.cpp:86
#3  QWaitCondition::wait (this=0x14c454ac, mutex=0x14c454a8, time=30000) at thread/qwaitcondition_unix.cpp:160
#4  0x02080d39 in QThreadPoolThread::run (this=0x12e13d28) at concurrent/qthreadpool.cpp:140
#5  0x0208c6c3 in QThreadPrivate::start (arg=0x12e13d28) at thread/qthread_unix.cpp:320
#6  0x006b4e99 in start_thread (arg=0xaeaedb70) at pthread_create.c:301
#7  0x005f3d2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 4 (Thread 0xae2ecb70 (LWP 10408)):
#0  0x00d5d416 in __kernel_vsyscall ()
#1  0x006b939b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:169
#2  0x0208b6ba in QMutexPrivate::wait (this=0x9e064b0, timeout=-1) at thread/qmutex_unix.cpp:84
#3  0x02087cb2 in QMutex::lock (this=0x9e06498) at thread/qmutex.cpp:167
#4  0x00925b00 in net::SocketMonitor::lock (this=0x8115dbc) at /tools/ktorrent/libktorrent/src/net/socketmonitor.cpp:108
#5  0x00927545 in net::DownloadThread::update (this=0x9e065a0) at /tools/ktorrent/libktorrent/src/net/downloadthread.cpp:51
#6  0x009277c8 in net::NetworkThread::run (this=0x9e065a0) at /tools/ktorrent/libktorrent/src/net/networkthread.cpp:48
#7  0x0208c6c3 in QThreadPrivate::start (arg=0x9e065a0) at thread/qthread_unix.cpp:320
#8  0x006b4e99 in start_thread (arg=0xae2ecb70) at pthread_create.c:301
#9  0x005f3d2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 3 (Thread 0xadaebb70 (LWP 10409)):
#0  0x02087bad in QMutex::lock (this=0x139659b8) at thread/qmutex.cpp:151
#1  0x00945430 in QMutexLocker (this=0x13965990) at /usr/include/QtCore/qmutex.h:102
#2  bt::PacketWriter::hasBytesToWrite (this=0x13965990) at /tools/ktorrent/libktorrent/src/peer/packetwriter.cpp:286
#3  0x0092ccca in mse::StreamSocket::hasBytesToWrite (this=0x14be5ec8) at /tools/ktorrent/libktorrent/src/mse/streamsocket.cpp:305
#4  0x00926bb8 in bytesReadyToWrite (this=0x9e06928) at /tools/ktorrent/libktorrent/src/net/bufferedsocket.h:118
#5  net::UploadThread::waitForSocketsReady (this=0x9e06928) at /tools/ktorrent/libktorrent/src/net/uploadthread.cpp:122
#6  0x00926d0f in net::UploadThread::update (this=0x9e06928) at /tools/ktorrent/libktorrent/src/net/uploadthread.cpp:45
#7  0x009277c8 in net::NetworkThread::run (this=0x9e06928) at /tools/ktorrent/libktorrent/src/net/networkthread.cpp:48
#8  0x0208c6c3 in QThreadPrivate::start (arg=0x9e06928) at thread/qthread_unix.cpp:320
#9  0x006b4e99 in start_thread (arg=0xadaebb70) at pthread_create.c:301
#10 0x005f3d2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 2 (Thread 0xad2eab70 (LWP 10410)):
#0  0x00d5d416 in __kernel_vsyscall ()
#1  0x005e8c36 in __poll (fds=0xad2e8f7c, nfds=1, timeout=5000) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x007d94c4 in send_dg (statp=0xad2eadf4, buf=0xad2e8fd0 "W\336\001", buflen=43, buf2=0x0, buflen2=0, ans=0xad2e9170 "\016j\201\200", anssiz=1024, ansp=0xad2e99a4, ansp2=0x0, nansp2=0x0, resplen2=0x0) at res_send.c:1058
#3  __libc_res_nsend (statp=0xad2eadf4, buf=0xad2e8fd0 "W\336\001", buflen=43, buf2=0x0, buflen2=0, ans=0xad2e9170 "\016j\201\200", anssiz=1024, ansp=0xad2e99a4, ansp2=0x0, nansp2=0x0, resplen2=0x0) at res_send.c:556
#4  0x007d7037 in __libc_res_nquery (statp=0xad2eadf4, name=0xad2e95a0 "195.5.101.94.in-addr.arpa", class=1, type=12, answer=0xad2e9170 "\016j\201\200", anslen=1024, answerp=0xad2e99a4, answerp2=0x0, nanswerp2=0x0, resplen2=0x0) at res_query.c:225
#5  0x056b5477 in _nss_dns_gethostbyaddr2_r (addr=0x155ab674, len=<value optimized out>, af=<value optimized out>, result=0xad2e9ff4, buffer=0xad2e9a30 "\320^\353\225", buflen=1024, errnop=0xad2eab28, h_errnop=0xad2ea028, ttlp=0x0) at nss_dns/dns-host.c:471
#6  0x0060defb in __gethostbyaddr_r (addr=<value optimized out>, len=4, type=2, resbuf=0xad2e9ff4, buffer=0xad2e9a30 "\320^\353\225", buflen=1024, result=0xad2ea024, h_errnop=0xad2ea028) at ../nss/getXXbyYY_r.c:256
#7  0x00618255 in getnameinfo (sa=0x155ab670, addrlen=16, host=0xad2ea138 "", hostlen=199, serv=0xad2ea070 "", servlen=199, flags=8) at getnameinfo.c:223
#8  0x0092a470 in net::ReverseResolver::resolve (this=0x11ba0b28, addr=...) at /tools/ktorrent/libktorrent/src/net/reverseresolver.cpp:64
#9  0x0092a4f3 in net::ReverseResolver::run (this=0x11ba0b28) at /tools/ktorrent/libktorrent/src/net/reverseresolver.cpp:73
#10 0x0092a914 in net::ReverseResolverThread::run (this=0x1337c040) at /tools/ktorrent/libktorrent/src/net/reverseresolver.cpp:118
#11 0x0208c6c3 in QThreadPrivate::start (arg=0x1337c040) at thread/qthread_unix.cpp:320
#12 0x006b4e99 in start_thread (arg=0xad2eab70) at pthread_create.c:301
#13 0x005f3d2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 1 (Thread 0xb76dc780 (LWP 10336)):
[KCrash Handler]
#7  QAbstractSocketEngine::state (this=0x20020) at socket/qabstractsocketengine.cpp:186
#8  0x023df5cb in QNativeSocketEngine::waitForReadOrWrite (this=0x148e07a8, readyToRead=0xbfcdce7f, readyToWrite=0xbfcdce7e, checkRead=true, checkWrite=true, msecs=-1, timedOut=0x0) at socket/qnativesocketengine.cpp:988
#9  0x023f1b77 in QAbstractSocket::waitForBytesWritten (this=0x13a25f40, msecs=-1) at socket/qabstractsocket.cpp:1924
#10 0x033f95ab in KIO::SocketConnectionBackend::sendCommand (this=0x14302048, task=...) at /usr/src/debug/kdelibs-4.6.3/kio/kio/connection.cpp:294
#11 0x033fa83b in KIO::Connection::sendnow (this=0x1433cf48, _cmd=85, data=...) at /usr/src/debug/kdelibs-4.6.3/kio/kio/connection.cpp:505
#12 0x033fbb0e in KIO::ConnectionPrivate::dequeue (this=0x140d0e00) at /usr/src/debug/kdelibs-4.6.3/kio/kio/connection.cpp:78
#13 0x034d4c55 in KIO::Slave::accept (this=0x15298718) at /usr/src/debug/kdelibs-4.6.3/kio/kio/slave.cpp:120
#14 0x034d5d73 in KIO::Slave::qt_metacall (this=0x15298718, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfcdd08c) at /usr/src/debug/kdelibs-4.6.3/i686-redhat-linux-gnu/kio/slave.moc:81
#15 0x0218a79b in QMetaObject::metacall (object=0x15298718, cl=QMetaObject::InvokeMetaMethod, idx=29, argv=0xbfcdd08c) at kernel/qmetaobject.cpp:237
#16 0x02199cc7 in QMetaObject::activate (sender=0x141dad80, m=0x35f7430, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3278
#17 0x033fb368 in KIO::ConnectionServer::newConnection (this=0x141dad80) at /usr/src/debug/kdelibs-4.6.3/i686-redhat-linux-gnu/kio/connection.moc:157
#18 0x033fb3c2 in KIO::ConnectionServer::qt_metacall (this=0x141dad80, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfcdd19c) at /usr/src/debug/kdelibs-4.6.3/i686-redhat-linux-gnu/kio/connection.moc:146
#19 0x0218a79b in QMetaObject::metacall (object=0x141dad80, cl=QMetaObject::InvokeMetaMethod, idx=4, argv=0xbfcdd19c) at kernel/qmetaobject.cpp:237
#20 0x02199cc7 in QMetaObject::activate (sender=0x15e3cf50, m=0x35f7400, local_signal_index=2, argv=0x0) at kernel/qobject.cpp:3278
#21 0x033fb1b8 in KIO::AbstractConnectionBackend::newConnection (this=0x15e3cf50) at /usr/src/debug/kdelibs-4.6.3/i686-redhat-linux-gnu/kio/connection_p.moc:102
#22 0x033fb23b in KIO::AbstractConnectionBackend::qt_metacall (this=0x15e3cf50, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfcdd2dc) at /usr/src/debug/kdelibs-4.6.3/i686-redhat-linux-gnu/kio/connection_p.moc:78
#23 0x033fb29d in KIO::SocketConnectionBackend::qt_metacall (this=0x15e3cf50, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfcdd2dc) at /usr/src/debug/kdelibs-4.6.3/i686-redhat-linux-gnu/kio/connection_p.moc:153
#24 0x0218a79b in QMetaObject::metacall (object=0x15e3cf50, cl=QMetaObject::InvokeMetaMethod, idx=6, argv=0xbfcdd2dc) at kernel/qmetaobject.cpp:237
#25 0x02199cc7 in QMetaObject::activate (sender=0x13f63aa8, m=0x73c6e74, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3278
#26 0x072a2958 in KLocalSocketServer::newConnection (this=0x13f63aa8) at /usr/src/debug/kdelibs-4.6.3/i686-redhat-linux-gnu/kdecore/klocalsocket.moc:151
#27 0x072a2b71 in KLocalSocketServer::incomingConnection (this=0x13f63aa8, descriptor=1243) at /usr/src/debug/kdelibs-4.6.3/kdecore/network/klocalsocket.cpp:212
#28 0x0731ebb2 in KLocalSocketServerPrivate::processSocketActivity (this=0x15212ab8) at /usr/src/debug/kdelibs-4.6.3/kdecore/network/klocalsocket_unix.cpp:394
#29 0x072a29db in KLocalSocketServer::qt_metacall (this=0x13f63aa8, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfcdd4c8) at /usr/src/debug/kdelibs-4.6.3/i686-redhat-linux-gnu/kdecore/klocalsocket.moc:140
#30 0x0218a79b in QMetaObject::metacall (object=0x13f63aa8, cl=QMetaObject::InvokeMetaMethod, idx=5, argv=0xbfcdd4c8) at kernel/qmetaobject.cpp:237
#31 0x02199cc7 in QMetaObject::activate (sender=0x15e412d8, m=0x22c0a90, local_signal_index=0, argv=0xbfcdd4c8) at kernel/qobject.cpp:3278
#32 0x021e82d4 in QSocketNotifier::activated (this=0x15e412d8, _t1=1113) at .moc/release-shared/moc_qsocketnotifier.cpp:89
#33 0x021a04cf in QSocketNotifier::event (this=0x15e412d8, e=0xbfcdd934) at kernel/qsocketnotifier.cpp:317
#34 0x044a754c in QApplicationPrivate::notify_helper (this=0x9e3f560, receiver=0x15e412d8, e=0xbfcdd934) at kernel/qapplication.cpp:4462
#35 0x044ac252 in QApplication::notify (this=0xbfcddc40, receiver=0x15e412d8, e=0xbfcdd934) at kernel/qapplication.cpp:3862
#36 0x08079487 in kt::App::notify (this=0xbfcddc40, receiver=0x15e412d8, event=0xbfcdd934) at /tools/ktorrent/ktorrent/ktorrent/app.cpp:99
#37 0x02183f63 in QCoreApplication::notifyInternal (this=0xbfcddc40, receiver=0x15e412d8, event=0xbfcdd934) at kernel/qcoreapplication.cpp:731
#38 0x021b162f in sendEvent (source=0x9e416c0) at kernel/qcoreapplication.h:215
#39 socketNotifierSourceDispatch (source=0x9e416c0) at kernel/qeventdispatcher_glib.cpp:110
#40 0x00e1a192 in g_main_dispatch (context=0x9e3f468) at gmain.c:2149
#41 g_main_context_dispatch (context=0x9e3f468) at gmain.c:2702
#42 0x00e1a978 in g_main_context_iterate (context=0x9e3f468, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2780
#43 0x00e1ac35 in g_main_context_iteration (context=0x9e3f468, may_block=1) at gmain.c:2843
#44 0x021b1cad in QEventDispatcherGlib::processEvents (this=0x9e048a0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#45 0x0455b1c6 in QGuiEventDispatcherGlib::processEvents (this=0x9e048a0, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#46 0x021830fa in QEventLoop::processEvents (this=0xbfcddbb4, flags=...) at kernel/qeventloop.cpp:149
#47 0x021833aa in QEventLoop::exec (this=0xbfcddbb4, flags=...) at kernel/qeventloop.cpp:201
#48 0x02187f57 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#49 0x044a5358 in QApplication::exec () at kernel/qapplication.cpp:3736
#50 0x08069071 in main (argc=-1382219775, argv=0x2a9e0060) at /tools/ktorrent/ktorrent/ktorrent/main.cpp:177

Possible duplicates by query: bug 275928, bug 275877, bug 274944, bug 272218, bug 270025.

Reported using DrKonqi
Comment 1 Joris Guisson 2011-06-23 18:17:32 UTC

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