Bug 304379 - KTorrent crashes
Summary: KTorrent crashes
Status: RESOLVED DUPLICATE of bug 299536
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-01 12:10 UTC by Federico Kereki
Modified: 2012-08-05 08: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 Federico Kereki 2012-08-01 12:10:50 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:
I leave KTorrent running, and a few hours later, it crashes. This happens every time.

The crash can be reproduced every time.

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

Thread 5 (Thread 0xb25ffb70 (LWP 19073)):
#0  0xb4b1fc90 in clock_gettime () from /lib/librt.so.1
#1  0xb65e7c35 in do_gettime (frac=0xb25ff060, sec=0xb25ff058) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb66d1486 in QTimerInfoList::updateCurrentTime (this=0xb1c02074) at kernel/qeventdispatcher_unix.cpp:343
#4  0xb66d17ea in QTimerInfoList::timerWait (this=0xb1c02074, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#5  0xb66cffe3 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xb25ff14c) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb4a6a4ca in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#7  0xb4a6acef in ?? () from /usr/lib/libglib-2.0.so.0
#8  0xb4a6af41 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#9  0xb66d0b47 in QEventDispatcherGlib::processEvents (this=0xb1c00468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#10 0xb669c64d in QEventLoop::processEvents (this=0xb25ff2d0, flags=...) at kernel/qeventloop.cpp:149
#11 0xb669c8e9 in QEventLoop::exec (this=0xb25ff2d0, flags=...) at kernel/qeventloop.cpp:204
#12 0xb6585dac in QThread::exec (this=0x9fd6d50) at thread/qthread.cpp:501
#13 0xb765d00d in utp::UTPServerThread::run (this=0x9fd6d50) at /usr/src/debug/libktorrent-1.2.0/src/utp/utpserverthread.cpp:41
#14 0xb6589290 in QThreadPrivate::start (arg=0x9fd6d50) at thread/qthread_unix.cpp:307
#15 0xb6506a7d in start_thread () from /lib/libpthread.so.0
#16 0xb584cabe in clone () from /lib/libc.so.6

Thread 4 (Thread 0xaf9ffb70 (LWP 19091)):
#0  0xb5849162 in syscall () from /lib/libc.so.6
#1  0xb6587ad8 in _q_futex (val2=0, addr2=0x0, timeout=0x0, val=2, op=0, addr=0x9ee3338) at thread/qmutex_unix.cpp:99
#2  QMutexPrivate::wait (this=0x9ee3338, timeout=-1) at thread/qmutex_unix.cpp:113
#3  0xb65834b8 in QMutex::lock (this=0x9ee3320) at thread/qmutex.cpp:164
#4  0xb75b0b9e in net::SocketMonitor::lock (this=0x811ea80) at /usr/src/debug/libktorrent-1.2.0/src/net/socketmonitor.cpp:108
#5  0xb75b2635 in update (this=0x9ee3360) at /usr/src/debug/libktorrent-1.2.0/src/net/downloadthread.cpp:51
#6  net::DownloadThread::update (this=0x9ee3360) at /usr/src/debug/libktorrent-1.2.0/src/net/downloadthread.cpp:46
#7  0xb75b2888 in net::NetworkThread::run (this=0x9ee3360) at /usr/src/debug/libktorrent-1.2.0/src/net/networkthread.cpp:48
#8  0xb6589290 in QThreadPrivate::start (arg=0x9ee3360) at thread/qthread_unix.cpp:307
#9  0xb6506a7d in start_thread () from /lib/libpthread.so.0
#10 0xb584cabe in clone () from /lib/libc.so.6

