Bug 304922

Summary: KTorrent crashes daily
Product: [Applications] ktorrent Reporter: Federico Kereki <fkereki>
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Federico Kereki 2012-08-10 12:06:02 UTC
Application: ktorrent (4.2)
KDE Platform Version: 4.8.4 (4.8.4) "release 513"
Qt Version: 4.8.2
Operating System: Linux 3.5.0-35-desktop i686
Distribution: "openSUSE 12.1 (i586)"

-- Information about the crash:
- What I was doing when the application crashed:
I leave KTorrent running, and it usually crashes before a day is gone -- sometimes only after just a while.

This behavior repeats itself every time. I'm using the OpenSUSE version, and I'm up to date.

The crash can be reproduced every time.

-- Backtrace:
Application: KTorrent (ktorrent), signal: Aborted
[Current thread is 1 (Thread 0xb411b710 (LWP 580))]

Thread 5 (Thread 0xb3033b70 (LWP 582)):
#0  0xb6580561 in read () from /lib/libpthread.so.0
#1  0xb4b1c42e in ?? () from /usr/lib/libglib-2.0.so.0
#2  0xb4add870 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#3  0xb4addd82 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb4addf41 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0xb6743b47 in QEventDispatcherGlib::processEvents (this=0xb2702000, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0xb670f64d in QEventLoop::processEvents (this=0xb30332d0, flags=...) at kernel/qeventloop.cpp:149
#7  0xb670f8e9 in QEventLoop::exec (this=0xb30332d0, flags=...) at kernel/qeventloop.cpp:204
#8  0xb65f8dac in QThread::exec (this=0x9deb588) at thread/qthread.cpp:501
#9  0xb76d000d in utp::UTPServerThread::run (this=0x9deb588) at /usr/src/debug/libktorrent-1.2.0/src/utp/utpserverthread.cpp:41
#10 0xb65fc290 in QThreadPrivate::start (arg=0x9deb588) at thread/qthread_unix.cpp:307
#11 0xb6579a7d in start_thread () from /lib/libpthread.so.0
#12 0xb58bfabe in clone () from /lib/libc.so.6

Thread 4 (Thread 0xb090cb70 (LWP 602)):
#0  0xb58bc162 in syscall () from /lib/libc.so.6
#1  0xb65faad8 in _q_futex (val2=0, addr2=0x0, timeout=0x0, val=2, op=0, addr=0x9ccf338) at thread/qmutex_unix.cpp:99
#2  QMutexPrivate::wait (this=0x9ccf338, timeout=-1) at thread/qmutex_unix.cpp:113
#3  0xb65f64b8 in QMutex::lock (this=0x9ccf320) at thread/qmutex.cpp:164
#4  0xb7623b9e in net::SocketMonitor::lock (this=0x811ea80) at /usr/src/debug/libktorrent-1.2.0/src/net/socketmonitor.cpp:108
#5  0xb7625635 in update (this=0x9ccf360) at /usr/src/debug/libktorrent-1.2.0/src/net/downloadthread.cpp:51
#6  net::DownloadThread::update (this=0x9ccf360) at /usr/src/debug/libktorrent-1.2.0/src/net/downloadthread.cpp:46
#7  0xb7625888 in net::NetworkThread::run (this=0x9ccf360) at /usr/src/debug/libktorrent-1.2.0/src/net/networkthread.cpp:48
#8  0xb65fc290 in QThreadPrivate::start (arg=0x9ccf360) at thread/qthread_unix.cpp:307
#9  0xb6579a7d in start_thread () from /lib/libpthread.so.0
#10 0xb58bfabe in clone () from /lib/libc.so.6

