Bug 188054

Summary: send message to group => crash
Product: [Unmaintained] kopete Reporter: Robert Voinea <rvoinea>
Component: Jabber PluginAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: andresbajotierra, ria.freelander
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Robert Voinea 2009-03-25 09:28:04 UTC
Version:           0.70.0 (using KDE 4.2.1)
OS:                Linux
Installed from:    Ubuntu Packages

Trying to send message to a group in the chat list produces a crash. Always.

I have two yahoo accounts online, one jabber - also online, and one msn offline.

I don't know how usable the backtrace is...

[backtrace]

(no debugging symbols found)
<snip>
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb57ce6c0 (LWP 16150)]
[New Thread 0xb03fdb90 (LWP 16290)]
[New Thread 0xb0bfeb90 (LWP 16288)]
(no debugging symbols found)
<snip>
(no debugging symbols found)
0xb7fc7430 in __kernel_vsyscall ()
[Current thread is 0 (LWP 16150)]

Thread 3 (Thread 0xb0bfeb90 (LWP 16288)):
#0  0xb61fafeb in ?? () from /lib/tls/i686/cmov/libc.so.6
#1  0xb61e214d in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0xb5c93c52 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0xb5c93f81 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0xb6e4e497 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#5  0xb6e2252a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#6  0xb6e226ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#7  0xb2798e59 in QCA::SyncThread::run () from /usr/lib/libqca.so.2
#8  0xb6d336ae in ?? () from /usr/lib/libQtCore.so.4
#9  0xb5e2b50f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#10 0xb61eca0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xb03fdb90 (LWP 16290)):
#0  0xb7fc7430 in __kernel_vsyscall ()
#1  0xb5e2f075 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb61fabbd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb6d346f2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb75bc532 in ?? () from /usr/lib/libQtNetwork.so.4
#5  0xb6d336ae in ?? () from /usr/lib/libQtCore.so.4
#6  0xb5e2b50f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb61eca0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb57ce6c0 (LWP 16150)):
#0  0xb7fc7430 in __kernel_vsyscall ()
#1  0xb61a7f36 in nanosleep () from /lib/tls/i686/cmov/libc.so.6
#2  0xb61a7d4e in sleep () from /lib/tls/i686/cmov/libc.so.6
#3  0xb73cae92 in ?? () from /usr/lib/libkdeui.so.5
#4  0xb73cb854 in KCrash::defaultCrashHandler () from /usr/lib/libkdeui.so.5
#5  <signal handler called>
#6  0xb28fa525 in ?? () from /usr/lib/kde4/kopete_jabber.so
#7  0xb28fd4c6 in ?? () from /usr/lib/kde4/kopete_jabber.so
#8  0xb6e38a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#9  0xb6e38e60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#10 0xb7cd4141 in Kopete::ChatSession::messageSent () from /usr/lib/libkopete.so.4
#11 0xb7cd5a4e in Kopete::ChatSession::sendMessage () from /usr/lib/libkopete.so.4
#12 0xb7cf2bae in Kopete::Group::sendMessage () from /usr/lib/libkopete.so.4
#13 0xb7cf2dd5 in Kopete::Group::qt_metacall () from /usr/lib/libkopete.so.4
#14 0xb6e38a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#15 0xb6e38e60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#16 0xb7cd4141 in Kopete::ChatSession::messageSent () from /usr/lib/libkopete.so.4
#17 0xb7cd5a4e in Kopete::ChatSession::sendMessage () from /usr/lib/libkopete.so.4
#18 0xb7cd7599 in Kopete::ChatSession::qt_metacall () from /usr/lib/libkopete.so.4
#19 0xb2d1c43a in YahooChatSession::qt_metacall () from /usr/lib/kde4/kopete_yahoo.so
#20 0xb6e38a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#21 0xb6e397e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#22 0xb34d1173 in ?? () from /usr/lib/kde4/kopete_emailwindow.so
#23 0xb34d4055 in ?? () from /usr/lib/kde4/kopete_emailwindow.so
#24 0xb6e38a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#25 0xb6e397e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#26 0xb2e6aa93 in ChatTextEditPart::messageSent () from /usr/lib/libkopetechatwindow_shared.so.1
#27 0xb2e6c5fd in ChatTextEditPart::sendMessage () from /usr/lib/libkopetechatwindow_shared.so.1
#28 0xb34d1527 in ?? () from /usr/lib/kde4/kopete_emailwindow.so
#29 0xb34d3e2d in ?? () from /usr/lib/kde4/kopete_emailwindow.so
#30 0xb34d3fa3 in ?? () from /usr/lib/kde4/kopete_emailwindow.so
#31 0xb6e38a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#32 0xb6e397e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#33 0xb6ab5e07 in QAbstractButton::pressed () from /usr/lib/libQtGui.so.4
#34 0xb6808d49 in ?? () from /usr/lib/libQtGui.so.4
#35 0xb6808f2e in QAbstractButton::mousePressEvent () from /usr/lib/libQtGui.so.4
#36 0xb744e341 in KPushButton::mousePressEvent () from /usr/lib/libkdeui.so.5
#37 0xb651f949 in QWidget::event () from /usr/lib/libQtGui.so.4
#38 0xb680903e in QAbstractButton::event () from /usr/lib/libQtGui.so.4
#39 0xb68af910 in QPushButton::event () from /usr/lib/libQtGui.so.4
#40 0xb64c78ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#41 0xb64d00e1 in QApplication::notify () from /usr/lib/libQtGui.so.4
#42 0xb735b10d in KApplication::notify () from /usr/lib/libkdeui.so.5
#43 0xb6e23e61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#44 0xb64cf36e in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4
#45 0xb6539656 in ?? () from /usr/lib/libQtGui.so.4
#46 0xb65389e5 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#47 0xb65627aa in ?? () from /usr/lib/libQtGui.so.4
#48 0xb5c90718 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#49 0xb5c93dc3 in ?? () from /usr/lib/libglib-2.0.so.0
#50 0xb5c93f81 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#51 0xb6e4e478 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#52 0xb6561ea5 in ?? () from /usr/lib/libQtGui.so.4
#53 0xb6e2252a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#54 0xb6e226ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#55 0xb6e24da5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#56 0xb64c7767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#57 0x0808b97f in _start ()
#0  0xb7fc7430 in __kernel_vsyscall ()
Comment 1 Dario Andres 2009-03-25 14:04:33 UTC
Looks like bug 184278
If you can reproduce the crash at will, may you read http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports and post a complete backtrace here? 
You need to install the "kdenetwork-dbg" package.
Thanks :)
Comment 2 Robert Voinea 2009-03-27 08:22:17 UTC
Debug output:

