Bug 100826 - kopete crashes loading stylesheets in appearance tab, xslt
Summary: kopete crashes loading stylesheets in appearance tab, xslt
Status: RESOLVED NOT A BUG
Alias: None
Product: kopete
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: RedHat Enterprise Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
: 102126 102486 102725 102748 102803 102864 102879 102891 102930 103119 103443 103657 104150 109675 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-03-04 18:28 UTC by eli
Modified: 2005-07-27 00:03 UTC (History)
16 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description eli 2005-03-04 18:28:59 UTC
Version:            (using KDE KDE 3.4.0)
Installed from:    RedHat RPMs

I had the opportunity to chat today with kopete acting as a jabber client. Kopete kept crashing and crashing. I could not keep it functioning very long. I finally had to revert to gaim to continue my conversation. I'm only using the jabber plugin so I could not tell you if happens with other protocol plugins.
Comment 1 Thiago Macieira 2005-03-05 02:47:13 UTC
Can you paste a backtrace?
Comment 2 eli 2005-03-05 07:38:56 UTC
Dang.... just when you a neeed a program to crash, it goes and turns stable on you. I deleted the contents of my /tmp folder and my cache folder. Maybe something there was screwing things up. Anyway.... I've had an extended chat and kopete did not crash.

Please keep the incident open a little while longer. I promise to let you know if the problem returns with a backtrace. If the crash dialog box provides one. If by the time KDE 3.4 final roles out and things stay stable. I will also let you know so that the incident can be closed.
Comment 3 Thiago Macieira 2005-03-05 20:01:01 UTC
Please reopen when you have a backtrace. It is easier for us to do this way because we lose track of open bugs too easily.
Comment 4 eli 2005-03-17 05:12:37 UTC
Found a couple of crashes, that I do not believe are related necessarily to the jabber plugin, but here goes anyway. The first crash, I will put  in this comment. I will place the second crash, in the next comment.

I backed up my kopete configurartion in ~/.kde/apps/kopete, ~/.kde/config/kopete.eventsrc and ~/.kde/config/kopeterc. I then started kopete and kopete would not start.

Backtrace is as follows.

Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1209100608 (LWP 6395)]
[KCrash handler]
#4  0x4756dae5 in free () from /lib/tls/libc.so.6
#5  0x4689998a in xmlFreeNodeList () from /usr/lib/libxml2.so.2
#6  0x4689991d in xmlFreeNodeList () from /usr/lib/libxml2.so.2
#7  0x4689991d in xmlFreeNodeList () from /usr/lib/libxml2.so.2
#8  0x4689991d in xmlFreeNodeList () from /usr/lib/libxml2.so.2
#9  0x4689991d in xmlFreeNodeList () from /usr/lib/libxml2.so.2
#10 0x4689991d in xmlFreeNodeList () from /usr/lib/libxml2.so.2
#11 0x4689991d in xmlFreeNodeList () from /usr/lib/libxml2.so.2
#12 0x4689991d in xmlFreeNodeList () from /usr/lib/libxml2.so.2
#13 0x4689991d in xmlFreeNodeList () from /usr/lib/libxml2.so.2
#14 0x4689a022 in xmlFreeDoc () from /usr/lib/libxml2.so.2
#15 0x46b2f29d in xsltFreeStylesheet () from /usr/lib/libxslt.so.1
#16 0xb7f93a88 in Kopete::XSLT::setXSLT () from /usr/lib/libkopete.so.1
#17 0xb798ef80 in init_kcm_kopete_appearanceconfig ()
   from /usr/lib/kde3/kcm_kopete_appearanceconfig.so
#18 0xb7990ceb in init_kcm_kopete_appearanceconfig ()
   from /usr/lib/kde3/kcm_kopete_appearanceconfig.so
#19 0xb7991919 in init_kcm_kopete_appearanceconfig ()
   from /usr/lib/kde3/kcm_kopete_appearanceconfig.so
#20 0xb7994085 in init_kcm_kopete_appearanceconfig ()
   from /usr/lib/kde3/kcm_kopete_appearanceconfig.so
#21 0x43e03fbd in KLibFactory::create () from /usr/lib/libkdecore.so.4
#22 0x44170b5a in KCModuleLoader::load () from /usr/lib/libkutils.so.1
#23 0x44171607 in KCModuleLoader::loadModule () from /usr/lib/libkutils.so.1
#24 0x441811bc in KCModuleProxy::realModule () from /usr/lib/libkutils.so.1
#25 0x44181c4a in KCModuleProxy::buttons () from /usr/lib/libkutils.so.1
#26 0x44171fdf in KCMultiDialog::slotAboutToShow ()
   from /usr/lib/libkutils.so.1
