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

crash with svn 527372

Tags: None
(comma "," separated)
cade
Registered Member
Posts
70
Karma
0

crash with svn 527372

Fri Apr 07, 2006 10:26 pm
nothing special, happened during download.

qt-3.3.5
kde-3.5.1

hope stacktrace helps:

Using host libthread_db library "/lib/tls/libthread_db.so.1".
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
[Thread debugging using libthread_db enabled]
[New Thread -1241733408 (LWP 576)]
[KCrash handler]
#5 0xb70ab780 in QListViewItem::takeItem () from /usr/lib/qt/lib/libqt-mt.so.3
#6 0xb70abe86 in QListViewItem::~QListViewItem ()
from /usr/lib/qt/lib/libqt-mt.so.3
#7 0xb78d05bf in KListViewItem::~KListViewItem ()
from /opt/kde/lib/libkdeui.so.4
#8 0xb3635a59 in kt::PeerViewItem::~PeerViewItem ()
from /opt/kde/lib/kde3/ktinfowidgetplugin.so
#9 0xb36356b6 in kt::PeerView::removePeer ()
from /opt/kde/lib/kde3/ktinfowidgetplugin.so
#10 0xb3636690 in kt::KTorrentMonitor::peerRemoved ()
from /opt/kde/lib/kde3/ktinfowidgetplugin.so
#11 0xb7e86866 in bt::TorrentControl::onPeerRemoved ()
from /opt/kde/lib/libktorrent.so.0
#12 0xb7e89830 in bt::TorrentControl::qt_invoke ()
from /opt/kde/lib/libktorrent.so.0
#13 0xb6fbe46a in QObject::activate_signal ()
from /usr/lib/qt/lib/libqt-mt.so.3
#14 0xb7e7c0b0 in bt::PeerManager::peerKilled ()
from /opt/kde/lib/libktorrent.so.0
#15 0xb7e7e4a7 in bt::PeerManager::update () from /opt/kde/lib/libktorrent.so.0
#16 0xb7e8a95f in bt::TorrentControl::update ()
from /opt/kde/lib/libktorrent.so.0
#17 0x0806cb18 in KTorrentCore::update ()
#18 0x0806cbd6 in KTorrentCore::qt_invoke ()
#19 0xb6fbe4e4 in QObject::activate_signal ()
from /usr/lib/qt/lib/libqt-mt.so.3
#20 0xb6fbec7c in QObject::activate_signal ()
from /usr/lib/qt/lib/libqt-mt.so.3
#21 0xb72fef39 in QTimer::timeout () from /usr/lib/qt/lib/libqt-mt.so.3
#22 0xb6fe07bf in QTimer::event () from /usr/lib/qt/lib/libqt-mt.so.3
#23 0xb6f59f2f in QApplication::internalNotify ()
from /usr/lib/qt/lib/libqt-mt.so.3
#24 0xb6f5a0cc in QApplication::notify () from /usr/lib/qt/lib/libqt-mt.so.3
#25 0xb75a38c5 in KApplication::notify () from /opt/kde/lib/libkdecore.so.4
#26 0xb6f4d48c in QEventLoop::activateTimers ()
from /usr/lib/qt/lib/libqt-mt.so.3
#27 0xb6f06281 in QEventLoop::processEvents ()
from /usr/lib/qt/lib/libqt-mt.so.3
#28 0xb6f70691 in QEventLoop::enterLoop () from /usr/lib/qt/lib/libqt-mt.so.3
#29 0xb6f705e6 in QEventLoop::exec () from /usr/lib/qt/lib/libqt-mt.so.3
#30 0xb6f5908f in QApplication::exec () from /usr/lib/qt/lib/libqt-mt.so.3
#31 0x0805bc50 in main ()
George
Moderator
Posts
5421
Karma
1

Sat Apr 08, 2006 9:24 am
The only recent change in PeerViewItem is the addition of the GeoIP stuff.
Probably a small bug in that code.
imported4-Ivan
Registered Member
Posts
819
Karma
0

