Bug 255387

Summary: KTorrent crashes only after Ubuntu update to 10.10 version
Product: [Applications] ktorrent Reporter: kernunos
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 kernunos 2010-10-27 12:33:18 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-pae i686
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed: trying to move files from one disk with XFS fs which seems to have problems to another disk on a local network disk

The crash can be reproduced every time.

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

Thread 6 (Thread 0xb41c9b70 (LWP 10110)):
#0  0xb77b9424 in __kernel_vsyscall ()
#1  0xb5ad8de6 in poll () from /lib/libc.so.6
#2  0xb4feaa1b in g_poll () from /lib/libglib-2.0.so.0
#3  0xb4fdd43c in ?? () from /lib/libglib-2.0.so.0
#4  0xb4fddba7 in g_main_loop_run () from /lib/libglib-2.0.so.0
#5  0xb42de6b4 in ?? () from /usr/lib/libgio-2.0.so.0
#6  0xb500448f in ?? () from /lib/libglib-2.0.so.0
#7  0xb6771cc9 in start_thread () from /lib/libpthread.so.0
#8  0xb5ae76ae in clone () from /lib/libc.so.6

Thread 5 (Thread 0xb02e1b70 (LWP 10114)):
#0  0xb77b9424 in __kernel_vsyscall ()
#1  0xb5ae0381 in select () from /lib/libc.so.6
#2  0xb76ed8db in dht::RPCServerThread::run (this=0x8f6e630) at ../../src/dht/rpcserver.cpp:107
#3  0xb67e7df9 in QThreadPrivate::start (arg=0x8f6e630) at thread/qthread_unix.cpp:266
#4  0xb6771cc9 in start_thread () from /lib/libpthread.so.0
#5  0xb5ae76ae in clone () from /lib/libc.so.6

Thread 4 (Thread 0xa348fb70 (LWP 10131)):
#0  0xb76854e4 in std::_Rb_tree<int, std::pair<int const, QSharedPointer<net::PollClient> >, std::_Select1st<std::pair<int const, QSharedPointer<net::PollClient> > >, std::less<int>, std::allocator<std::pair<int const, QSharedPointer<net::PollClient> > > >::_M_insert_unique (this=0x8d709a4, __v=...) at /usr/include/c++/4.4/bits/stl_tree.h:1161
#1  0xb76856bb in std::_Rb_tree<int, std::pair<int const, QSharedPointer<net::PollClient> >, std::_Select1st<std::pair<int const, QSharedPointer<net::PollClient> > >, std::less<int>, std::allocator<std::pair<int const, QSharedPointer<net::PollClient> > > >::_M_insert_unique_ (this=0x8d709a4, __position=..., __v=...) at /usr/include/c++/4.4/bits/stl_tree.h:1217
#2  0xb7685127 in insert (this=0x8d70990, pc=) at /usr/include/c++/4.4/bits/stl_map.h:540
#3  operator[] (this=0x8d70990, pc=) at /usr/include/c++/4.4/bits/stl_map.h:450
#4  net::Poll::add (this=0x8d70990, pc=) at ../../src/net/poll.cpp:74
#5  0xb768043b in net::DownloadThread::waitForSocketReady (this=0x8d70988) at ../../src/net/downloadthread.cpp:114
#6  0xb76805af in net::DownloadThread::update (this=0x8d70988) at ../../src/net/downloadthread.cpp:48
#7  0xb7681178 in net::NetworkThread::run (this=0x8d70988) at ../../src/net/networkthread.cpp:48
#8  0xb67e7df9 in QThreadPrivate::start (arg=0x8d70988) at thread/qthread_unix.cpp:266
#9  0xb6771cc9 in start_thread () from /lib/libpthread.so.0
#10 0xb5ae76ae in clone () from /lib/libc.so.6

Thread 3 (Thread 0xa2c8eb70 (LWP 10132)):
#0  0xb77b9424 in __kernel_vsyscall ()
#1  0xb6776884 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb67e733e in thread_sleep (ti=0x1) at thread/qthread_unix.cpp:416
#3  0xb67e7493 in QThread::msleep (msecs=50) at thread/qthread_unix.cpp:442
#4  0xb767fd52 in net::UploadThread::update (this=0x8d70d90) at ../../src/net/uploadthread.cpp:89
#5  0xb7681178 in net::NetworkThread::run (this=0x8d70d90) at ../../src/net/networkthread.cpp:48
#6  0xb67e7df9 in QThreadPrivate::start (arg=0x8d70d90) at thread/qthread_unix.cpp:266
#7  0xb6771cc9 in start_thread () from /lib/libpthread.so.0
#8  0xb5ae76ae in clone () from /lib/libc.so.6