Application: Kopete (kopete), signal SIGSEGV
[Current thread is 0 (LWP 6596)]

Thread 3 (Thread 0xb0ba8b90 (LWP 6706)):
#0  0xb5ccf54a in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0xb6e0d0ab in ?? () from /usr/lib/libQtCore.so.4
#2  0xb6e0d281 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb6e0ee3c in ?? () from /usr/lib/libQtCore.so.4
#4  0xb6e0b65a in ?? () from /usr/lib/libQtCore.so.4
#5  0xb5c50622 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#6  0xb5c50aaa in ?? () from /usr/lib/libglib-2.0.so.0
#7  0xb5c50f81 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#8  0xb6e0b497 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#9  0xb6ddf52a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#10 0xb6ddf6ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#11 0xb25d4e59 in QCA::SyncThread::run () from /usr/lib/libqca.so.2
#12 0xb6cf06ae in ?? () from /usr/lib/libQtCore.so.4
#13 0xb5de850f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#14 0xb61a9a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xb03a7b90 (LWP 6707)):
#0  0xb7f84430 in __kernel_vsyscall ()
#1  0xb5dec075 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb61b7bbd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb6cf16f2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb7579532 in ?? () from /usr/lib/libQtNetwork.so.4
#5  0xb6cf06ae in ?? () from /usr/lib/libQtCore.so.4
#6  0xb5de850f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb61a9a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb578b6c0 (LWP 6596)):
[KCrash Handler]
#6  JabberChatSession::slotMessageSent (this=0x9feb248, message=@0xbff82448) at /usr/include/qt4/QtCore/qatomic_i386.h:116
#7  0xb27394c6 in JabberChatSession::qt_metacall (this=0x9feb248, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbff823d8)
    at /build/buildd/kdenetwork-4.2.1/obj-i486-linux-gnu/kopete/protocols/jabber/jabberchatsession.moc:78
#8  0xb6df5a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#9  0xb6df5e60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#10 0xb7c91141 in Kopete::ChatSession::messageSent (this=0x9feb248, _t1=@0xbff82448, _t2=0x9feb248) at /build/buildd/kdenetwork-4.2.1/obj-i486-linux-gnu/kopete/libkopete/kopetechatsession.moc:249
#11 0xb7c92a4e in Kopete::ChatSession::sendMessage (this=0x9feb248, message=@0xbff824a0) at /build/buildd/kdenetwork-4.2.1/kopete/libkopete/kopetechatsession.cpp:261
#12 0xb7cafbae in Kopete::Group::sendMessage (this=0x92c0440, msg=@0xbff82638) at /build/buildd/kdenetwork-4.2.1/kopete/libkopete/kopetegroup.cpp:193
#13 0xb7cafdd5 in Kopete::Group::qt_metacall (this=0x92c0440, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbff825c8)
    at /build/buildd/kdenetwork-4.2.1/obj-i486-linux-gnu/kopete/libkopete/kopetegroup.moc:80
#14 0xb6df5a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#15 0xb6df5e60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#16 0xb7c91141 in Kopete::ChatSession::messageSent (this=0x9e25bc8, _t1=@0xbff82638, _t2=0x9e25bc8) at /build/buildd/kdenetwork-4.2.1/obj-i486-linux-gnu/kopete/libkopete/kopetechatsession.moc:249
#17 0xb7c92a4e in Kopete::ChatSession::sendMessage (this=0x9e25bc8, message=@0xbff828e4) at /build/buildd/kdenetwork-4.2.1/kopete/libkopete/kopetechatsession.cpp:261
#18 0xb7c94599 in Kopete::ChatSession::qt_metacall (this=0x9e25bc8, _c=QMetaObject::InvokeMetaMethod, _id=37, _a=0xbff8277c)
    at /build/buildd/kdenetwork-4.2.1/obj-i486-linux-gnu/kopete/libkopete/kopetechatsession.moc:207
