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

ktorrent svn 595682 and kde 3.5.5 crash.

Tags: None
(comma "," separated)
imported4-Tomasu
Registered Member
Posts
302
Karma
0
Code: Select all
moose@natasha ~/build/ktorrent $ gdb /usr/bin/ktorrent
GNU gdb 6.4
Copyright 2005 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 --nofork --nocrashhandler
Starting program: /usr/bin/ktorrent --nofork --nocrashhandler

Program received signal SIGSEGV, Segmentation fault.
0x0806c132 in QString::unicode (this=0x3) at qstring.h:653
653         const QChar* unicode() const { return d->unicode; }
(gdb) bt
#0  0x0806c132 in QString::unicode (this=0x3) at qstring.h:653
#1  0x0806c14b in QString::isNull (this=0x3) at qstring.h:874
#2  0x08065ad0 in KTorrent::addToolWidget (this=0x81a9b80, w=0x83d02b8, icon=@0x3, caption=@0x0, dock=kt::GUIInterface::DOCK_BOTTOM) at ktorrent.cpp:773
#3  0x080653b5 in KTorrent::addWidgetBelowView (this=0x81a9b80, w=0x83d02b8, icon=@0x3, caption=@0x0) at ktorrent.cpp:760
#4  0xb63ad0d3 in kt::InfoWidgetPlugin::load (this=0x8397ab0) at infowidgetplugin.cpp:59
#5  0xb7def8de in kt::PluginManager::load (this=0x8351080, name=@0x8397adc) at pluginmanager.cpp:90
#6  0xb7defe55 in kt::PluginManager::loadPluginList (this=0x8351080) at pluginmanager.cpp:75
#7  0x08081243 in KTorrentCore::loadPlugins (this=0x8350ac8) at ktorrentcore.cpp:127
#8  0x0806ab9a in KTorrent (this=0x81a9b80) at ktorrent.cpp:184
#9  0x08087953 in KTorrentApp::newInstance (this=0xbf822340) at ktorrentapp.cpp:66
#10 0xb768c351 in KUniqueApplication::newInstanceNoFork () from /usr/kde/3.5/lib/libkdecore.so.4
#11 0xbf822340 in ?? ()
#12 0xb7f7b720 in _dl_make_stack_executable () from /lib/ld-linux.so.2
#13 0xb768cef8 in KUniqueApplication::qt_invoke () from /usr/kde/3.5/lib/libkdecore.so.4
#14 0xbf822340 in ?? ()
#15 0xb7f7b720 in _dl_make_stack_executable () from /lib/ld-linux.so.2
#16 0x080874f5 in KTorrentApp::qt_invoke (this=0xbf822340, _id=19, _o=0xbf821e84) at ktorrentapp.moc:77
#17 0xb70bbe19 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#18 0xb73ef2be in QSignal::signal () from /usr/qt/3/lib/libqt-mt.so.3
#19 0xb70d78dd in QSignal::activate () from /usr/qt/3/lib/libqt-mt.so.3
#20 0xb70deb83 in QSingleShotTimer::event () from /usr/qt/3/lib/libqt-mt.so.3
#21 0xb705d0da in QApplication::internalNotify () from /usr/qt/3/lib/libqt-mt.so.3
#22 0xb705db5f in QApplication::notify () from /usr/qt/3/lib/libqt-mt.so.3
#23 0xb75d81ca in KApplication::notify () from /usr/kde/3.5/lib/libkdecore.so.4
#24 0xbf822340 in ?? ()
#25 0x08196630 in ?? ()
#26 0xbf822124 in ?? ()
#27 0xb6e04019 in operator new () from /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.so.6
Previous frame inner to this frame (corrupt stack?)
(gdb)


ktorrent was working fine with 3.5.4. Once I restarted into 3.5.5, ktorrent crashes on start. Even after I've moved my config, and ktorrent tmp dir out of the way.

This is mu build command:
svn up && make clean && make -f Makefile.cvs && ./configure --enable-geoip --prefix=/usr --enable-new-ldflags --enable-debug=full && make -j5 && sudo make install && sudo ldconfig

I'm using gcc 4.1.1, kde 3.5.5, glibc 2.4, Qt 3.3.6, gentoo 2006.1.

I've rebuilt ktorrent from scratch a couple times, nothing seems to help.
George
Moderator
Posts
5421
Karma
1

Mon Oct 16, 2006 6:27 pm
#3 0x080653b5 in KTorrent::addWidgetBelowView (this=0x81a9b80, w=0x83d02b8, icon=@0x3, caption=@0x0) at ktorrent.cpp:760
#4 0xb63ad0d3 in kt::InfoWidgetPlugin::load (this=0x8397ab0) at infowidgetplugin.cpp:59


This is impossible, InfoWidgetPlugin::load does not call addWidgetBelowView

Do you have old plugins lying around on your harddisk somewhere ?
imported4-Tomasu
Registered Member
Posts
302
Karma
0

Mon Oct 16, 2006 8:14 pm
After "make uninstall"ing? I doubt it.....

Yet I did, though in KDE's lib dir, and they were there in 3.5.4, so I don't see why it picks a kde rebuild to start crashing.

Alright, now that its started, all the torrents were stopped, and a few of them "lost" all of the previously downloaded data, at least till a data check is done. IMO, if theres a crash, force all torrents to do a check once they are started (for download).


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], q.ignora, watchstar