Thread 2 (Thread 0xa248db70 (LWP 10133)):
#0  0xb77b9424 in __kernel_vsyscall ()
#1  0xb67764dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb67e89c7 in wait (this=0xc29e6bc, mutex=0xc29e6b8, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#3  QWaitCondition::wait (this=0xc29e6bc, mutex=0xc29e6b8, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#4  0xb76848f2 in net::ReverseResolverThread::run (this=0xc29e6b0) at ../../src/net/reverseresolver.cpp:123
#5  0xb67e7df9 in QThreadPrivate::start (arg=0xc29e6b0) at thread/qthread_unix.cpp:266
#6  0xb6771cc9 in start_thread () from /lib/libpthread.so.0
#7  0xb5ae76ae in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb4886710 (LWP 10107)):
[KCrash Handler]
#7  0xb5b2b5b1 in ?? () from /lib/libc.so.6
#8  0xb76aa562 in bt::ChunkDownload::piece (this=0xbcd2838, p=..., ok=@0xbfd0422f) at //usr/include/bits/string3.h:52
#9  0xb76b1219 in bt::Downloader::pieceReceived (this=0x9e925f0, p=...) at ../../src/download/downloader.cpp:134
#10 0xb7694bef in bt::PeerManager::pieceReceived (this=0x9e88368, p=...) at ../../src/peer/peermanager.cpp:674
#11 0xb76929da in bt::Peer::packetReady (this=0xbcb4cf0, packet=0xaf3f6e78 "\a", len=16393) at ../../src/peer/peer.cpp:283
#12 0xb769e489 in bt::PacketReader::update (this=0x9085420) at ../../src/peer/packetreader.cpp:141
#13 0xb7691609 in bt::Peer::update (this=0xbcb4cf0) at ../../src/peer/peer.cpp:538
#14 0xb769737e in bt::PeerManager::update (this=0x9e88368) at ../../src/peer/peermanager.cpp:144
#15 0xb76cdd2d in bt::TorrentControl::update (this=0x9e70f90) at ../../src/torrent/torrentcontrol.cpp:163
#16 0x080690f3 in kt::Core::update (this=0x8f7cd38) at ../../ktorrent/core.cpp:1030
#17 0x080716cd in kt::Core::qt_metacall (this=0x8f7cd38, _c=QMetaObject::InvokeMetaMethod, _id=-1354797424, _a=0xbfd045cc) at ./core.moc:167
#18 0xb68ef8ca in QMetaObject::metacall (object=0x8f7cd38, cl=16336, idx=22, argv=0xbfd045cc) at kernel/qmetaobject.cpp:237
#19 0xb69026ad in QMetaObject::activate (sender=0x8f7cd4c, m=0xb6a1c5a4, local_signal_index=0, argv=0xaf3f6e90) at kernel/qobject.cpp:3280
#20 0xb69541e7 in QTimer::timeout (this=0x8f7cd4c) at .moc/release-shared/moc_qtimer.cpp:134
#21 0xb69081ce in QTimer::timerEvent (this=0x8f7cd4c, e=0xbfd04ad0) at kernel/qtimer.cpp:271
#22 0xb68fc504 in QObject::event (this=0x8f7cd4c, e=0xaf5da810) at kernel/qobject.cpp:1183
#23 0xb5dcdfdc in QApplicationPrivate::notify_helper (this=0x8d976b8, receiver=0x8f7cd4c, e=0xbfd04ad0) at kernel/qapplication.cpp:4396
#24 0xb5dd404e in QApplication::notify (this=0xbfd04e20, receiver=0x8f7cd4c, e=0xbfd04ad0) at kernel/qapplication.cpp:3798
#25 0x080783dc in kt::App::notify (this=0x3fd0, receiver=0xaf5da810, event=0xaf3f6e90) at ../../ktorrent/app.cpp:97
#26 0xb68e9b3b in QCoreApplication::notifyInternal (this=0xbfd04e20, receiver=0x8f7cd4c, event=0xbfd04ad0) at kernel/qcoreapplication.cpp:732
#27 0xb691bad6 in sendEvent (this=0x8d9a0bc) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#28 QTimerInfoList::activateTimers (this=0x8d9a0bc) at kernel/qeventdispatcher_unix.cpp:602
#29 0xb6918874 in timerSourceDispatch (source=0x8d9a088) at kernel/qeventdispatcher_glib.cpp:184
#30 0xb4fd9855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#31 0xb4fdd668 in ?? () from /lib/libglib-2.0.so.0
#32 0xb4fdd848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#33 0xb6918565 in QEventDispatcherGlib::processEvents (this=0x8d6f6e8, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#34 0xb5e8fbe5 in QGuiEventDispatcherGlib::processEvents (this=0x8d6f6e8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#35 0xb68e8609 in QEventLoop::processEvents (this=0xbfd04d94, flags=) at kernel/qeventloop.cpp:149
#36 0xb68e8a8a in QEventLoop::exec (this=0xbfd04d94, flags=...) at kernel/qeventloop.cpp:201
#37 0xb68ed00f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#38 0xb5dcce07 in QApplication::exec () at kernel/qapplication.cpp:3672
#39 0x08066e91 in main (argc=1, argv=0xbfd05224) at ../../ktorrent/main.cpp:176

Possible duplicates by query: bug 255263, bug 254562, bug 254383, bug 253878, bug 253817.

Reported using DrKonqi
Comment 1 Joris Guisson 2010-10-27 20:07:46 UTC

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