Bug 270447 - Statistics plugin causes crash on Kopete startup [QObject::connect, StatisticsPlugin::slotMetaContactAdded, StatisticsPlugin::slotInitialize]
Summary: Statistics plugin causes crash on Kopete startup [QObject::connect, Statistic...
Status: RESOLVED WORKSFORME
Alias: None
Product: kopete
Classification: Applications
Component: Statistics plugin (show other bugs)
Version: 1.0.80
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
: 272897 273121 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-04-08 16:59 UTC by Ivan D Vasin
Modified: 2018-11-29 04:50 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (6.47 KB, text/plain)
2011-05-06 16:21 UTC, kahennig
Details
New crash information added by DrKonqi (8.36 KB, text/plain)
2011-06-29 17:38 UTC, Zolin
Details
New crash information added by DrKonqi (8.05 KB, text/plain)
2011-07-09 13:36 UTC, Jose David
Details
New crash information added by DrKonqi (9.12 KB, text/plain)
2011-09-26 10:29 UTC, Frode Jemtland
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan D Vasin 2011-04-08 16:59:23 UTC
Application: kopete (1.0.80)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-28-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
steps to reproduce:
1. launch Kopete.

actual result:
crash after 0-3 seconds.

workaround:
set Plugins/kopete_statisticsEnabled=false in $HOME/.kde/share/config/kopeterc.

The crash can be reproduced every time.

-- Backtrace:
Application: Kopete (kopete), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f2685769760 (LWP 2518))]