#27 0x4417314b in KCMultiDialog::qt_invoke () from /usr/lib/libkutils.so.1
#28 0x47eb0cce in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#29 0x444fe6e8 in KDialogBase::aboutToShowPage () from /usr/lib/libkdeui.so.4
#30 0x4417491e in KCMultiDialog::addModule () from /usr/lib/libkutils.so.1
#31 0x44193f35 in KSettings::Dialog::Dialog () from /usr/lib/libkutils.so.1
#32 0x44193def in KSettings::Dialog::Dialog () from /usr/lib/libkutils.so.1
#33 0x4419068c in KSettings::Dialog::createDialogFromServices ()
   from /usr/lib/libkutils.so.1
#34 0x44190a9d in KSettings::Dialog::show () from /usr/lib/libkutils.so.1
#35 0xb7fa254b in KopetePreferencesAction::slotShowPreferences ()
   from /usr/lib/libkopete.so.1
#36 0xb7fa337a in KopetePreferencesAction::qt_invoke ()
   from /usr/lib/libkopete.so.1
#37 0x47eb0cce in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#38 0x47eb13a4 in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#39 0x44468083 in KAction::activated () from /usr/lib/libkdeui.so.4
#40 0x44468a3e in KAction::slotActivated () from /usr/lib/libkdeui.so.4
#41 0x444681e7 in KAction::activate () from /usr/lib/libkdeui.so.4
#42 0x0806ad87 in ?? ()
#43 0x084789c0 in ?? ()
#44 0x00000000 in ?? ()
Comment 5 eli 2005-03-17 05:16:25 UTC
The second instance of crashing occurred when I restored by configuration. I then selected "Configure Kopete" under the "Settings" menu. Backtrace to follow.

Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1209100608 (LWP 6516)]
[KCrash handler]
#4  0x4756dae4 in free () from /lib/tls/libc.so.6
#5  0x4689998a in xmlFreeNodeList () from /usr/lib/libxml2.so.2
#6  0x4689991d in xmlFreeNodeList () from /usr/lib/libxml2.so.2
#7  0x4689991d in xmlFreeNodeList () from /usr/lib/libxml2.so.2
#8  0x4689991d in xmlFreeNodeList () from /usr/lib/libxml2.so.2
#9  0x4689991d in xmlFreeNodeList () from /usr/lib/libxml2.so.2
#10 0x4689991d in xmlFreeNodeList () from /usr/lib/libxml2.so.2
#11 0x4689991d in xmlFreeNodeList () from /usr/lib/libxml2.so.2
#12 0x4689991d in xmlFreeNodeList () from /usr/lib/libxml2.so.2
#13 0x4689991d in xmlFreeNodeList () from /usr/lib/libxml2.so.2
#14 0x4689a022 in xmlFreeDoc () from /usr/lib/libxml2.so.2
#15 0x46b2f29d in xsltFreeStylesheet () from /usr/lib/libxslt.so.1
#16 0xb7f93a88 in Kopete::XSLT::setXSLT () from /usr/lib/libkopete.so.1
#17 0xb58daf80 in init_kcm_kopete_appearanceconfig ()
   from /usr/lib/kde3/kcm_kopete_appearanceconfig.so
#18 0xb58dcceb in init_kcm_kopete_appearanceconfig ()
   from /usr/lib/kde3/kcm_kopete_appearanceconfig.so
#19 0xb58dd919 in init_kcm_kopete_appearanceconfig ()
   from /usr/lib/kde3/kcm_kopete_appearanceconfig.so
#20 0xb58e0085 in init_kcm_kopete_appearanceconfig ()
   from /usr/lib/kde3/kcm_kopete_appearanceconfig.so
#21 0x43e03fbd in KLibFactory::create () from /usr/lib/libkdecore.so.4
#22 0x44170b5a in KCModuleLoader::load () from /usr/lib/libkutils.so.1
#23 0x44171607 in KCModuleLoader::loadModule () from /usr/lib/libkutils.so.1
#24 0x441811bc in KCModuleProxy::realModule () from /usr/lib/libkutils.so.1
#25 0x44181c4a in KCModuleProxy::buttons () from /usr/lib/libkutils.so.1
#26 0x44171fdf in KCMultiDialog::slotAboutToShow ()
   from /usr/lib/libkutils.so.1
