Bug 178212 - Statistics plugin or QT bug? (with backtrace)
Summary: Statistics plugin or QT bug? (with backtrace)
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:
: 184167 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-12-19 19:39 UTC by Dan
Modified: 2009-02-12 21:05 UTC (History)
2 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 Dan 2008-12-19 19:39:04 UTC
Version:           svn (using Devel)
Compiler:          gcc 4.3.2 -O3 -march=native
OS:                Linux
Installed from:    Compiled sources

I deleted a jabber contact and Kopete crashed:

Application: Kopete (kopete), signal SIGSEGV
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 139671116478288 (LWP 3053)]
[New Thread 1123813712 (LWP 3222)]
[New Thread 1098635600 (LWP 3216)]
[New Thread 1107028304 (LWP 3208)]
0x00007f07b05bd1a1 in ?? () from /lib64/libc.so.6
[Current thread is 0 (LWP 3053)]

Thread 4 (Thread 1107028304 (LWP 3208)):
#0  0x00007f07b1df5676 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f07b206d689 in QWaitCondition::wait (this=0x224d360, mutex=0x224d358, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:82
#2  0x00007f07b33f3f9c in QHostInfoAgent::run (this=0x224d340) at kernel/qhostinfo.cpp:241
#3  0x00007f07b206c6c2 in QThreadPrivate::start (arg=0x224d340) at thread/qthread_unix.cpp:185
#4  0x00007f07b1df0f9b in start_thread () from /lib64/libpthread.so.0
#5  0x00007f07b05e9aad in clone () from /lib64/libc.so.6

Thread 3 (Thread 1098635600 (LWP 3216)):
#0  0x00007f07b05e1e26 in poll () from /lib64/libc.so.6
#1  0x00007f07aeab625c in g_main_context_iterate () from /usr/local/lib/libglib-2.0.so.0
#2  0x00007f07aeab662b in g_main_context_iteration () from /usr/local/lib/libglib-2.0.so.0
#3  0x00007f07b217a616 in QEventDispatcherGlib::processEvents (this=0x2af5950, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:321
#4  0x00007f07b2151492 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 1098632960}) at kernel/qeventloop.cpp:143
#5  0x00007f07b215161d in QEventLoop::exec (this=0x2af1bc0, flags={i = 1098633360}) at kernel/qeventloop.cpp:194
#6  0x00007f07a319ce8b in QCA::SyncThread::run () from /usr/local/kde4/lib/libqca.so.2
#7  0x00007f07b206c6c2 in QThreadPrivate::start (arg=0x2b36630) at thread/qthread_unix.cpp:185
#8  0x00007f07b1df0f9b in start_thread () from /lib64/libpthread.so.0
#9  0x00007f07b05e9aad in clone () from /lib64/libc.so.6

Thread 2 (Thread 1123813712 (LWP 3222)):
#0  0x00007f07b05e3b62 in ?? () from /lib64/libc.so.6
#1  0x00007f07a2ba8e3a in posix_timer_do () from /usr/local/lib/libortp.so.5
#2  0x00007f07a2ba9add in rtp_scheduler_schedule () from /usr/local/lib/libortp.so.5
#3  0x00007f07b1df0f9b in start_thread () from /lib64/libpthread.so.0
#4  0x00007f07b05e9aad in clone () from /lib64/libc.so.6

Thread 1 (Thread 139671116478288 (LWP 3053)):
[KCrash Handler]
#5  Kopete::MetaContact::metaContactId (this=0x24bb380) at /usr/local/Trolltech/Qt-4.4.4/include/QtCore/qstring.h:650
#6  0x00007f07a4dfdd1e in StatisticsContact::onlineStatusChanged (this=0x1d76680, status=Kopete::OnlineStatus::Unknown)
    at /home/fraga/svn/kdenetwork/kopete/plugins/statistics/statisticscontact.cpp:186
#7  0x00007f07a4deeea1 in StatisticsPlugin::slotOnlineStatusChanged (this=0x20ba370, contact=0x24ed9a0, status=Kopete::OnlineStatus::Unknown)
    at /home/fraga/svn/kdenetwork/kopete/plugins/statistics/statisticsplugin.cpp:146
#8  0x00007f07a4df10dd in StatisticsPlugin::qt_metacall (this=0x20ba370, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffbf4c9c90)
    at /home/fraga/svn/kdenetwork/b/kopete/plugins/statistics/statisticsplugin.moc:109
