Bug 214889 - Crash after random time
Summary: Crash after random time
Status: RESOLVED DUPLICATE of bug 186621
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Unspecified
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-16 22:47 UTC by BRULE Herman
Modified: 2009-11-17 17:47 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 BRULE Herman 2009-11-16 22:47:59 UTC
Version:            (using KDE 4.3.3)
Installed from:    Gentoo Packages

Hello, ktorretn crash after random time:
Application: KTorrent (ktorrent), signal: Segmentation fault
[Current thread is 0 (LWP 29238)]

Thread 5 (Thread 0x7f0517fff910 (LWP 29240)):
#0  0x00007f0524cb6d32 in select () from /lib/libc.so.6
#1  0x00007f0528a113c8 in dht::RPCServerThread::run (this=0xb18250) at /var/tmp/portage/net-p2p/ktorrent-3.3_rc1/work/ktorrent-3.3rc1/libbtcore/dht/rpcserver.cpp:107
#2  0x00007f05264a5ca4 in QThreadPrivate::start (arg=0xb18250) at thread/qthread_unix.cpp:188
#3  0x00007f05262332b7 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#4  0x00007f0524cbd7dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f050a055910 (LWP 29249)):
#0  0x00007f0524cb47a6 in *__GI___poll (fds=0x7f05181be370, nfds=8, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f05289b069d in net::DownloadThread::waitForSocketReady (this=0xa42db0) at /var/tmp/portage/net-p2p/ktorrent-3.3_rc1/work/ktorrent-3.3rc1/libbtcore/net/downloadthread.cpp:188
#2  0x00007f05289b0756 in net::DownloadThread::update (this=0x7f05181be370) at /var/tmp/portage/net-p2p/ktorrent-3.3_rc1/work/ktorrent-3.3rc1/libbtcore/net/downloadthread.cpp:53
#3  0x00007f05289b12a9 in net::NetworkThread::run (this=0xa42db0) at /var/tmp/portage/net-p2p/ktorrent-3.3_rc1/work/ktorrent-3.3rc1/libbtcore/net/networkthread.cpp:48
#4  0x00007f05264a5ca4 in QThreadPrivate::start (arg=0xa42db0) at thread/qthread_unix.cpp:188
#5  0x00007f05262332b7 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x00007f0524cbd7dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f0509854910 (LWP 29250)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f05264a6ab9 in QWaitCondition::wait (this=0xa43728, mutex=0xa43730, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f05289aff13 in net::UploadThread::update (this=0xa436c0) at /var/tmp/portage/net-p2p/ktorrent-3.3_rc1/work/ktorrent-3.3rc1/libbtcore/net/uploadthread.cpp:73
#3  0x00007f05289b12a9 in net::NetworkThread::run (this=0xa436c0) at /var/tmp/portage/net-p2p/ktorrent-3.3_rc1/work/ktorrent-3.3rc1/libbtcore/net/networkthread.cpp:48
#4  0x00007f05264a5ca4 in QThreadPrivate::start (arg=0xa436c0) at thread/qthread_unix.cpp:188
#5  0x00007f05262332b7 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x00007f0524cbd7dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f0509053910 (LWP 29251)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f05264a6ab9 in QWaitCondition::wait (this=0x7f05181e9728, mutex=0x7f05181e9720, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f05289b4344 in net::ReverseResolverThread::run (this=0x7f05181e9710) at /var/tmp/portage/net-p2p/ktorrent-3.3_rc1/work/ktorrent-3.3rc1/libbtcore/net/reverseresolver.cpp:120
#3  0x00007f05264a5ca4 in QThreadPrivate::start (arg=0x7f05181e9710) at thread/qthread_unix.cpp:188
#4  0x00007f05262332b7 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007f0524cbd7dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f0528e7d740 (LWP 29238)):
[KCrash Handler]
#5  memcpy () at ../sysdeps/x86_64/memcpy.S:267
#6  0x00007f05264a7f50 in QByteArray (this=0x7fffb510cf90, 
    data=0x7f0528e95600 "xÐ+\020\002@V\a7¿þ\211\215=1f\021)\225ì\n< ²kë\227\026\222\020ì½\205nx\224CY÷w\217îæ\226SA£2DÕ\035Î\211AK7\027[ªuáDmx\213Tàݳ\027ø÷EX(\235nf\033gpGô ÂÁ´*Á?\a7ã\rG\031õ\220¹\204õd fåÀx¢GSG¿\022Y\226¡°Þ¼:,\236\215j\221±I7\222/Ä\2319­xj¥£åªZ±å\211_ÄѦ~V\233\224\232@\213ïÝoq\b_±¥B®Tö»ÿ<=\025\035/?\235CQsE£s{", size=16384) at /usr/include/bits/string3.h:52
#7  0x00007f0528999e39 in bt::SHA1HashGen::update (this=0x19fe810, 
    data=0x7f0528e95600 "xÐ+\020\002@V\a7¿þ\211\215=1f\021)\225ì\n< ²kë\227\026\222\020ì½\205nx\224CY÷w\217îæ\226SA£2DÕ\035Î\211AK7\027[ªuáDmx\213Tàݳ\027ø÷EX(\235nf\033gpGô ÂÁ´*Á?\a7ã\rG\031õ\220¹\204õd fåÀx¢GSG¿\022Y\226¡°Þ¼:,\236\215j\221±I7\222/Ä\2319­xj¥£åªZ±å\211_ÄѦ~V\233\224\232@\213ïÝoq\b_±¥B®Tö»ÿ<=\025\035/?\235CQsE£s{", len=16384)
    at /var/tmp/portage/net-p2p/ktorrent-3.3_rc1/work/ktorrent-3.3rc1/libbtcore/util/sha1hashgen.cpp:238
