Bug 267104 - KTorrent crash in background
Summary: KTorrent crash in background
Status: RESOLVED DUPLICATE of bug 247984
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-02-24 22:37 UTC by nicola.garegnani
Modified: 2011-02-25 18:50 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 nicola.garegnani 2011-02-24 22:37:46 UTC
Application: ktorrent (4.0.3)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-25-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
Ktorrent crash while i opened a pdf downloaded from firefox.
Other application opened: chrome lyx document viewer

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

Thread 7 (Thread 0x7f91af2d0700 (LWP 2854)):
#0  0x00007f91bb149665 in __pthread_mutex_lock (mutex=0xdd59e8) at pthread_mutex_lock.c:61
#1  0x00007f91b486b131 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f91b486b7b5 in g_main_loop_run () from /lib/libglib-2.0.so.0
#3  0x00007f91afa073c4 in ?? () from /usr/lib/libgio-2.0.so.0
#4  0x00007f91b48907e4 in ?? () from /lib/libglib-2.0.so.0
#5  0x00007f91bb147971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007f91b9a1c92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f91a1550700 (LWP 2860)):
#0  0x00007f91b9a10203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=2) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f91b486b009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f91b486b45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f91bb4f21e6 in QEventDispatcherGlib::processEvents (this=0x108e5d0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007f91bb4c4a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f91bb4c4dec in QEventLoop::exec (this=0x7f91a154fdb0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f91bb3cf2fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007f91bda4915e in utp::UTPServerThread::run (this=0x108e630) at ../../src/utp/utpserverthread.cpp:44
#8  0x00007f91bb3d227e in QThreadPrivate::start (arg=0x108e630) at thread/qthread_unix.cpp:266
#9  0x00007f91bb147971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007f91b9a1c92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f91a0d4f700 (LWP 2861)):
#0  0x00007f91b9a152c3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f91bda10212 in dht::RPCServerThread::run (this=0x1095b60) at ../../src/dht/rpcserver.cpp:107
#2  0x00007f91bb3d227e in QThreadPrivate::start (arg=0x1095b60) at thread/qthread_unix.cpp:266
#3  0x00007f91bb147971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#4  0x00007f91b9a1c92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f9199956700 (LWP 2951)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007f91bb3d1845 in thread_sleep (ti=0x7f9199955da0) at thread/qthread_unix.cpp:416
#2  0x00007f91bb3d19b0 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:442
#3  0x00007f91bd9ad9dd in net::DownloadThread::update (this=0xd4e320) at ../../src/net/downloadthread.cpp:91
#4  0x00007f91bd9ae2c9 in net::NetworkThread::run (this=0xd4e320) at ../../src/net/networkthread.cpp:48
#5  0x00007f91bb3d227e in QThreadPrivate::start (arg=0xd4e320) at thread/qthread_unix.cpp:266
#6  0x00007f91bb147971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#7  0x00007f91b9a1c92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f9187f30700 (LWP 2952)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007f91bb3d1845 in thread_sleep (ti=0x7f9187f2fda0) at thread/qthread_unix.cpp:416
#2  0x00007f91bb3d19b0 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:442
#3  0x00007f91bd9ad07d in net::UploadThread::update (this=0xd4e990) at ../../src/net/uploadthread.cpp:89
#4  0x00007f91bd9ae2c9 in net::NetworkThread::run (this=0xd4e990) at ../../src/net/networkthread.cpp:48
#5  0x00007f91bb3d227e in QThreadPrivate::start (arg=0xd4e990) at thread/qthread_unix.cpp:266
#6  0x00007f91bb147971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#7  0x00007f91b9a1c92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f918772f700 (LWP 2953)):
#0  0x00007f91b9a0e72d in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f91b99a9278 in _IO_new_file_underflow (fp=0x7f9194008080) at fileops.c:606
#2  0x00007f91b99aadfe in _IO_default_uflow (fp=0x4) at genops.c:440
#3  0x00007f91b999f32e in _IO_getline_info (fp=0x7f9194008080, buf=0x7f91bded2000 "RESOLVE-ADDRESS 188.11.63.171\n", n=255, delim=10, extract_delim=1, eof=0x0) at iogetline.c:74
#4  0x00007f91b999e209 in _IO_fgets (buf=0x7f918772e0d0 "-15 Timeout reached\n", n=<value optimized out>, fp=0x7f9194008080) at iofgets.c:58
#5  0x00007f9198b8afcb in ?? () from /lib/libnss_mdns4.so.2
#6  0x00007f9198b8b435 in _nss_mdns4_gethostbyaddr_r () from /lib/libnss_mdns4.so.2
#7  0x00007f91b9a37578 in __gethostbyaddr_r (addr=0x80a83d4, len=4, type=<value optimized out>, resbuf=0x7f918772eb50, buffer=<value optimized out>, buflen=<value optimized out>, result=0x7f918772eb80, h_errnop=0x7f918772eb8c) at ../nss/getXXbyYY_r.c:253
#8  0x00007f91b9a3db6b in getnameinfo (sa=0x80a83d0, addrlen=<value optimized out>, host=0x7f918772ecb0 "", hostlen=199, serv=0x7f918772ebe0 "", servlen=199, flags=<value optimized out>) at getnameinfo.c:223
#9  0x00007f91bd9b0f4f in net::ReverseResolver::resolve (this=<value optimized out>, addr=...) at ../../src/net/reverseresolver.cpp:64
#10 0x00007f91bd9b0ff0 in net::ReverseResolver::run (this=0x5190c40) at ../../src/net/reverseresolver.cpp:73
#11 0x00007f91bd9b11dd in net::ReverseResolverThread::run (this=0x7f919400f710) at ../../src/net/reverseresolver.cpp:118
#12 0x00007f91bb3d227e in QThreadPrivate::start (arg=0x7f919400f710) at thread/qthread_unix.cpp:266
#13 0x00007f91bb147971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#14 0x00007f91b9a1c92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f91bde92760 (LWP 2853)):
[KCrash Handler]
#6  memcpy () at ../sysdeps/x86_64/memcpy.S:267
#7  0x00007f91b94370b6 in QCA::MemoryRegion::MemoryRegion(QByteArray const&) () from /usr/lib/libqca.so.2
#8  0x00007f91b944d4c5 in QCA::Hash::update(QByteArray const&) () from /usr/lib/libqca.so.2
#9  0x00007f91bd9964ab in bt::SHA1HashGen::update (this=0x65207a0, data=0x7f91bdec5000 "\301\213\325\217\307\336\266\330%\t\n\025\211w\255\177\364t\252\342S\312\201\204\200ee\340\302B\273@2\003j\265M\017\301\006A'\366\201\061\324D\352yX\221 \226\310\363\313\253\070\006\321\036\002\210 \211<\005P\220^\256X7\363\032\240\021\354\216&\320\060(\201\223\267\263 \036O:\207nd\205\066\274\026\"@Ce\217\317l\311\232\264\231&L5\311$8Q:\272\302m\333\264\267\365e\302\207\331\263d'\027\300f\247d\326W\342\bF\a\321\036\064$\311+m\t\n\371\305(\b\323\006,\022Z\240\255i\246\033\344\377:@5\224\031M\313\321\210,N\260\071\370\221\265J\366@\335E\342\342\371\323\353\062\316W\225Rfe"..., len=16384) at ../../src/util/sha1hashgen.cpp:240
#10 0x00007f91bd9d10e3 in bt::ChunkDownload::updateHash (this=0x65206e0) at ../../src/download/chunkdownload.cpp:555
#11 0x00007f91bd9d32e8 in bt::ChunkDownload::piece (this=0x65206e0, p=..., ok=<value optimized out>) at ../../src/download/chunkdownload.cpp:127
#12 0x00007f91bd9d9bde in bt::Downloader::pieceReceived (this=0x24fe090, p=...) at ../../src/download/downloader.cpp:134
#13 0x00007f91bd9bd315 in bt::Peer::packetReady (this=0x5208830, packet=0x7294480 "\a", len=<value optimized out>) at ../../src/peer/peer.cpp:283
#14 0x00007f91bd9c8248 in bt::PacketReader::update (this=0x94c40d0) at ../../src/peer/packetreader.cpp:141
#15 0x00007f91bd9bc0d5 in bt::Peer::update (this=0x5208830) at ../../src/peer/peer.cpp:538
#16 0x00007f91bd9c1995 in bt::PeerManager::update (this=0x2445c50) at ../../src/peer/peermanager.cpp:144
#17 0x00007f91bd9f38a4 in bt::TorrentControl::update (this=0x2442f60) at ../../src/torrent/torrentcontrol.cpp:163
#18 0x00000000004289fb in kt::Core::update (this=0x10899d0) at ../../ktorrent/core.cpp:1030
#19 0x0000000000431222 in kt::Core::qt_metacall (this=0x10899d0, _c=QMetaObject::InvokeMetaMethod, _id=100788696, _a=0x7fffce15eb30) at ./core.moc:167
#20 0x00007f91bb4ddb27 in QMetaObject::activate (sender=0x10899f8, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x600) at kernel/qobject.cpp:3280
#21 0x00007f91bb4d78f9 in QObject::event (this=0x10899f8, e=0x7f91bdec6000) at kernel/qobject.cpp:1183
#22 0x00007f91ba60ffdc in QApplicationPrivate::notify_helper (this=0xd7b750, receiver=0x10899f8, e=0x7fffce15f260) at kernel/qapplication.cpp:4396
#23 0x00007f91ba615aed in QApplication::notify (this=0x7fffce15f590, receiver=0x10899f8, e=0x7fffce15f260) at kernel/qapplication.cpp:4277
#24 0x0000000000437d1a in kt::App::notify (this=0x601f9d8, receiver=0x7f91bdec6000, event=0x4000) at ../../ktorrent/app.cpp:97
#25 0x00007f91bb4c5cdc in QCoreApplication::notifyInternal (this=0x7fffce15f590, receiver=0x10899f8, event=0x7fffce15f260) at kernel/qcoreapplication.cpp:732
#26 0x00007f91bb4f56f2 in sendEvent (this=0xd82730) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#27 QTimerInfoList::activateTimers (this=0xd82730) at kernel/qeventdispatcher_unix.cpp:602
#28 0x00007f91bb4f24c8 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 0x00007f91b4867342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#31 0x00007f91b486b2a8 in ?? () from /lib/libglib-2.0.so.0
#32 0x00007f91b486b45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#33 0x00007f91bb4f2193 in QEventDispatcherGlib::processEvents (this=0xd4c320, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#34 0x00007f91ba6c2a4e in QGuiEventDispatcherGlib::processEvents (this=0x601f9d8, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007f91bb4c4a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#36 0x00007f91bb4c4dec in QEventLoop::exec (this=0x7fffce15f500, flags=) at kernel/qeventloop.cpp:201
#37 0x00007f91bb4c8ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#38 0x0000000000426a8b in main (argc=<value optimized out>, argv=<value optimized out>) at ../../ktorrent/main.cpp:176

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

Possible duplicates by query: bug 266962, bug 263830, bug 263012, bug 262378, bug 262037.

Reported using DrKonqi
Comment 1 Joris Guisson 2011-02-25 18:50:29 UTC

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