Bug 164708 - Crash (in statistics plugin?) when closing kopete
Summary: Crash (in statistics plugin?) when closing kopete
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Applications
Component: Statistics plugin (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
: 160546 160615 164751 175918 176757 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-06-23 00:08 UTC by Frederik Himpe
Modified: 2008-12-24 13:26 UTC (History)
4 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 Frederik Himpe 2008-06-23 00:08:22 UTC
Version:           0.50.80 (kde 4.0.83) (using Devel)
Installed from:    Compiled sources

When I closed Kopete, it crashed in the statistics plug-in with this backtrace:

Application: Kopete (kopete), signal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0x2b4b8d1bd660 (LWP 17432)]
[New Thread 0x40800950 (LWP 17435)]
[KCrash handler]
#5  Kopete::MetaContact::metaContactId (this=0x996610)
    at /usr/lib/qt4/include/QtCore/qstring.h:656
#6  0x00002b4b9583ec5c in StatisticsContact::commonStatsSave (this=0xaa20a0, 
    name=
      {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 11718}, alloc = 0, size = 0, data = 0x66ffba, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 224}, alloc = 0, size = 0, data = 0x2b4b8461b85a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x7fff29040b20, static codecForCStrings = 0x0}, statVar1=
      {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 11718}, alloc = 0, size = 0, data = 0x66ffba, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 224}, alloc = 0, size = 0, data = 0x2b4b8461b85a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x7fff29040b30, static codecForCStrings = 0x0}, statVar2=
      {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 11718}, alloc = 0, size = 0, data = 0x66ffba, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 224}, alloc = 0, size = 0, data = 0x2b4b8461b85a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x7fff29040b40, static codecForCStrings = 0x0}, statVarChanged=true)
    at /usr/src/debug/kdenetwork-4.0.83/kopete/plugins/statistics/statisticscontact.cpp:92
#7  0x00002b4b9583efd4 in ~StatisticsContact (this=0xaa20a0)
    at /usr/src/debug/kdenetwork-4.0.83/kopete/plugins/statistics/statisticscontact.cpp:82
#8  0x00002b4b958300b1 in ~StatisticsPlugin (this=0x9bdc50)
    at /usr/src/debug/kdenetwork-4.0.83/kopete/plugins/statistics/statisticsplugin.cpp:101
#9  0x00002b4b843438bd in QObject::event () from /usr/lib64/libQtCore.so.4
#10 0x00002b4b84e6fe8d in QApplicationPrivate::notify_helper ()
   from /usr/lib64/libQtGui.so.4
#11 0x00002b4b84e77b8a in QApplication::notify ()
   from /usr/lib64/libQtGui.so.4
#12 0x00002b4b8374222b in KApplication::notify (this=0x7fff29041590, 
    receiver=0x9bdc50, event=0x95e4e0)
    at /usr/src/debug/kdelibs-4.0.83/kdeui/kernel/kapplication.cpp:311
#13 0x00002b4b84334821 in QCoreApplication::notifyInternal ()
   from /usr/lib64/libQtCore.so.4
#14 0x00002b4b843354ca in QCoreApplicationPrivate::sendPostedEvents ()
   from /usr/lib64/libQtCore.so.4
#15 0x00002b4b8435d033 in ?? () from /usr/lib64/libQtCore.so.4
#16 0x00002b4b8899460a in IA__g_main_context_dispatch (context=0x69de60)
    at gmain.c:2063
#17 0x00002b4b88997d10 in g_main_context_iterate (context=0x69de60, block=1, 
    dispatch=1, self=<value optimized out>) at gmain.c:2696
#18 0x00002b4b88997eac in IA__g_main_context_iteration (context=0x69de60, 
    may_block=1) at gmain.c:2759
#19 0x00002b4b8435ccbf in QEventDispatcherGlib::processEvents ()
   from /usr/lib64/libQtCore.so.4
#20 0x00002b4b84f005ef in ?? () from /usr/lib64/libQtGui.so.4
#21 0x00002b4b84333132 in QEventLoop::processEvents ()
   from /usr/lib64/libQtCore.so.4
#22 0x00002b4b843332bd in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#23 0x00002b4b8433578d in QCoreApplication::exec ()
   from /usr/lib64/libQtCore.so.4
#24 0x0000000000446bcc in main (argc=3, argv=0x7fff29042358)
    at /usr/src/debug/kdenetwork-4.0.83/kopete/kopete/main.cpp:102
