Bug 231331

Summary: kopete crash after paste
Product: [Unmaintained] kopete Reporter: Zhu Sha Zang <zhushazang>
Component: generalAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Zhu Sha Zang 2010-03-19 17:32:32 UTC
Application: kopete (1.0.0)
KDE Platform Version: 4.4.1 (KDE 4.4.1) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.33-gentoo-darkness i686
Distribution (Platform): Gentoo Packages

-- Information about the crash:
When i try to paste a link in two kopete's window the program simple crash and open the bug report tool 

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

Thread 4 (Thread 0xb0133b70 (LWP 17426)):
#0  0xb5297266 in *__GI_clock_gettime (clock_id=1, tp=0xb0132fd8) at ../sysdeps/unix/clock_gettime.c:100
#1  0xb65c1a93 in qt_gettime () at kernel/qcore_unix.cpp:111
#2  0xb65c6ca6 in QTimerInfoList::updateCurrentTime (this=0x8695e64) at kernel/qeventdispatcher_unix.cpp:340
#3  0xb65c6cea in QTimerInfoList::timerWait (this=0x8695e64, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#4  0xb65c4c90 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb01330ec) at kernel/qeventdispatcher_glib.cpp:136
#5  0xb65c4d2d in timerSourcePrepare (source=0x0, timeout=0xb529bff4) at kernel/qeventdispatcher_glib.cpp:169
#6  0xb51eaac7 in IA__g_main_context_prepare (context=0x838c650, priority=0xb013316c) at gmain.c:2280
#7  0xb51eae81 in g_main_context_iterate (context=0x838c650, block=<value optimized out>, dispatch=1, self=0x84d3e38) at gmain.c:2571
#8  0xb51eb3c0 in IA__g_main_context_iteration (context=0x838c650, may_block=1) at gmain.c:2654
#9  0xb65c4a6f in QEventDispatcherGlib::processEvents (this=0x84b3e60, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#10 0xb65970ba in QEventLoop::processEvents (this=0x85d3a30, flags=) at kernel/qeventloop.cpp:149
#11 0xb659751a in QEventLoop::exec (this=0x85d3a30, flags=...) at kernel/qeventloop.cpp:201
#12 0xb20d4a6a in QCA::SyncThread::run() () from /usr/lib/qca2/libqca.so.2
#13 0xb649570f in QThreadPrivate::start (arg=0x8396a58) at thread/qthread_unix.cpp:248
#14 0xb63e56df in start_thread (arg=0xb0133b70) at pthread_create.c:297
#15 0xb56e591e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xac80bb70 (LWP 17427)):
#0  0xb65c6ca6 in QTimerInfoList::updateCurrentTime (this=0x87b9934) at kernel/qeventdispatcher_unix.cpp:340
#1  0xb65c6cea in QTimerInfoList::timerWait (this=0x87b9934, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#2  0xb65c4c90 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xac80b12c) at kernel/qeventdispatcher_glib.cpp:136
#3  0xb51eaac7 in IA__g_main_context_prepare (context=0x89252a0, priority=0xac80b1ac) at gmain.c:2280
#4  0xb51eae81 in g_main_context_iterate (context=0x89252a0, block=<value optimized out>, dispatch=1, self=0x87b9d88) at gmain.c:2571
#5  0xb51eb3c0 in IA__g_main_context_iteration (context=0x89252a0, may_block=1) at gmain.c:2654
#6  0xb65c4a6f in QEventDispatcherGlib::processEvents (this=0x89489c8, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#7  0xb65970ba in QEventLoop::processEvents (this=0x891e9f0, flags=) at kernel/qeventloop.cpp:149
#8  0xb659751a in QEventLoop::exec (this=0x891e9f0, flags=...) at kernel/qeventloop.cpp:201
#9  0xb23437bc in XMPP::SyncThread::run (this=0x863ec50)
    at /usr/local/var/tmp/portage/kde-base/kopete-4.4.1/work/kopete-4.4.1/kopete/protocols/jabber/libiris/iris/irisnet/corelib/netinterface.cpp:151
#10 0xb649570f in QThreadPrivate::start (arg=0x863ec50) at thread/qthread_unix.cpp:248
#11 0xb63e56df in start_thread (arg=0xac80bb70) at pthread_create.c:297
#12 0xb56e591e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
The current source language is "auto; currently c".

