Bug 280675 - ktorrent crashes
Summary: ktorrent crashes
Status: RESOLVED DUPLICATE of bug 268162
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-23 22:34 UTC by lewisnigh
Modified: 2011-08-24 16:29 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lewisnigh 2011-08-23 22:34:05 UTC
Application: ktorrent (4.0.5)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-11-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:

ktorrent was running doing uploads and downloads. No other operations were being performed at the time.

The crash can be reproduced every time.

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

Thread 6 (Thread 0x7f6a79ea5700 (LWP 1725)):
#0  0x00007f6a84e93f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f6a80848104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6a808489f2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6a7a804c44 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f6a8086f3e4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f6a81755d8c in start_thread (arg=0x7f6a79ea5700) at pthread_create.c:304
#6  0x00007f6a84ea104d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f6a53e54700 (LWP 1786)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6a866042b3 in QMutexPrivate::wait (this=0xf36150, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x00007f6a86600ce5 in QMutex::lock (this=0x6d60e8) at thread/qmutex.cpp:167
#3  0x00007f6a8850254c in net::DownloadThread::update (this=0xf361d0) at ../../src/net/downloadthread.cpp:51
#4  0x00007f6a88502719 in net::NetworkThread::run (this=0xf361d0) at ../../src/net/networkthread.cpp:48
#5  0x00007f6a86605175 in QThreadPrivate::start (arg=0xf361d0) at thread/qthread_unix.cpp:320
#6  0x00007f6a81755d8c in start_thread (arg=0x7f6a53e54700) at pthread_create.c:304
#7  0x00007f6a84ea104d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f6a53653700 (LWP 1787)):
#0  0x00007f6a88506b04 in mse::StreamSocket::hasBytesToWrite (this=<value optimized out>) at ../../src/mse/streamsocket.cpp:309
#1  0x00007f6a88501c5e in bytesReadyToWrite (this=0xf36bd0) at ../../src/net/bufferedsocket.h:118
#2  net::UploadThread::waitForSocketsReady (this=0xf36bd0) at ../../src/net/uploadthread.cpp:122
#3  0x00007f6a88501d86 in net::UploadThread::update (this=0xf36bd0) at ../../src/net/uploadthread.cpp:45
#4  0x00007f6a88502719 in net::NetworkThread::run (this=0xf36bd0) at ../../src/net/networkthread.cpp:48
#5  0x00007f6a86605175 in QThreadPrivate::start (arg=0xf36bd0) at thread/qthread_unix.cpp:320
#6  0x00007f6a81755d8c in start_thread (arg=0x7f6a53653700) at pthread_create.c:304
#7  0x00007f6a84ea104d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f6a52e52700 (LWP 1788)):
#0  0x00007f6a84e93f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f6a7a0cf7cf in send_dg (statp=0x7f6a52e52db8, buf=0x7f6a52e509e0 "N\206\001", buflen=44, buf2=0x0, buflen2=0, ans=0x7f6a52e50bb0 "]\n\201\200", anssiz=1024, ansp=0x7f6a52e51440, ansp2=0x0, nansp2=0x0, resplen2=0x0) at res_send.c:1066
#2  __libc_res_nsend (statp=0x7f6a52e52db8, buf=0x7f6a52e509e0 "N\206\001", buflen=44, buf2=0x0, buflen2=0, ans=0x7f6a52e50bb0 "]\n\201\200", anssiz=1024, ansp=0x7f6a52e51440, ansp2=0x0, nansp2=0x0, resplen2=0x0) at res_send.c:556
#3  0x00007f6a7a0cd215 in __libc_res_nquery (statp=0x7f6a52e52db8, name=0x7f6a52e51030 "161.14.103.79.in-addr.arpa", class=1, type=12, answer=0x7f6a52e50bb0 "]\n\201\200", anslen=1024, answerp=0x7f6a52e51440, answerp2=0x0, nanswerp2=0x0, resplen2=0x0) at res_query.c:225
#4  0x00007f6a5853ebd0 in _nss_dns_gethostbyaddr2_r (addr=0x20f5dc4, len=<value optimized out>, af=<value optimized out>, result=0x7f6a52e51b60, buffer=0x7f6a52e51530 "\377\002", buflen=1024, errnop=0x7f6a52e52660, h_errnop=0x7f6a52e51bb0, ttlp=0x0) at nss_dns/dns-host.c:471
#5  0x00007f6a84ebb228 in __gethostbyaddr_r (addr=<value optimized out>, len=4, type=2, resbuf=0x7f6a52e51b60, buffer=0x7f6a52e51530 "\377\002", buflen=1024, result=0x7f6a52e51ba0, h_errnop=0x7f6a52e51bb0) at ../nss/getXXbyYY_r.c:256
#6  0x00007f6a84ec18c5 in getnameinfo (sa=0x20f5dc0, addrlen=<value optimized out>, host=0x7f6a52e51ce0 "", hostlen=199, serv=0x7f6a52e51c10 "", servlen=199, flags=8) at getnameinfo.c:223
#7  0x00007f6a88504c2f in net::ReverseResolver::resolve (this=<value optimized out>, addr=...) at ../../src/net/reverseresolver.cpp:64
#8  0x00007f6a88504cc7 in net::ReverseResolver::run (this=0x1ce32b0) at ../../src/net/reverseresolver.cpp:73
#9  0x00007f6a88505047 in net::ReverseResolverThread::run (this=0x1ad3f70) at ../../src/net/reverseresolver.cpp:118
#10 0x00007f6a86605175 in QThreadPrivate::start (arg=0x1ad3f70) at thread/qthread_unix.cpp:320
#11 0x00007f6a81755d8c in start_thread (arg=0x7f6a52e52700) at pthread_create.c:304
#12 0x00007f6a84ea104d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f6a55f82700 (LWP 1801)):
#0  0x00007f6a84e93f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f6a7a0cf7cf in send_dg (statp=0x7f6a55f82db8, buf=0x7f6a55f7fcc0 "\200\003\001", buflen=32, buf2=0x0, buflen2=0, ans=0x7f6a55f807f0 "\200\003\201\202", anssiz=1024, ansp=0x7f6a55f81050, ansp2=0x0, nansp2=0x0, resplen2=0x0) at res_send.c:1066
#2  __libc_res_nsend (statp=0x7f6a55f82db8, buf=0x7f6a55f7fcc0 "\200\003\001", buflen=32, buf2=0x0, buflen2=0, ans=0x7f6a55f807f0 "\200\003\201\202", anssiz=1024, ansp=0x7f6a55f81050, ansp2=0x0, nansp2=0x0, resplen2=0x0) at res_send.c:556
#3  0x00007f6a7a0cd215 in __libc_res_nquery (statp=0x7f6a55f82db8, name=0x7f6a55f7fea0 "bt.newfiles.ge.", class=1, type=1, answer=0x7f6a55f807f0 "\200\003\201\202", anslen=1024, answerp=0x7f6a55f81050, answerp2=0x0, nanswerp2=0x0, resplen2=0x0) at res_query.c:225
#4  0x00007f6a7a0cd7be in __libc_res_nquerydomain (statp=0x7f6a55f82db8, name=<value optimized out>, domain=0x7f6a55f82e38 "", class=1, type=1, answer=0x7f6a55f807f0 "\200\003\201\202", anslen=1024, answerp=0x7f6a55f81050, answerp2=0x0, nanswerp2=0x0, resplen2=0x0) at res_query.c:576
#5  0x00007f6a7a0cda24 in __libc_res_nsearch (statp=0x7f6a55f82db8, name=0x1b1afc8 "bt.newfiles.ge", class=1, type=1, answer=0x7f6a55f807f0 "\200\003\201\202", anslen=1024, answerp=0x7f6a55f81050, answerp2=0x0, nanswerp2=0x0, resplen2=0x0) at res_query.c:414
#6  0x00007f6a5853ee89 in _nss_dns_gethostbyname3_r (name=0x1b1afc8 "bt.newfiles.ge", af=2, result=0x7f6a55f814e0, buffer=0x7f6a55f81170 "\377\002", buflen=512, errnop=0x7f6a55f82660, h_errnop=0x7f6a55f81550, canonp=0x0, ttlp=0x0) at nss_dns/dns-host.c:197
#7  0x00007f6a84ebb9e1 in __gethostbyname2_r (name=0x1b1afc8 "bt.newfiles.ge", af=2, resbuf=0x7f6a55f814e0, buffer=0x7f6a55f81170 "\377\002", buflen=512, result=0x7f6a55f81510, h_errnop=0x7f6a55f81550) at ../nss/getXXbyYY_r.c:256
#8  0x00007f6a84e74d4b in gaih_inet (name=0x1b1afc8 "bt.newfiles.ge", service=<value optimized out>, req=0x7f6a55f816a0, pai=0x7f6a55f81740, naddrs=0x7f6a55f81760) at ../sysdeps/posix/getaddrinfo.c:531
#9  0x00007f6a84e776b2 in getaddrinfo (name=0x1b1afc8 "bt.newfiles.ge", service=<value optimized out>, hints=0x7f6a55f816a0, pai=0x7f6a55f81858) at ../sysdeps/posix/getaddrinfo.c:2161
#10 0x00007f6a86f9444a in QHostInfoAgent::fromName (hostName=...) at kernel/qhostinfo_unix.cpp:219
#11 0x00007f6a86f895e3 in QHostInfoRunnable::run (this=0x1adbfe0) at kernel/qhostinfo.cpp:455
#12 0x00007f6a865fa188 in QThreadPoolThread::run (this=0x7f6a681301d0) at concurrent/qthreadpool.cpp:106
#13 0x00007f6a86605175 in QThreadPrivate::start (arg=0x7f6a681301d0) at thread/qthread_unix.cpp:320
#14 0x00007f6a81755d8c in start_thread (arg=0x7f6a55f82700) at pthread_create.c:304
#15 0x00007f6a84ea104d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#16 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f6a889eb780 (LWP 1724)):
[KCrash Handler]
#6  memcpy () at ../sysdeps/x86_64/memcpy.S:267
#7  0x00007f6a848bf0b6 in QCA::MemoryRegion::MemoryRegion(QByteArray const&) () from /usr/lib/libqca.so.2
#8  0x00007f6a848d54c5 in QCA::Hash::update(QByteArray const&) () from /usr/lib/libqca.so.2
#9  0x00007f6a884ee0ca in bt::SHA1HashGen::update (this=0x1adc0e0, data=0x7f6a88822efb "\217\332\323\375n\321\340\377\203\371l\237\005:o\254^\265e\253\333\257<|\215\317 \362k!7\231\"\365\264\330!\317\220A\376\315i\353;\340\207=\r,\250\200\373\350^\031\fZqQ3\362\">\352\372\331\327\327\314a\305\267\276\373\356\032\373\333\377\377\276\341\354\356\f\223\374}\305\317\022\017\206\220I;\vY\372\314\001\260\247\002\032D@\204H\307\303\317\371\352A\273\066\321\336u:\317~l\253\r\\GR\020\202\003z\027_\\\367<\262\311)4Y\355V\372\202\350\303\253 \330\342\071\354\031\005C'\354}y74\261S\323'0\334\306`^\312\205`\264o\r\205\217\253\205\342\367\313\375_}\367\335\337s\276", len=16384) at ../../src/util/sha1hashgen.cpp:240
#10 0x00007f6a88524881 in bt::ChunkDownload::updateHash (this=0x1adc020) at ../../src/download/chunkdownload.cpp:555
#11 0x00007f6a885264d7 in bt::ChunkDownload::piece (this=0x1adc020, p=..., ok=<value optimized out>) at ../../src/download/chunkdownload.cpp:127
#12 0x00007f6a8852a857 in bt::Downloader::pieceReceived (this=0x1337720, p=...) at ../../src/download/downloader.cpp:134
#13 0x00007f6a88514d6c in bt::Peer::packetReady (this=0x1d351e0, packet=0x7f6a740d67b0 "\a", len=<value optimized out>) at ../../src/peer/peer.cpp:283
#14 0x00007f6a8851d2f8 in bt::PacketReader::update (this=0x1cef6f0) at ../../src/peer/packetreader.cpp:141
#15 0x00007f6a88512f35 in bt::Peer::update (this=0x1d351e0) at ../../src/peer/peer.cpp:538
#16 0x00007f6a88517859 in bt::PeerManager::update (this=0x12d6500) at ../../src/peer/peermanager.cpp:144
#17 0x00007f6a885454cf in bt::TorrentControl::update (this=0x12cccb0) at ../../src/torrent/torrentcontrol.cpp:163
#18 0x0000000000429ebd in kt::Core::update (this=0x1170120) at ../../ktorrent/core.cpp:1025
#19 0x0000000000430bc1 in kt::Core::qt_metacall (this=0x1170120, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0x7fffd3e20d30) at ./core.moc:169
#20 0x00007f6a867015f8 in QMetaObject::activate (sender=0x1170148, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3287
#21 0x00007f6a867001c9 in QObject::event (this=0x1170148, e=<value optimized out>) at kernel/qobject.cpp:1190
#22 0x00007f6a85aa99f4 in QApplicationPrivate::notify_helper (this=0xfa9bf0, receiver=0x1170148, e=0x7fffd3e21410) at kernel/qapplication.cpp:4462
#23 0x00007f6a85aae3ba in QApplication::notify (this=<value optimized out>, receiver=0x1170148, e=0x7fffd3e21410) at kernel/qapplication.cpp:4341
#24 0x0000000000437d91 in kt::App::notify (this=<value optimized out>, receiver=<value optimized out>, event=<value optimized out>) at ../../ktorrent/app.cpp:97
#25 0x00007f6a866ec49c in QCoreApplication::notifyInternal (this=0x7fffd3e216f0, receiver=0x1170148, event=0x7fffd3e21410) at kernel/qcoreapplication.cpp:731
#26 0x00007f6a86719f12 in sendEvent (this=0xfa4bd0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#27 QTimerInfoList::activateTimers (this=0xfa4bd0) at kernel/qeventdispatcher_unix.cpp:604
#28 0x00007f6a86716d18 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#29 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#30 0x00007f6a80847bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f6a808483a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f6a80848639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f6a867173ef in QEventDispatcherGlib::processEvents (this=0xf2d340, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#34 0x00007f6a85b534de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007f6a866eb882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#36 0x00007f6a866ebabc in QEventLoop::exec (this=0x7fffd3e21680, flags=...) at kernel/qeventloop.cpp:201
#37 0x00007f6a866efecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#38 0x00000000004271ef in main (argc=5, argv=0x7fffd3e224a8) at ../../ktorrent/main.cpp:176

Possible duplicates by query: bug 280472, bug 280358, bug 280281, bug 278911, bug 278416.

Reported using DrKonqi
Comment 1 Joris Guisson 2011-08-24 16:29:40 UTC

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