Comment 1 Dennis Nienhüser 2008-06-27 20:57:38 UTC
Does the crash occur always? I can trigger a similar one when creating a metacontact from an existing contact.
Comment 2 Dennis Nienhüser 2008-06-27 22:22:15 UTC
*** Bug 160615 has been marked as a duplicate of this bug. ***
Comment 3 Dennis Nienhüser 2008-06-27 22:22:16 UTC
*** Bug 164751 has been marked as a duplicate of this bug. ***
Comment 4 Frederik Himpe 2008-07-03 23:02:49 UTC
This crash happened several times to me already. I think I always trigger it by moving a contact to another group and then closing Kopete.
Comment 5 Dominik Tritscher 2008-07-20 15:04:06 UTC
I managed to reproduce this bug by creating a new meta contact and then closing kopete. Moving or copying a contact to another group didn't crash kopete.
Here is the backtrace:
Application: Kopete (kopete), signal SIGSEGV
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb59fb720 (LWP 26157)]
[New Thread 0xb2f1cb90 (LWP 26218)]
[KCrash handler]
#6  0xb7ed9f17 in ?? () from /usr/lib/kde4/lib/libkopete.so.4
#7  0xb3872138 in ?? () from /usr/lib/kde4/lib/kde4/kopete_statistics.so
#8  0xb3863367 in ?? () from /usr/lib/kde4/lib/kde4/kopete_statistics.so
#9  0xb3863d9a in ?? () from /usr/lib/kde4/lib/kde4/kopete_statistics.so
#10 0xb72314f9 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#11 0xb7231bc2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#12 0xb7f33619 in Kopete::MetaContact::onlineStatusChanged ()
   from /usr/lib/kde4/lib/libkopete.so.4
#13 0xb7f368c4 in Kopete::MetaContact::updateOnlineStatus ()
   from /usr/lib/kde4/lib/libkopete.so.4
#14 0xb7f36912 in Kopete::MetaContact::slotContactStatusChanged ()
   from /usr/lib/kde4/lib/libkopete.so.4
#15 0xb7f36f9b in Kopete::MetaContact::qt_metacall ()
   from /usr/lib/kde4/lib/libkopete.so.4
#16 0xb72314f9 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#17 0xb7231bc2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#18 0xb7f1e1cf in Kopete::Contact::onlineStatusChanged ()
   from /usr/lib/kde4/lib/libkopete.so.4
#19 0xb7f1f39a in Kopete::Contact::slotAccountIsConnectedChanged ()
   from /usr/lib/kde4/lib/libkopete.so.4
#20 0xb7f20cb1 in Kopete::Contact::qt_metacall ()
   from /usr/lib/kde4/lib/libkopete.so.4
#21 0xb26d7bfa in ?? () from /usr/lib/kde4/lib/kde4/kopete_jabber.so
#22 0xb26dea6a in ?? () from /usr/lib/kde4/lib/kde4/kopete_jabber.so
#23 0xb72314f9 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#24 0xb7231bc2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#25 0xb7f08627 in Kopete::Account::isConnectedChanged ()
   from /usr/lib/kde4/lib/libkopete.so.4
#26 0xb7f08c49 in Kopete::Account::slotOnlineStatusChanged ()
   from /usr/lib/kde4/lib/libkopete.so.4
#27 0xb7f0a137 in Kopete::Account::qt_metacall ()
   from /usr/lib/kde4/lib/libkopete.so.4
#28 0xb7f42bca in Kopete::PasswordedAccount::qt_metacall ()
   from /usr/lib/kde4/lib/libkopete.so.4
#29 0xb26cd5ca in ?? () from /usr/lib/kde4/lib/kde4/kopete_jabber.so
#30 0xb72314f9 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#31 0xb7231bc2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#32 0xb7f1e1cf in Kopete::Contact::onlineStatusChanged ()
   from /usr/lib/kde4/lib/libkopete.so.4
#33 0xb7f21977 in Kopete::Contact::setOnlineStatus ()
   from /usr/lib/kde4/lib/libkopete.so.4
#34 0xb26d7994 in ?? () from /usr/lib/kde4/lib/kde4/kopete_jabber.so
#35 0xb26d37f2 in ?? () from /usr/lib/kde4/lib/kde4/kopete_jabber.so
#36 0xb26d3ff2 in ?? () from /usr/lib/kde4/lib/kde4/kopete_jabber.so
#37 0xb26cc9b6 in ?? () from /usr/lib/kde4/lib/kde4/kopete_jabber.so
#38 0xb26cce87 in ?? () from /usr/lib/kde4/lib/kde4/kopete_jabber.so
#39 0xb26ccff9 in ?? () from /usr/lib/kde4/lib/kde4/kopete_jabber.so
#40 0xb7f4c614 in Kopete::Protocol::aboutToUnload ()
   from /usr/lib/kde4/lib/libkopete.so.4
