Bug 176686

Summary: KTorrent crashes at startup
Product: [Unmaintained] kdelibs Reporter: Emmanuel Eytan <list>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra, joris.guisson
Priority: NOR    
Version: 4.1   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Emmanuel Eytan 2008-12-02 10:38:07 UTC
Version:           3.1.5 (using KDE 4.1.3)
Compiler:          GCC 4.x 
OS:                Linux
Installed from:    Gentoo Packages

Just by starting the app, it crashes with this backtrace:

Application: KTorrent (ktorrent), signal SIGABRT
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0x2af7b98dee60 (LWP 15272)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#5  0x00002af7b78b7535 in raise () from /lib64/libc.so.6
#6  0x00002af7b78b89e0 in abort () from /lib64/libc.so.6
#7  0x00002af7afe2e88d in qt_message_output ()
   from /usr/lib64/qt4/libQtCore.so.4
#8  0x00002af7afe2e9c7 in qFatal () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00002aaaacaf2d8b in ?? () from /usr/lib64/libkhtml.so.5
#10 0x00002aaaacaf397f in ?? () from /usr/lib64/libkhtml.so.5
#11 0x00002aaaacb04430 in ?? () from /usr/lib64/libkhtml.so.5
#12 0x00002aaaac9c3022 in ?? () from /usr/lib64/libkhtml.so.5
#13 0x00002aaaac96f323 in KHTMLPart::begin () from /usr/lib64/libkhtml.so.5
#14 0x00002aaaac96fa79 in KHTMLPart::slotData () from /usr/lib64/libkhtml.so.5
#15 0x00002aaaac98b8ec in KHTMLPart::qt_metacall ()
   from /usr/lib64/libkhtml.so.5
#16 0x00002aaaabec5135 in ?? () from /usr/lib/kde4/ktsearchplugin.so
#17 0x00002af7aff30a1c in QMetaObject::activate ()
   from /usr/lib64/qt4/libQtCore.so.4
#18 0x00002af7b33e9154 in KIO::TransferJob::data () from /usr/lib64/libkio.so.5
#19 0x00002af7b33faa96 in KIO::TransferJob::qt_metacall ()
   from /usr/lib64/libkio.so.5
#20 0x00002af7aff30a1c in QMetaObject::activate ()
   from /usr/lib64/qt4/libQtCore.so.4
#21 0x00002af7b3492ae2 in KIO::SlaveInterface::data ()
   from /usr/lib64/libkio.so.5
#22 0x00002af7b34951f4 in KIO::SlaveInterface::dispatch ()
   from /usr/lib64/libkio.so.5
#23 0x00002af7b34930b1 in KIO::SlaveInterface::dispatch ()
   from /usr/lib64/libkio.so.5
#24 0x00002af7b3485c0e in KIO::Slave::gotInput () from /usr/lib64/libkio.so.5
#25 0x00002af7b3485f16 in KIO::Slave::qt_metacall ()
   from /usr/lib64/libkio.so.5
#26 0x00002af7aff30a1c in QMetaObject::activate ()
   from /usr/lib64/qt4/libQtCore.so.4
#27 0x00002af7b33c1b5e in ?? () from /usr/lib64/libkio.so.5
#28 0x00002af7b33c1bfd in KIO::Connection::qt_metacall ()
   from /usr/lib64/libkio.so.5
#29 0x00002af7aff2b7dd in QObject::event () from /usr/lib64/qt4/libQtCore.so.4
#30 0x00002af7b1a668dd in QApplicationPrivate::notify_helper ()
   from /usr/lib64/qt4/libQtGui.so.4
#31 0x00002af7b1a6e4fa in QApplication::notify ()
   from /usr/lib64/qt4/libQtGui.so.4
#32 0x00002af7b2f4498b in KApplication::notify () from /usr/lib64/libkdeui.so.5
#33 0x00002af7aff1cae0 in QCoreApplication::notifyInternal ()
   from /usr/lib64/qt4/libQtCore.so.4
#34 0x00002af7aff1d691 in QCoreApplicationPrivate::sendPostedEvents ()
   from /usr/lib64/qt4/libQtCore.so.4
#35 0x00002af7b1af4254 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#36 0x00002af7aff1b442 in QEventLoop::processEvents ()
   from /usr/lib64/qt4/libQtCore.so.4
#37 0x00002af7aff1b5cd in QEventLoop::exec ()
   from /usr/lib64/qt4/libQtCore.so.4
#38 0x00002af7aff1d94d in QCoreApplication::exec ()
   from /usr/lib64/qt4/libQtCore.so.4
#39 0x0000000000423846 in _start ()
#0  0x00002af7b791ec01 in nanosleep () from /lib64/libc.so.6
Comment 1 Joris Guisson 2008-12-02 12:22:30 UTC
KHTML problem, reassigning to kdelibs

Can you run ktorrent from a konsole, so the khtml guys know what the assert printed out ?
Comment 2 Emmanuel Eytan 2008-12-02 13:57:02 UTC
This is the output from the console:

--------------------------------------------

$ ktorrent
ktorrent(15478) KAction::setGlobalShortcut: Attempt to set global shortcut for action without objectName(). Read the setGlobalShortcut() documentation.
!!!!!!! ERROR !!!!!!! - KHTML default stylesheet version mismatch. Aborting. Check your installation. File used was: /usr/kde/3.5/share/apps/khtml/css/html4.css. Expected STYLE_VERSION 1

KCrash: Application 'ktorrent' crashing...
sock_file=/home/eje211/.kde4/socket-hector/kdeinit4__0

-------------------------------------------

I saw that konqueror 3 was not emerged. I emerged it and checcked that /usr/kde/3.5/share/apps/khtml/css/html4.css did exist. I still have the same output as before, though.

-------------------------------------------

$ ktorrent
ktorrent(11476) KAction::setGlobalShortcut: Attempt to set global shortcut for action without objectName(). Read the setGlobalShortcut() documentation.
!!!!!!! ERROR !!!!!!! - KHTML default stylesheet version mismatch. Aborting. Check your installation. File used was: /usr/kde/3.5/share/apps/khtml/css/html4.css. Expected STYLE_VERSION 1

KCrash: Application 'ktorrent' crashing...
sock_file=/home/eje211/.kde4/socket-hector/kdeinit4__0
Comment 3 Joris Guisson 2008-12-02 18:18:38 UTC
I think you need to install konqueror 4, that style sheet is for 3.5.

Either way, this file should be installed with the khml library, and not with konqueror. 
Comment 4 Joris Guisson 2008-12-02 18:19:19 UTC
Oops typo: khml -> khtml
Comment 5 Dario Andres 2009-01-24 18:34:24 UTC

*** This bug has been marked as a duplicate of bug 157850 ***