Bug 133938 - kopete crashes if one goes online with jabber-groupchats opened
Summary: kopete crashes if one goes online with jabber-groupchats opened
Status: RESOLVED WORKSFORME
Alias: None
Product: kopete
Classification: Applications
Component: Jabber Plugin (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-11 23:47 UTC by S. Burmeister
Modified: 2013-06-13 10:23 UTC (History)
3 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 S. Burmeister 2006-09-11 23:47:15 UTC
Version:           0.12.2 (using KDE KDE 3.5.4)
Installed from:    SuSE RPMs
OS:                Linux

I have two groupchats open. If I go offline and back online without closing them, I get the following message and kopete crashes.

Fatal error in the Jabber contact pool. Please restart Kopete and submit a debug log of your session to http://bugs.kde.org.

This is reproducible.
Comment 1 Philip Rodrigues 2006-09-12 17:38:04 UTC
Do you get a backtrace from the crash? If so, please paste it here
Comment 2 S. Burmeister 2006-09-13 08:56:34 UTC
Überprüfung der Systemkonfiguration beim Start deaktiviert.

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1238993232 (LWP 5123)]
[KCrash handler]
#6  0xb7ec6ddd in Kopete::Contact::hasProperty ()
   from /opt/kde3/lib/libkopete.so.1
#7  0xb7ec786c in Kopete::Contact::property ()
   from /opt/kde3/lib/libkopete.so.1
#8  0xb7ecbbb9 in Kopete::Contact::setProperty ()
   from /opt/kde3/lib/libkopete.so.1
#9  0xb5884eca in JabberAccount::slotContactUpdated ()
   from /opt/kde3/lib/kde3/kopete_jabber.so
#10 0xb588b9a6 in JabberAccount::qt_invoke ()
   from /opt/kde3/lib/kde3/kopete_jabber.so
#11 0xb699cf1d in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#12 0xb59a77b1 in JabberClient::newContact ()
   from /opt/kde3/lib/kde3/kopete_jabber.so
#13 0xb59a7804 in JabberClient::slotNewContact ()
   from /opt/kde3/lib/kde3/kopete_jabber.so
#14 0xb59aa334 in JabberClient::qt_invoke ()
   from /opt/kde3/lib/kde3/kopete_jabber.so
#15 0xb699cf1d in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#16 0xb59064c1 in XMPP::Client::rosterItemAdded ()
   from /opt/kde3/lib/kde3/kopete_jabber.so
#17 0xb5952f03 in XMPP::Client::importRosterItem ()
   from /opt/kde3/lib/kde3/kopete_jabber.so
#18 0xb59531c4 in XMPP::Client::importRoster ()
   from /opt/kde3/lib/kde3/kopete_jabber.so
#19 0xb595322c in XMPP::Client::slotRosterRequestFinished ()
   from /opt/kde3/lib/kde3/kopete_jabber.so
#20 0xb5905f8b in XMPP::Client::qt_invoke ()
   from /opt/kde3/lib/kde3/kopete_jabber.so
#21 0xb699cf1d in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#22 0xb699db7d in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#23 0xb5905c49 in XMPP::Task::finished ()
   from /opt/kde3/lib/kde3/kopete_jabber.so
#24 0xb594c75c in XMPP::Task::done () from /opt/kde3/lib/kde3/kopete_jabber.so
#25 0xb594c837 in XMPP::Task::setSuccess ()
   from /opt/kde3/lib/kde3/kopete_jabber.so
#26 0xb596e16c in XMPP::JT_Roster::take ()
   from /opt/kde3/lib/kde3/kopete_jabber.so
#27 0xb594cc71 in XMPP::Task::take () from /opt/kde3/lib/kde3/kopete_jabber.so
#28 0xb59511fd in XMPP::Client::distribute ()
   from /opt/kde3/lib/kde3/kopete_jabber.so
#29 0xb5951b4a in XMPP::Client::streamReadyRead ()
   from /opt/kde3/lib/kde3/kopete_jabber.so
#30 0xb5905f47 in XMPP::Client::qt_invoke ()
   from /opt/kde3/lib/kde3/kopete_jabber.so