#9  0x00007f07b2166af2 in QMetaObject::activate (sender=0x24ed9a0, from_signal_index=<value optimized out>, to_signal_index=11, argv=0x300035) at kernel/qobject.cpp:3028
#10 0x00007f07b619d250 in Kopete::MetaContact::onlineStatusChanged (this=0x7fffbf4c9920, _t1=0x24ed9a0, _t2=Kopete::OnlineStatus::Unknown)
    at /home/fraga/svn/kdenetwork/b/kopete/libkopete/kopetemetacontact.moc:244
#11 0x00007f07b619deca in Kopete::MetaContact::updateOnlineStatus (this=0x24ed9a0) at /home/fraga/svn/kdenetwork/kopete/libkopete/kopetemetacontact.cpp:138
#12 0x00007f07b61a3084 in Kopete::MetaContact::addContact (this=0x24ed9a0, c=0x3503610) at /home/fraga/svn/kdenetwork/kopete/libkopete/kopetemetacontact.cpp:99
#13 0x00007f07a34a84dc in JabberBaseContact (this=0x3503610, rosterItem=@0x28f5a80, account=0x196a360, mc=0x24ed9a0, legacyId=@0x1)
    at /home/fraga/svn/kdenetwork/kopete/protocols/jabber/jabberbasecontact.cpp:53
#14 0x00007f07a34b43e5 in JabberContact (this=0x7fffbf4c9920, rosterItem=@0x24bb380, _account=0x1, mc=0x300035, legacyId=@0x6543d8)
    at /home/fraga/svn/kdenetwork/kopete/protocols/jabber/jabbercontact.cpp:72
#15 0x00007f07a34beca2 in JabberContactPool::addContact (this=0x1dc02f0, contact=@0x28f5a80, metaContact=0x24ed9a0, dirty=false)
    at /home/fraga/svn/kdenetwork/kopete/protocols/jabber/jabbercontactpool.cpp:102
#16 0x00007f07a3494ebe in JabberAccount::slotContactUpdated (this=0x196a360, item=@0x28f5a80) at /home/fraga/svn/kdenetwork/kopete/protocols/jabber/jabberaccount.cpp:1336
#17 0x00007f07a3498c11 in JabberAccount::qt_metacall (this=0x196a360, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffbf4ca2b0)
    at /home/fraga/svn/kdenetwork/b/kopete/protocols/jabber/jabberaccount.moc:163
#18 0x00007f07b2166af2 in QMetaObject::activate (sender=0x1c9e660, from_signal_index=<value optimized out>, to_signal_index=14, argv=0x300035) at kernel/qobject.cpp:3028
#19 0x00007f07a34e2ad5 in JabberClient::contactUpdated (this=0x7fffbf4c9920, _t1=<value optimized out>) at /home/fraga/svn/kdenetwork/b/kopete/protocols/jabber/jabberclient.moc:272
#20 0x00007f07a34e54e9 in JabberClient::qt_metacall (this=0x1c9e660, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffbf4ca3d0)
    at /home/fraga/svn/kdenetwork/b/kopete/protocols/jabber/jabberclient.moc:184
#21 0x00007f07b2166af2 in QMetaObject::activate (sender=0x2cb3c30, from_signal_index=<value optimized out>, to_signal_index=8, argv=0x300035) at kernel/qobject.cpp:3028
#22 0x00007f07a2dffd85 in XMPP::Client::rosterItemUpdated (this=0x7fffbf4c9920, _t1=<value optimized out>) at /home/fraga/svn/kdenetwork/b/kopete/protocols/jabber/libiris/moc_xmpp_client.cpp:183
#23 0x00007f07a2e6cff3 in XMPP::Client::importRosterItem (this=0x2cb3c30, item=@0x3736190) at /home/fraga/svn/kdenetwork/kopete/protocols/jabber/libiris/iris/xmpp-im/client.cpp:962
#24 0x00007f07a2e6d3c7 in XMPP::Client::importRoster (this=0x2cb3c30, r=@0x7fffbf4ca800) at /home/fraga/svn/kdenetwork/kopete/protocols/jabber/libiris/iris/xmpp-im/client.cpp:919
#25 0x00007f07a2e02416 in XMPP::Client::qt_metacall (this=0x2cb3c30, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffbf4ca7b0)
    at /home/fraga/svn/kdenetwork/b/kopete/protocols/jabber/libiris/moc_xmpp_client.cpp:144
