Bug 174881 - kopete crashes when clicking a user to initiate chat or when receiving IM from a user.
Summary: kopete crashes when clicking a user to initiate chat or when receiving IM fro...
Status: RESOLVED DUPLICATE of bug 172578
Alias: None
Product: kopete
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-11 16:54 UTC by Mark Haney
Modified: 2008-11-11 20:11 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Haney 2008-11-11 16:54:15 UTC
Version:            (using KDE 4.1.2)
Compiler:          gcc (GCC) 4.1.2 (Gentoo 4.1.2 p1.0.1)  
OS:                Linux
Installed from:    Gentoo Packages

I just upgraded to KDE 4.1.3 and the kopete version (according to Gentoo it's 4.1.3, but kopete says 0.60.3) and I can run kopete but any action taken inside it causes a crash.  Including when receiving an IM from one of my chat partners.

I've included the Kcrash output below.  Here are the steps I've taken to rectify the problem: 

Rebuild kopete, rebuild all related and dependent libraries.  Erased and rebuilt.  I'm out of options.  The crash output seems to center around Qt and libc.s0.6, but no other application has a stability problem with the Qt or libc versions I have on my system.


Here is the trace from KCrash on the problem:

[KCrash handler]
#5  0x00007f441e803df5 in raise () from /lib64/libc.so.6
#6  0x00007f441e80516e in abort () from /lib64/libc.so.6
#7  0x00007f44265ad795 in qt_message_output ()
   from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007f44265ad8c7 in qFatal () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007f4417d669eb in ?? () from /usr/kde/4.1/lib64/libkhtml.so.5
#10 0x00007f4417d66e80 in ?? () from /usr/kde/4.1/lib64/libkhtml.so.5
#11 0x00007f4417d776dc in ?? () from /usr/kde/4.1/lib64/libkhtml.so.5
#12 0x00007f4417c38983 in ?? () from /usr/kde/4.1/lib64/libkhtml.so.5
#13 0x00007f4417bef80c in KHTMLPart::begin ()
   from /usr/kde/4.1/lib64/libkhtml.so.5
#14 0x00007f441783a265 in ChatMessagePart::writeTemplate ()
   from /usr/kde/4.1/lib64/libkopetechatwindow_shared.so.1
#15 0x00007f441783bdc6 in ChatMessagePart::ChatMessagePart ()
   from /usr/kde/4.1/lib64/libkopetechatwindow_shared.so.1
#16 0x00007f441868ddbb in ?? ()
   from /usr/kde/4.1/lib64/kde4/kopete_emailwindow.so
#17 0x00007f441868e296 in ?? ()
   from /usr/kde/4.1/lib64/kde4/kopete_emailwindow.so
#18 0x00007f4424020a34 in KopeteViewManager::view ()
   from /usr/kde/4.1/lib64/libkopete.so.4
#19 0x00007f4424052e07 in Kopete::ChatSessionManager::createView ()
   from /usr/kde/4.1/lib64/libkopete.so.4
#20 0x00007f44240501f4 in Kopete::ChatSession::view ()
   from /usr/kde/4.1/lib64/libkopete.so.4
#21 0x00007f4424059de0 in Kopete::Contact::sendMessage ()
   from /usr/kde/4.1/lib64/libkopete.so.4
#22 0x00007f442406eb88 in Kopete::MetaContact::sendMessage ()
   from /usr/kde/4.1/lib64/libkopete.so.4
#23 0x000000000042fad4 in ?? ()
#24 0x0000000000433b9d in ?? ()
#25 0x00007f44266a726c in QMetaObject::activate ()
   from /usr/lib64/qt4/libQtCore.so.4
#26 0x00007f441f63fc47 in QAction::triggered ()
   from /usr/lib64/qt4/libQtGui.so.4
#27 0x00007f441f640450 in QAction::activate ()
   from /usr/lib64/qt4/libQtGui.so.4
#28 0x00007f441f9d17dd in ?? () from /usr/lib64/qt4/libQtGui.so.4
#29 0x00007f442560cee1 in KMenu::mouseReleaseEvent ()
   from /usr/kde/4.1/lib64/libkdeui.so.5
#30 0x00007f441f6929f5 in QWidget::event () from /usr/lib64/qt4/libQtGui.so.4
#31 0x00007f441f9cf771 in QMenu::event () from /usr/lib64/qt4/libQtGui.so.4
#32 0x00007f441f6462be in QApplicationPrivate::notify_helper ()
   from /usr/lib64/qt4/libQtGui.so.4
#33 0x00007f441f64b2cc in QApplication::notify ()
   from /usr/lib64/qt4/libQtGui.so.4
#34 0x00007f442555a9eb in KApplication::notify ()
   from /usr/kde/4.1/lib64/libkdeui.so.5
#35 0x00007f44266932c8 in QCoreApplication::notifyInternal ()
   from /usr/lib64/qt4/libQtCore.so.4
#36 0x00007f441f648551 in QApplicationPrivate::sendMouseEvent ()
   from /usr/lib64/qt4/libQtGui.so.4
#37 0x00007f441f6a8603 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#38 0x00007f441f6a7273 in QApplication::x11ProcessEvent ()
   from /usr/lib64/qt4/libQtGui.so.4
#39 0x00007f441f6caf45 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#40 0x00007f4426692645 in QEventLoop::processEvents ()
   from /usr/lib64/qt4/libQtCore.so.4
#41 0x00007f44266927a8 in QEventLoop::exec ()
   from /usr/lib64/qt4/libQtCore.so.4
#42 0x00007f44266944ce in QCoreApplication::exec ()
   from /usr/lib64/qt4/libQtCore.so.4
#43 0x0000000000445fc1 in ?? ()
#44 0x00007f441e7f15a4 in __libc_start_main () from /lib64/libc.so.6
#45 0x0000000000425589 in _start ()
Comment 1 Christophe Marin 2008-11-11 17:09:40 UTC

*** This bug has been marked as a duplicate of bug 172578 ***
Comment 2 Detlev Casanova 2008-11-11 17:33:29 UTC
Could you reemerge (that will need some time) glibc, qt 4, kdelibs and kopete with the splitdebug features ?

You can do this like that : 

FEATURES=splitdebug emerge -av glibc qt kdelibs kopete

Check if the correct packages are to be built (e. g. not qt 3)
Comment 3 Detlev Casanova 2008-11-11 17:59:16 UTC
No, sorry, this is a problem with gentoo, I think.
Could run kopete from konsole and see if there is a message such as

!!!!!!! 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

?

Comment 4 Mark Haney 2008-11-11 19:27:32 UTC
I ran from the command line and I got the same error as you did above.
Comment 5 Mark Haney 2008-11-11 19:34:26 UTC
If this is truly a Gentoo bug, then I can file a bug report with them. 
Comment 6 Detlev Casanova 2008-11-11 19:39:07 UTC
No, try this http://bugs.gentoo.org/show_bug.cgi?id=242194
or this : http://bugs.gentoo.org/show_bug.cgi?id=241312

I have the same problem as you and I still have it here after rebuilding and rebooting, I'll try again, maybe I forgot something... 
Comment 7 Mark Haney 2008-11-11 19:47:58 UTC
There have been a couple of ways to fix this on the gentoo forums, one involves updating the KDE3 version to 3.5.10 and the other involves adding an export to /usr/bin/kde/4.1/bin/startkde.  I've added the export, but it requires restarting KDe which I haven't done yet, but will do shortly.
Comment 8 Mark Haney 2008-11-11 20:11:20 UTC
The link below shows a couple of ways to fix this problem. I can vouch for one way:

Edit /usr/kde/4.1/bin/startkde and just above all the other EXPORTS add this:

export KDEDIRS=${_KDEDIR}:/usr:/usr/local 

And restart X.  This worked for me. I suspect upgrading KDE3.5.x to 3.5.10 as per the Gentoo Forums will fix this as well.

http://forums.gentoo.org/viewtopic-t-710821-highlight-startkde.html