Bug 297755 - Ktorrent crash
Summary: Ktorrent crash
Status: RESOLVED DUPLICATE of bug 299536
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-09 06:10 UTC by Gertjan van Wingerde
Modified: 2012-06-18 09:29 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 Gertjan van Wingerde 2012-04-09 06:10:22 UTC
Application: ktorrent (4.2)
KDE Platform Version: 4.8.1 (4.8.1) (Compiled from sources)
Qt Version: 4.8.0
Operating System: Linux 3.3.0 x86_64

-- Information about the crash:
Ktorrent was happily running in the background (already for 1.5 days; downloading a large set of files). I was browsing in another (chrome) window when ktorrent crashed. Nothing specific was done with ktorrent, it just crashed while running in the background.

The crash does not seem to be reproducible.

-- Backtrace:
Application: KTorrent (ktorrent), signal: Segmentation fault
syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:39
	in ../sysdeps/unix/sysv/linux/x86_64/syscall.S
[Current thread is 1 (Thread 0x7f25a42a8760 (LWP 30217))]

Thread 6 (Thread 0x7f2591fd1700 (LWP 30219)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f258b626ecc in ?? () from /usr/local/qt/lib/libQtWebKit.so.4
#2  0x00007f258b626ff9 in ?? () from /usr/local/qt/lib/libQtWebKit.so.4
#3  0x00007f2587a3d354 in ?? () from /usr/lib64/libGL.so.1
#4  0x00007f25a0be7ebc in start_thread (arg=0x7f2591fd1700) at pthread_create.c:301
#5  0x00007f259f2325fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 5 (Thread 0x7f2582b71700 (LWP 30220)):
#0  0x00007f259f229893 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f25992e27e8 in g_main_context_poll (n_fds=1, fds=0x23ef2a0, timeout=6669, context=0x23edf40, priority=<optimized out>) at gmain.c:3402
#2  g_main_context_iterate (context=0x23edf40, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3084
#3  0x00007f25992e2ca9 in g_main_context_iteration (context=0x23edf40, may_block=1) at gmain.c:3152
#4  0x00007f25a0fb5976 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/local/qt/lib/libQtCore.so.4
#5  0x00007f25a0f857d2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/local/qt/lib/libQtCore.so.4
#6  0x00007f25a0f85a27 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/local/qt/lib/libQtCore.so.4
#7  0x00007f25a0e86717 in QThread::exec() () from /usr/local/qt/lib/libQtCore.so.4
#8  0x00007f25a0e8973b in ?? () from /usr/local/qt/lib/libQtCore.so.4
#9  0x00007f2587a3d354 in ?? () from /usr/lib64/libGL.so.1
#10 0x00007f25a0be7ebc in start_thread (arg=0x7f2582b71700) at pthread_create.c:301
#11 0x00007f259f2325fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x7f2540a8c700 (LWP 30234)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:39
#1  0x00007f25a0e8820b in ?? () from /usr/local/qt/lib/libQtCore.so.4
#2  0x00007f25a0e8413d in QMutex::lock() () from /usr/local/qt/lib/libQtCore.so.4
#3  0x00007f25a3d9a520 in update (this=0x1a6b190) at /usr/local/src/incoming/kde/libktorrent-1.2.0/src/net/downloadthread.cpp:51
#4  net::DownloadThread::update (this=0x1a6b190) at /usr/local/src/incoming/kde/libktorrent-1.2.0/src/net/downloadthread.cpp:46
#5  0x00007f25a3d9a719 in net::NetworkThread::run (this=0x1a6b190) at /usr/local/src/incoming/kde/libktorrent-1.2.0/src/net/networkthread.cpp:48
#6  0x00007f25a0e8973b in ?? () from /usr/local/qt/lib/libQtCore.so.4
#7  0x00007f2587a3d354 in ?? () from /usr/lib64/libGL.so.1
#8  0x00007f25a0be7ebc in start_thread (arg=0x7f2540a8c700) at pthread_create.c:301
#9  0x00007f259f2325fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7f254028b700 (LWP 30235)):
[KCrash Handler]
#6  mUSABLe (mem=0x3072268) at malloc.c:5906
#7  __malloc_usable_size (m=<optimized out>) at malloc.c:4213
#8  0x00007f2587a3e063 in ?? () from /usr/lib64/libGL.so.1
#9  0x00007f2587315bb1 in ?? () from /usr/lib64/tls/libnvidia-tls.so.295.20
#10 0x00007f25a3d95be8 in deallocate (__p=0x3072268, this=<optimized out>) at /usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.3/../../../../include/c++/4.6.3/ext/new_allocator.h:98
#11 _M_put_node (__p=0x3072268, this=<optimized out>) at /usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.3/../../../../include/c++/4.6.3/bits/stl_list.h:331
#12 _M_erase (__position=<optimized out>, this=<optimized out>) at /usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.3/../../../../include/c++/4.6.3/bits/stl_list.h:1539
#13 pop_front (this=0x3072268) at /usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.3/../../../../include/c++/4.6.3/bits/stl_list.h:974
#14 net::PacketSocket::write (this=0x3072220, max=0, now=1333951466429) at /usr/local/src/incoming/kde/libktorrent-1.2.0/src/net/packetsocket.cpp:123
#15 0x00007f25a3d9b773 in net::SocketGroup::processUnlimited (this=0x1a6b040, up=true, now=1333951466429) at /usr/local/src/incoming/kde/libktorrent-1.2.0/src/net/socketgroup.cpp:51
#16 0x00007f25a3d9bac8 in net::SocketGroup::process (this=0x1a6b040, up=<optimized out>, now=<optimized out>, global_allowance=@0x7f254028acfc) at /usr/local/src/incoming/kde/libktorrent-1.2.0/src/net/socketgroup.cpp:192
#17 0x00007f25a3d9acf4 in net::NetworkThread::doGroups (this=0x1a777a0, num_ready=<optimized out>, now=1333951466429, limit=<optimized out>) at /usr/local/src/incoming/kde/libktorrent-1.2.0/src/net/networkthread.cpp:155
#18 0x00007f25a3d9a005 in update (this=0x1a777a0) at /usr/local/src/incoming/kde/libktorrent-1.2.0/src/net/uploadthread.cpp:81
#19 net::UploadThread::update (this=0x1a777a0) at /usr/local/src/incoming/kde/libktorrent-1.2.0/src/net/uploadthread.cpp:43
#20 0x00007f25a3d9a719 in net::NetworkThread::run (this=0x1a777a0) at /usr/local/src/incoming/kde/libktorrent-1.2.0/src/net/networkthread.cpp:48
#21 0x00007f25a0e8973b in ?? () from /usr/local/qt/lib/libQtCore.so.4
#22 0x00007f2587a3d354 in ?? () from /usr/lib64/libGL.so.1
#23 0x00007f25a0be7ebc in start_thread (arg=0x7f254028b700) at pthread_create.c:301
#24 0x00007f259f2325fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f253fa8a700 (LWP 30236)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f25a0e89c4b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/local/qt/lib/libQtCore.so.4
#2  0x00007f25a3d9d08a in net::ReverseResolverThread::run (this=0x7f258c016340) at /usr/local/src/incoming/kde/libktorrent-1.2.0/src/net/reverseresolver.cpp:124
#3  0x00007f25a0e8973b in ?? () from /usr/local/qt/lib/libQtCore.so.4
#4  0x00007f2587a3d354 in ?? () from /usr/lib64/libGL.so.1
#5  0x00007f25a0be7ebc in start_thread (arg=0x7f253fa8a700) at pthread_create.c:301
#6  0x00007f259f2325fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f25a42a8760 (LWP 30217)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:39
#1  0x00007f25a0e8820b in ?? () from /usr/local/qt/lib/libQtCore.so.4
#2  0x00007f25a0e8413d in QMutex::lock() () from /usr/local/qt/lib/libQtCore.so.4
#3  0x00007f25a3d9f26d in net::TrafficShapedSocket::getUploadRate (this=0x3072220) at /usr/local/src/incoming/kde/libktorrent-1.2.0/src/net/trafficshapedsocket.cpp:91
#4  0x00007f25a3dac575 in getUploadRate (this=<optimized out>) at /usr/local/src/incoming/kde/libktorrent-1.2.0/src/peer/peer.cpp:508
#5  bt::Peer::getUploadRate (this=<optimized out>) at /usr/local/src/incoming/kde/libktorrent-1.2.0/src/peer/peer.cpp:505
#6  0x00007f25a3db1218 in bt::PeerManager::uploadRate (this=<optimized out>) at /usr/local/src/incoming/kde/libktorrent-1.2.0/src/peer/peermanager.cpp:587
#7  0x00007f25a3de380d in bt::TorrentControl::updateStats (this=0x7f258c0203f0) at /usr/local/src/incoming/kde/libktorrent-1.2.0/src/torrent/torrentcontrol.cpp:1246
#8  0x00007f25a3de4ba8 in bt::TorrentControl::update (this=0x7f258c0203f0) at /usr/local/src/incoming/kde/libktorrent-1.2.0/src/torrent/torrentcontrol.cpp:259
#9  0x000000000042ce3d in kt::Core::update (this=0x1b65bd0) at /usr/local/src/incoming/kde/ktorrent-4.2.0/ktorrent/core.cpp:1046
#10 0x000000000043431a in kt::Core::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/local/src/incoming/kde/ktorrent-4.2.0/build/ktorrent/core.moc:141
#11 0x00007f25a0f9a771 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/local/qt/lib/libQtCore.so.4
#12 0x00007f25a0f9f669 in QObject::event(QEvent*) () from /usr/local/qt/lib/libQtCore.so.4
#13 0x00007f259fe7dd34 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/local/qt/lib/libQtGui.so.4
#14 0x00007f259fe82bb3 in QApplication::notify(QObject*, QEvent*) () from /usr/local/qt/lib/libQtGui.so.4
#15 0x000000000043a8b1 in kt::App::notify (this=<optimized out>, receiver=<optimized out>, event=<optimized out>) at /usr/local/src/incoming/kde/ktorrent-4.2.0/ktorrent/app.cpp:99
#16 0x00007f25a0f869ec in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/local/qt/lib/libQtCore.so.4
#17 0x00007f25a0fb7712 in ?? () from /usr/local/qt/lib/libQtCore.so.4
#18 0x00007f25a0fb50dd in ?? () from /usr/local/qt/lib/libQtCore.so.4
#19 0x00007f25a0fb5101 in ?? () from /usr/local/qt/lib/libQtCore.so.4
#20 0x00007f25992e22dd in g_main_dispatch (context=0x1a8e510) at gmain.c:2441
#21 g_main_context_dispatch (context=0x1a8e510) at gmain.c:3011
#22 0x00007f25992e2ad8 in g_main_context_iterate (context=0x1a8e510, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3089
#23 0x00007f25992e2ca9 in g_main_context_iteration (context=0x1a8e510, may_block=1) at gmain.c:3152
#24 0x00007f25a0fb590f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/local/qt/lib/libQtCore.so.4
#25 0x00007f259ff20eee in ?? () from /usr/local/qt/lib/libQtGui.so.4
#26 0x00007f25a0f857d2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/local/qt/lib/libQtCore.so.4
#27 0x00007f25a0f85a27 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/local/qt/lib/libQtCore.so.4
#28 0x00007f25a0f8a585 in QCoreApplication::exec() () from /usr/local/qt/lib/libQtCore.so.4
#29 0x0000000000429551 in main (argc=2, argv=0x7fffd622a568) at /usr/local/src/incoming/kde/ktorrent-4.2.0/ktorrent/main.cpp:177

Reported using DrKonqi
Comment 1 Joris Guisson 2012-06-18 09:29:27 UTC
This is fixed in 4.2.1

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