#8  0x00007f05289d168e in bt::ChunkDownload::updateHash (this=0x19fe750) at /var/tmp/portage/net-p2p/ktorrent-3.3_rc1/work/ktorrent-3.3rc1/libbtcore/download/chunkdownload.cpp:568
#9  0x00007f05289d2ec8 in bt::ChunkDownload::piece (this=0x19fe750, p=@0x7fffb510d0d0, ok=<value optimized out>)
    at /var/tmp/portage/net-p2p/ktorrent-3.3_rc1/work/ktorrent-3.3rc1/libbtcore/download/chunkdownload.cpp:139
#10 0x00007f05289da6b5 in bt::Downloader::pieceReceived (this=0xe1a150, p=@0x7fffb510d0d0) at /var/tmp/portage/net-p2p/ktorrent-3.3_rc1/work/ktorrent-3.3rc1/libbtcore/download/downloader.cpp:136
#11 0x00007f05289bf67a in bt::Peer::packetReady (this=0x14fefc0, packet=0x7f0504053800 "\a", len=<value optimized out>)
    at /var/tmp/portage/net-p2p/ktorrent-3.3_rc1/work/ktorrent-3.3rc1/libbtcore/peer/peer.cpp:268
#12 0x00007f05289c98e5 in bt::PacketReader::update (this=0x15e80c0) at /var/tmp/portage/net-p2p/ktorrent-3.3_rc1/work/ktorrent-3.3rc1/libbtcore/peer/packetreader.cpp:131
#13 0x00007f05289bf035 in bt::Peer::update (this=0x14fefc0) at /var/tmp/portage/net-p2p/ktorrent-3.3_rc1/work/ktorrent-3.3rc1/libbtcore/peer/peer.cpp:462
#14 0x00007f05289c330d in bt::PeerManager::update (this=0xc68430) at /var/tmp/portage/net-p2p/ktorrent-3.3_rc1/work/ktorrent-3.3rc1/libbtcore/peer/peermanager.cpp:119
#15 0x00007f05289f5bc6 in bt::TorrentControl::update (this=0xc5ff40) at /var/tmp/portage/net-p2p/ktorrent-3.3_rc1/work/ktorrent-3.3rc1/libbtcore/torrent/torrentcontrol.cpp:150
#16 0x0000000000431ee8 in kt::Core::update (this=0x7f0518004440) at /var/tmp/portage/net-p2p/ktorrent-3.3_rc1/work/ktorrent-3.3rc1/ktorrent/core.cpp:853
#17 0x000000000043830b in kt::Core::qt_metacall (this=0x7f0518004440, _c=QMetaObject::InvokeMetaMethod, _id=27547224, _a=0x7fffb510d4c0)
    at /var/tmp/portage/net-p2p/ktorrent-3.3_rc1/work/ktorrent-3.3rc1_build/ktorrent/core.moc:147
#18 0x00007f052659803a in QMetaObject::activate (sender=0x7f0518004468, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x6c0) at kernel/qobject.cpp:3101
#19 0x00007f05265948c6 in QObject::event (this=0x7f0518004468, e=0x7f0528e96000) at kernel/qobject.cpp:1066
#20 0x00007f052588e895 in QApplicationPrivate::notify_helper (this=0xa73c60, receiver=0x7f0518004468, e=0x7fffb510db70) at kernel/qapplication.cpp:4065
#21 0x00007f052589641a in QApplication::notify (this=0x7fffb510dec0, receiver=0x7f0518004468, e=0x7fffb510db70) at kernel/qapplication.cpp:4030
#22 0x00007f0527b355aa in KApplication::notify (this=0x7fffb510dec0, receiver=0x7f0518004468, event=0x7fffb510db70)
    at /var/tmp/portage/kde-base/kdelibs-4.3.3/work/kdelibs-4.3.3/kdeui/kernel/kapplication.cpp:302
#23 0x00007f0526584d2b in QCoreApplication::notifyInternal (this=0x7fffb510dec0, receiver=0x7f0518004468, event=0x7fffb510db70) at kernel/qcoreapplication.cpp:606
#24 0x00007f05265afe36 in QTimerInfoList::activateTimers (this=0xa6a3a0) at kernel/qcoreapplication.h:213
#25 0x00007f05265ac70d in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:165
#26 0x00007f0521017649 in IA__g_main_context_dispatch (context=0xa68d40) at gmain.c:1824
#27 0x00007f052101ae68 in g_main_context_iterate (context=0xa68d40, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2455
#28 0x00007f052101b01e in IA__g_main_context_iteration (context=0xa68d40, may_block=1) at gmain.c:2518
#29 0x00007f05265ac64f in QEventDispatcherGlib::processEvents (this=0xa73e20, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#30 0x00007f052591dae8 in QGuiEventDispatcherGlib::processEvents (this=0x1a46058, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#31 0x00007f0526583372 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -1257185824}) at kernel/qeventloop.cpp:149
#32 0x00007f052658355c in QEventLoop::exec (this=0x7fffb510de20, flags={i = -1257185744}) at kernel/qeventloop.cpp:197
#33 0x00007f052658599c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#34 0x0000000000427e24 in main (argc=1, argv=0x7fffb510eb98) at /var/tmp/portage/net-p2p/ktorrent-3.3_rc1/work/ktorrent-3.3rc1/ktorrent/main.cpp:172
Comment 1 Joris Guisson 2009-11-17 17:47:32 UTC
Upgrade to 3.3, this was fixed in that release.

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