Bug 255343 - KGet repeatedly crashes while fetching torrentfiles
Summary: KGet repeatedly crashes while fetching torrentfiles
Status: RESOLVED FIXED
Alias: None
Product: kget
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: KGet authors
URL:
Keywords:
: 266963 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-10-26 21:58 UTC by jacob
Modified: 2011-02-27 23:30 UTC (History)
2 users (show)

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 jacob 2010-10-26 21:58:46 UTC
Application: kget (2.4.5)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.34.7-61.fc13.i686 i686
Distribution: "Fedora release 13 (Goddard)"

-- Information about the crash:
While fetching torrent files, kget has crashed more than 10 times within five minutes. Previous like behaviour have been noticed but haven't been reported

The crash can be reproduced every time.

 -- Backtrace:
Application: KGet (kget), signal: Bus error
[Current thread is 1 (Thread 0xb783a780 (LWP 4106))]

Thread 4 (Thread 0xb47ffb70 (LWP 4120)):
#0  0x004d1416 in __kernel_vsyscall ()
#1  0x00793df6 in __poll (fds=0xb32024c8, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x010127a2 in net::DownloadThread::waitForSocketReady (this=0x92de410) at /usr/src/debug/kdenetwork-4.4.5/kget/transfer-plugins/bittorrent/libbtcore/net/downloadthread.cpp:188
#3  0x01012870 in net::DownloadThread::update (this=0x92de410) at /usr/src/debug/kdenetwork-4.4.5/kget/transfer-plugins/bittorrent/libbtcore/net/downloadthread.cpp:53
#4  0x010132c8 in net::NetworkThread::run (this=0x92de410) at /usr/src/debug/kdenetwork-4.4.5/kget/transfer-plugins/bittorrent/libbtcore/net/networkthread.cpp:48
#5  0x042f274f in QThreadPrivate::start (arg=0x92de410) at thread/qthread_unix.cpp:248
#6  0x00888919 in start_thread (arg=0xb47ffb70) at pthread_create.c:301
#7  0x0079ecce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 3 (Thread 0xb53ffb70 (LWP 4121)):
#0  0x004d1416 in __kernel_vsyscall ()
#1  0x0088c22c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:169
#2  0x042f36af in wait (this=0x92de728, mutex=0x92de72c, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x92de728, mutex=0x92de72c, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x01012259 in net::UploadThread::update (this=0x92de6f0) at /usr/src/debug/kdenetwork-4.4.5/kget/transfer-plugins/bittorrent/libbtcore/net/uploadthread.cpp:73
#5  0x010132c8 in net::NetworkThread::run (this=0x92de6f0) at /usr/src/debug/kdenetwork-4.4.5/kget/transfer-plugins/bittorrent/libbtcore/net/networkthread.cpp:48
#6  0x042f274f in QThreadPrivate::start (arg=0x92de6f0) at thread/qthread_unix.cpp:248
#7  0x00888919 in start_thread (arg=0xb53ffb70) at pthread_create.c:301
#8  0x0079ecce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 2 (Thread 0xb3dfeb70 (LWP 4122)):
#0  0x004d1416 in __kernel_vsyscall ()
#1  0x0088c22c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:169
#2  0x042f36af in wait (this=0x959d19c, mutex=0x959d198, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x959d19c, mutex=0x959d198, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x01015f22 in net::ReverseResolverThread::run (this=0x959d190) at /usr/src/debug/kdenetwork-4.4.5/kget/transfer-plugins/bittorrent/libbtcore/net/reverseresolver.cpp:123
#5  0x042f274f in QThreadPrivate::start (arg=0x959d190) at thread/qthread_unix.cpp:248
#6  0x00888919 in start_thread (arg=0xb3dfeb70) at pthread_create.c:301
#7  0x0079ecce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 1 (Thread 0xb783a780 (LWP 4106)):
[KCrash Handler]
#6  __memcpy_ssse3 () at ../sysdeps/i386/i686/multiarch/memcpy-ssse3.S:399
#7  0x010312b0 in bt::ChunkDownload::piece (this=0x95a0c60, p=..., ok=@0xbf91af0f) at /usr/include/bits/string3.h:52
#8  0x01037271 in bt::Downloader::pieceReceived (this=0x94da308, p=...) at /usr/src/debug/kdenetwork-4.4.5/kget/transfer-plugins/bittorrent/libbtcore/download/downloader.cpp:126
#9  0x01021420 in bt::PeerManager::pieceReceived (this=0x94c48b8, p=...) at /usr/src/debug/kdenetwork-4.4.5/kget/transfer-plugins/bittorrent/libbtcore/peer/peermanager.cpp:677
#10 0x010204f7 in bt::Peer::packetReady (this=0x9670e88, packet=0xb3204738 "\a", len=16393) at /usr/src/debug/kdenetwork-4.4.5/kget/transfer-plugins/bittorrent/libbtcore/peer/peer.cpp:268
#11 0x01028e39 in bt::PacketReader::update (this=0x95288e0) at /usr/src/debug/kdenetwork-4.4.5/kget/transfer-plugins/bittorrent/libbtcore/peer/packetreader.cpp:141
#12 0x0101fe09 in bt::Peer::update (this=0x9670e88) at /usr/src/debug/kdenetwork-4.4.5/kget/transfer-plugins/bittorrent/libbtcore/peer/peer.cpp:462
#13 0x01023920 in bt::PeerManager::update (this=0x94c48b8) at /usr/src/debug/kdenetwork-4.4.5/kget/transfer-plugins/bittorrent/libbtcore/peer/peermanager.cpp:119
#14 0x0104f29e in bt::TorrentControl::update (this=0x94bb900) at /usr/src/debug/kdenetwork-4.4.5/kget/transfer-plugins/bittorrent/libbtcore/torrent/torrentcontrol.cpp:150
#15 0x00fd291b in BTTransfer::updateTorrent (this=0x9462fc8) at /usr/src/debug/kdenetwork-4.4.5/kget/transfer-plugins/bittorrent/bttransfer.cpp:338
#16 0x00fd2fa4 in BTTransfer::update (this=0x9462fc8) at /usr/src/debug/kdenetwork-4.4.5/kget/transfer-plugins/bittorrent/bttransfer.cpp:228
#17 0x00fd7c6b in BTTransfer::qt_metacall (this=0x9462fc8, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbf91b2bc)
    at /usr/src/debug/kdenetwork-4.4.5/i686-redhat-linux-gnu/kget/transfer-plugins/bittorrent/bttransfer.moc:90