Sat Apr 08, 2006 12:08 pm
I cannot reproduce that crash. Is there a way to make it happen or it just happens sometime?
cade
Registered Member
Posts
70
Karma
0

Sat Apr 08, 2006 1:34 pm
just happens...

if it is supposed to be in the peers view, perhaps is triggered by peer with strange ip (no geoip flag or something?).

perhaps I could run in under gdb but don't have idea what to look for?
imported4-Ivan
Registered Member
Posts
819
Karma
0

Sat Apr 08, 2006 2:38 pm
I don't think it's triggered by GeoIP. We use it only when constructing object and it's deleted right after. Flag is also set at that point and we don't touch anything of that at all from that point on.

Crash happened when destroying PeerViewItem object and that would be when we got rid of the peer. We don't do anything when destroying this object and the crash is in ~QListViewItem (). Something surely triggered it but I'm not sure what could that be.

This crash happened only once?
cade
Registered Member
Posts
70
Karma
0

Sat Apr 08, 2006 7:49 pm
few times... anyway I'll try to find it out
zebul666
Registered Member
Posts
41
Karma
0

another crash with svn 527444

Sat Apr 08, 2006 10:09 pm
i do not want to open a new thread for that

i got ktorrent that crashes after i go in the pref and deselect enable DHT and click apply. it crashes as i click apply

svn 527444

argh it happens once and i can't get it happen again ...
stoeptegel
Registered Member
Posts
1075
Karma
0

Sat Apr 08, 2006 10:41 pm
zebul666
Why are you posting in a topic that has obvious another bug involved?
This makes things difficult to read.
zebul666
Registered Member
Posts
41
Karma
0

sorry

Sun Apr 09, 2006 7:56 am
sorry
George
Moderator
Posts
5421
Karma
1

Sun Apr 09, 2006 8:33 am
just happens...

if it is supposed to be in the peers view, perhaps is triggered by peer with strange ip (no geoip flag or something?).

perhaps I could run in under gdb but don't have idea what to look for?


Did you do a make install when you updated ? If there are old plugins lying around this can cause weird crashes.
George
Moderator
Posts
5421
Karma
1

Re: another crash with svn 527444

Sun Apr 09, 2006 8:34 am
zebul666 wrote:i do not want to open a new thread for that

i got ktorrent that crashes after i go in the pref and deselect enable DHT and click apply. it crashes as i click apply

svn 527444

argh it happens once and i can't get it happen again ...


Maybe offtopic, but I can't reproduce it either.
cade
Registered Member
Posts
70
Karma
0

Sun Apr 09, 2006 8:35 pm
plugins are fine, I cannot reproduce it either, hope never happens again :)
cade
Registered Member
Posts
70
Karma
0