Thread 4 (Thread 0x7f266230f700 (LWP 2532)):
#0  0x00007f2681a9a203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f267caf7009 in g_main_context_poll (context=0x1900060, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:3093
#2  g_main_context_iterate (context=0x1900060, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2775
#3  0x00007f267caf745c in g_main_context_iteration (context=0x1900060, may_block=1) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2843
#4  0x00007f26831411e6 in QEventDispatcherGlib::processEvents (this=0x1924fe0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#5  0x00007f2683113a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007f2683113dec in QEventLoop::exec (this=0x19ac680, flags=) at kernel/qeventloop.cpp:201
#7  0x00007f266481c613 in QCA::SyncThread::run() () from /usr/lib/libqca.so.2
#8  0x00007f268302127e in QThreadPrivate::start (arg=0x1924e30) at thread/qthread_unix.cpp:266
#9  0x00007f267d3ad971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007f2681aa692d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f2661b0e700 (LWP 2533)):
#0  0x00007f267caf68f6 in g_main_context_prepare (context=0x1d05c50, priority=0x0) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2435
#1  0x00007f267caf6e78 in g_main_context_iterate (context=0x1d05c50, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2760
#2  0x00007f267caf745c in g_main_context_iteration (context=0x1d05c50, may_block=1) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2843
#3  0x00007f26831411e6 in QEventDispatcherGlib::processEvents (this=0x18a3200, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007f2683113a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f2683113dec in QEventLoop::exec (this=0x164e440, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f2664c78e85 in XMPP::SyncThread::run (this=0x15fbb60) at ../../../../../kopete/protocols/jabber/libiris/iris/irisnet/corelib/netinterface.cpp:151
#7  0x00007f268302127e in QThreadPrivate::start (arg=0x15fbb60) at thread/qthread_unix.cpp:266
#8  0x00007f267d3ad971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#9  0x00007f2681aa692d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f266130d700 (LWP 2538)):
#0  0x00007f2681a9a203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f267caf7009 in g_main_context_poll (context=0x1e307c0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:3093
#2  g_main_context_iterate (context=0x1e307c0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2775
#3  0x00007f267caf745c in g_main_context_iteration (context=0x1e307c0, may_block=1) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2843
#4  0x00007f26831411e6 in QEventDispatcherGlib::processEvents (this=0x170c840, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#5  0x00007f2683113a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007f2683113dec in QEventLoop::exec (this=0x7f266130cdb0, flags=) at kernel/qeventloop.cpp:201
#7  0x00007f268301e2fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#8  0x00007f26830f35f8 in QInotifyFileSystemWatcherEngine::run (this=0x168e710) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f268302127e in QThreadPrivate::start (arg=0x168e710) at thread/qthread_unix.cpp:266
#10 0x00007f267d3ad971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#11 0x00007f2681aa692d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2685769760 (LWP 2518)):
[KCrash Handler]
#6  0x0000000400000001 in ?? ()
#7  0x00007f268312ad13 in QObject::connect (sender=0x2060900, signal=0x7f26679e6880 "2onlineStatusChanged(Kopete::MetaContact *, Kopete::OnlineStatus::StatusType)", receiver=0x1d29510, method=0x7f26679e6828 "1slotOnlineStatusChanged(Kopete::MetaContact*, Kopete::OnlineStatus::StatusType)", type=Qt::AutoConnection) at kernel/qobject.cpp:2491
#8  0x00007f26679d416c in StatisticsPlugin::slotMetaContactAdded (this=0x1d29510, mc=0x2060900) at ../../../../kopete/plugins/statistics/statisticsplugin.cpp:161
#9  0x00007f26679d4330 in StatisticsPlugin::slotInitialize (this=0x1d29510) at ../../../../kopete/plugins/statistics/statisticsplugin.cpp:96
#10 0x00007f26679d5978 in StatisticsPlugin::qt_metacall (this=0x1d29510, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x1e6abd0) at ./statisticsplugin.moc:117
#11 0x00007f2683126bde in QObject::event (this=0x1d29510, e=0x2060900) at kernel/qobject.cpp:1219
#12 0x00007f2682200fdc in QApplicationPrivate::notify_helper (this=0xf58a50, receiver=0x1d29510, e=0x1aac590) at kernel/qapplication.cpp:4396
#13 0x00007f2682206aed in QApplication::notify (this=0x7fff35b21ab0, receiver=0x1d29510, e=0x1aac590) at kernel/qapplication.cpp:4277
#14 0x00007f2683ba02f6 in KApplication::notify (this=0x7fff35b21ab0, receiver=0x1d29510, event=0x1aac590) at ../../kdeui/kernel/kapplication.cpp:311
#15 0x00007f2683114cdc in QCoreApplication::notifyInternal (this=0x7fff35b21ab0, receiver=0x1d29510, event=0x1aac590) at kernel/qcoreapplication.cpp:732
#16 0x00007f2683117c22 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0xf0afd0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#17 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0xf0afd0) at kernel/qcoreapplication.cpp:1373
#18 0x00007f2683141653 in sendPostedEvents (s=0xf5c220) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#19 postEventSourceDispatch (s=0xf5c220) at kernel/qeventdispatcher_glib.cpp:277
#20 0x00007f267caf3342 in g_main_dispatch (context=0xf5b120) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2149
#21 g_main_context_dispatch (context=0xf5b120) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2702
#22 0x00007f267caf72a8 in g_main_context_iterate (context=0xf5b120, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2780
#23 0x00007f267caf745c in g_main_context_iteration (context=0xf5b120, may_block=1) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2843
#24 0x00007f2683141193 in QEventDispatcherGlib::processEvents (this=0xf0a720, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#25 0x00007f26822b3a4e in QGuiEventDispatcherGlib::processEvents (this=0x2060900, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#26 0x00007f2683113a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#27 0x00007f2683113dec in QEventLoop::exec (this=0x7fff35b21a00, flags=) at kernel/qeventloop.cpp:201
#28 0x00007f2683117ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#29 0x00000000004145e2 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../kopete/kopete/main.cpp:105

Reported using DrKonqi
Comment 1 kahennig 2011-05-06 16:21:46 UTC
Created attachment 59700 [details]
New crash information added by DrKonqi

kopete (1.0.80) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2

- What I was doing when the application crashed:

