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

[r639769]: Crash on startup

Tags: None
(comma "," separated)
imported4-Tomasu
Registered Member
Posts
302
Karma
0

[r639769]: Crash on startup

Tue Mar 06, 2007 1:40 am
Ok, heres the backtrace. I can grab the debug log as well if you need it.

Code: Select all
moose@natasha ~ $ gdb ktorrent
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run --nocrashhandler --nofork --debug=full
Starting program: /usr/bin/ktorrent --nocrashhandler --nofork --debug=full

Program received signal SIGSEGV, Segmentation fault.
0x0807570c in QLNode::getData (this=0x626f6a) at /usr/qt/3/include/qglist.h:51
51          QPtrCollection::Item getData()      { return data; }
(gdb) bt
#0  0x0807570c in QLNode::getData (this=0x626f6a) at /usr/qt/3/include/qglist.h:51
#1  0x6fe311e8 in QPtrListStdIterator<bt::PeerDownloader>::operator* (this=0x778d24c8) at /usr/qt/3/include/qptrlist.h:48
#2  0x6fe2ed6b in bt::ChunkDownload::isChoked (this=0x8b9d580) at chunkdownload.cpp:454
#3  0x6fe20119 in bt::Downloader::normalUpdate (this=0x8688048) at downloader.cpp:167
#4  0x6fe202f5 in bt::Downloader::update (this=0x8688048) at downloader.cpp:143
#5  0x6fe2c1b7 in bt::TorrentControl::update (this=0x8658e40) at torrentcontrol.cpp:187
#6  0x0807a16a in KTorrentCore::update (this=0x82c6250) at ktorrentcore.cpp:624
#7  0x0807ca61 in KTorrentCore::qt_invoke (this=0x82c6250, _id=5, _o=0x778d271c) at ktorrentcore.moc:243
#8  0x6eea4a5f in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#9  0x6eea57f8 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#10 0x6f2a4522 in QTimer::timeout () from /usr/qt/3/lib/libqt-mt.so.3
#11 0x6eed3365 in QTimer::event () from /usr/qt/3/lib/libqt-mt.so.3
#12 0x6ee301eb in QApplication::internalNotify () from /usr/qt/3/lib/libqt-mt.so.3
#13 0x6ee32163 in QApplication::notify () from /usr/qt/3/lib/libqt-mt.so.3
#14 0x6f5953ca in KApplication::notify () from /usr/kde/3.5/lib/libkdecore.so.4
#15 0x778d2d20 in ?? ()
#16 0x082c6284 in ?? ()
#17 0x778d2a78 in ?? ()
#18 0x6eb42439 in operator new () from /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.so.6
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) print this
$1 = (QLNode * const) 0x626f6a
(gdb)
George
Moderator
Posts
5421
Karma
1

Tue Mar 06, 2007 6:26 pm
Version ?
imported4-Tomasu
Registered Member
Posts
302
Karma
0

Tue Mar 06, 2007 6:28 pm
In the Subject :) thats the svn revision. ie: r639769
George
Moderator
Posts
5421
Karma
1

Tue Mar 06, 2007 6:30 pm
Oops, need to turn on brain
George
Moderator
Posts
5421
Karma
1

Tue Mar 06, 2007 6:31 pm
This happens immediatly or does it run for a couple of seconds ?
imported4-Tomasu
Registered Member
Posts
302
Karma
0

Tue Mar 06, 2007 6:34 pm
It runs for a few seconds in that it has to scan my rather large list of active and inactive torrents (64 total). It takes ktorrent about 10 seconds or so to finish scanning and loading the torrents.

I think it started because I ran out of diskspace on the drive that ktorrent downloads to as well as where I have it set to store the ktorrent metadata. I have since made some room, so it should be ok.
George
Moderator
Posts
5421
Karma
1

Tue Mar 06, 2007 7:04 pm
Doesn't seem to be disk IO related. It happens when we are checking if all peers of a chunk download are choked. This shouldn't happen.


Bookmarks



Who is online

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