#26 0x00007f07b2166af2 in QMetaObject::activate (sender=0x207dfc0, from_signal_index=<value optimized out>, to_signal_index=7, argv=0x300035) at kernel/qobject.cpp:3028
#27 0x00007f07a2dfffe2 in XMPP::JT_PushRoster::roster (this=0x7fffbf4c9920, _t1=<value optimized out>) at /home/fraga/svn/kdenetwork/b/kopete/protocols/jabber/libiris/moc_xmpp_tasks.cpp:214
#28 0x00007f07a2e9504a in XMPP::JT_PushRoster::take (this=0x207dfc0, e=@0x7fffbf4caca0) at /home/fraga/svn/kdenetwork/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_tasks.cpp:528
#29 0x00007f07a2eb557d in XMPP::Task::take (this=<value optimized out>, x=@0x7fffbf4caca0) at /home/fraga/svn/kdenetwork/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_task.cpp:140
#30 0x00007f07a2e6d9bf in XMPP::Client::distribute (this=0x2cb3c30, x=@0x7fffbf4caca0) at /home/fraga/svn/kdenetwork/kopete/protocols/jabber/libiris/iris/xmpp-im/client.cpp:580
#31 0x00007f07a2e6e296 in XMPP::Client::streamReadyRead (this=0x2cb3c30) at /home/fraga/svn/kdenetwork/kopete/protocols/jabber/libiris/iris/xmpp-im/client.cpp:527
#32 0x00007f07a2e024a5 in XMPP::Client::qt_metacall (this=0x2cb3c30, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffbf4cadf0)
    at /home/fraga/svn/kdenetwork/b/kopete/protocols/jabber/libiris/moc_xmpp_client.cpp:137
#33 0x00007f07b2166af2 in QMetaObject::activate (sender=0x2b14690, from_signal_index=<value optimized out>, to_signal_index=6, argv=0x300035) at kernel/qobject.cpp:3028
#34 0x00007f07a2e035ba in XMPP::ClientStream::qt_metacall (this=0x2b14690, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffbf4caef0)
    at /home/fraga/svn/kdenetwork/b/kopete/protocols/jabber/libiris/moc_xmpp_clientstream.cpp:132
#35 0x00007f07b2166af2 in QMetaObject::activate (sender=0x330ef70, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x300035) at kernel/qobject.cpp:3028
#36 0x00007f07b216cc2f in QSingleShotTimer::timerEvent (this=0x330ef70) at kernel/qtimer.cpp:294
#37 0x00007f07b2161553 in QObject::event (this=0x330ef70, e=0x24bb380) at kernel/qobject.cpp:1111
#38 0x00007f07b11b4b2d in QApplicationPrivate::notify_helper (this=0x18d1ab0, receiver=0x330ef70, e=0x7fffbf4cb5a0) at kernel/qapplication.cpp:3804
#39 0x00007f07b11bc6fa in QApplication::notify (this=0x7fffbf4cb8e0, receiver=0x330ef70, e=0x7fffbf4cb5a0) at kernel/qapplication.cpp:3769
#40 0x00007f07b2d4326b in KApplication::notify (this=0x7fffbf4cb8e0, receiver=0x330ef70, event=0x7fffbf4cb5a0) at /home/fraga/svn/kdelibs/kdeui/kernel/kapplication.cpp:307
#41 0x00007f07b2152b3e in QCoreApplication::notifyInternal (this=0x7fffbf4cb8e0, receiver=0x330ef70, event=0x7fffbf4cb5a0) at kernel/qcoreapplication.cpp:587
#42 0x00007f07b217dd2e in QTimerInfoList::activateTimers (this=0x18d4f30) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:209
#43 0x00007f07b217a68d in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:160
#44 0x00007f07aeab46d4 in g_main_dispatch () from /usr/local/lib/libglib-2.0.so.0
#45 0x00007f07aeab6455 in g_main_context_iterate () from /usr/local/lib/libglib-2.0.so.0
#46 0x00007f07aeab662b in g_main_context_iteration () from /usr/local/lib/libglib-2.0.so.0
#47 0x00007f07b217a5ff in QEventDispatcherGlib::processEvents (this=0x18d1310, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:319
#48 0x00007f07b1243a5f in QGuiEventDispatcherGlib::processEvents (this=0x7fffbf4c9920, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:198
#49 0x00007f07b2151492 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -1085491184}) at kernel/qeventloop.cpp:143
#50 0x00007f07b215161d in QEventLoop::exec (this=0x7fffbf4cb850, flags={i = -1085491104}) at kernel/qeventloop.cpp:194
#51 0x00007f07b2153a6d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:852
#52 0x0000000000448e7c in main (argc=3, argv=0x7fffbf4cc6a8) at /home/fraga/svn/kdenetwork/kopete/kopete/main.cpp:102
Comment 1 Dario Andres 2008-12-19 19:59:12 UTC
Probably a statistics plugin bug related to bug 164708
Comment 2 Roman Jarosz 2008-12-24 14:02:03 UTC
This is fixed in SVN commit 899695.
Comment 3 Roman Jarosz 2009-02-12 21:05:32 UTC
*** Bug 184167 has been marked as a duplicate of this bug. ***