Bug 248509

Summary: KTorrent falla aleatoriamente tras unos segundos en marcha
Product: [Applications] ktorrent Reporter: pedro
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description pedro 2010-08-20 14:10:48 UTC
Application: ktorrent (3.3.4)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-24-generic x86_64
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
Estuvo funcionando correctamente hasta ayer. Instalé Ubuntu 10.04 Start Script y activé algunas funciones.


 -- Backtrace:
Application: KTorrent (ktorrent), signal: Bus error
[Current thread is 1 (Thread 0x7f782673d760 (LWP 3830))]

Thread 5 (Thread 0x7f780d7c2710 (LWP 3834)):
#0  0x00007f7822360fe3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f78262c768e in dht::RPCServerThread::run (this=0x7f7808002e10) at ../../libbtcore/dht/rpcserver.cpp:107
#2  0x00007f7823ce0775 in QThreadPrivate::start (arg=0x7f7808002e10) at thread/qthread_unix.cpp:248
#3  0x00007f7823a509ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f78223686fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f77fdb3f710 (LWP 4128)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f7823ce00e5 in thread_sleep (ti=0x7f77fdb3edb0) at thread/qthread_unix.cpp:398
#2  0x00007f7823ce0250 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:424
#3  0x00007f782626dda7 in net::DownloadThread::update (this=0x1c0fc10) at ../../libbtcore/net/downloadthread.cpp:110
#4  0x00007f782626e6e9 in net::NetworkThread::run (this=0x1c0fc10) at ../../libbtcore/net/networkthread.cpp:48
#5  0x00007f7823ce0775 in QThreadPrivate::start (arg=0x1c0fc10) at thread/qthread_unix.cpp:248
#6  0x00007f7823a509ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#7  0x00007f78223686fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f77fd33e710 (LWP 4129)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f7823ce172b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1c101e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1c101e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f782626d60c in net::UploadThread::update (this=0x1c10170) at ../../libbtcore/net/uploadthread.cpp:73
#4  0x00007f782626e6e9 in net::NetworkThread::run (this=0x1c10170) at ../../libbtcore/net/networkthread.cpp:48
#5  0x00007f7823ce0775 in QThreadPrivate::start (arg=0x1c10170) at thread/qthread_unix.cpp:248
#6  0x00007f7823a509ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#7  0x00007f78223686fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f77fcb3d710 (LWP 4130)):
#0  0x00007f782235a4ad in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f78222f5348 in _IO_new_file_underflow (fp=0x1efa1d0) at fileops.c:606
#2  0x00007f78222f6eee in _IO_default_uflow (fp=0x4) at genops.c:440
#3  0x00007f78222eb43e in _IO_getline_info (fp=0x1efa1d0, buf=0x7f781bcfb000 "RESOLVE-ADDRESS 89.130.131.216\n", n=255, delim=10, extract_delim=1, eof=0x0) at iogetline.c:74
#4  0x00007f78222ea329 in _IO_fgets (buf=0x7f77fcb3c0c0 "d\313!\bx\177", n=<value optimized out>, fp=0x1efa1d0) at iofgets.c:58
#5  0x00007f77fbf18fcb in ?? () from /lib/libnss_mdns.so.2
#6  0x00007f77fbf1945d in _nss_mdns_gethostbyaddr_r () from /lib/libnss_mdns.so.2
#7  0x00007f7822383248 in __gethostbyaddr_r (addr=0x7f780821cb64, len=4, type=<value optimized out>, resbuf=0x7f77fcb3cb50, buffer=<value optimized out>, buflen=<value optimized out>, 
    result=0x7f77fcb3cb80, h_errnop=0x7f77fcb3cb8c) at ../nss/getXXbyYY_r.c:253
#8  0x00007f782238983b in *__GI_getnameinfo (sa=0x7f780821cb60, addrlen=<value optimized out>, host=0x7f77fcb3ccb0 "", hostlen=199, serv=0x7f77fcb3cbe0 "", servlen=199, flags=<value optimized out>)
    at getnameinfo.c:223