#27 0x4417314b in KCMultiDialog::qt_invoke () from /usr/lib/libkutils.so.1
#28 0x47eb0cce in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#29 0x444fe6e8 in KDialogBase::aboutToShowPage () from /usr/lib/libkdeui.so.4
#30 0x4417491e in KCMultiDialog::addModule () from /usr/lib/libkutils.so.1
#31 0x44193f35 in KSettings::Dialog::Dialog () from /usr/lib/libkutils.so.1
#32 0x44193def in KSettings::Dialog::Dialog () from /usr/lib/libkutils.so.1
#33 0x4419068c in KSettings::Dialog::createDialogFromServices ()
   from /usr/lib/libkutils.so.1
#34 0x44190a9d in KSettings::Dialog::show () from /usr/lib/libkutils.so.1
#35 0xb7fa254b in KopetePreferencesAction::slotShowPreferences ()
   from /usr/lib/libkopete.so.1
#36 0xb7fa337a in KopetePreferencesAction::qt_invoke ()
   from /usr/lib/libkopete.so.1
#37 0x47eb0cce in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#38 0x47eb13a4 in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#39 0x44468083 in KAction::activated () from /usr/lib/libkdeui.so.4
#40 0x44468a3e in KAction::slotActivated () from /usr/lib/libkdeui.so.4
#41 0x4446cfc6 in KAction::slotPopupActivated () from /usr/lib/libkdeui.so.4
#42 0x4446d1c1 in KAction::qt_invoke () from /usr/lib/libkdeui.so.4
#43 0xb7fa3367 in KopetePreferencesAction::qt_invoke ()
   from /usr/lib/libkopete.so.1
#44 0x47eb0cce in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#45 0x481e3d1d in QSignal::signal () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#46 0x47ec9aad in QSignal::activate () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#47 0x47fb38d6 in QPopupMenu::mouseReleaseEvent ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#48 0x44458d5a in KPopupMenu::mouseReleaseEvent () from /usr/lib/libkdeui.so.4
#49 0x47ee6f8a in QWidget::event () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#50 0x47e520b9 in QApplication::internalNotify ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#51 0x47e522f9 in QApplication::notify ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#52 0x43d55e08 in KApplication::notify () from /usr/lib/libkdecore.so.4
#53 0x47def3e1 in QETWidget::translateMouseEvent ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#54 0x47ded5a5 in QApplication::x11ProcessEvent ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#55 0x47e003f6 in QEventLoop::processEvents ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#56 0x47e67755 in QEventLoop::enterLoop ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#57 0x47e676ae in QEventLoop::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#58 0x47e512bb in QApplication::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#59 0x0806a193 in ?? ()
#60 0xbffff790 in ?? ()
#61 0xbffff770 in ?? ()
#62 0xbffff770 in ?? ()
#63 0x00000000 in ?? ()
Comment 6 Will Stephenson 2005-03-17 16:25:31 UTC
what's the output of "ls -l ~/.kde/share/apps/kopete/styles" and "ls -l $KDEDIR/share/apps/kopete/styles"?

You may need to supply your own value of KDEDIR according to where RH installs kde.
Comment 7 Rex Dieter 2005-03-17 17:15:23 UTC
FYI, redhat (and kde-redhat) packages already define KDEDIR=/usr via /etc/profile.d/kde.(sh|csh)
Comment 8 eli 2005-03-17 19:25:25 UTC
As requested. But as Rex pointed out the paths have already been defined.

ls -l ~/.kde/share/apps/kopete/styles
total 0

