Bug 224849 - Kget crash during downloading torrent
Summary: Kget crash during downloading torrent
Status: RESOLVED DUPLICATE of bug 186621
Alias: None
Product: kget
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: KGet authors
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-30 09:09 UTC by s.zelman
Modified: 2010-02-02 17:52 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 s.zelman 2010-01-30 09:09:54 UTC
Application that crashed: kget
Version of the application: 2.3.4
KDE Version: 4.3.4 (KDE 4.3.4)
Qt Version: 4.5.3
Operating System: Linux 2.6.32-ARCH x86_64

What I was doing when the application crashed:
Kget crash during downloading torrent, no GUI activity, program minimized to tray.

 -- Backtrace:
Application: KGet (kget), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f77babde780 (LWP 26923))]

Thread 3 (Thread 0x7f77a5e50710 (LWP 26939)):
#0  0x00007f77b6aa107c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f77b7849413 in ?? () from /usr/lib/libQtCore.so.4
#2  0x00007f77b7844fd5 in QMutex::lock() () from /usr/lib/libQtCore.so.4
#3  0x00007f77aaaf178c in bt::PacketReader::onDataReady(unsigned char*, unsigned int) () from /usr/lib/kde4/kget_bittorrentfactory.so
#4  0x00007f77aaad7bd5 in net::BufferedSocket::readBuffered(unsigned int, unsigned long long) () from /usr/lib/kde4/kget_bittorrentfactory.so
#5  0x00007f77aaadd31a in net::SocketGroup::processUnlimited(bool, unsigned long long) () from /usr/lib/kde4/kget_bittorrentfactory.so
#6  0x00007f77aaadd518 in net::SocketGroup::process(bool, unsigned long long, unsigned int&) () from /usr/lib/kde4/kget_bittorrentfactory.so
#7  0x00007f77aaadc32c in net::NetworkThread::doGroups(unsigned int, unsigned long long, unsigned int) () from /usr/lib/kde4/kget_bittorrentfactory.so
#8  0x00007f77aaadbc42 in net::DownloadThread::update() () from /usr/lib/kde4/kget_bittorrentfactory.so
#9  0x00007f77aaadc3f9 in net::NetworkThread::run() () from /usr/lib/kde4/kget_bittorrentfactory.so
#10 0x00007f77b7849ba5 in ?? () from /usr/lib/libQtCore.so.4
#11 0x00007f77b6a9c81a in start_thread () from /lib/libpthread.so.0
#12 0x00007f77b6fd6c7d in clone () from /lib/libc.so.6
#13 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f77a564f710 (LWP 26940)):
#0  0x00007f77b6aa107c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f77b784ac6b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f77aaadb2f8 in net::UploadThread::update() () from /usr/lib/kde4/kget_bittorrentfactory.so
#3  0x00007f77aaadc3f9 in net::NetworkThread::run() () from /usr/lib/kde4/kget_bittorrentfactory.so
#4  0x00007f77b7849ba5 in ?? () from /usr/lib/libQtCore.so.4
#5  0x00007f77b6a9c81a in start_thread () from /lib/libpthread.so.0
#6  0x00007f77b6fd6c7d in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f77babde780 (LWP 26923)):
[KCrash Handler]
#5  0x00007f77b6f87e6b in memcpy () from /lib/libc.so.6
#6  0x00007f77aa55b066 in QCA::MemoryRegion::MemoryRegion(QByteArray const&) () from /usr/lib/libqca.so.2
#7  0x00007f77aa5727d4 in QCA::Hash::update(char const*, int) () from /usr/lib/libqca.so.2
#8  0x00007f77aaaf8652 in bt::ChunkDownload::updateHash() () from /usr/lib/kde4/kget_bittorrentfactory.so
#9  0x00007f77aaaf93d5 in bt::ChunkDownload::piece(bt::Piece const&, bool&) () from /usr/lib/kde4/kget_bittorrentfactory.so
#10 0x00007f77aaaffbce in bt::Downloader::pieceReceived(bt::Piece const&) () from /usr/lib/kde4/kget_bittorrentfactory.so
#11 0x00007f77aaae84e1 in bt::Peer::packetReady(unsigned char const*, unsigned int) () from /usr/lib/kde4/kget_bittorrentfactory.so
#12 0x00007f77aaaf1375 in bt::PacketReader::update() () from /usr/lib/kde4/kget_bittorrentfactory.so
#13 0x00007f77aaae8225 in bt::Peer::update() () from /usr/lib/kde4/kget_bittorrentfactory.so
#14 0x00007f77aaaebba0 in bt::PeerManager::update() () from /usr/lib/kde4/kget_bittorrentfactory.so
#15 0x00007f77aab1c6ac in bt::TorrentControl::update() () from /usr/lib/kde4/kget_bittorrentfactory.so
#16 0x00007f77aaa9dd98 in BTTransfer::updateTorrent() () from /usr/lib/kde4/kget_bittorrentfactory.so
#17 0x00007f77aaa9de93 in BTTransfer::update() () from /usr/lib/kde4/kget_bittorrentfactory.so
#18 0x00007f77aaaa0520 in BTTransfer::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/kde4/kget_bittorrentfactory.so
#19 0x00007f77b7943bac in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#20 0x00007f77b793db53 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#21 0x00007f77b84a10dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#22 0x00007f77b84a83be in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#23 0x00007f77ba615146 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#24 0x00007f77b792ea7c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#25 0x00007f77b795a362 in ?? () from /usr/lib/libQtCore.so.4
#26 0x00007f77b7957248 in ?? () from /usr/lib/libQtCore.so.4
#27 0x00007f77b2deb26e in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#28 0x00007f77b2deec28 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#29 0x00007f77b2deed50 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#30 0x00007f77b7956f73 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#31 0x00007f77b85342fe in ?? () from /usr/lib/libQtGui.so.4
#32 0x00007f77b792d3b2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#33 0x00007f77b792d784 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#34 0x00007f77b792f939 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#35 0x000000000045d49c in _start ()

Reported using DrKonqi
Comment 1 Lukas Appelhans 2010-02-02 14:14:08 UTC
This seems to crash inside the libbtcore code. Joris, can you have a look?

Lukas
Comment 2 Joris Guisson 2010-02-02 17:52:01 UTC
This has already been fixed

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