Tue Apr 11, 2006 11:07 pm
there is definitely something wrong with the peers view (info widget) got KT crashed again with the latest snapshot as of yesterday, Apr 10th. :(

here is different backtrace I don't know if it is same "bug"-related but perhaps could be useful:

Program received signal SIGSEGV, Segmentation fault.
0xb73136de in QChar::isSpace () from /usr/lib/qt/lib/libqt-mt.so.3
(gdb) bt
#0 0xb73136de in QChar::isSpace () from /usr/lib/qt/lib/libqt-mt.so.3
#1 0x0806ea46 in QString::compare (s1=@0x850cc30, s2=@0x8590260) at qstring.h:680
#2 0x0806e518 in KTorrentViewItem::compare (this=0x850cfa0, i=0x85c5408, col=0) at ktorrentviewitem.cpp:186
#3 0xb7120485 in qHeapSortHelper<QListViewPrivate::SortableItem*, QListViewPrivate::SortableItem> () from /usr/lib/qt/lib/libqt-mt.so.3
#4 0xb7120663 in qHeapSort<QListViewPrivate::SortableItem*> () from /usr/lib/qt/lib/libqt-mt.so.3
#5 0xb711d22f in QListViewItem::sortChildItems () from /usr/lib/qt/lib/libqt-mt.so.3
#6 0xb710a104 in QListViewItem::enforceSortOrder () from /usr/lib/qt/lib/libqt-mt.so.3
#7 0xb710e3fd in QListView::buildDrawableList () from /usr/lib/qt/lib/libqt-mt.so.3
#8 0xb7111d68 in QListViewItem::setOpen () from /usr/lib/qt/lib/libqt-mt.so.3
#9 0xb710af06 in QListView::reconfigureItems () from /usr/lib/qt/lib/libqt-mt.so.3
#10 0xb710bc51 in QListView::setFont () from /usr/lib/qt/lib/libqt-mt.so.3
#11 0xb7059c65 in QWidget::unsetFont () from /usr/lib/qt/lib/libqt-mt.so.3
#12 0xb705b11d in QWidget::reparent () from /usr/lib/qt/lib/libqt-mt.so.3
#13 0xb705b205 in QWidget::reparent () from /usr/lib/qt/lib/libqt-mt.so.3
#14 0xb7ef6455 in kt::ExpandableWidget::remove (this=0x8149940, w=0x30003d) at expandablewidget.cpp:128
#15 0x080633f8 in KTorrent::removeWidgetFromSeedView (this=0x813ab48, w=0x8c3dbb0) at ktorrent.cpp:721
#16 0xb34a2c55 in kt::InfoWidgetPlugin::unload (this=0x8c10480) at infowidgetplugin.cpp:69
#17 0xb7ef2c56 in kt::PluginManager::unloadAll (this=0x8269f90, save=false) at pluginmanager.cpp:142
#18 0x08070fa7 in KTorrentCore::onExit (this=0x826b238) at ktorrentcore.cpp:340
#19 0x0806198f in KTorrent::queryExit (this=0x813ab48) at ktorrent.cpp:431
#20 0xb7966094 in KMainWindow::shuttingDown () from /opt/kde/lib/libkdeui.so.4
#21 0xb7969ff0 in KMainWindow::qt_invoke () from /opt/kde/lib/libkdeui.so.4
#22 0x080638ea in KTorrent::qt_invoke (this=0x813ab48, _id=71, _o=0xbfbdf630) at ktorrent.moc:171
#23 0xb70254e4 in QObject::activate_signal () from /usr/lib/qt/lib/libqt-mt.so.3
#24 0xb7025c7c in QObject::activate_signal () from /usr/lib/qt/lib/libqt-mt.so.3
#25 0xb76084bc in KApplication::shutDown () from /opt/kde/lib/libkdecore.so.4
#26 0xb7608f50 in KApplication::qt_emit () from /opt/kde/lib/libkdecore.so.4
#27 0xb76ca17b in KUniqueApplication::qt_emit () from /opt/kde/lib/libkdecore.so.4
#28 0x0807574d in KTorrentApp::qt_emit (this=0xbfbdf860, _id=15, _o=0xbfbdf790) at ktorrentapp.moc:82
#29 0xb70254a6 in QObject::activate_signal () from /usr/lib/qt/lib/libqt-mt.so.3
#30 0xb7025c7c in QObject::activate_signal () from /usr/lib/qt/lib/libqt-mt.so.3
#31 0xb735c41a in QApplication::aboutToQuit () from /usr/lib/qt/lib/libqt-mt.so.3
#32 0xb6fd7711 in QEventLoop::enterLoop () from /usr/lib/qt/lib/libqt-mt.so.3
#33 0xb6fd75e6 in QEventLoop::exec () from /usr/lib/qt/lib/libqt-mt.so.3
#34 0xb6fc008f in QApplication::exec () from /usr/lib/qt/lib/libqt-mt.so.3
#35 0x0805dc0f in main (argc=1, argv=0xbfbdfa14) at main.cpp:111

still trying to find more details...
George
Moderator
Posts
5421
Karma
1

Wed Apr 12, 2006 4:10 pm
This happens at exit, haven't seen any crashes like that.
cade
Registered Member
Posts
70
Karma
0

Wed Apr 12, 2006 4:35 pm
I disabled infowidget. It haven't crashed yet since then.


Bookmarks



Who is online

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