#19 0xb2ac343a in YahooChatSession::qt_metacall (this=0x9e25bc8, _c=QMetaObject::InvokeMetaMethod, _id=41, _a=0xbff8277c)
    at /build/buildd/kdenetwork-4.2.1/obj-i486-linux-gnu/kopete/protocols/yahoo/yahoochatsession.moc:70
#20 0xb6df5a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#21 0xb6df67e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#22 0xb34c2173 in KopeteEmailWindow::messageSent (this=0xa0f05e0, _t1=@0xbff828e4) at /build/buildd/kdenetwork-4.2.1/obj-i486-linux-gnu/kopete/kopete/chatwindow/kopeteemailwindow.moc:129
#23 0xb34c5055 in KopeteEmailWindow::qt_metacall (this=0xa0f05e0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbff8287c)
    at /build/buildd/kdenetwork-4.2.1/obj-i486-linux-gnu/kopete/kopete/chatwindow/kopeteemailwindow.moc:97
#24 0xb6df5a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#25 0xb6df67e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#26 0xb2e5ba93 in ChatTextEditPart::messageSent (this=0x9f32280, _t1=@0xbff828e4) at /build/buildd/kdenetwork-4.2.1/obj-i486-linux-gnu/kopete/kopete/chatwindow/chattexteditpart.moc:121
#27 0xb2e5d5fd in ChatTextEditPart::sendMessage (this=0x9f32280) at /build/buildd/kdenetwork-4.2.1/kopete/kopete/chatwindow/chattexteditpart.cpp:255
#28 0xb34c2527 in KopeteEmailWindow::sendMessage (this=0xa0f05e0) at /build/buildd/kdenetwork-4.2.1/kopete/kopete/chatwindow/kopeteemailwindow.cpp:435
#29 0xb34c4e2d in KopeteEmailWindow::slotReplySend (this=0xbff821c0) at /build/buildd/kdenetwork-4.2.1/kopete/kopete/chatwindow/kopeteemailwindow.cpp:534
#30 0xb34c4fa3 in KopeteEmailWindow::qt_metacall (this=0xa0f05e0, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbff829d8)
    at /build/buildd/kdenetwork-4.2.1/obj-i486-linux-gnu/kopete/kopete/chatwindow/kopeteemailwindow.moc:103
#31 0xb6df5a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#32 0xb6df67e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#33 0xb6a72e07 in QAbstractButton::pressed () from /usr/lib/libQtGui.so.4
#34 0xb67c5d49 in ?? () from /usr/lib/libQtGui.so.4
#35 0xb67c5f2e in QAbstractButton::mousePressEvent () from /usr/lib/libQtGui.so.4
#36 0xb740b341 in KPushButton::mousePressEvent () from /usr/lib/libkdeui.so.5
#37 0xb64dc949 in QWidget::event () from /usr/lib/libQtGui.so.4
#38 0xb67c603e in QAbstractButton::event () from /usr/lib/libQtGui.so.4
#39 0xb686c910 in QPushButton::event () from /usr/lib/libQtGui.so.4
#40 0xb64848ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#41 0xb648d0e1 in QApplication::notify () from /usr/lib/libQtGui.so.4
#42 0xb731810d in KApplication::notify () from /usr/lib/libkdeui.so.5
#43 0xb6de0e61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#44 0xb648c36e in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4
#45 0xb64f6656 in ?? () from /usr/lib/libQtGui.so.4
#46 0xb64f59e5 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#47 0xb651f7aa in ?? () from /usr/lib/libQtGui.so.4
#48 0xb5c4d718 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#49 0xb5c50dc3 in ?? () from /usr/lib/libglib-2.0.so.0
#50 0xb5c50f81 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#51 0xb6e0b478 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#52 0xb651eea5 in ?? () from /usr/lib/libQtGui.so.4
#53 0xb6ddf52a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#54 0xb6ddf6ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#55 0xb6de1da5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#56 0xb6484767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#57 0x0808b97f in main (argc=3, argv=0xbff83c74) at /build/buildd/kdenetwork-4.2.1/kopete/kopete/main.cpp:102
Comment 3 Dario Andres 2009-04-01 22:08:35 UTC
Thanks
Comment 4 Dario Andres 2009-04-02 14:36:25 UTC
*** Bug 184278 has been marked as a duplicate of this bug. ***
Comment 5 Robert Voinea 2010-02-16 11:24:14 UTC
I think this is fixed.
I cannot be 100% sure since the yahoo contacts do not receive anything
(See bug #188945)
All google talk contacts in a group are receiving the message. No crash.
Comment 6 Dario Andres 2010-02-26 17:49:24 UTC
Thank for checking