This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KTorrent SVN crashed

Tags: None
(comma "," separated)
ubunt00l
Registered Member
Posts
22
Karma
0

KTorrent SVN crashed

Wed Jan 11, 2006 3:19 pm
I downloaded the newest SVN of KTorrent and experienced a crash when I tried to cancel/remove one of the torrents I was downloading. From what I remember, the torrent had a somewhat long filename possibly with weird characters in it like dashes and periods and stuff. Not sure if that matters. Plus it was one of the 7 torrents I had loaded in KTorrent and was trying to download at the time. I'll try and reproduce the bug when I get back home.

I am using Kubuntu with KDE 3.4. Does it matter what version of GCC i use to compile KTorrent? I will have to double check which one I used.
George
Moderator
Posts
5421
Karma
1

Wed Jan 11, 2006 6:00 pm
gcc version doesn't matter.

A backtrace would be handy, this is probably the same bug which Ivan is experiencing.
imported4-Ivan
Registered Member
Posts
819
Karma
0

Wed Jan 11, 2006 6:13 pm
It looks just like it, yes. Send the backtrace so we can be sure it's the same thing.
ubunt00l
Registered Member
Posts
22
Karma
0

oh well

Wed Jan 11, 2006 9:45 pm
I can't seem to make it crash again. We rest assured that if I encounter something like it again, that I will grab the backtrace for it. Thanks anyways.
ubunt00l
Registered Member
Posts
22
Karma
0

Got one!!!

Thu Jan 12, 2006 3:21 am
Ok I got a crash for you, it happened while trying to right click on one of about 7 listed torrents. Here's the backtrace:

Code: Select all
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
[Thread debugging using libthread_db enabled]
[New Thread -1231923520 (LWP 26757)]
[KCrash handler]
#4  0xb7122bbe in QObjectCleanupHandler::clear () from /usr/lib/libqt-mt.so.3
#5  0xb7122c57 in QObjectCleanupHandler::~QObjectCleanupHandler ()
   from /usr/lib/libqt-mt.so.3
#6  0xb606a2ec in kt::InfoWidget::fillFileTree ()
   from /usr/lib/kde3/ktinfowidgetplugin.so
#7  0xb606b7bc in kt::InfoWidget::changeTC ()
   from /usr/lib/kde3/ktinfowidgetplugin.so
#8  0xb6063373 in kt::InfoWidgetPlugin::currentChanged ()
   from /usr/lib/kde3/ktinfowidgetplugin.so
#9  0xb7f67f2d in kt::GUIInterface::notifyViewListeners ()
   from /usr/lib/libktorrent.so.0
#10 0x0805ef29 in KTorrent::qt_invoke ()
#11 0xb7120929 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#12 0x0805fa10 in KTorrentView::currentChanged ()
#13 0x08061ddb in KTorrentView::qt_invoke ()
#14 0xb7120929 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#15 0xb7495e4d in QListView::currentChanged () from /usr/lib/libqt-mt.so.3
#16 0xb721f57e in QListView::setCurrentItem () from /usr/lib/libqt-mt.so.3
#17 0xb72226cf in QListView::contentsMousePressEventEx ()
   from /usr/lib/libqt-mt.so.3
#18 0xb7222dc6 in QListView::contentsMousePressEvent ()
   from /usr/lib/libqt-mt.so.3
#19 0xb79fe810 in KListView::contentsMousePressEvent ()
   from /usr/lib/libkdeui.so.4
#20 0xb7252b0f in QScrollView::viewportMousePressEvent ()
   from /usr/lib/libqt-mt.so.3
#21 0xb725577e in QScrollView::eventFilter () from /usr/lib/libqt-mt.so.3
#22 0xb721a3bd in QListView::eventFilter () from /usr/lib/libqt-mt.so.3
#23 0xb711da72 in QObject::activate_filters () from /usr/lib/libqt-mt.so.3
#24 0xb711daf0 in QObject::event () from /usr/lib/libqt-mt.so.3
#25 0xb715b268 in QWidget::event () from /usr/lib/libqt-mt.so.3
#26 0xb70b7f80 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#27 0xb70b8500 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#28 0xb7805e37 in KApplication::notify () from /usr/lib/libkdecore.so.4
#29 0xb7048e25 in QApplication::sendSpontaneousEvent ()
   from /usr/lib/libqt-mt.so.3
#30 0xb7044325 in QETWidget::translateMouseEvent ()
   from /usr/lib/libqt-mt.so.3
#31 0xb704266f in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
#32 0xb705bfff in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#33 0xb70cfcfb in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#34 0xb70cfc1e in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#35 0xb70b6c13 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#36 0x0805b4b7 in main ()
Tanktalus
Registered Member
Posts
67
Karma
0
OS

Another backtrace...

Thu Jan 12, 2006 5:06 am
Because this appears to be a different backtrace for essentially the same problem, I'm going to put it in this thread. It may actually be the same thing, just gotten at two ways. I clicked on the "X" in the tool bar to remove the torrent, while ubunt00l may have right-clicked on the torrent to select the delete? Although I would have thought the two methods would result in the trace lining up again, so what do I know. I'll just leave it for the experts ;->

(Note that the torrent was not actually deleted because I cancelled that dialog that came up.)

Finally, my version is the SVN version that George made available to me - I haven't upgraded since.