#31 0xb699cf1d in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#32 0xb699db7d in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#33 0xb590465c in XMPP::Stream::readyRead ()
   from /opt/kde3/lib/kde3/kopete_jabber.so
#34 0xb593af7d in XMPP::ClientStream::doReadyRead ()
   from /opt/kde3/lib/kde3/kopete_jabber.so
#35 0xb5904db5 in XMPP::ClientStream::qt_invoke ()
   from /opt/kde3/lib/kde3/kopete_jabber.so
#36 0xb699cf1d in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#37 0xb6cd5b1e in QSignal::signal () from /usr/lib/qt3/lib/libqt-mt.so.3
#38 0xb69b8fc7 in QSignal::activate () from /usr/lib/qt3/lib/libqt-mt.so.3
#39 0xb69c0383 in QSingleShotTimer::event ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#40 0xb693df07 in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#41 0xb693ecd1 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
#42 0xb7086c23 in KApplication::notify () from /opt/kde3/lib/libkdecore.so.4
#43 0xb6933095 in QEventLoop::activateTimers ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#44 0xb68ed8e0 in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#45 0xb6954d28 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
#46 0xb6954bbe in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#47 0xb693dabf in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#48 0x0806df2b in main ()
Comment 3 Olivier Goffart 2006-09-17 12:36:09 UTC
Can you give me more hint about how to reproduce ?
Can you geve me also the debug output of the XML which is sent or received when joining the groupchat when you go online.
Comment 4 S. Burmeister 2006-09-18 09:11:05 UTC
To reproduce open kopete and two groupchats. Click on the global-status and choose "offline". Click on the global status and choose "online".

When I enter the chatroom:
<iq type="get" to="jabber@conference.yyyyyyyyyyyy.yy
/ccccc.yyyyyyy" id="abcfa" >
<query xmlns="jabber:iq:version"/>
</iq>
Comment 5 Lukas Middendorf 2006-11-14 23:52:59 UTC
I can reproduce this bug with 0.12.3 . I also encounter the crash.

This is my trace:

[KCrash handler]
#6  0x0019442d in Kopete::Contact::hasProperty () from /usr/lib/libkopete.so.1
#7  0x00194f7c in Kopete::Contact::property () from /usr/lib/libkopete.so.1
#8  0x00198e2b in Kopete::Contact::setProperty () from /usr/lib/libkopete.so.1
#9  0x00e8909d in JabberAccount::slotContactUpdated ()
   from /usr/lib/kde3/kopete_jabber.so
#10 0x00e8c4e6 in JabberAccount::qt_invoke ()
   from /usr/lib/kde3/kopete_jabber.so
#11 0x0797fbea in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#12 0x00f8e541 in JabberClient::newContact ()
   from /usr/lib/kde3/kopete_jabber.so
#13 0x00f8e594 in JabberClient::slotNewContact ()
   from /usr/lib/kde3/kopete_jabber.so
#14 0x00f910b4 in JabberClient::qt_invoke ()
   from /usr/lib/kde3/kopete_jabber.so
#15 0x0797fbea in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#16 0x00eec811 in XMPP::Client::rosterItemAdded ()
   from /usr/lib/kde3/kopete_jabber.so
#17 0x00f39703 in XMPP::Client::importRosterItem ()
   from /usr/lib/kde3/kopete_jabber.so
#18 0x00f399c4 in XMPP::Client::importRoster ()
   from /usr/lib/kde3/kopete_jabber.so
#19 0x00f39a2c in XMPP::Client::slotRosterRequestFinished ()
   from /usr/lib/kde3/kopete_jabber.so
#20 0x00eec2eb in XMPP::Client::qt_invoke ()
   from /usr/lib/kde3/kopete_jabber.so
#21 0x0797fbea in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#22 0x0798071d in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#23 0x00eebfa9 in XMPP::Task::finished () from /usr/lib/kde3/kopete_jabber.so
#24 0x00f32fac in XMPP::Task::done () from /usr/lib/kde3/kopete_jabber.so
#25 0x00f33087 in XMPP::Task::setSuccess ()
   from /usr/lib/kde3/kopete_jabber.so
