Bug 268219 - KTorrent Crashes regularly
Summary: KTorrent Crashes regularly
Status: RESOLVED DUPLICATE of bug 251117
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-03-11 13:42 UTC by Jim Hessin
Modified: 2011-03-11 19:22 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 Jim Hessin 2011-03-11 13:42:23 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-27-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:
well... Sleeping - I had left my downloads going while I was asleep

- Custom settings of the application:
I have the program set to alocate all disk space from downloads to prevent this type of error. From reading other reports I have found that uTp protocol can be a problem and I have that enabled as well.

The crash can be reproduced every time.

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

Thread 7 (Thread 0xb7562b70 (LWP 3297)):
#0  0x00e6a416 in __kernel_vsyscall ()
#1  0x0563bdf6 in poll () from /lib/libc.so.6
#2  0x0581ba1b in g_poll () from /lib/libglib-2.0.so.0
#3  0x0580e43c in ?? () from /lib/libglib-2.0.so.0
#4  0x0580eba7 in g_main_loop_run () from /lib/libglib-2.0.so.0
#5  0x02e809c4 in ?? () from /usr/lib/libgio-2.0.so.0
#6  0x0583548f in ?? () from /lib/libglib-2.0.so.0
#7  0x0047bcc9 in start_thread () from /lib/libpthread.so.0
#8  0x0564a69e in clone () from /lib/libc.so.6

Thread 6 (Thread 0xb460eb70 (LWP 3299)):
#0  0x00e6a416 in __kernel_vsyscall ()
#1  0x056580f3 in ?? () from /lib/libc.so.6
#2  0x055ec65f in ?? () from /lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 5 (Thread 0xb3e0db70 (LWP 3300)):
#0  0x00e6a416 in __kernel_vsyscall ()
#1  0x05643371 in select () from /lib/libc.so.6
#2  0x00b308db in dht::RPCServerThread::run (this=0xb6c49388) at ../../src/dht/rpcserver.cpp:107
#3  0x04475df9 in QThreadPrivate::start (arg=0xb6c49388) at thread/qthread_unix.cpp:266
#4  0x0047bcc9 in start_thread () from /lib/libpthread.so.0
#5  0x0564a69e in clone () from /lib/libc.so.6