Using host libthread_db library "/lib/libthread_db.so.1".
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 8356)]
[KCrash handler]
#5 0xb737e664 in operator== () from /usr/qt/3/lib/libqt-mt.so.3
#6 0xb7184456 in QListViewItem::setText () from /usr/qt/3/lib/libqt-mt.so.3
#7 0x0806606e in KTorrentViewItem::update ()
#8 0x08061bb8 in KTorrentView::update ()
#9 0x0805e983 in KTorrent::updatedStats ()
#10 0x0805f1f5 in KTorrent::qt_invoke ()
#11 0xb70a608c in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#12 0xb70a67b6 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#13 0xb73e5f43 in QTimer::timeout () from /usr/qt/3/lib/libqt-mt.so.3
#14 0xb70c6b9b in QTimer::event () from /usr/qt/3/lib/libqt-mt.so.3
#15 0xb7045a4a in QApplication::internalNotify ()
from /usr/qt/3/lib/libqt-mt.so.3
#16 0xb7045bd9 in QApplication::notify () from /usr/qt/3/lib/libqt-mt.so.3
#17 0xb76a035e in KApplication::notify () from /usr/kde/3.4/lib/libkdecore.so.4
#18 0xb7039bbb in QEventLoop::activateTimers ()
from /usr/qt/3/lib/libqt-mt.so.3
#19 0xb6ff475c in QEventLoop::processEvents () from /usr/qt/3/lib/libqt-mt.so.3
#20 0xb705b8e5 in QEventLoop::enterLoop () from /usr/qt/3/lib/libqt-mt.so.3
#21 0xb7044d5b in QApplication::enter_loop () from /usr/qt/3/lib/libqt-mt.so.3
#22 0xb7c7905e in KIO::NetAccess::enter_loop ()
from /usr/kde/3.4/lib/libkio.so.4
#23 0xb7c79263 in KIO::NetAccess::delInternal ()
from /usr/kde/3.4/lib/libkio.so.4
#24 0xb7c79cd9 in KIO::NetAccess::del () from /usr/kde/3.4/lib/libkio.so.4
#25 0xb7edfefa in bt::Delete () from /usr/kde/3.4/lib/libktorrent.so.0
#26 0x0806808c in KTorrentCore::remove ()
#27 0x0805e143 in KTorrent::removeDownload ()
#28 0x0805f2af in KTorrent::qt_invoke ()
#29 0xb70a608c in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#30 0xb70a67b6 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#31 0xb797073b in KAction::activated () from /usr/kde/3.4/lib/libkdeui.so.4
#32 0xb797112e in KAction::slotActivated () from /usr/kde/3.4/lib/libkdeui.so.4
#33 0xb7970874 in KAction::slotButtonClicked ()
from /usr/kde/3.4/lib/libkdeui.so.4
#34 0xb7975910 in KAction::qt_invoke () from /usr/kde/3.4/lib/libkdeui.so.4
#35 0xb70a608c in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#36 0xb7a2c9a7 in KToolBarButton::buttonClicked ()
from /usr/kde/3.4/lib/libkdeui.so.4
#37 0xb7a2cb70 in KToolBarButton::mouseReleaseEvent ()
from /usr/kde/3.4/lib/libkdeui.so.4
#38 0xb70dd62d in QWidget::event () from /usr/qt/3/lib/libqt-mt.so.3
#39 0xb7045a4a in QApplication::internalNotify ()
from /usr/qt/3/lib/libqt-mt.so.3
#40 0xb7045df4 in QApplication::notify () from /usr/qt/3/lib/libqt-mt.so.3
#41 0xb76a035e in KApplication::notify () from /usr/kde/3.4/lib/libkdecore.so.4
#42 0xb6fe2432 in QETWidget::translateMouseEvent ()
from /usr/qt/3/lib/libqt-mt.so.3
#43 0xb6fe0d0e in QApplication::x11ProcessEvent ()
from /usr/qt/3/lib/libqt-mt.so.3
#44 0xb6ff41fd in QEventLoop::processEvents () from /usr/qt/3/lib/libqt-mt.so.3
#45 0xb705b8e5 in QEventLoop::enterLoop () from /usr/qt/3/lib/libqt-mt.so.3
#46 0xb705b83e in QEventLoop::exec () from /usr/qt/3/lib/libqt-mt.so.3
#47 0xb7044d35 in QApplication::exec () from /usr/qt/3/lib/libqt-mt.so.3
#48 0x0805b4fe in main ()
imported4-Ivan
Registered Member
Posts
819
Karma
0

Thu Jan 12, 2006 11:18 am
Joris, the last backtrace looks just like the problem I'm experiencing....
George
Moderator
Posts
5421
Karma
1

Thu Jan 12, 2006 6:14 pm
Well the Tanktalus' backtrace cannot happen anymore.

KIO::NetAccess is far to slow if you start (de)selecting directories containing lots of files. So I chucked it out and replaced that by more lower level stuff.
George
Moderator
Posts
5421
Karma
1

Re: Got one!!!

Thu Jan 12, 2006 6:22 pm
@ ubunt00l :

IIt seems to go wrong when the filetree gets rebuild in the infowidget.

I have been clicking like hell between a couple of different torrents, so far no crashes..
ubunt00l
Registered Member
Posts
22
Karma
0

weird

Fri Jan 13, 2006 2:41 am
I know, I can't MAKE it crash. It only crashes when I totally don't expect it to. Heh, it's like it knows......

I've only had two crashes so far. I'll be sure to let you know of another.


Bookmarks



Who is online

Registered users: Bing [Bot], daret, Google [Bot], sandyvee, Sogou [Bot]