#26 0x00f5499c in XMPP::JT_Roster::take () from /usr/lib/kde3/kopete_jabber.so
#27 0x00f334c1 in XMPP::Task::take () from /usr/lib/kde3/kopete_jabber.so
#28 0x00f379fd in XMPP::Client::distribute ()
   from /usr/lib/kde3/kopete_jabber.so
#29 0x00f3834a in XMPP::Client::streamReadyRead ()
   from /usr/lib/kde3/kopete_jabber.so
#30 0x00eec2a7 in XMPP::Client::qt_invoke ()
   from /usr/lib/kde3/kopete_jabber.so
#31 0x0797fbea in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#32 0x0798071d in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#33 0x00eea9cc in XMPP::Stream::readyRead ()
   from /usr/lib/kde3/kopete_jabber.so
#34 0x00f217fd in XMPP::ClientStream::doReadyRead ()
   from /usr/lib/kde3/kopete_jabber.so
#35 0x00eeb125 in XMPP::ClientStream::qt_invoke ()
   from /usr/lib/kde3/kopete_jabber.so
#36 0x0797fbea in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#37 0x07d0bace in QSignal::signal () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#38 0x0799e3b7 in QSignal::activate () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#39 0x079a6ff3 in QSingleShotTimer::event ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#40 0x07916e6b in QApplication::internalNotify ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#41 0x079182e9 in QApplication::notify ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#42 0x0260fd82 in KApplication::notify () from /usr/lib/libkdecore.so.4
#43 0x0790ac72 in QEventLoop::activateTimers ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#44 0x078bf1df in QEventLoop::processEvents ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#45 0x079303f0 in QEventLoop::enterLoop ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#46 0x079302a6 in QEventLoop::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#47 0x0791697f in QApplication::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#48 0x0806ca0c in QWidget::setUpdatesEnabled ()
#49 0x00496f2c in __libc_start_main () from /lib/libc.so.6
#50 0x0806c201 in QWidget::setUpdatesEnabled ()
Comment 6 J.H. Poteri 2007-03-12 13:15:02 UTC
Another confirmation of (seemingly) the same issue on 0.12.3:

[KCrash handler]
#6  0xb7e9bb9d in Kopete::Contact::hasProperty () from /usr/lib/libkopete.so.1
#7  0xb7e9c70c in Kopete::Contact::property () from /usr/lib/libkopete.so.1
#8  0xb7ea05bb in Kopete::Contact::setProperty () from /usr/lib/libkopete.so.1
#9  0xb5a9c4fd in JabberAccount::slotContactUpdated ()
   from /usr/lib/kde3/kopete_jabber.so
#10 0xb5a9f946 in JabberAccount::qt_invoke ()
   from /usr/lib/kde3/kopete_jabber.so
#11 0xb6960957 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#12 0xb5ba10d1 in JabberClient::newContact ()
   from /usr/lib/kde3/kopete_jabber.so
#13 0xb5ba1124 in JabberClient::slotNewContact ()
   from /usr/lib/kde3/kopete_jabber.so
#14 0xb5ba3c44 in JabberClient::qt_invoke ()
   from /usr/lib/kde3/kopete_jabber.so
#15 0xb6960957 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#16 0xb5affd81 in XMPP::Client::rosterItemAdded ()
   from /usr/lib/kde3/kopete_jabber.so
#17 0xb5b4c703 in XMPP::Client::importRosterItem ()
   from /usr/lib/kde3/kopete_jabber.so
#18 0xb5b4c9c4 in XMPP::Client::importRoster ()
   from /usr/lib/kde3/kopete_jabber.so
#19 0xb5b4ca2c in XMPP::Client::slotRosterRequestFinished ()
   from /usr/lib/kde3/kopete_jabber.so
#20 0xb5aff85b in XMPP::Client::qt_invoke ()
   from /usr/lib/kde3/kopete_jabber.so
