Bug 256016 - KTorrent crashed when USB root hub failed
Summary: KTorrent crashed when USB root hub failed
Status: RESOLVED DUPLICATE of bug 241598
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: 2010-11-04 04:56 UTC by zhangchi866
Modified: 2010-11-04 18:15 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zhangchi866 2010-11-04 04:56:34 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-22-generic x86_64
Distribution: Ubuntu 10.10

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

The USB root hub (Intel HM55) which I used to connect a USB HDD (INITIO controller , WD3200BEVT) suddenly failed. Then KTorrent went crashed.

some dmesg:
[16287.459965] sd 6:0:0:0: rejecting I/O to offline device
[16290.732426] hub 2-1:1.0: hub_port_status failed (err = -110)
[16295.763817] hub 2-1:1.0: hub_port_status failed (err = -110)
[16300.802008] hub 2-1.2:1.0: hub_port_status failed (err = -110)
...
[16627.059261] sd 6:0:0:0: rejecting I/O to offline device
[16628.430732] hub 2-1:1.0: hub_port_status failed (err = -110)
[16633.470507] hub 2-1:1.0: hub_port_status failed (err = -110)
[16638.510310] hub 2-1:1.0: hub_port_status failed (err = -110)
[16638.510324] usb 2-1.2.7: USB disconnect, address 6
[16639.558167] hub 2-1:1.0: cannot reset port 2 (err = -110)
[16640.566135] hub 2-1:1.0: cannot reset port 2 (err = -110)
[16641.573157] hub 2-1:1.0: cannot reset port 2 (err = -110)
[16642.582052] hub 2-1:1.0: cannot reset port 2 (err = -110)
[16643.588208] hub 2-1:1.0: cannot reset port 2 (err = -110)
[16643.588214] hub 2-1:1.0: Cannot enable port 2.  Maybe the USB cable is bad?
[16644.597965] hub 2-1:1.0: cannot disable port 2 (err = -110)
(The USB cable was OK. Other devices failed as well.)

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

