Bug 304635 - Repeated KTorrent crashes
Summary: Repeated 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-05 20:38 UTC by Federico Kereki
Modified: 2012-08-05 21:51 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-05 20:38:11 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:

Just downloading some files -- there was no particular error message, just the crash warning. This has been happening for some time now. It's become usual for me to leave Ktorrent running at night, and finding it dead next morning.

The crash can be reproduced every time.

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

Thread 5 (Thread 0xb26ffb70 (LWP 3926)):
#0  0xb4b67c90 in clock_gettime () from /lib/librt.so.1
#1  0xb662fc35 in do_gettime (frac=0xb26ff060, sec=0xb26ff058) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb6719486 in QTimerInfoList::updateCurrentTime (this=0xb1d02074) at kernel/qeventdispatcher_unix.cpp:343
#4  0xb67197ea in QTimerInfoList::timerWait (this=0xb1d02074, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#5  0xb6717fe3 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xb26ff14c) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb4ab24ca in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#7  0xb4ab2cef in ?? () from /usr/lib/libglib-2.0.so.0
#8  0xb4ab2f41 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#9  0xb6718b47 in QEventDispatcherGlib::processEvents (this=0xb1d00468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#10 0xb66e464d in QEventLoop::processEvents (this=0xb26ff2d0, flags=...) at kernel/qeventloop.cpp:149
#11 0xb66e48e9 in QEventLoop::exec (this=0xb26ff2d0, flags=...) at kernel/qeventloop.cpp:204
#12 0xb65cddac in QThread::exec (this=0x9539938) at thread/qthread.cpp:501
#13 0xb76a500d in utp::UTPServerThread::run (this=0x9539938) at /usr/src/debug/libktorrent-1.2.0/src/utp/utpserverthread.cpp:41
#14 0xb65d1290 in QThreadPrivate::start (arg=0x9539938) at thread/qthread_unix.cpp:307
#15 0xb654ea7d in start_thread () from /lib/libpthread.so.0
#16 0xb5894abe in clone () from /lib/libc.so.6

Thread 4 (Thread 0xaf512b70 (LWP 4176)):
#0  0xb5891162 in syscall () from /lib/libc.so.6
#1  0xb65cfad8 in _q_futex (val2=0, addr2=0x0, timeout=0x0, val=2, op=0, addr=0x947d338) at thread/qmutex_unix.cpp:99
#2  QMutexPrivate::wait (this=0x947d338, timeout=-1) at thread/qmutex_unix.cpp:113
#3  0xb65cb4b8 in QMutex::lock (this=0x947d320) at thread/qmutex.cpp:164
#4  0xb75f8b9e in net::SocketMonitor::lock (this=0x811ea80) at /usr/src/debug/libktorrent-1.2.0/src/net/socketmonitor.cpp:108
#5  0xb75fa635 in update (this=0x947d360) at /usr/src/debug/libktorrent-1.2.0/src/net/downloadthread.cpp:51
#6  net::DownloadThread::update (this=0x947d360) at /usr/src/debug/libktorrent-1.2.0/src/net/downloadthread.cpp:46
#7  0xb75fa888 in net::NetworkThread::run (this=0x947d360) at /usr/src/debug/libktorrent-1.2.0/src/net/networkthread.cpp:48
#8  0xb65d1290 in QThreadPrivate::start (arg=0x947d360) at thread/qthread_unix.cpp:307
#9  0xb654ea7d in start_thread () from /lib/libpthread.so.0
#10 0xb5894abe in clone () from /lib/libc.so.6

