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

bug: selecting file size in torrent file manager

Tags: None
(comma "," separated)
stoeptegel
Registered Member
Posts
1075
Karma
0
SVN rev. 496131

loading torrent>deselecting all files(in popup)>select one of the 2 maps with the a few small files in it(in popup)>sort filelist on filesize>crash.

I hope you can make something of this :lol:
George
Moderator
Posts
5421
Karma
1

Tue Jan 10, 2006 11:00 am
I will fix it when I get home from work
George
Moderator
Posts
5421
Karma
1

Tue Jan 10, 2006 5:14 pm
Can you post a backtrace ?
stoeptegel
Registered Member
Posts
1075
Karma
0

Tue Jan 10, 2006 7:38 pm
I guess so, but you'ĺl have tell me where to get it. ($ ktorrrent --debug? )
Oh and plz let me know if you need the specific torrent.
stoeptegel
Registered Member
Posts
1075
Karma
0

Tue Jan 10, 2006 7:52 pm
Ah i found it myself: (linux is teaching me ;) )
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 -1231886112 (LWP 6514)]
[KCrash handler]
#4  0xb7f72369 in kt::FileTreeItem::compare () from /usr/lib/libktorrent.so.0
#5  0xb6017820 in kt::IWFileTreeItem::compare ()
   from /usr/lib/kde3/ktinfowidgetplugin.so
#6  0xb72305f5 in QListViewPrivate::SortableItem::cmp ()
   from /usr/lib/libqt-mt.so.3
#7  0xb723069a in QListViewPrivate::SortableItem::operator< ()
   from /usr/lib/libqt-mt.so.3
#8  0xb7231644 in qHeapSortPushDown<QListViewPrivate::SortableItem> ()
   from /usr/lib/libqt-mt.so.3
#9  0xb72318da in qHeapSortHelper<QListViewPrivate::SortableItem*, QListViewPrivate::SortableItem> () from /usr/lib/libqt-mt.so.3
#10 0xb723198a in qHeapSort<QListViewPrivate::SortableItem*> ()
   from /usr/lib/libqt-mt.so.3
#11 0xb722daa9 in QListViewItem::sortChildItems () from /usr/lib/libqt-mt.so.3
#12 0xb7219167 in QListViewItem::enforceSortOrder ()
   from /usr/lib/libqt-mt.so.3
#13 0xb7219bce in QListViewItem::firstChild () from /usr/lib/libqt-mt.so.3
#14 0xb721d76b in QListViewItem::itemPos () from /usr/lib/libqt-mt.so.3
#15 0xb721d7f7 in QListView::itemPos () from /usr/lib/libqt-mt.so.3
#16 0xb721d8cc in QListView::ensureItemVisible () from /usr/lib/libqt-mt.so.3
#17 0xb79e4dc2 in KListView::setSorting () from /usr/lib/libkdeui.so.4
#18 0xb721ac2e in QListView::changeSortColumn () from /usr/lib/libqt-mt.so.3
#19 0xb749f32d in QListView::qt_invoke () from /usr/lib/libqt-mt.so.3
#20 0xb7a664dd in KListView::qt_invoke () from /usr/lib/libkdeui.so.4
#21 0xb7128929 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#22 0xb7129238 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#23 0xb7497d66 in QHeader::sectionClicked () from /usr/lib/libqt-mt.so.3
#24 0xb71f0a0c in QHeader::mouseReleaseEvent () from /usr/lib/libqt-mt.so.3
#25 0xb7163356 in QWidget::event () from /usr/lib/libqt-mt.so.3
#26 0xb70bff80 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#27 0xb70c0500 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#28 0xb780ee37 in KApplication::notify () from /usr/lib/libkdecore.so.4
#29 0xb7050e25 in QApplication::sendSpontaneousEvent ()
   from /usr/lib/libqt-mt.so.3
#30 0xb704c325 in QETWidget::translateMouseEvent ()
   from /usr/lib/libqt-mt.so.3
#31 0xb704a66f in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
#32 0xb7063fff in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#33 0xb70d7cfb in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#34 0xb70d7c1e in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#35 0xb70bec13 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#36 0x0805b417 in main ()
George
Moderator
Posts
5421
Karma
1

Tue Jan 10, 2006 9:02 pm
Can you send me the torrent, I'm not able to reproduce it here ?
stoeptegel
Registered Member
Posts
1075
Karma
0

Tue Jan 10, 2006 11:10 pm
After some micfo.com problems (bad webhost), the url is in your pb. :)
George
Moderator
Posts
5421
Karma
1

Wed Jan 11, 2006 5:55 pm
I uncheck root, then check the subdirectory (the only one there is) and sort the files on their size, and it doesn't crash. Maybe you can try the latest from SVN.

I'll also send it to Ivan, see if he can reproduce the bug.
stoeptegel
Registered Member
Posts
1075
Karma
0

Wed Jan 11, 2006 7:23 pm
I updated to the latest 496994 now and tried again, bug is still present.