#9  0x00007f78262710af in net::ReverseResolver::resolve (this=<value optimized out>, addr=...) at ../../libbtcore/net/reverseresolver.cpp:64
#10 0x00007f7826271150 in net::ReverseResolver::run (this=0x7f7808226df0) at ../../libbtcore/net/reverseresolver.cpp:73
#11 0x00007f7826271247 in net::ReverseResolverThread::run (this=0x2ac0e70) at ../../libbtcore/net/reverseresolver.cpp:118
#12 0x00007f7823ce0775 in QThreadPrivate::start (arg=0x2ac0e70) at thread/qthread_unix.cpp:248
#13 0x00007f7823a509ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#14 0x00007f78223686fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f782673d760 (LWP 3830)):
[KCrash Handler]
#5  memcpy () at ../sysdeps/x86_64/memcpy.S:267
#6  0x00007f78262ccd82 in bt::Chunk::readPiece (this=<value optimized out>, off=<value optimized out>, len=16384, data=0x2c8b04d "") at /usr/include/bits/string3.h:52
#7  0x00007f7826284584 in bt::PacketWriter::sendChunk (this=0x7f78088a47f0, index=2140, begin=2719744, len=16384, ch=<value optimized out>) at ../../libbtcore/peer/packetwriter.cpp:195
#8  0x00007f7826282cc7 in bt::PeerUploader::update (this=0x7f78088b31d0, cman=..., opt_unchoked=<value optimized out>) at ../../libbtcore/peer/peeruploader.cpp:83
#9  0x00007f78262a45f6 in bt::Uploader::update (this=0x21f8030, opt_unchoked=232) at ../../libbtcore/torrent/uploader.cpp:48
#10 0x00007f78262ad296 in bt::TorrentControl::update (this=0x2171d90) at ../../libbtcore/torrent/torrentcontrol.cpp:160
#11 0x0000000000430d9b in kt::Core::update (this=0x1ef4650) at ../../ktorrent/core.cpp:849
#12 0x0000000000436926 in kt::Core::qt_metacall (this=0x1ef4650, _c=QMetaObject::InvokeMetaMethod, _id=46706765, _a=0x7fff2d282ed0) at ./core.moc:155
#13 0x00007f7823de7e3f in QMetaObject::activate (sender=0x1ef4678, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x800) at kernel/qobject.cpp:3293
#14 0x00007f7823de4a63 in QObject::event (this=0x1ef4678, e=0x7fff2d283620) at kernel/qobject.cpp:1212
#15 0x00007f7822f7122c in QApplicationPrivate::notify_helper (this=0x1c3bb90, receiver=0x1ef4678, e=0x7fff2d283620) at kernel/qapplication.cpp:4300
#16 0x00007f7822f776fb in QApplication::notify (this=0x7fff2d283950, receiver=0x1ef4678, e=0x7fff2d283620) at kernel/qapplication.cpp:4183
#17 0x00007f782541b526 in KApplication::notify (this=0x7fff2d283950, receiver=0x1ef4678, event=0x7fff2d283620) at ../../kdeui/kernel/kapplication.cpp:302
#18 0x00007f7823dd506c in QCoreApplication::notifyInternal (this=0x7fff2d283950, receiver=0x1ef4678, event=0x7fff2d283620) at kernel/qcoreapplication.cpp:704
#19 0x00007f7823e01d42 in QCoreApplication::sendEvent (this=0x1c43f20) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#20 QTimerInfoList::activateTimers (this=0x1c43f20) at kernel/qeventdispatcher_unix.cpp:603
#21 0x00007f7823dfe848 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#22 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#23 0x00007f781e9ea8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#24 0x00007f781e9ee748 in ?? () from /lib/libglib-2.0.so.0
#25 0x00007f781e9ee8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#26 0x00007f7823dfe513 in QEventDispatcherGlib::processEvents (this=0x1c37960, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#27 0x00007f782302146e in QGuiEventDispatcherGlib::processEvents (this=0x2c8b04d, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#28 0x00007f7823dd3992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#29 0x00007f7823dd3d6c in QEventLoop::exec (this=0x7fff2d2838c0, flags=) at kernel/qeventloop.cpp:201
#30 0x00007f7823dd7aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#31 0x0000000000427294 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../ktorrent/main.cpp:172

This bug may be a duplicate of or related to bug 227400.

Possible duplicates by query: bug 235873.

Reported using DrKonqi
Comment 1 Joris Guisson 2010-08-20 17:59:19 UTC

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