#21 0xb6960957 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#22 0xb69613fc in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#23 0xb5aff519 in XMPP::Task::finished () from /usr/lib/kde3/kopete_jabber.so
#24 0xb5b45fac in XMPP::Task::done () from /usr/lib/kde3/kopete_jabber.so
#25 0xb5b46087 in XMPP::Task::setSuccess ()
   from /usr/lib/kde3/kopete_jabber.so
#26 0xb5b6799c in XMPP::JT_Roster::take () from /usr/lib/kde3/kopete_jabber.so
#27 0xb5b464c1 in XMPP::Task::take () from /usr/lib/kde3/kopete_jabber.so
#28 0xb5b4a9fd in XMPP::Client::distribute ()
   from /usr/lib/kde3/kopete_jabber.so
#29 0xb5b4b34a in XMPP::Client::streamReadyRead ()
   from /usr/lib/kde3/kopete_jabber.so
#30 0xb5aff817 in XMPP::Client::qt_invoke ()
   from /usr/lib/kde3/kopete_jabber.so
#31 0xb6960957 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#32 0xb69613fc in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#33 0xb5afdf3c in XMPP::Stream::readyRead ()
   from /usr/lib/kde3/kopete_jabber.so
#34 0xb5b3481d in XMPP::ClientStream::doReadyRead ()
   from /usr/lib/kde3/kopete_jabber.so
#35 0xb5afe695 in XMPP::ClientStream::qt_invoke ()
   from /usr/lib/kde3/kopete_jabber.so
#36 0xb6960957 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#37 0xb6cecf44 in QSignal::signal () from /usr/lib/libqt-mt.so.3
#38 0xb69808ea in QSignal::activate () from /usr/lib/libqt-mt.so.3
#39 0xb6988300 in QSingleShotTimer::event () from /usr/lib/libqt-mt.so.3
#40 0xb68f7b88 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#41 0xb68f99b7 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#42 0xb70a8db2 in KApplication::notify () from /usr/lib/libkdecore.so.4
#43 0xb688a389 in QApplication::sendEvent () from /usr/lib/libqt-mt.so.3
#44 0xb68ea5d3 in QEventLoop::activateTimers () from /usr/lib/libqt-mt.so.3
#45 0xb689eec5 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#46 0xb691225e in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#47 0xb691206e in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#48 0xb68f9731 in QApplication::exec () from /usr/lib/libqt-mt.so.3
Comment 7 Jan Ritzerfeld 2007-06-20 19:58:02 UTC
*** Bug 147008 has been marked as a duplicate of this bug. ***
Comment 8 Vincent Panel 2007-06-20 20:27:29 UTC
(I'm the one having reported bug #147008)

Maybe I did not explain my crash correctly, but it has nothing to do with this crash, it's not a duplicate. I don't have to open multiple jabber groupchats, one is enough for me. Moreover, I don't go offline nor online : just waiting 1 or 2 minutes is enough for kopete to crash.
Comment 9 Jan Ritzerfeld 2007-06-20 21:45:06 UTC
@Vincent: Yes, I know. However, the backtraces look very similar. It seems that d->properties is not initialized and, thus, hasProperty fails. Furthermore, both bugs were triggered by JabberAccount::slotContactUpdated ().
Indeed, your crash was triggered somehow by XMPP::Client::rosterItemUpdated () and this crash by XMPP::Client::rosterItemAdded (). But, both methods were called by XMPP::Client::importRosterItem ().
Nonetheless, I will remove the duplicate until someone can provide more information that these Bugs are actually related.

Thank you for your patience and understanding.
Comment 10 Josh Berry 2008-07-07 01:15:12 UTC
Cannot reproduce in the KDE4 version (trunk r828808).

Thanks for providing good steps to reproduce.
Comment 11 Vincent Panel 2008-07-07 10:19:05 UTC
As far as I'm concerned, it doesn't happen anymore since I use kopete 0.12.7 on KDE3.
Comment 12 Josh Berry 2008-07-08 07:53:22 UTC
This should be fixed in the next KDE 4.1 release.
Comment 13 Anton Zhdanov 2013-06-13 10:23:13 UTC
This bug still occurs in Kopete 1.4.4.
To reproduce open kopete and two groupchats. Click on the global-status and choose "offline". Click on the global status and choose "online".