At my screen there are 3 folders, one root, and 2 nested half way down. :lol:
Let me try again.

Standard filename listing>unselect all files by root folder>scroll half way down to the first(and only) folder>view the inside>a new folder appears>view this inside also.

From here you can select the files in this directory(half way down), but without doing this the listing on filesize will also crash ktorrent.

It looks to me that the whole selecting/unselecting file thing doesn't have anything to do with it. It was just the thing in procedure i did what made it crash.

EDIT
Yup, tried it and selected or unselected files it doesn't matter. Also one folder open is enough.

Backtrace from all files selected>view inside of first folder(not the nested one)>list filesize:
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 -1232566048 (LWP 20886)]
[KCrash handler]
#4  0xb7ecc469 in kt::FileTreeItem::compare () from /usr/lib/libktorrent.so.0
#5  0xb5f70a20 in kt::IWFileTreeItem::compare ()
   from /usr/lib/kde3/ktinfowidgetplugin.so
#6  0xb718a5f5 in QListViewPrivate::SortableItem::cmp ()
   from /usr/lib/libqt-mt.so.3
#7  0xb718a69a in QListViewPrivate::SortableItem::operator< ()
   from /usr/lib/libqt-mt.so.3
#8  0xb718b644 in qHeapSortPushDown<QListViewPrivate::SortableItem> ()
   from /usr/lib/libqt-mt.so.3
#9  0xb718b8da in qHeapSortHelper<QListViewPrivate::SortableItem*, QListViewPrivate::SortableItem> () from /usr/lib/libqt-mt.so.3
#10 0xb718b98a in qHeapSort<QListViewPrivate::SortableItem*> ()
   from /usr/lib/libqt-mt.so.3
#11 0xb7187aa9 in QListViewItem::sortChildItems () from /usr/lib/libqt-mt.so.3
#12 0xb7173167 in QListViewItem::enforceSortOrder ()
   from /usr/lib/libqt-mt.so.3
#13 0xb7177d46 in QListView::buildDrawableList () from /usr/lib/libqt-mt.so.3
#14 0xb717a4a4 in QListView::drawContentsOffset () from /usr/lib/libqt-mt.so.3
#15 0xb71b492c in QScrollView::viewportPaintEvent ()
   from /usr/lib/libqt-mt.so.3
#16 0xb797c038 in KListView::viewportPaintEvent () from /usr/lib/libkdeui.so.4
#17 0xb71b772a in QScrollView::eventFilter () from /usr/lib/libqt-mt.so.3
#18 0xb717c3bd in QListView::eventFilter () from /usr/lib/libqt-mt.so.3
#19 0xb707fa72 in QObject::activate_filters () from /usr/lib/libqt-mt.so.3
#20 0xb707faf0 in QObject::event () from /usr/lib/libqt-mt.so.3
#21 0xb70bd268 in QWidget::event () from /usr/lib/libqt-mt.so.3
#22 0xb7019f80 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#23 0xb701acf6 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#24 0xb7768e37 in KApplication::notify () from /usr/lib/libkdecore.so.4
#25 0xb6faadb7 in QApplication::sendEvent () from /usr/lib/libqt-mt.so.3
#26 0xb6fe6212 in QWidget::repaint () from /usr/lib/libqt-mt.so.3
#27 0xb70bdfb3 in QWidget::repaint () from /usr/lib/libqt-mt.so.3
#28 0xb70b80de in QWidget::repaint () from /usr/lib/libqt-mt.so.3
#29 0xb717446a in QListView::updateContents () from /usr/lib/libqt-mt.so.3
#30 0xb73f92ef in QListView::qt_invoke () from /usr/lib/libqt-mt.so.3
#31 0xb79c04dd in KListView::qt_invoke () from /usr/lib/libkdeui.so.4
#32 0xb7082929 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#33 0xb70833c4 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#34 0xb73e3f9a in QTimer::timeout () from /usr/lib/libqt-mt.so.3
#35 0xb70a7c19 in QTimer::event () from /usr/lib/libqt-mt.so.3
#36 0xb7019f80 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#37 0xb701a172 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#38 0xb7768e37 in KApplication::notify () from /usr/lib/libkdecore.so.4
#39 0xb6faadb7 in QApplication::sendEvent () from /usr/lib/libqt-mt.so.3
#40 0xb700b99b in QEventLoop::activateTimers () from /usr/lib/libqt-mt.so.3
#41 0xb6fbea84 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#42 0xb7031cfb in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#43 0xb7031c1e in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#44 0xb7018c13 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#45 0x0805b4b7 in main ()


Shame i can't with this myself. :cry:
OS using is kubuntu5.10, if it helps any.
George
Moderator
Posts
5421
Karma
1

Wed Jan 11, 2006 8:13 pm
It's fixed now. You may run svn update.
stoeptegel
Registered Member
Posts
1075
Karma
0

Wed Jan 11, 2006 8:29 pm
Yeah, now this is rock stable here to. :cool:
Thank you!


Bookmarks



Who is online

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