Bug 238523 - kget crash continously
Summary: kget crash continously
Status: RESOLVED FIXED
Alias: None
Product: kget
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: KGet authors
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-22 20:35 UTC by caralu74
Modified: 2010-05-23 22:08 UTC (History)
1 user (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 caralu74 2010-05-22 20:35:23 UTC
Application: kget (2.4.3)
KDE Platform Version: 4.4.3 (KDE 4.4.3)
Qt Version: 4.6.2
Operating System: Linux 2.6.30-2-486 i686
Distribution: Debian GNU/Linux testing (squeeze)

-- Information about the crash:
kget crash without any apparent reazon, every 2 minutes.

The crash can be reproduced every time.

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

Thread 4 (Thread 0xb2058b70 (LWP 11132)):
#0  0xb627206a in gettimeofday () from /lib/i686/cmov/libc.so.6
#1  0xb2c77376 in bt::Now () at ../../../../kget/transfer-plugins/bittorrent/libbtcore/util/functions.cpp:171
#2  0xb2c8a8ea in net::DownloadThread::update (this=0x9c97050) at ../../../../kget/transfer-plugins/bittorrent/libbtcore/net/downloadthread.cpp:65
#3  0xb2c8b528 in net::NetworkThread::run (this=0x9c97050) at ../../../../kget/transfer-plugins/bittorrent/libbtcore/net/networkthread.cpp:48
#4  0xb6f7793e in QThreadPrivate::start (arg=0x9c97050) at thread/qthread_unix.cpp:248
#5  0xb75d8585 in start_thread (arg=0xb2058b70) at pthread_create.c:300
#6  0xb62b729e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xb152cb70 (LWP 11133)):
#0  0xb7f21430 in __kernel_vsyscall ()
#1  0xb75dc0a5 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0xb6f78867 in QWaitConditionPrivate::wait (this=0x9c97390, mutex=0x9c97394, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x9c97390, mutex=0x9c97394, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0xb2c8a219 in net::UploadThread::update (this=0x9c97358) at ../../../../kget/transfer-plugins/bittorrent/libbtcore/net/uploadthread.cpp:73
#5  0xb2c8b528 in net::NetworkThread::run (this=0x9c97358) at ../../../../kget/transfer-plugins/bittorrent/libbtcore/net/networkthread.cpp:48
#6  0xb6f7793e in QThreadPrivate::start (arg=0x9c97358) at thread/qthread_unix.cpp:248
#7  0xb75d8585 in start_thread (arg=0xb152cb70) at pthread_create.c:300
#8  0xb62b729e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb0d2bb70 (LWP 11134)):
#0  0xb7f21430 in __kernel_vsyscall ()
#1  0xb75dc0a5 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0xb6f78867 in QWaitConditionPrivate::wait (this=0x9c2cfd4, mutex=0x9c2cfd0, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x9c2cfd4, mutex=0x9c2cfd0, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0xb2c8e66a in net::ReverseResolverThread::run (this=0x9c2cfc8) at ../../../../kget/transfer-plugins/bittorrent/libbtcore/net/reverseresolver.cpp:120
#5  0xb6f7793e in QThreadPrivate::start (arg=0x9c2cfc8) at thread/qthread_unix.cpp:248
#6  0xb75d8585 in start_thread (arg=0xb0d2bb70) at pthread_create.c:300
#7  0xb62b729e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb54dc700 (LWP 11128)):
[KCrash Handler]
#6  memcpy () at ../sysdeps/i386/i686/memcpy.S:100
#7  0xb2cadd21 in bt::ChunkDownload::piece (this=0x9f5d461, p=..., ok=@0xbfb3384f) at ../../../../kget/transfer-plugins/bittorrent/libbtcore/download/chunkdownload.cpp:130
#8  0xb2cb4439 in bt::Downloader::pieceReceived (this=0x9e568e0, p=...) at ../../../../kget/transfer-plugins/bittorrent/libbtcore/download/downloader.cpp:126
#9  0xb2c9be9f in bt::PeerManager::pieceReceived (this=0x9e464f0, p=...) at ../../../../kget/transfer-plugins/bittorrent/libbtcore/peer/peermanager.cpp:677
#10 0xb2c9a5df in bt::Peer::packetReady (this=0x9ee9480, packet=0x9f5d458 "\a", len=16393) at ../../../../kget/transfer-plugins/bittorrent/libbtcore/peer/peer.cpp:268
#11 0xb2ca4619 in bt::PacketReader::update (this=0x9ef4d90) at ../../../../kget/transfer-plugins/bittorrent/libbtcore/peer/packetreader.cpp:141
#12 0xb2c99f29 in bt::Peer::update (this=0x9ee9480) at ../../../../kget/transfer-plugins/bittorrent/libbtcore/peer/peer.cpp:462
#13 0xb2c9e2f6 in bt::PeerManager::update (this=0x9e464f0) at ../../../../kget/transfer-plugins/bittorrent/libbtcore/peer/peermanager.cpp:119
#14 0xb2ccff6d in bt::TorrentControl::update (this=0x9e37040) at ../../../../kget/transfer-plugins/bittorrent/libbtcore/torrent/torrentcontrol.cpp:150
#15 0xb2c4290a in BTTransfer::updateTorrent (this=0x9e1c120) at ../../../../kget/transfer-plugins/bittorrent/bttransfer.cpp:338
#16 0xb2c42f83 in BTTransfer::update (this=0x9e1c120) at ../../../../kget/transfer-plugins/bittorrent/bttransfer.cpp:228
#17 0xb2c47dbb in BTTransfer::qt_metacall (this=0x9e1c120, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfb33bfc) at ./bttransfer.moc:90
#18 0xb707eaea in QMetaObject::metacall (object=0x9e1c120, cl=4096, idx=7, argv=0xbfb33bfc) at kernel/qmetaobject.cpp:237
#19 0xb708d0b5 in QMetaObject::activate (sender=0x9e1c1cc, m=0xb718c704, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#20 0xb70de927 in QTimer::timeout (this=0x9e1c1cc) at .moc/release-shared/moc_qtimer.cpp:134
#21 0xb709533e in QTimer::timerEvent (this=0x9e1c1cc, e=0xbfb34130) at kernel/qtimer.cpp:271
#22 0xb7089f34 in QObject::event (this=0x9e1c1cc, e=0x9efd228) at kernel/qobject.cpp:1212
#23 0xb65c0bec in QApplicationPrivate::notify_helper (this=0x9ad30b8, receiver=0x9e1c1cc, e=0xbfb34130) at kernel/qapplication.cpp:4300
#24 0xb65c775e in QApplication::notify (this=0xbfb34488, receiver=0x9e1c1cc, e=0xbfb34130) at kernel/qapplication.cpp:3704
#25 0xb7d247da in KApplication::notify (this=0xbfb34488, receiver=0x9e1c1cc, event=0xbfb34130) at ../../kdeui/kernel/kapplication.cpp:302
#26 0xb70798eb in QCoreApplication::notifyInternal (this=0xbfb34488, receiver=0x9e1c1cc, event=0xbfb34130) at kernel/qcoreapplication.cpp:704
#27 0xb70a8946 in QCoreApplication::sendEvent (this=0x9ad5d84) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#28 QTimerInfoList::activateTimers (this=0x9ad5d84) at kernel/qeventdispatcher_unix.cpp:603
#29 0xb70a5637 in timerSourceDispatch (source=0x9ad5db8) at kernel/qeventdispatcher_glib.cpp:184
#30 idleTimerSourceDispatch (source=0x9ad5db8) at kernel/qeventdispatcher_glib.cpp:231
#31 0xb5be92f5 in g_main_dispatch (context=0x9ad5290) at /build/buildd-glib2.0_2.24.1-1-i386-84Pp4V/glib2.0-2.24.1/glib/gmain.c:1960
#32 IA__g_main_context_dispatch (context=0x9ad5290) at /build/buildd-glib2.0_2.24.1-1-i386-84Pp4V/glib2.0-2.24.1/glib/gmain.c:2513
#33 0xb5becfd8 in g_main_context_iterate (context=0x9ad5290, block=<value optimized out>, dispatch=1, self=0x9ad1cf0) at /build/buildd-glib2.0_2.24.1-1-i386-84Pp4V/glib2.0-2.24.1/glib/gmain.c:2591
#34 0xb5bed1b8 in IA__g_main_context_iteration (context=0x9ad5290, may_block=1) at /build/buildd-glib2.0_2.24.1-1-i386-84Pp4V/glib2.0-2.24.1/glib/gmain.c:2654
#35 0xb70a52f5 in QEventDispatcherGlib::processEvents (this=0x9aa96e8, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#36 0xb667f255 in QGuiEventDispatcherGlib::processEvents (this=0x9aa96e8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#37 0xb7077f09 in QEventLoop::processEvents (this=0xbfb343f4, flags=) at kernel/qeventloop.cpp:149
#38 0xb707835a in QEventLoop::exec (this=0xbfb343f4, flags=...) at kernel/qeventloop.cpp:201
#39 0xb707c4ef in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#40 0xb65c0c87 in QApplication::exec () at kernel/qapplication.cpp:3579
#41 0x080eb605 in main (argc=1, argv=0xbfb34694) at ../../kget/main.cpp:184

Possible duplicates by query: bug 224849.

Reported using DrKonqi
Comment 1 Lukas Appelhans 2010-05-22 23:59:11 UTC
This seems to be a crash in libbtcore... Joris, any clue?

Lukas
Comment 2 Joris Guisson 2010-05-23 09:23:18 UTC
Yes this is fixed, fix will be part of the libktorrent 1.0.0 release.
Comment 3 caralu74 2010-05-23 22:08:13 UTC
 I`m so astonished and happy as well cause you are so fast for answer to my bug report, and as I have in another mail this bug is resolved in the next release of kget. Thank you so much for your job. ¡Gracias!




https://bugs.kde.org/show_bug.cgi?id=238523



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-05-22 23:59:11 
---
This seems to be a crash in libbtcore... Joris, any clue?

Lukas