Thread 3 (Thread 0xaf1ffb70 (LWP 19092)):
[KCrash Handler]
#6  0xb57a48c5 in raise () from /lib/libc.so.6
#7  0xb57a61d5 in abort () from /lib/libc.so.6
#8  0xb57e074a in __libc_message () from /lib/libc.so.6
#9  0xb57e6f0b in malloc_printerr () from /lib/libc.so.6
#10 0xb59dfb2f in operator delete(void*) () from /usr/lib/libstdc++.so.6
#11 0xb75ad397 in deallocate (__p=0xaafd198, this=<optimized out>) at /usr/include/c++/4.6/ext/new_allocator.h:98
#12 _M_put_node (__p=0xaafd198, 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=0xaafd198) at /usr/include/c++/4.6/bits/stl_list.h:974
#15 net::PacketSocket::write (this=0xaafd170, max=0, now=1343804811283) at /usr/src/debug/libktorrent-1.2.0/src/net/packetsocket.cpp:123
#16 0xb75b3a83 in net::SocketGroup::processUnlimited (this=0x9ee3820, up=true, now=1343804811283) at /usr/src/debug/libktorrent-1.2.0/src/net/socketgroup.cpp:51
#17 0xb75b3ecd in net::SocketGroup::process (this=0x9ee3820, up=true, now=1343804811283, global_allowance=@0xaf1ff27c) at /usr/src/debug/libktorrent-1.2.0/src/net/socketgroup.cpp:192
#18 0xb75b3fff in net::SocketGroup::upload (this=0x9ee3820, global_allowance=@0xaf1ff27c, now=1343804811283) at /usr/src/debug/libktorrent-1.2.0/src/net/socketgroup.cpp:115
#19 0xb75b1963 in net::UploadThread::doGroup (this=0x9ee3650, g=0x9ee3820, allowance=@0xaf1ff27c, now=1343804811283) at /usr/src/debug/libktorrent-1.2.0/src/net/uploadthread.cpp:106
#20 0xb75b2d28 in net::NetworkThread::doGroups (this=0x9ee3650, num_ready=6, now=1343804811283, limit=0) at /usr/src/debug/libktorrent-1.2.0/src/net/networkthread.cpp:155
#21 0xb75b205e in update (this=0x9ee3650) at /usr/src/debug/libktorrent-1.2.0/src/net/uploadthread.cpp:81
#22 net::UploadThread::update (this=0x9ee3650) at /usr/src/debug/libktorrent-1.2.0/src/net/uploadthread.cpp:43
#23 0xb75b2888 in net::NetworkThread::run (this=0x9ee3650) at /usr/src/debug/libktorrent-1.2.0/src/net/networkthread.cpp:48
#24 0xb6589290 in QThreadPrivate::start (arg=0x9ee3650) at thread/qthread_unix.cpp:307
#25 0xb6506a7d in start_thread () from /lib/libpthread.so.0
#26 0xb584cabe in clone () from /lib/libc.so.6

Thread 2 (Thread 0xae7ffb70 (LWP 19093)):
#0  0xb650a782 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xb6589800 in wait (time=4294967295, this=0xab437e8) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=0xab00c44, mutex=0xab00c40, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#3  0xb75b5b3f in net::ReverseResolverThread::run (this=0xab00c38) at /usr/src/debug/libktorrent-1.2.0/src/net/reverseresolver.cpp:124
#4  0xb6589290 in QThreadPrivate::start (arg=0xab00c38) at thread/qthread_unix.cpp:307
#5  0xb6506a7d in start_thread () from /lib/libpthread.so.0
#6  0xb584cabe in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb40a8710 (LWP 19071)):
#0  0xb5849162 in syscall () from /lib/libc.so.6
#1  0xb6587ad8 in _q_futex (val2=0, addr2=0x0, timeout=0x0, val=2, op=0, addr=0xabbeea0) at thread/qmutex_unix.cpp:99
#2  QMutexPrivate::wait (this=0xabbeea0, timeout=-1) at thread/qmutex_unix.cpp:113
#3  0xb65834b8 in QMutex::lock (this=0xaafd18c) at thread/qmutex.cpp:164
#4  0xb75b8129 in net::TrafficShapedSocket::getUploadRate (this=0xaafd170) at /usr/src/debug/libktorrent-1.2.0/src/net/trafficshapedsocket.cpp:91
#5  0xb75c68b5 in getUploadRate (this=<optimized out>) at /usr/src/debug/libktorrent-1.2.0/src/peer/peer.cpp:508
#6  bt::Peer::getUploadRate (this=0xa051438) at /usr/src/debug/libktorrent-1.2.0/src/peer/peer.cpp:505
#7  0xb75cbdd2 in bt::PeerManager::uploadRate (this=0xa429e90) at /usr/src/debug/libktorrent-1.2.0/src/peer/peermanager.cpp:587
#8  0xb75f7d4e in bt::Uploader::uploadRate (this=0xa447df8) at /usr/src/debug/libktorrent-1.2.0/src/torrent/uploader.cpp:57
#9  0xb7603800 in bt::TorrentControl::updateStats (this=0xa42b050) at /usr/src/debug/libktorrent-1.2.0/src/torrent/torrentcontrol.cpp:1246
#10 0xb7604dd6 in bt::TorrentControl::update (this=0xa42b050) at /usr/src/debug/libktorrent-1.2.0/src/torrent/torrentcontrol.cpp:259
#11 0x0806d9ae in _start ()

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

Possible duplicates by query: bug 303828, bug 299602, bug 299536, bug 297755.

Reported using DrKonqi
Comment 1 Joris Guisson 2012-08-05 08:22:06 UTC

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