Thread 2 (Thread 0xac00ab70 (LWP 17428)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb56dea61 in select () from /lib/libc.so.6
#2  0xb2067b78 in posix_timer_do () at posixtimer.c:70
#3  0xb2068802 in rtp_scheduler_schedule (psched=0x8a37d60) at scheduler.c:130
#4  0xb63e56df in start_thread (arg=0xac00ab70) at pthread_create.c:297
#5  0xb56e591e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
The current source language is "auto; currently c++".

Thread 1 (Thread 0xb4ae2920 (LWP 17418)):
[KCrash Handler]
#6  0xb752ddd6 in Kopete::Group::type (this=0x20) at /usr/local/var/tmp/portage/kde-base/kopete-4.4.1/work/kopete-4.4.1/kopete/libkopete/kopetegroup.cpp:117
#7  0xb24bd092 in KopeteAntispamPlugin::contactInList (this=0x8540738, contact=0x85755a8)
    at /usr/local/var/tmp/portage/kde-misc/kopete-antispam-0.5/work/kopete-antispam-kde4-0.5/kopeteantispamplugin.cpp:166
#8  0xb24bd2fc in KopeteAntispamPlugin::onMessageReceive (this=0x8540738, msg=...)
    at /usr/local/var/tmp/portage/kde-misc/kopete-antispam-0.5/work/kopete-antispam-kde4-0.5/kopeteantispamplugin.cpp:194
#9  0xb24bb775 in KopeteAntispamPlugin::qt_metacall (this=0x8540738, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0xbffc1718)
    at /usr/local/var/tmp/portage/kde-misc/kopete-antispam-0.5/work/kopete-antispam-kde4-0.5_build/moc_kopeteantispamplugin.cpp:82
#10 0xb659dd4a in QMetaObject::metacall (object=0x8540738, cl=QMetaObject::ReadProperty, idx=11, argv=0xbffc1718) at kernel/qmetaobject.cpp:237
#11 0xb65ac557 in QMetaObject::activate (sender=0x81ffe28, m=0xb759d98c, local_signal_index=2, argv=<value optimized out>) at kernel/qobject.cpp:3285
#12 0xb7513fb4 in Kopete::ChatSessionManager::aboutToReceive (this=0x81ffe28, _t1=...)
    at /usr/local/var/tmp/portage/kde-base/kopete-4.4.1/work/kopete-4.4.1_build/kopete/libkopete/kopetechatsessionmanager.moc:130
#13 0xb7514145 in Kopete::ChatSessionManager::qt_metacall (this=0x81ffe28, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbffc1844)
    at /usr/local/var/tmp/portage/kde-base/kopete-4.4.1/work/kopete-4.4.1_build/kopete/libkopete/kopetechatsessionmanager.moc:96
#14 0xb659dd4a in QMetaObject::metacall (object=0x81ffe28, cl=QMetaObject::ReadProperty, idx=6, argv=0xbffc1844) at kernel/qmetaobject.cpp:237
#15 0xb65ac557 in QMetaObject::activate (sender=0x85581e0, m=0xb759d844, local_signal_index=3, argv=<value optimized out>) at kernel/qobject.cpp:3285
#16 0xb750eaba in Kopete::ChatSession::messageReceived (this=0x85581e0, _t1=..., _t2=0x85581e0)
    at /usr/local/var/tmp/portage/kde-base/kopete-4.4.1/work/kopete-4.4.1_build/kopete/libkopete/kopetechatsession.moc:257
#17 0xb75131f1 in Kopete::ChatSession::appendMessage (this=0x85581e0, msg=...) at /usr/local/var/tmp/portage/kde-base/kopete-4.4.1/work/kopete-4.4.1/kopete/libkopete/kopetechatsession.cpp:322
#18 0xb2246bc4 in JabberChatSession::appendMessage (this=0x85581e0, msg=..., fromResource=...)
    at /usr/local/var/tmp/portage/kde-base/kopete-4.4.1/work/kopete-4.4.1/kopete/protocols/jabber/jabberchatsession.cpp:195
#19 0xb222c118 in JabberContact::handleIncomingMessage (this=0x85755a8, message=...)
    at /usr/local/var/tmp/portage/kde-base/kopete-4.4.1/work/kopete-4.4.1/kopete/protocols/jabber/jabbercontact.cpp:450
#20 0xb2210717 in JabberAccount::slotReceivedMessage (this=0x84433c0, message=...) at /usr/local/var/tmp/portage/kde-base/kopete-4.4.1/work/kopete-4.4.1/kopete/protocols/jabber/jabberaccount.cpp:1443
#21 0xb2218fb0 in JabberAccount::qt_metacall (this=0x84433c0, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0xbffc1f38)
    at /usr/local/var/tmp/portage/kde-base/kopete-4.4.1/work/kopete-4.4.1_build/kopete/protocols/jabber/jabberaccount.moc:179
#22 0xb659dd4a in QMetaObject::metacall (object=0x84433c0, cl=QMetaObject::ReadProperty, idx=60, argv=0xbffc1f38) at kernel/qmetaobject.cpp:237
#23 0xb65ac557 in QMetaObject::activate (sender=0x8289b68, m=0xb23bcc24, local_signal_index=13, argv=<value optimized out>) at kernel/qobject.cpp:3285
#24 0xb2258924 in JabberClient::messageReceived (this=0x8289b68, _t1=...) at /usr/local/var/tmp/portage/kde-base/kopete-4.4.1/work/kopete-4.4.1_build/kopete/protocols/jabber/jabberclient.moc:307
#25 0xb2258955 in JabberClient::slotReceivedMessage (this=0x8289b68, message=...) at /usr/local/var/tmp/portage/kde-base/kopete-4.4.1/work/kopete-4.4.1/kopete/protocols/jabber/jabberclient.cpp:1163
#26 0xb225b7be in JabberClient::qt_metacall (this=0x8289b68, _c=QMetaObject::InvokeMetaMethod, _id=42, _a=0xbffc2088)
    at /usr/local/var/tmp/portage/kde-base/kopete-4.4.1/work/kopete-4.4.1_build/kopete/protocols/jabber/jabberclient.moc:199
#27 0xb659dd4a in QMetaObject::metacall (object=0x8289b68, cl=QMetaObject::ReadProperty, idx=42, argv=0xbffc2088) at kernel/qmetaobject.cpp:237
#28 0xb65ac557 in QMetaObject::activate (sender=0x893fb58, m=0xb23bcdc0, local_signal_index=10, argv=<value optimized out>) at kernel/qobject.cpp:3285
#29 0xb2274404 in XMPP::Client::messageReceived (this=0x893fb58, _t1=...)
    at /usr/local/var/tmp/portage/kde-base/kopete-4.4.1/work/kopete-4.4.1_build/kopete/protocols/jabber/libiris/moc_xmpp_client.cpp:233
#30 0xb228fe0a in XMPP::Client::pmMessage (this=0x893fb58, m=...)
    at /usr/local/var/tmp/portage/kde-base/kopete-4.4.1/work/kopete-4.4.1/kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/client.cpp:867
#31 0xb227ab01 in XMPP::Client::qt_metacall (this=0x893fb58, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbffc2258)
    at /usr/local/var/tmp/portage/kde-base/kopete-4.4.1/work/kopete-4.4.1_build/kopete/protocols/jabber/libiris/moc_xmpp_client.cpp:150
#32 0xb659dd4a in QMetaObject::metacall (object=0x893fb58, cl=QMetaObject::ReadProperty, idx=30, argv=0xbffc2258) at kernel/qmetaobject.cpp:237
#33 0xb65ac557 in QMetaObject::activate (sender=0x8953370, m=0xb23bce40, local_signal_index=0, argv=<value optimized out>) at kernel/qobject.cpp:3285
#34 0xb2274034 in XMPP::JT_PushMessage::message (this=0x8953370, _t1=...)
    at /usr/local/var/tmp/portage/kde-base/kopete-4.4.1/work/kopete-4.4.1_build/kopete/protocols/jabber/libiris/moc_xmpp_tasks.cpp:484
#35 0xb22e66df in XMPP::JT_PushMessage::take (this=0x8953370, e=...)
    at /usr/local/var/tmp/portage/kde-base/kopete-4.4.1/work/kopete-4.4.1/kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/xmpp_tasks.cpp:870
#36 0xb22c8aac in XMPP::Task::take (this=0x88ba140, x=...) at /usr/local/var/tmp/portage/kde-base/kopete-4.4.1/work/kopete-4.4.1/kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/xmpp_task.cpp:139
#37 0xb22907b0 in XMPP::Client::distribute (this=0x893fb58, x=...)
    at /usr/local/var/tmp/portage/kde-base/kopete-4.4.1/work/kopete-4.4.1/kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/client.cpp:580
#38 0xb229111c in XMPP::Client::streamReadyRead (this=0x893fb58) at /usr/local/var/tmp/portage/kde-base/kopete-4.4.1/work/kopete-4.4.1/kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/client.cpp:527
#39 0xb227aa45 in XMPP::Client::qt_metacall (this=0x893fb58, _c=QMetaObject::InvokeMetaMethod, _id=24, _a=0xbffc25bc)
    at /usr/local/var/tmp/portage/kde-base/kopete-4.4.1/work/kopete-4.4.1_build/kopete/protocols/jabber/libiris/moc_xmpp_client.cpp:144
#40 0xb659dd4a in QMetaObject::metacall (object=0x893fb58, cl=QMetaObject::ReadProperty, idx=24, argv=0xbffc25bc) at kernel/qmetaobject.cpp:237
#41 0xb65ac557 in QMetaObject::activate (sender=0x83b2830, m=0xb23bd0d0, local_signal_index=2, argv=<value optimized out>) at kernel/qobject.cpp:3285
#42 0xb2272df8 in XMPP::Stream::readyRead (this=0x83b2830) at /usr/local/var/tmp/portage/kde-base/kopete-4.4.1/work/kopete-4.4.1_build/kopete/protocols/jabber/libiris/moc_xmpp_stream.cpp:105
#43 0xb2300dbe in XMPP::ClientStream::doReadyRead (this=0x83b2830)
    at /usr/local/var/tmp/portage/kde-base/kopete-4.4.1/work/kopete-4.4.1/kopete/protocols/jabber/libiris/iris/xmpp/xmpp-core/stream.cpp:892
#44 0xb22794fe in XMPP::ClientStream::qt_metacall (this=0x83b2830, _c=QMetaObject::InvokeMetaMethod, _id=34, _a=0xbffc26fc)
    at /usr/local/var/tmp/portage/kde-base/kopete-4.4.1/work/kopete-4.4.1_build/kopete/protocols/jabber/libiris/moc_xmpp_clientstream.cpp:139
#45 0xb659dd4a in QMetaObject::metacall (object=0x83b2830, cl=QMetaObject::ReadProperty, idx=34, argv=0xbffc26fc) at kernel/qmetaobject.cpp:237
#46 0xb65ac557 in QMetaObject::activate (sender=0x8a55888, m=0xb66ab1a4, local_signal_index=0, argv=<value optimized out>) at kernel/qobject.cpp:3285
#47 0xb65b4178 in QSingleShotTimer::timeout (this=0x8a55888) at .moc/release-shared/qtimer.moc:82
#48 0xb65b428d in QSingleShotTimer::timerEvent (this=0x8a55888) at kernel/qtimer.cpp:308
#49 0xb65a934c in QObject::event (this=0x8a55888, e=0x8269aa0) at kernel/qobject.cpp:1204
#50 0xb5a33584 in QApplicationPrivate::notify_helper (this=0x80b8e08, receiver=0x8a55888, e=0xbffc2c40) at kernel/qapplication.cpp:4300
#51 0xb5a3a13e in QApplication::notify (this=0xbffc2fa4, receiver=0x8a55888, e=0xbffc2c40) at kernel/qapplication.cpp:3704
#52 0xb6ae5b9b in KApplication::notify (this=0xbffc2fa4, receiver=0x8a55888, event=0xbffc2c40)
    at /usr/local/var/tmp/portage/kde-base/kdelibs-4.4.1-r1/work/kdelibs-4.4.1/kdeui/kernel/kapplication.cpp:302
#53 0xb6598ae2 in QCoreApplication::notifyInternal (this=0xbffc2fa4, receiver=0x8a55888, event=0xbffc2c40) at kernel/qcoreapplication.cpp:704
#54 0xb65c812e in QCoreApplication::sendEvent (this=0x80bb9bc) at kernel/qcoreapplication.h:215
#55 QTimerInfoList::activateTimers (this=0x80bb9bc) at kernel/qeventdispatcher_unix.cpp:603
#56 0xb65c4d65 in timerSourceDispatch (source=0x80bb988) at kernel/qeventdispatcher_glib.cpp:184
#57 0xb51e784a in g_main_dispatch (context=0x80bb090) at gmain.c:1960
#58 IA__g_main_context_dispatch (context=0x80bb090) at gmain.c:2513
#59 0xb51eb290 in g_main_context_iterate (context=0x80bb090, block=<value optimized out>, dispatch=1, self=0x80b8ae8) at gmain.c:2591
#60 0xb51eb3c0 in IA__g_main_context_iteration (context=0x80bb090, may_block=1) at gmain.c:2654
#61 0xb65c4a26 in QEventDispatcherGlib::processEvents (this=0x80b8f40, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#62 0xb5af1bc6 in QGuiEventDispatcherGlib::processEvents (this=0x80b8f40, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#63 0xb65970ba in QEventLoop::processEvents (this=0xbffc2f04, flags=) at kernel/qeventloop.cpp:149
#64 0xb659751a in QEventLoop::exec (this=0xbffc2f04, flags=...) at kernel/qeventloop.cpp:201
#65 0xb659b731 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#66 0xb5a33628 in QApplication::exec () at kernel/qapplication.cpp:3579
#67 0x0805a53e in main (argc=3, argv=0xbffc33e4) at /usr/local/var/tmp/portage/kde-base/kopete-4.4.1/work/kopete-4.4.1/kopete/kopete/main.cpp:105

This bug may be a duplicate of or related to bug 229026.

Possible duplicates by query: bug 229026, bug 213224, bug 205089, bug 204349.

Reported using DrKonqi
Comment 1 Dario Andres 2010-04-11 00:49:55 UTC
The crash is caused by the AntiSpam plugin, reported at bug 204349.
Regards

*** This bug has been marked as a duplicate of bug 204349 ***