Thread 5 (Thread 0x7f4d2af07710 (LWP 3566)):
#0  0x00007f4d359bc1d3 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f4d30817009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f4d308177b5 in g_main_loop_run () from /lib/libglib-2.0.so.0
#3  0x00007f4d2b63e0f4 in ?? () from /usr/lib/libgio-2.0.so.0
#4  0x00007f4d3083c7e4 in ?? () from /lib/libglib-2.0.so.0
#5  0x00007f4d370f3971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007f4d359c891d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f4d14e2f710 (LWP 3598)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007f4d3737d845 in thread_sleep (ti=0x7f4d14e2eda0) at thread/qthread_unix.cpp:416
#2  0x00007f4d3737d9b0 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:442
#3  0x00007f4d399599dd in net::DownloadThread::update (this=0x1bbb330) at ../../src/net/downloadthread.cpp:91
#4  0x00007f4d3995a2c9 in net::NetworkThread::run (this=0x1bbb330) at ../../src/net/networkthread.cpp:48
#5  0x00007f4d3737e27e in QThreadPrivate::start (arg=0x1bbb330) at thread/qthread_unix.cpp:266
#6  0x00007f4d370f3971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#7  0x00007f4d359c891d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f4d1462e710 (LWP 3599)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007f4d3737d845 in thread_sleep (ti=0x7f4d1462dda0) at thread/qthread_unix.cpp:416
#2  0x00007f4d3737d9b0 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:442
#3  0x00007f4d3995907d in net::UploadThread::update (this=0x1bbb9a0) at ../../src/net/uploadthread.cpp:89
#4  0x00007f4d3995a2c9 in net::NetworkThread::run (this=0x1bbb9a0) at ../../src/net/networkthread.cpp:48
#5  0x00007f4d3737e27e in QThreadPrivate::start (arg=0x1bbb9a0) at thread/qthread_unix.cpp:266
#6  0x00007f4d370f3971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#7  0x00007f4d359c891d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f4d13e2d710 (LWP 3600)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f4d3737ee3b in wait (this=<value optimized out>, mutex=0x7f4d24342190, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x7f4d24342190, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f4d3995d2e2 in net::ReverseResolverThread::run (this=0x7f4d24342180) at ../../src/net/reverseresolver.cpp:123
#4  0x00007f4d3737e27e in QThreadPrivate::start (arg=0x7f4d24342180) at thread/qthread_unix.cpp:266
#5  0x00007f4d370f3971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007f4d359c891d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f4d39e26760 (LWP 3565)):
[KCrash Handler]
#6  memcpy () at ../sysdeps/x86_64/memcpy.S:161
#7  0x00007f4d399c2180 in bt::Chunk::readPiece (this=<value optimized out>, off=<value optimized out>, len=16382, data=0x33f3bdd "\177") at //usr/include/bits/string3.h:52
#8  0x00007f4d39973954 in bt::PacketWriter::sendChunk (this=0x7f4d242cfb60, index=6829, begin=1064960, len=16384, ch=<value optimized out>) at ../../src/peer/packetwriter.cpp:195
#9  0x00007f4d39972307 in bt::PeerUploader::update (this=0x7f4d24339f20, cman=..., opt_unchoked=<value optimized out>) at ../../src/peer/peeruploader.cpp:83
#10 0x00007f4d39997b16 in bt::Uploader::update (this=0x2848d40, opt_unchoked=1309) at ../../src/torrent/uploader.cpp:48
#11 0x00007f4d3999f8e0 in bt::TorrentControl::update (this=0x283f530) at ../../src/torrent/torrentcontrol.cpp:173
#12 0x00000000004289fb in kt::Core::update (this=0x1f069f0) at ../../ktorrent/core.cpp:1030
#13 0x0000000000431222 in kt::Core::qt_metacall (this=0x1f069f0, _c=QMetaObject::InvokeMetaMethod, _id=54475741, _a=0x7fff00132690) at ./core.moc:167
#14 0x00007f4d37489b27 in QMetaObject::activate (sender=0x1f06a18, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xfffffffe) at kernel/qobject.cpp:3280
#15 0x00007f4d374838f9 in QObject::event (this=0x1f06a18, e=0x7f4d024a67ae) at kernel/qobject.cpp:1183
#16 0x00007f4d365bbfdc in QApplicationPrivate::notify_helper (this=0x1bebbc0, receiver=0x1f06a18, e=0x7fff00132dc0) at kernel/qapplication.cpp:4396
#17 0x00007f4d365c1aed in QApplication::notify (this=0x7fff001330f0, receiver=0x1f06a18, e=0x7fff00132dc0) at kernel/qapplication.cpp:4277
#18 0x0000000000437d1a in kt::App::notify (this=0x33f3bdd, receiver=0x7f4d024a67ae, event=0x3ffe) at ../../ktorrent/app.cpp:97
#19 0x00007f4d37471cdc in QCoreApplication::notifyInternal (this=0x7fff001330f0, receiver=0x1f06a18, event=0x7fff00132dc0) at kernel/qcoreapplication.cpp:732
#20 0x00007f4d374a16f2 in sendEvent (this=0x1bf2a10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#21 QTimerInfoList::activateTimers (this=0x1bf2a10) at kernel/qeventdispatcher_unix.cpp:602
#22 0x00007f4d3749e4c8 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#23 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#24 0x00007f4d30813342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#25 0x00007f4d308172a8 in ?? () from /lib/libglib-2.0.so.0
#26 0x00007f4d3081745c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#27 0x00007f4d3749e193 in QEventDispatcherGlib::processEvents (this=0x1bb9330, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#28 0x00007f4d3666ea4e in QGuiEventDispatcherGlib::processEvents (this=0x33f3bdd, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#29 0x00007f4d37470a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#30 0x00007f4d37470dec in QEventLoop::exec (this=0x7fff00133060, flags=) at kernel/qeventloop.cpp:201
#31 0x00007f4d37474ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#32 0x0000000000426a8b in main (argc=<value optimized out>, argv=<value optimized out>) at ../../ktorrent/main.cpp:176

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

Reported using DrKonqi
Comment 1 Joris Guisson 2010-11-04 18:15:16 UTC

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