#18 0x043e8bcb in QMetaObject::metacall (object=0x9462fc8, cl=QMetaObject::InvokeMetaMethod, idx=7, argv=0xbf91b2bc) at kernel/qmetaobject.cpp:237
#19 0x043f7a75 in QMetaObject::activate (sender=0x9463074, m=0x44f9a44, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3295
#20 0x04440918 in QTimer::timeout (this=0x9463074) at .moc/release-shared/moc_qtimer.cpp:134
#21 0x043fd96e in QTimer::timerEvent (this=0x9463074, e=0xbf91b7f0) at kernel/qtimer.cpp:271
#22 0x043f3ee4 in QObject::event (this=0x9463074, e=0xbf91b7f0) at kernel/qobject.cpp:1212
#23 0x04dbb77c in QApplicationPrivate::notify_helper (this=0x921c548, receiver=0x9463074, e=0xbf91b7f0) at kernel/qapplication.cpp:4306
#24 0x04dc21d6 in QApplication::notify (this=0xbf91bb48, receiver=0x9463074, e=0xbf91b7f0) at kernel/qapplication.cpp:3710
#25 0x04a6400b in KApplication::notify (this=0xbf91bb48, receiver=0x9463074, event=0xbf91b7f0) at /usr/src/debug/kdelibs-4.4.5/kdeui/kernel/kapplication.cpp:302
#26 0x043e4133 in QCoreApplication::notifyInternal (this=0xbf91bb48, receiver=0x9463074, event=0xbf91b7f0) at kernel/qcoreapplication.cpp:726
#27 0x0440f1fe in sendEvent (this=0x921f27c) at kernel/qcoreapplication.h:215
#28 QTimerInfoList::activateTimers (this=0x921f27c) at kernel/qeventdispatcher_unix.cpp:603
#29 0x0440c788 in timerSourceDispatch (source=0x921f2b0) at kernel/qeventdispatcher_glib.cpp:184
#30 idleTimerSourceDispatch (source=0x921f2b0) at kernel/qeventdispatcher_glib.cpp:231
#31 0x00919525 in g_main_dispatch (context=0x921e890) at gmain.c:1960
#32 IA__g_main_context_dispatch (context=0x921e890) at gmain.c:2513
#33 0x0091d268 in g_main_context_iterate (context=0x88b490, block=1, dispatch=1, self=0x921c188) at gmain.c:2591
#34 0x0091d449 in IA__g_main_context_iteration (context=0x921e890, may_block=1) at gmain.c:2654
#35 0x0440c446 in QEventDispatcherGlib::processEvents (this=0x91f56a0, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#36 0x04e6a336 in QGuiEventDispatcherGlib::processEvents (this=0x91f56a0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#37 0x043e280a in QEventLoop::processEvents (this=0xbf91bab4, flags=...) at kernel/qeventloop.cpp:149
#38 0x043e2b4a in QEventLoop::exec (this=0xbf91bab4, flags=...) at kernel/qeventloop.cpp:201
#39 0x043e6807 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#40 0x04dbb828 in QApplication::exec () at kernel/qapplication.cpp:3585
#41 0x080db50e in main (argc=) at /usr/src/debug/kdenetwork-4.4.5/kget/main.cpp:185

Possible duplicates by query: bug 249520.

Reported using DrKonqi
Comment 1 Lukas Appelhans 2010-11-22 15:11:03 UTC
Joris, can you have a look?

Lukas
Comment 2 jacob 2010-11-22 15:20:15 UTC
Hi,
I found out a bit later that the crashing was due to my harddisk being
all full. It would be nice with a warning instead of a crash
\\jacob

2010/11/22 Lukas Appelhans <l.appelhans@gmx.de>:
> https://bugs.kde.org/show_bug.cgi?id=255343
>
>
> Lukas Appelhans <l.appelhans@gmx.de> changed:
>
>           What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                 CC|                            |joris.guisson@gmail.com
>
>
>
>
> --- Comment #1 from Lukas Appelhans <l appelhans gmx de>  2010-11-22 15:11:03 ---
> Joris, can you have a look?
>
> Lukas
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
>
Comment 3 Joris Guisson 2010-11-22 18:32:43 UTC
Bus errors will be handled properly in libktorrent 1.1
Comment 4 Lukas Appelhans 2011-02-06 12:23:48 UTC
So let's mark it as fixed... ktorrent 1.1 is in Beta status already and libktorrent 1.1 is supported by KGet already...

Lukas
Comment 5 Lukas Appelhans 2011-02-27 23:30:00 UTC
*** Bug 266963 has been marked as a duplicate of this bug. ***