ls -l $KDEDIR/share/apps/kopete/styles
total 100
-rw-r--r--  1 root root  4658 Feb 23 12:30 Adium.xsl
drwxr-xr-x  5 root root  4096 Mar 16 23:46 data
-rw-r--r--  1 root root  3503 Nov  4  2003 Enclosed.xsl
-rw-r--r--  1 root root  3307 Feb 23 12:30 Gaim.xsl
-rw-r--r--  1 root root 34124 Feb 23 12:30 iChat.xsl
-rw-r--r--  1 root root  4160 Apr 29  2004 Keramik.xsl
-rw-r--r--  1 root root 12586 Jun  3  2004 Konsole.xsl
-rw-r--r--  1 root root  2397 Apr 29  2004 Kopete.xsl
-rw-r--r--  1 root root  4615 Jan  6  2004 Minimal.xsl
-rw-r--r--  1 root root  2093 Nov  4  2003 MSN.xsl
-rw-r--r--  1 root root  3124 Feb 23 12:30 XChat.xsl
Comment 9 Gregorio Guidi 2005-03-23 10:45:14 UTC
Not a kopete bug, it will be fixed with libxslt-1.1.4:
http://bugzilla.gnome.org/show_bug.cgi?id=170533
Comment 10 Rex Dieter 2005-03-23 12:07:55 UTC
*** Bug 102126 has been marked as a duplicate of this bug. ***
Comment 11 eli 2005-03-23 19:34:33 UTC
Confirmed. I just downloaded, compiled and installed the latest CVS snapshot. Fixed the problem. Thanks.
Comment 12 Bearcat M. Sandor 2005-03-23 20:15:46 UTC
Is there an option in kopete we poor users can change until libxslt 1.1.4 becomes available?  I.e is there a work-around?
Comment 13 Jason Keirstead 2005-03-23 21:35:21 UTC
On Wednesday 23 March 2005 3:15 pm, Bearcat M.Sandor wrote:
> ------- Is there an option in kopete we poor users can change until libxslt
> 1.1.4 becomes available?  I.e is there a work-around?


No, Kopete uses libxslt at it's core.

Your best bet would be to downgrade to a known working version.
Comment 14 Hussam Al-Tayeb 2005-03-24 05:25:37 UTC
I downgraded from libxslt 1.1.13 to 1.1.11 This seems to have stopped the crashes.
Comment 15 Will Stephenson 2005-03-24 22:49:03 UTC
Thanks for finding the cause.

Closing as invalid now as it's not our bug:

http://bugzilla.gnome.org/show_bug.cgi?id=170533 
Comment 16 Will Stephenson 2005-03-25 21:13:00 UTC
*** Bug 102486 has been marked as a duplicate of this bug. ***
Comment 17 Olivier Goffart 2005-03-29 16:23:56 UTC
*** Bug 102748 has been marked as a duplicate of this bug. ***
Comment 18 Thiago Macieira 2005-03-29 16:51:43 UTC
*** Bug 102735 has been marked as a duplicate of this bug. ***
Comment 19 Olivier Goffart 2005-03-29 17:45:04 UTC
*** Bug 102725 has been marked as a duplicate of this bug. ***
Comment 20 Olivier Goffart 2005-03-30 10:36:57 UTC
*** Bug 102803 has been marked as a duplicate of this bug. ***
Comment 21 Maksim Orlovich 2005-03-30 17:20:42 UTC
*** Bug 102864 has been marked as a duplicate of this bug. ***
Comment 22 Olivier Goffart 2005-03-30 20:39:30 UTC
*** Bug 102879 has been marked as a duplicate of this bug. ***
Comment 23 James 2005-03-31 07:26:42 UTC
After downgrading my libxslt from .13 to .12 the stability issues appear to have been resolved.

Comment 24 Olivier Goffart 2005-03-31 09:00:39 UTC
*** Bug 102891 has been marked as a duplicate of this bug. ***
Comment 25 Olivier Goffart 2005-03-31 14:59:39 UTC
*** Bug 102930 has been marked as a duplicate of this bug. ***
Comment 26 Michael Jahn 2005-04-02 20:21:44 UTC
For everybody interested: it looks like libxslt 1.1.14 was released today. The Changelog mentions a fix for the bugzilla entry linked in comment #15 :-)
Comment 27 Olivier Goffart 2005-04-03 11:15:48 UTC
*** Bug 103119 has been marked as a duplicate of this bug. ***
Comment 28 Olivier Goffart 2005-04-07 19:57:55 UTC
*** Bug 103443 has been marked as a duplicate of this bug. ***
Comment 29 Will Stephenson 2005-04-11 15:10:16 UTC
*** Bug 103657 has been marked as a duplicate of this bug. ***
Comment 30 Will Stephenson 2005-04-18 17:56:17 UTC
*** Bug 104150 has been marked as a duplicate of this bug. ***
Comment 31 Jan Ritzerfeld 2005-07-27 00:03:41 UTC
*** Bug 109675 has been marked as a duplicate of this bug. ***