Started Kopete and it krashed (every time).
As suggested changed kopete_statisticsEnabled=false and now it starts

-- Backtrace (Reduced):
#7  0x06e3c712 in QObject::connect (sender=0x88c0f28, signal=0x1e4bfa8 "2onlineStatusChanged(Kopete::MetaContact *, Kopete::OnlineStatus::StatusType)", receiver=0x879adf8, method=0x1e4bf54 "1slotOnlineStatusChanged(Kopete::MetaContact*, Kopete::OnlineStatus::StatusType)", type=Qt::AutoConnection) at kernel/qobject.cpp:2498
#8  0x01e3c6a8 in StatisticsPlugin::slotMetaContactAdded (this=0x879adf8, mc=0x88c0f28) at ../../../../kopete/plugins/statistics/statisticsplugin.cpp:161
#9  0x01e3c81d in StatisticsPlugin::slotInitialize (this=0x879adf8) at ../../../../kopete/plugins/statistics/statisticsplugin.cpp:96
#10 0x01e3cb13 in StatisticsPlugin::qt_metacall (this=0x879adf8, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x86dfec0) at ./statisticsplugin.moc:117
[...]
#13 0x06e3a3b7 in QObject::event (this=0x879adf8, e=0x8748748) at kernel/qobject.cpp:1226
Comment 2 Dario Andres 2011-05-10 02:23:52 UTC
*** Bug 272897 has been marked as a duplicate of this bug. ***
Comment 3 Lamarque V. Souza 2011-05-13 19:10:34 UTC
*** Bug 273121 has been marked as a duplicate of this bug. ***
Comment 4 Zolin 2011-06-29 17:38:19 UTC
Created attachment 61453 [details]
New crash information added by DrKonqi

kopete (1.0.80) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2

- What I was doing when the application crashed:

I started up Kopete. I think it is related to the statistics bug found, but I don't remember activating that option.

-- Backtrace (Reduced):
#7  0x059d8712 in QObject::connect (sender=0x9e35bd8, signal=0x1d3ffa8 "2onlineStatusChanged(Kopete::MetaContact *, Kopete::OnlineStatus::StatusType)", receiver=0x9292150, method=0x1d3ff54 "1slotOnlineStatusChanged(Kopete::MetaContact*, Kopete::OnlineStatus::StatusType)", type=Qt::AutoConnection) at kernel/qobject.cpp:2498
#8  0x01d306a8 in StatisticsPlugin::slotMetaContactAdded (this=0x9292150, mc=0x9e35bd8) at ../../../../kopete/plugins/statistics/statisticsplugin.cpp:161
#9  0x01d3081d in StatisticsPlugin::slotInitialize (this=0x9292150) at ../../../../kopete/plugins/statistics/statisticsplugin.cpp:96
#10 0x01d30b13 in StatisticsPlugin::qt_metacall (this=0x9292150, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x91e9598) at ./statisticsplugin.moc:117
[...]
#13 0x059d63b7 in QObject::event (this=0x9292150, e=0x9bed510) at kernel/qobject.cpp:1226
Comment 5 Jose David 2011-07-09 13:36:00 UTC
Created attachment 61723 [details]
New crash information added by DrKonqi

kopete (1.0.80) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2

- What I was doing when the application crashed:
Starting the app

If the statistics plugin is enabled it segfaults

