Bug 283406 - kTorrent crash after wake up.
Summary: kTorrent crash after wake up.
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-10-05 17:52 UTC by Siarhiej Chalipau
Modified: 2011-10-06 16:22 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 Siarhiej Chalipau 2011-10-05 17:52:38 UTC
Application: ktorrent (4.0.5)
KDE Platform Version: 4.6.5 (4.6.5)
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:

I usually place my torrents data on USB hard drive auto-mounted by KDE Device Notifier. I don't stop ktorrent when I'm sending my laptop to sleep. Sometimes ktorrent crashes after I wake up the laptop.

The crash can be reproduced some of the time.

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

Thread 5 (Thread 0x7fd47e3d4700 (LWP 10044)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007fd47e3d3cb0 in ?? ()
#2  0x00007fff2cdff639 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 4 (Thread 0x7fd47dbd3700 (LWP 10045)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fd4a3f0e2b3 in QMutexPrivate::wait (this=0xc03150, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x00007fd4a3f0ace5 in QMutex::lock (this=0x6d60e8) at thread/qmutex.cpp:167
#3  0x00007fd4a5e0ed9c in net::UploadThread::update (this=0xc03bd0) at ../../src/net/uploadthread.cpp:49
#4  0x00007fd4a5e0f719 in net::NetworkThread::run (this=0xc03bd0) at ../../src/net/networkthread.cpp:48
#5  0x00007fd4a3f0f175 in QThreadPrivate::start (arg=0xc03bd0) at thread/qthread_unix.cpp:320
#6  0x00007fd48874b853 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#7  0x00007fd49f05fd8c in start_thread (arg=0x7fd47dbd3700) at pthread_create.c:304
#8  0x00007fd4a27ab04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fd47d3d2700 (LWP 10046)):
#0  0x00007fd4a279c35d in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007fd4a2738a78 in _IO_new_file_underflow (fp=0x7fd478010ea0) at fileops.c:606
#2  0x00007fd4a2739a9e in _IO_default_uflow (fp=0x7fd478010ea0) at genops.c:440
#3  0x00007fd4a272dbda in _IO_getline_info (fp=0x7fd478010ea0, buf=0x7fd47d3d1020 "-15 Timeout reached\n", n=255, delim=10, extract_delim=1, eof=0x0) at iogetline.c:74
#4  0x00007fd4a272caaa in _IO_fgets (buf=0x7fd47d3d1020 "-15 Timeout reached\n", n=<value optimized out>, fp=0x7fd478010ea0) at iofgets.c:58
#5  0x00007fd47c1050d7 in ?? () from /lib/libnss_mdns4.so.2
#6  0x00007fd47c10572f in _nss_mdns4_gethostbyaddr_r () from /lib/libnss_mdns4.so.2
#7  0x00007fd4a27c5228 in __gethostbyaddr_r (addr=<value optimized out>, len=4, type=2, resbuf=0x7fd47d3d1aa0, buffer=0x7fd47d3d1470 "\377\002", buflen=1024, result=0x7fd47d3d1ae0, h_errnop=0x7fd47d3d1af0) at ../nss/getXXbyYY_r.c:256
#8  0x00007fd4a27cb8c5 in getnameinfo (sa=0x7fd48c4325f0, addrlen=<value optimized out>, host=0x7fd47d3d1c20 "", hostlen=199, serv=0x7fd47d3d1b50 "", servlen=199, flags=8) at getnameinfo.c:223
#9  0x00007fd4a5e11c2f in net::ReverseResolver::resolve (this=<value optimized out>, addr=...) at ../../src/net/reverseresolver.cpp:64
#10 0x00007fd4a5e11cc7 in net::ReverseResolver::run (this=0x7fd48cb82c80) at ../../src/net/reverseresolver.cpp:73
#11 0x00007fd4a5e12047 in net::ReverseResolverThread::run (this=0x7fd48c28e400) at ../../src/net/reverseresolver.cpp:118
#12 0x00007fd4a3f0f175 in QThreadPrivate::start (arg=0x7fd48c28e400) at thread/qthread_unix.cpp:320
#13 0x00007fd48874b853 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#14 0x00007fd49f05fd8c in start_thread (arg=0x7fd47d3d2700) at pthread_create.c:304
#15 0x00007fd4a27ab04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#16 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fd4801fd700 (LWP 10855)):
#0  0x00007fd4a279df03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fd49e152104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd49e152639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd4a4021446 in QEventDispatcherGlib::processEvents (this=0x1621db0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fd4a3ff5882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fd4a3ff5abc in QEventLoop::exec (this=0x7fd4801fcd10, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fd4a3f0c924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007fd4a3fd7c2f in QInotifyFileSystemWatcherEngine::run (this=0x7fd48c935490) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fd4a3f0f175 in QThreadPrivate::start (arg=0x7fd48c935490) at thread/qthread_unix.cpp:320
#9  0x00007fd48874b853 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#10 0x00007fd49f05fd8c in start_thread (arg=0x7fd4801fd700) at pthread_create.c:304
#11 0x00007fd4a27ab04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fd4a62e3780 (LWP 10003)):
[KCrash Handler]
#6  memcpy () at ../sysdeps/x86_64/memcpy.S:267
#7  0x00007fd4a5e33441 in bt::ChunkDownload::piece (this=0x1a7ee10, p=..., ok=@0x7fff2cdd60ef) at /usr/include/bits/string3.h:52
#8  0x00007fd4a5e37857 in bt::Downloader::pieceReceived (this=0x133de10, p=...) at ../../src/download/downloader.cpp:134
#9  0x00007fd4a5e21d6c in bt::Peer::packetReady (this=0x7fd48c8d2b60, packet=0x1beb920 "\a", len=<value optimized out>) at ../../src/peer/peer.cpp:283
#10 0x00007fd4a5e2a2f8 in bt::PacketReader::update (this=0x7fd48c95d500) at ../../src/peer/packetreader.cpp:141
#11 0x00007fd4a5e1ff35 in bt::Peer::update (this=0x7fd48c8d2b60) at ../../src/peer/peer.cpp:538
#12 0x00007fd4a5e24859 in bt::PeerManager::update (this=0x1335000) at ../../src/peer/peermanager.cpp:144
#13 0x00007fd4a5e524cf in bt::TorrentControl::update (this=0x1329db0) at ../../src/torrent/torrentcontrol.cpp:163
#14 0x0000000000429ebd in kt::Core::update (this=0x7fd48c003e10) at ../../ktorrent/core.cpp:1025
#15 0x0000000000430bc1 in kt::Core::qt_metacall (this=0x7fd48c003e10, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0x7fff2cdd64a0) at ./core.moc:169
#16 0x00007fd4a400b5f8 in QMetaObject::activate (sender=0x7fd48c003e38, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3287
#17 0x00007fd4a400a1c9 in QObject::event (this=0x7fd48c003e38, e=<value optimized out>) at kernel/qobject.cpp:1190
#18 0x00007fd4a33b39f4 in QApplicationPrivate::notify_helper (this=0xc83d10, receiver=0x7fd48c003e38, e=0x7fff2cdd6b80) at kernel/qapplication.cpp:4462
#19 0x00007fd4a33b83ba in QApplication::notify (this=<value optimized out>, receiver=0x7fd48c003e38, e=0x7fff2cdd6b80) at kernel/qapplication.cpp:4341
#20 0x0000000000437d91 in kt::App::notify (this=<value optimized out>, receiver=<value optimized out>, event=<value optimized out>) at ../../ktorrent/app.cpp:97
#21 0x00007fd4a3ff649c in QCoreApplication::notifyInternal (this=0x7fff2cdd6e60, receiver=0x7fd48c003e38, event=0x7fff2cdd6b80) at kernel/qcoreapplication.cpp:731
#22 0x00007fd4a4023f12 in sendEvent (this=0xc82240) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#23 QTimerInfoList::activateTimers (this=0xc82240) at kernel/qeventdispatcher_unix.cpp:604
#24 0x00007fd4a4020d18 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#25 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#26 0x00007fd49e151bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007fd49e1523a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007fd49e152639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007fd4a40213ef in QEventDispatcherGlib::processEvents (this=0xbfa340, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#30 0x00007fd4a345d4de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x00007fd4a3ff5882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#32 0x00007fd4a3ff5abc in QEventLoop::exec (this=0x7fff2cdd6df0, flags=...) at kernel/qeventloop.cpp:201
#33 0x00007fd4a3ff9ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#34 0x00000000004271ef in main (argc=5, argv=0x7fff2cdd7c18) at ../../ktorrent/main.cpp:176

Possible duplicates by query: bug 280900, bug 280684, bug 280675, bug 280472, bug 280358.

Reported using DrKonqi
Comment 1 Joris Guisson 2011-10-06 16:22:39 UTC

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