Thread 3 (Thread 0xb010cb70 (LWP 603)):
[KCrash Handler]
#6  0xb58178c5 in raise () from /lib/libc.so.6
#7  0xb58191d5 in abort () from /lib/libc.so.6
#8  0xb585374a in __libc_message () from /lib/libc.so.6
#9  0xb5859f0b in malloc_printerr () from /lib/libc.so.6
#10 0xb5a52b2f in operator delete(void*) () from /usr/lib/libstdc++.so.6
#11 0xb7620397 in deallocate (__p=0xb3bcd30, this=<optimized out>) at /usr/include/c++/4.6/ext/new_allocator.h:98
#12 _M_put_node (__p=0xb3bcd30, this=<optimized out>) at /usr/include/c++/4.6/bits/stl_list.h:331
#13 _M_erase (__position=<optimized out>, this=<optimized out>) at /usr/include/c++/4.6/bits/stl_list.h:1539
#14 pop_front (this=0xb3bcd30) at /usr/include/c++/4.6/bits/stl_list.h:974
#15 net::PacketSocket::write (this=0xb3bcd08, max=0, now=1344573473500) at /usr/src/debug/libktorrent-1.2.0/src/net/packetsocket.cpp:123
#16 0xb7626a83 in net::SocketGroup::processUnlimited (this=0x9ccf820, up=true, now=1344573473500) at /usr/src/debug/libktorrent-1.2.0/src/net/socketgroup.cpp:51
#17 0xb7626ecd in net::SocketGroup::process (this=0x9ccf820, up=true, now=1344573473500, global_allowance=@0xb010c27c) at /usr/src/debug/libktorrent-1.2.0/src/net/socketgroup.cpp:192
#18 0xb7626fff in net::SocketGroup::upload (this=0x9ccf820, global_allowance=@0xb010c27c, now=1344573473500) at /usr/src/debug/libktorrent-1.2.0/src/net/socketgroup.cpp:115
#19 0xb7624963 in net::UploadThread::doGroup (this=0x9ccf650, g=0x9ccf820, allowance=@0xb010c27c, now=1344573473500) at /usr/src/debug/libktorrent-1.2.0/src/net/uploadthread.cpp:106
#20 0xb7625d28 in net::NetworkThread::doGroups (this=0x9ccf650, num_ready=16, now=1344573473500, limit=0) at /usr/src/debug/libktorrent-1.2.0/src/net/networkthread.cpp:155
#21 0xb762505e in update (this=0x9ccf650) at /usr/src/debug/libktorrent-1.2.0/src/net/uploadthread.cpp:81
#22 net::UploadThread::update (this=0x9ccf650) at /usr/src/debug/libktorrent-1.2.0/src/net/uploadthread.cpp:43
#23 0xb7625888 in net::NetworkThread::run (this=0x9ccf650) at /usr/src/debug/libktorrent-1.2.0/src/net/networkthread.cpp:48
#24 0xb65fc290 in QThreadPrivate::start (arg=0x9ccf650) at thread/qthread_unix.cpp:307
#25 0xb6579a7d in start_thread () from /lib/libpthread.so.0
#26 0xb58bfabe in clone () from /lib/libc.so.6

Thread 2 (Thread 0xaf90cb70 (LWP 604)):
#0  0xb657d782 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xb65fc800 in wait (time=4294967295, this=0xab79ae8) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=0xab725ec, mutex=0xab725e8, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#3  0xb7628b3f in net::ReverseResolverThread::run (this=0xab725e0) at /usr/src/debug/libktorrent-1.2.0/src/net/reverseresolver.cpp:124
#4  0xb65fc290 in QThreadPrivate::start (arg=0xab725e0) at thread/qthread_unix.cpp:307
#5  0xb6579a7d in start_thread () from /lib/libpthread.so.0
#6  0xb58bfabe in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb411b710 (LWP 580)):
#0  0xb58bc162 in syscall () from /lib/libc.so.6
#1  0xb65faad8 in _q_futex (val2=0, addr2=0x0, timeout=0x0, val=2, op=0, addr=0xad2d1a8) at thread/qmutex_unix.cpp:99
#2  QMutexPrivate::wait (this=0xad2d1a8, timeout=-1) at thread/qmutex_unix.cpp:113
#3  0xb65f64b8 in QMutex::lock (this=0xb3bcd24) at thread/qmutex.cpp:164
#4  0xb762b189 in net::TrafficShapedSocket::updateSpeeds (this=0xb3bcd08, now=1344573473732) at /usr/src/debug/libktorrent-1.2.0/src/net/trafficshapedsocket.cpp:99
#5  0xb7639d21 in bt::Peer::update (this=0xb532540) at /usr/src/debug/libktorrent-1.2.0/src/peer/peer.cpp:533
#6  0xb763ff68 in bt::PeerManager::Private::update (this=0xa199418) at /usr/src/debug/libktorrent-1.2.0/src/peer/peermanager.cpp:685
#7  0xb764006e in bt::PeerManager::update (this=0xa195e98) at /usr/src/debug/libktorrent-1.2.0/src/peer/peermanager.cpp:137
#8  0xb7677c65 in bt::TorrentControl::update (this=0xa196478) at /usr/src/debug/libktorrent-1.2.0/src/torrent/torrentcontrol.cpp:162
#9  0x0806d9ae in _start ()

Possible duplicates by query: bug 304635, bug 304379, bug 303828, bug 299602, bug 299536.

Reported using DrKonqi
Comment 1 Christoph Feck 2012-08-10 12:58:15 UTC

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