Bug 300906 - ktorrent crashed overnight
Summary: ktorrent crashed overnight
Status: RESOLVED DUPLICATE of bug 268162
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-31 05:17 UTC by mantvydas
Modified: 2012-05-31 11:54 UTC (History)
1 user (show)

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 mantvydas 2012-05-31 05:17:27 UTC
Application: ktorrent (4.0.5)
KDE Platform Version: 4.6.5 (4.6.5) (Compiled from sources)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-15-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
actually, nothing. i left ktorrent running in the evening. and in the morning it was already crashed. and it is not the first time!

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

Thread 5 (Thread 0x7f086b81d700 (LWP 6876)):
#0  0x00007f0876bebae3 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f08725a1104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f08725a19f2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f086c17cc44 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f08725c83e4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f08734aed8c in start_thread (arg=0x7f086b81d700) at pthread_create.c:304
#6  0x00007f0876bf8c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f0843fff700 (LWP 6929)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f0843ffed70 in ?? ()
#2  0x00007ffff1dff639 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 3 (Thread 0x7f08437fe700 (LWP 6930)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f08783562b3 in QMutexPrivate::wait (this=0x1ffa0c0, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x00007f0878352ce5 in QMutex::lock (this=0x6d60e8) at thread/qmutex.cpp:167
#3  0x00007f087a256d9c in net::UploadThread::update (this=0x1ffab40) at ../../src/net/uploadthread.cpp:49
#4  0x00007f087a257719 in net::NetworkThread::run (this=0x1ffab40) at ../../src/net/networkthread.cpp:48
#5  0x00007f0878357175 in QThreadPrivate::start (arg=0x1ffab40) at thread/qthread_unix.cpp:320
#6  0x00007f08734aed8c in start_thread (arg=0x7f08437fe700) at pthread_create.c:304
#7  0x00007f0876bf8c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f0842ffd700 (LWP 6931)):
#0  0x00007f0876be9f3d in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f0876b86578 in _IO_new_file_underflow (fp=0x7f084467aa60) at fileops.c:606
#2  0x00007f0876b8759e in _IO_default_uflow (fp=0x7f084467aa60) at genops.c:440
#3  0x00007f0876b7b6da in _IO_getline_info (fp=0x7f084467aa60, buf=0x7f0842ffc0e0 "-15 Timeout reached\n", n=255, delim=10, extract_delim=1, eof=0x0) at iogetline.c:74
#4  0x00007f0876b7a5aa in _IO_fgets (buf=0x7f0842ffc0e0 "-15 Timeout reached\n", n=<value optimized out>, fp=0x7f084467aa60) at iofgets.c:58
#5  0x00007f084b7410d7 in ?? () from /lib/libnss_mdns4.so.2
#6  0x00007f084b74172f in _nss_mdns4_gethostbyaddr_r () from /lib/libnss_mdns4.so.2
#7  0x00007f0876c12e08 in __gethostbyaddr_r (addr=<value optimized out>, len=4, type=2, resbuf=0x7f0842ffcb60, buffer=0x7f0842ffc530 "\377\002", buflen=1024, result=0x7f0842ffcba0, h_errnop=0x7f0842ffcbb0) at ../nss/getXXbyYY_r.c:256
#8  0x00007f0876c194a5 in getnameinfo (sa=0x77ce420, addrlen=<value optimized out>, host=0x7f0842ffcce0 "", hostlen=199, serv=0x7f0842ffcc10 "", servlen=199, flags=8) at getnameinfo.c:223
#9  0x00007f087a259c2f in net::ReverseResolver::resolve (this=<value optimized out>, addr=...) at ../../src/net/reverseresolver.cpp:64
#10 0x00007f087a259cc7 in net::ReverseResolver::run (this=0x68b6ec0) at ../../src/net/reverseresolver.cpp:73
#11 0x00007f087a25a047 in net::ReverseResolverThread::run (this=0x65c33c0) at ../../src/net/reverseresolver.cpp:118
#12 0x00007f0878357175 in QThreadPrivate::start (arg=0x65c33c0) at thread/qthread_unix.cpp:320
#13 0x00007f08734aed8c in start_thread (arg=0x7f0842ffd700) at pthread_create.c:304
#14 0x00007f0876bf8c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f087a72b780 (LWP 6875)):
[KCrash Handler]
#6  memcpy () at ../sysdeps/x86_64/memcpy.S:267
#7  0x00007f087a2b4989 in bt::Chunk::readPiece (this=<value optimized out>, off=<value optimized out>, len=16384, data=0x7d331ad "\033$\223Z\333\310@\221\361h\220\327\324\364\232\246PZ\235\371#\311M\375\377\273\\\033m\336\071O\376\364\366\276\226\020\245\252\275\tE9`G\224\311VFjN\327\327\363Q\334\240N\236\237a\245\212\034\273<\350'\361\340o}\215\234\375\275\r\260\210d^?N\312h$&\354\335\006G\370\217<\004!\253P\212\225oJ\221\037\064\300~\"H\326n\225\267b\235\001\301S\364\372\236\r\252\251\"F;\033\235\261c\244\363SE\247$\025\v\260x$|\v\227\335\332\215I\304\060!\027\003 \334\321\234|\211\272I\327\206t\367\243\323\337k\004K\310\200\206\376u\221\036\345HL\213\355>mc\250oH\241\361\r\260\312p\374\274s"...) at /usr/include/bits/string3.h:52
#8  0x00007f087a27166c in bt::PacketWriter::sendChunk (this=0x77cb560, index=330, begin=360448, len=16384, ch=<value optimized out>) at ../../src/peer/packetwriter.cpp:195
#9  0x00007f087a270b67 in bt::PeerUploader::update (this=0x7117bb0, cman=..., opt_unchoked=<value optimized out>) at ../../src/peer/peeruploader.cpp:83
#10 0x00007f087a28f6f6 in bt::Uploader::update (this=0x59831e0, opt_unchoked=4294967295) at ../../src/torrent/uploader.cpp:48
#11 0x00007f087a29a50b in bt::TorrentControl::update (this=0x5952830) at ../../src/torrent/torrentcontrol.cpp:173
#12 0x0000000000429ebd in kt::Core::update (this=0x7f085c008f90) at ../../ktorrent/core.cpp:1025
#13 0x0000000000430bc1 in kt::Core::qt_metacall (this=0x7f085c008f90, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0x7ffff1dbd270) at ./core.moc:169
#14 0x00007f08784535f8 in QMetaObject::activate (sender=0x7f085c008fb8, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3287
#15 0x00007f08784521c9 in QObject::event (this=0x7f085c008fb8, e=<value optimized out>) at kernel/qobject.cpp:1190
#16 0x00007f08777fb9f4 in QApplicationPrivate::notify_helper (this=0x206b470, receiver=0x7f085c008fb8, e=0x7ffff1dbd950) at kernel/qapplication.cpp:4462
#17 0x00007f08778003ba in QApplication::notify (this=<value optimized out>, receiver=0x7f085c008fb8, e=0x7ffff1dbd950) at kernel/qapplication.cpp:4341
#18 0x0000000000437d91 in kt::App::notify (this=<value optimized out>, receiver=<value optimized out>, event=<value optimized out>) at ../../ktorrent/app.cpp:97
#19 0x00007f087843e49c in QCoreApplication::notifyInternal (this=0x7ffff1dbdc30, receiver=0x7f085c008fb8, event=0x7ffff1dbd950) at kernel/qcoreapplication.cpp:731
#20 0x00007f087846bf12 in sendEvent (this=0x2045a60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#21 QTimerInfoList::activateTimers (this=0x2045a60) at kernel/qeventdispatcher_unix.cpp:604
#22 0x00007f0878468cf4 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#23 0x00007f08725a0bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f08725a13a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f08725a1639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f08784693ef in QEventDispatcherGlib::processEvents (this=0x2072d20, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#27 0x00007f08778a54de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#28 0x00007f087843d882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#29 0x00007f087843dabc in QEventLoop::exec (this=0x7ffff1dbdbc0, flags=...) at kernel/qeventloop.cpp:201
#30 0x00007f0878441ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#31 0x00000000004271ef in main (argc=5, argv=0x7ffff1dbe9e8) at ../../ktorrent/main.cpp:176

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

Possible duplicates by query: bug 256016, bug 255577, bug 255350, bug 248686, bug 248509.

Reported using DrKonqi
Comment 1 Joris Guisson 2012-05-31 11:54:51 UTC

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