Thread 3 (Thread 0xaed12b70 (LWP 4177)):
[KCrash Handler]
#6  0xb57ec8c5 in raise () from /lib/libc.so.6
#7  0xb57ee1d5 in abort () from /lib/libc.so.6
#8  0xb582874a in __libc_message () from /lib/libc.so.6
#9  0xb582ef0b in malloc_printerr () from /lib/libc.so.6
#10 0xb5a27b2f in operator delete(void*) () from /usr/lib/libstdc++.so.6
#11 0xb75f5397 in deallocate (__p=0xa381a58, this=<optimized out>) at /usr/include/c++/4.6/ext/new_allocator.h:98
#12 _M_put_node (__p=0xa381a58, 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=0xa381a58) at /usr/include/c++/4.6/bits/stl_list.h:974
#15 net::PacketSocket::write (this=0xa381a30, max=0, now=1344198749984) at /usr/src/debug/libktorrent-1.2.0/src/net/packetsocket.cpp:123
#16 0xb75fba83 in net::SocketGroup::processUnlimited (this=0x947d820, up=true, now=1344198749984) at /usr/src/debug/libktorrent-1.2.0/src/net/socketgroup.cpp:51
#17 0xb75fbecd in net::SocketGroup::process (this=0x947d820, up=true, now=1344198749984, global_allowance=@0xaed1227c) at /usr/src/debug/libktorrent-1.2.0/src/net/socketgroup.cpp:192
#18 0xb75fbfff in net::SocketGroup::upload (this=0x947d820, global_allowance=@0xaed1227c, now=1344198749984) at /usr/src/debug/libktorrent-1.2.0/src/net/socketgroup.cpp:115
#19 0xb75f9963 in net::UploadThread::doGroup (this=0x947d650, g=0x947d820, allowance=@0xaed1227c, now=1344198749984) at /usr/src/debug/libktorrent-1.2.0/src/net/uploadthread.cpp:106
#20 0xb75fad28 in net::NetworkThread::doGroups (this=0x947d650, num_ready=22, now=1344198749984, limit=0) at /usr/src/debug/libktorrent-1.2.0/src/net/networkthread.cpp:155
#21 0xb75fa05e in update (this=0x947d650) at /usr/src/debug/libktorrent-1.2.0/src/net/uploadthread.cpp:81
#22 net::UploadThread::update (this=0x947d650) at /usr/src/debug/libktorrent-1.2.0/src/net/uploadthread.cpp:43
#23 0xb75fa888 in net::NetworkThread::run (this=0x947d650) at /usr/src/debug/libktorrent-1.2.0/src/net/networkthread.cpp:48
#24 0xb65d1290 in QThreadPrivate::start (arg=0x947d650) at thread/qthread_unix.cpp:307
#25 0xb654ea7d in start_thread () from /lib/libpthread.so.0
#26 0xb5894abe in clone () from /lib/libc.so.6

Thread 2 (Thread 0xae512b70 (LWP 4178)):
#0  0xb6552782 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xb65d1800 in wait (time=4294967295, this=0xa069570) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=0x9fa1444, mutex=0x9fa1440, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#3  0xb75fdb3f in net::ReverseResolverThread::run (this=0x9fa1438) at /usr/src/debug/libktorrent-1.2.0/src/net/reverseresolver.cpp:124
#4  0xb65d1290 in QThreadPrivate::start (arg=0x9fa1438) at thread/qthread_unix.cpp:307
#5  0xb654ea7d in start_thread () from /lib/libpthread.so.0
#6  0xb5894abe in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb40f0710 (LWP 3877)):
#0  0xb5891162 in syscall () from /lib/libc.so.6
#1  0xb65cfad8 in _q_futex (val2=0, addr2=0x0, timeout=0x0, val=2, op=0, addr=0xa9743f0) at thread/qmutex_unix.cpp:99
#2  QMutexPrivate::wait (this=0xa9743f0, timeout=-1) at thread/qmutex_unix.cpp:113
#3  0xb65cb4b8 in QMutex::lock (this=0xa381a4c) at thread/qmutex.cpp:164
#4  0xb7600129 in net::TrafficShapedSocket::getUploadRate (this=0xa381a30) at /usr/src/debug/libktorrent-1.2.0/src/net/trafficshapedsocket.cpp:91
#5  0xb760e8b5 in getUploadRate (this=<optimized out>) at /usr/src/debug/libktorrent-1.2.0/src/peer/peer.cpp:508
#6  bt::Peer::getUploadRate (this=0xa6b5bd0) at /usr/src/debug/libktorrent-1.2.0/src/peer/peer.cpp:505
#7  0xb7613dd2 in bt::PeerManager::uploadRate (this=0xa0fea70) at /usr/src/debug/libktorrent-1.2.0/src/peer/peermanager.cpp:587
#8  0xb763fd4e in bt::Uploader::uploadRate (this=0xa96be08) at /usr/src/debug/libktorrent-1.2.0/src/torrent/uploader.cpp:57
#9  0xb764b800 in bt::TorrentControl::updateStats (this=0xa853938) at /usr/src/debug/libktorrent-1.2.0/src/torrent/torrentcontrol.cpp:1246
#10 0xb764cdd6 in bt::TorrentControl::update (this=0xa853938) at /usr/src/debug/libktorrent-1.2.0/src/torrent/torrentcontrol.cpp:259
#11 0x0806d9ae in _start ()

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

Reported using DrKonqi
Comment 1 Christoph Feck 2012-08-05 21:51:18 UTC

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