-- Backtrace (Reduced):
#6  0x00007f5f3d5b28ac in QObject::connect (sender=0x1e01fb0, signal=0x7f5f2757dc48 "2onlineStatusChanged(Kopete::MetaContact *, Kopete::OnlineStatus::StatusType)", receiver=0x181aa50, method=0x7f5f2757dbf0 "1slotOnlineStatusChanged(Kopete::MetaContact*, Kopete::OnlineStatus::StatusType)", type=Qt::AutoConnection) at kernel/qobject.cpp:2498
#7  0x00007f5f2756f8ba in StatisticsPlugin::slotMetaContactAdded (this=0x181aa50, mc=0x1e01fb0) at ../../../../kopete/plugins/statistics/statisticsplugin.cpp:161
#8  0x00007f5f2756fa2c in StatisticsPlugin::slotInitialize (this=0x181aa50) at ../../../../kopete/plugins/statistics/statisticsplugin.cpp:96
#9  0x00007f5f2756fd40 in StatisticsPlugin::qt_metacall (this=0x181aa50, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x1664fe0) at ./statisticsplugin.moc:117
#10 0x00007f5f3d5b049a in QObject::event (this=0x181aa50, e=<value optimized out>) at kernel/qobject.cpp:1226
Comment 6 Frode Jemtland 2011-09-26 10:29:47 UTC
Created attachment 63979 [details]
New crash information added by DrKonqi

kopete (1.0.80) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2

- What I was doing when the application crashed:
I was starting kopete. It chrashed after a couple of seconds. When starting it at the commandline, the following errors was displayed:

kopete(7694)/libkopete Kopete::PluginManager::loadPluginInternal: Unable to find a plugin named ' "kopete_irc" '! 
kopete(7694)/libkopete Kopete::PluginManager::loadPluginInternal: Unable to find a plugin named ' "kopete_irc" '! 
kopete(7694)/libkopete Kopete::PluginManager::loadPluginInternal: Unable to find a plugin named ' "kopete_msn" '! 
Object::connect: No such slot GaduAccount::search()
kopete(7694)/libkopete Kopete::PluginManager::loadPluginInternal: Unable to find a plugin named ' "" '! 
kopete(7694) Kopete::OnlineStatusManager::onlineStatus: No status in the category  QFlags(0x2)  for the protocol  "WinPopup" 
Unknown signature value:  795 
Unknown signature value:  795 
Unknown signature value:  795 
Transfer ACCEPTED by: LoginTask
Transfer ACCEPTED by: LoginTask
Transfer ACCEPTED by: ListTask
Transfer ACCEPTED by: StatusNotifierTask
Transfer ACCEPTED by: LoginTask
Transfer ACCEPTED by: MailNotifierTask
KCrash: Application 'kopete' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/frode/.kde/socket-HIKT4597/kdeinit4__0
QSocketNotifier: Invalid socket 13 and type 'Read', disabling...


- Custom settings of the application:
I have statistics plugin enabled in kopete. When following the instructions in this bug to disable this plugin, kopete startet as spected.

-- Backtrace (Reduced):
#6  0x00007f85e30fd8ac in QObject::connect (sender=0x1affd80, signal=0x7f85c86acc48 "2onlineStatusChanged(Kopete::MetaContact *, Kopete::OnlineStatus::StatusType)", receiver=0x180b9c0, method=0x7f85c86acbf0 "1slotOnlineStatusChanged(Kopete::MetaContact*, Kopete::OnlineStatus::StatusType)", type=Qt::AutoConnection) at kernel/qobject.cpp:2498
#7  0x00007f85c869e8ba in StatisticsPlugin::slotMetaContactAdded (this=0x180b9c0, mc=0x1affd80) at ../../../../kopete/plugins/statistics/statisticsplugin.cpp:161
#8  0x00007f85c869ea2c in StatisticsPlugin::slotInitialize (this=0x180b9c0) at ../../../../kopete/plugins/statistics/statisticsplugin.cpp:96
#9  0x00007f85c869ed40 in StatisticsPlugin::qt_metacall (this=0x180b9c0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x14b3190) at ./statisticsplugin.moc:117
#10 0x00007f85e30fb49a in QObject::event (this=0x180b9c0, e=<value optimized out>) at kernel/qobject.cpp:1226
Comment 7 Andrew Crouthamel 2018-10-29 22:36:14 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Bug Janitor Service 2018-11-13 14:31:49 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 9 Bug Janitor Service 2018-11-29 04:50:23 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!