#41 0xb7f46413 in Kopete::PluginManager::shutdown ()
   from /usr/lib/kde4/lib/libkopete.so.4
#42 0x0808e790 in ?? ()
#43 0xb77b1aa9 in KMainWindow::closeEvent (this=0x815eae0, e=0xbfe98464)
    at /build/buildd/kde4libs-4.0.98a/kdeui/widgets/kmainwindow.cpp:534
#44 0x0808dd9f in ?? ()
#45 0xb68a6048 in QWidget::event () from /usr/lib/libQtGui.so.4
#46 0xb6bf87e5 in QMainWindow::event () from /usr/lib/libQtGui.so.4
#47 0xb77b3ad3 in KMainWindow::event (this=0x815eae0, ev=0xbfe98464)
    at /build/buildd/kde4libs-4.0.98a/kdeui/widgets/kmainwindow.cpp:1008
#48 0xb77ef19c in KXmlGuiWindow::event (this=0x815eae0, ev=0xbfe98464)
    at /build/buildd/kde4libs-4.0.98a/kdeui/xmlgui/kxmlguiwindow.cpp:122
#49 0xb684ec0c in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#50 0xb6853898 in QApplication::notify () from /usr/lib/libQtGui.so.4
#51 0xb76fc603 in KApplication::notify (this=0xbfe99538, receiver=0x815eae0, 
    event=0xbfe98464)
    at /build/buildd/kde4libs-4.0.98a/kdeui/kernel/kapplication.cpp:311
#52 0xb721c6a9 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#53 0xb689e967 in QWidgetPrivate::close_helper () from /usr/lib/libQtGui.so.4
#54 0xb689ea78 in QWidget::close () from /usr/lib/libQtGui.so.4
#55 0x08087f64 in ?? ()
#56 0x0808dcc1 in ?? ()
#57 0x0808f27d in ?? ()
#58 0xb72314f9 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#59 0xb7231930 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#60 0xb6847d6b in QAction::activated () from /usr/lib/libQtGui.so.4
#61 0xb68487b8 in QAction::activate () from /usr/lib/libQtGui.so.4
#62 0xb6c23ed1 in ?? () from /usr/lib/libQtGui.so.4
#63 0xb6c26734 in QMenu::mouseReleaseEvent () from /usr/lib/libQtGui.so.4
#64 0xb77b5db9 in KMenu::mouseReleaseEvent (this=0x82d2488, e=0xbfe98d6c)
    at /build/buildd/kde4libs-4.0.98a/kdeui/widgets/kmenu.cpp:452
#65 0xb68a64a4 in QWidget::event () from /usr/lib/libQtGui.so.4
#66 0xb6c21845 in QMenu::event () from /usr/lib/libQtGui.so.4
#67 0xb684ec0c in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#68 0xb6853cd5 in QApplication::notify () from /usr/lib/libQtGui.so.4
#69 0xb76fc603 in KApplication::notify (this=0xbfe99538, receiver=0x82d2488, 
    event=0xbfe98d6c)
    at /build/buildd/kde4libs-4.0.98a/kdeui/kernel/kapplication.cpp:311
#70 0xb721c6a9 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#71 0xb6850e21 in QApplicationPrivate::sendMouseEvent ()
   from /usr/lib/libQtGui.so.4
#72 0xb68baf0c in ?? () from /usr/lib/libQtGui.so.4
#73 0xb68b96b1 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#74 0xb68e23ba in ?? () from /usr/lib/libQtGui.so.4
#75 0xb5f58bf8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#76 0xb5f5be5e in ?? () from /usr/lib/libglib-2.0.so.0
#77 0xb5f5c3ac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#78 0xb7247f98 in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#79 0xb68e21b5 in ?? () from /usr/lib/libQtGui.so.4
#80 0xb721b92d in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#81 0xb721babd in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#82 0xb721dd3d in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#83 0xb684e567 in QApplication::exec () from /usr/lib/libQtGui.so.4
#84 0x08087ddb in ?? ()
#85 0xb6471450 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#86 0x080643d1 in _start ()
#0  0xb7fb0410 in __kernel_vsyscall ()
Comment 6 Pino Toscano 2008-11-05 00:54:07 UTC
*** Bug 160546 has been marked as a duplicate of this bug. ***
Comment 7 Christophe Marin 2008-11-24 09:50:25 UTC
*** Bug 175918 has been marked as a duplicate of this bug. ***
Comment 8 Dario Andres 2008-12-05 00:56:07 UTC
*** Bug 176757 has been marked as a duplicate of this bug. ***
Comment 9 Roman Jarosz 2008-12-24 13:26:18 UTC
Don't know if all but most of this crashes should be fixed in SVN commit 899695.
If it still crashes in SVN please reopen.