Thread 4 (Thread 0xb19d8b70 (LWP 3334)):
#0  0x00e6a416 in __kernel_vsyscall ()
#1  0x004804dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x04474ef2 in QMutexPrivate::wait (this=0x8554910, timeout=-1) at thread/qmutex_unix.cpp:84
#3  0x044705ca in QMutex::lock (this=0x8116894) at thread/qmutex.cpp:167
#4  0x00ac1890 in net::SocketMonitor::lock (this=0x8116890) at ../../src/net/socketmonitor.cpp:82
#5  0x00ac35c5 in net::DownloadThread::update (this=0x8554978) at ../../src/net/downloadthread.cpp:51
#6  0x00ac4178 in net::NetworkThread::run (this=0x8554978) at ../../src/net/networkthread.cpp:48
#7  0x04475df9 in QThreadPrivate::start (arg=0x8554978) at thread/qthread_unix.cpp:266
#8  0x0047bcc9 in start_thread () from /lib/libpthread.so.0
#9  0x0564a69e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xb11d7b70 (LWP 3335)):
#0  0x00abef8b in net::Socket::ready (this=0xa75bd4f0, p=0x8554d88, mode=net::Poll::OUTPUT) at ../../src/net/socket.cpp:465
#1  0x00ac2bf2 in net::UploadThread::update (this=0x8554d80) at ../../src/net/uploadthread.cpp:63
#2  0x00ac4178 in net::NetworkThread::run (this=0x8554d80) at ../../src/net/networkthread.cpp:48
#3  0x04475df9 in QThreadPrivate::start (arg=0x8554d80) at thread/qthread_unix.cpp:266
#4  0x0047bcc9 in start_thread () from /lib/libpthread.so.0
#5  0x0564a69e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xb21d9b70 (LWP 3336)):
#0  0x00e6a416 in __kernel_vsyscall ()
#1  0x05639efb in read () from /lib/libc.so.6
#2  0x055e233b in _IO_file_underflow () from /lib/libc.so.6
#3  0x055e3c0b in _IO_default_uflow () from /lib/libc.so.6
#4  0x055e5028 in __uflow () from /lib/libc.so.6
#5  0x055d804c in _IO_getline_info () from /lib/libc.so.6
#6  0x055d7f91 in _IO_getline () from /lib/libc.so.6
#7  0x055d6f9a in fgets () from /lib/libc.so.6
#8  0x01b15cd4 in ?? () from /lib/libnss_mdns4.so.2
#9  0x01b16177 in _nss_mdns4_gethostbyaddr_r () from /lib/libnss_mdns4.so.2
#10 0x056619cf in gethostbyaddr_r () from /lib/libc.so.6
#11 0x05666f2b in getnameinfo () from /lib/libc.so.6
#12 0x00ac755b in net::ReverseResolver::resolve (this=0xa71fe3d8, addr=...) at ../../src/net/reverseresolver.cpp:64
#13 0x00ac75f3 in net::ReverseResolver::run (this=0xa71fe3d8) at ../../src/net/reverseresolver.cpp:73
#14 0x00ac7815 in net::ReverseResolverThread::run (this=0x8a4cb60) at ../../src/net/reverseresolver.cpp:118
#15 0x04475df9 in QThreadPrivate::start (arg=0x8a4cb60) at thread/qthread_unix.cpp:266
#16 0x0047bcc9 in start_thread () from /lib/libpthread.so.0
#17 0x0564a69e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb77c5710 (LWP 3296)):
[KCrash Handler]
#7  0x055e8b16 in ?? () from /lib/libc.so.6
#8  0x055eaf33 in malloc () from /lib/libc.so.6
#9  0x009fe619 in operator new(unsigned int) () from /usr/lib/libstdc++.so.6
#10 0x00ae49a2 in bt::PeerConnector::start (this=0xb26874d8, method=3066036528) at ../../src/peer/peerconnector.cpp:130
#11 0x00ae574c in bt::PeerConnector::authenticationFinished (this=0xb26874d8, auth=0xb30ee5f8, ok=false) at ../../src/peer/peerconnector.cpp:119
#12 0x00ace657 in bt::Authenticate::onFinish (this=0xb30ee5f8, succes=false) at ../../src/peer/authenticate.cpp:167
#13 0x00aceb91 in bt::Authenticate::Authenticate (this=0xb30ee5f8, ip=..., port=<value optimized out>, proto=bt::UTP, info_hash=..., peer_id=..., pcon=0xb26874d8) at ../../src/peer/authenticate.cpp:76
#14 0x00ae49da in bt::PeerConnector::start (this=0xb26874d8, method=bt::PeerConnector::UTP_WITHOUT_ENCRYPTION) at ../../src/peer/peerconnector.cpp:130
#15 0x00ae4aa0 in bt::PeerConnector::start (this=0xb6c00130) at ../../src/peer/peerconnector.cpp:62
#16 0x00adab07 in bt::PeerManager::connectToPeers (this=0x880a110) at ../../src/peer/peermanager.cpp:436
#17 0x00b10d53 in bt::TorrentControl::update (this=0x87f91b0) at ../../src/torrent/torrentcontrol.cpp:170
#18 0x080690f3 in kt::Core::update (this=0x86e0a40) at ../../ktorrent/core.cpp:1030
#19 0x080716cd in kt::Core::qt_metacall (this=0x86e0a40, _c=QMetaObject::InvokeMetaMethod, _id=-1228930768, _a=0xbf87a1bc) at ./core.moc:167
#20 0x0457d8ca in QMetaObject::metacall (object=0x86e0a40, cl=2147483648, idx=22, argv=0xbf87a1bc) at kernel/qmetaobject.cpp:237
#21 0x045906ad in QMetaObject::activate (sender=0x86e0a54, m=0x46aa5a4, local_signal_index=0, argv=0xb6c00130) at kernel/qobject.cpp:3280
#22 0x045e21e7 in QTimer::timeout (this=0x86e0a54) at .moc/release-shared/moc_qtimer.cpp:134
#23 0x045961ce in QTimer::timerEvent (this=0x86e0a54, e=0xbf87a6c0) at kernel/qtimer.cpp:271
#24 0x0458a504 in QObject::event (this=0x86e0a54, e=0xb6c00010) at kernel/qobject.cpp:1183
#25 0x063c6fdc in QApplicationPrivate::notify_helper (this=0x8578330, receiver=0x86e0a54, e=0xbf87a6c0) at kernel/qapplication.cpp:4396
#26 0x063cd04e in QApplication::notify (this=0xbf87aa10, receiver=0x86e0a54, e=0xbf87a6c0) at kernel/qapplication.cpp:3798
#27 0x080783dc in kt::App::notify (this=0x80000000, receiver=0xb6c00010, event=0xb6c00130) at ../../ktorrent/app.cpp:97
#28 0x04577b3b in QCoreApplication::notifyInternal (this=0xbf87aa10, receiver=0x86e0a54, event=0xbf87a6c0) at kernel/qcoreapplication.cpp:732
#29 0x045a9ad6 in sendEvent (this=0x857aca4) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#30 QTimerInfoList::activateTimers (this=0x857aca4) at kernel/qeventdispatcher_unix.cpp:602
#31 0x045a68a7 in timerSourceDispatch (source=0x857b100) at kernel/qeventdispatcher_glib.cpp:184
#32 idleTimerSourceDispatch (source=0x857b100) at kernel/qeventdispatcher_glib.cpp:231
#33 0x0580a855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#34 0x0580e668 in ?? () from /lib/libglib-2.0.so.0
#35 0x0580e848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#36 0x045a6565 in QEventDispatcherGlib::processEvents (this=0x85536d8, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#37 0x06488be5 in QGuiEventDispatcherGlib::processEvents (this=0x85536d8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#38 0x04576609 in QEventLoop::processEvents (this=0xbf87a984, flags=) at kernel/qeventloop.cpp:149
#39 0x04576a8a in QEventLoop::exec (this=0xbf87a984, flags=...) at kernel/qeventloop.cpp:201
#40 0x0457b00f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#41 0x063c5e07 in QApplication::exec () at kernel/qapplication.cpp:3672
#42 0x08066e91 in main (argc=5, argv=0xbf87ae14) at ../../ktorrent/main.cpp:176

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

Possible duplicates by query: bug 254122, bug 242161, bug 236741.

Reported using DrKonqi
Comment 1 Joris Guisson 2011-03-11 19:22:04 UTC

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