Bug 175464

Summary: WLM plugin causes Kopete to crash at exit
Product: [Unmaintained] kopete Reporter: Dan <dan76>
Component: WLM PluginAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: tiagosh
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dan 2008-11-18 07:27:19 UTC
Version:           svn r. 885913 (using Devel)
Compiler:          gcc 4.3.2 -O3 -march=native
OS:                Linux
Installed from:    Compiled sources

Please, see thread 1 below (I don't know how to reproduce and unfortunately, this time, I don't have the debug console output):

Application: Kopete (kopete), signal SIGABRT
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 139914589169488 (LWP 11850)]
[New Thread 1113516368 (LWP 13015)]
[New Thread 1096730960 (LWP 12910)]
[New Thread 1088338256 (LWP 12887)]
0x00007f405fe811a1 in ?? () from /lib64/libc.so.6
[Current thread is 0 (LWP 11850)]

Thread 4 (Thread 1088338256 (LWP 12887)):
#0  0x00007f40616b6676 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f4064efd589 in QWaitCondition::wait (this=0x365b1a0, mutex=0x365b198, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  0x00007f4062871c9c in QHostInfoAgent::run (this=0x365b180) at kernel/qhostinfo.cpp:247
#3  0x00007f4064efc5c2 in QThreadPrivate::start (arg=0x365b180) at thread/qthread_unix.cpp:191
#4  0x00007f40616b1f9b in start_thread () from /lib64/libpthread.so.0
#5  0x00007f405feadaad in clone () from /lib64/libc.so.6

Thread 3 (Thread 1096730960 (LWP 12910)):
#0  0x00007f405fea5e26 in poll () from /lib64/libc.so.6
#1  0x00007f405dfa3438 in g_main_context_iterate () from /usr/local/lib/libglib-2.0.so.0
#2  0x00007f405dfa375b in g_main_context_iteration () from /usr/local/lib/libglib-2.0.so.0
#3  0x00007f4065009e06 in QEventDispatcherGlib::processEvents (this=0x361f260, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#4  0x00007f4064fe0cc2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 1096728320}) at kernel/qeventloop.cpp:149
#5  0x00007f4064fe0e4d in QEventLoop::exec (this=0x34676b0, flags={i = 1096728720}) at kernel/qeventloop.cpp:200
#6  0x00007f40543cde8b in QCA::SyncThread::run () from /usr/local/kde4/lib/libqca.so.2
#7  0x00007f4064efc5c2 in QThreadPrivate::start (arg=0x2dd74e0) at thread/qthread_unix.cpp:191
#8  0x00007f40616b1f9b in start_thread () from /lib64/libpthread.so.0
#9  0x00007f405feadaad in clone () from /lib64/libc.so.6

Thread 2 (Thread 1113516368 (LWP 13015)):
#0  0x00007f405fea7b62 in ?? () from /lib64/libc.so.6
#1  0x00007f4053dd9e3a in posix_timer_do () from /usr/local/lib/libortp.so.5
#2  0x00007f4053ddaadd in rtp_scheduler_schedule () from /usr/local/lib/libortp.so.5
#3  0x00007f40616b1f9b in start_thread () from /lib64/libpthread.so.0
#4  0x00007f405feadaad in clone () from /lib64/libc.so.6

Thread 1 (Thread 139914589169488 (LWP 11850)):
[KCrash Handler]
#5  0x00007f405fe1bde5 in raise () from /lib64/libc.so.6
#6  0x00007f405fe1d18e in abort () from /lib64/libc.so.6
#7  0x00007f405fe5963e in malloc_printerr () from /lib64/libc.so.6
#8  0x00007f4054d7507c in MSN::NotificationServerConnection::~NotificationServerConnection () from /usr/local/lib/libmsn.so.0.1
#9  0x00007f405503b60d in WlmServer::WlmDisconnect (this=0x31282a0) at /usr/local/src/svn/kdenetwork/kopete/protocols/wlm/wlmserver.cpp:65
#10 0x00007f405502cb61 in WlmAccount::disconnect (this=0x2e57180) at /usr/local/src/svn/kdenetwork/kopete/protocols/wlm/wlmaccount.cpp:974
#11 0x00007f4065f112e3 in Kopete::Protocol::aboutToUnload (this=0x2ad3c40) at /usr/local/src/svn/kdenetwork/kopete/libkopete/kopeteprotocol.cpp:146
#12 0x00007f4065f06f12 in Kopete::PluginManager::shutdown (this=0x288b998) at /usr/local/src/svn/kdenetwork/kopete/libkopete/kopetepluginmanager.cpp:197
#13 0x0000000000456107 in KopeteWindow::queryExit (this=<value optimized out>) at /usr/local/src/svn/kdenetwork/kopete/kopete/kopetewindow.cpp:802
#14 0x00007f4062292394 in KMainWindow::closeEvent (this=0x2752da0, e=0x7fff6f671c70) at /usr/local/src/svn/kdelibs/kdeui/widgets/kmainwindow.cpp:593
#15 0x0000000000455da0 in KopeteWindow::closeEvent (this=0x2752da0, e=0x7fff6f671c70) at /usr/local/src/svn/kdenetwork/kopete/kopete/kopetewindow.cpp:829
#16 0x00007f4060aca227 in QWidget::event (this=0x2752da0, event=0x7fff6f671c70) at kernel/qwidget.cpp:7319
#17 0x00007f4060e2abdb in QMainWindow::event (this=0x2752da0, event=0x7fff6f671c70) at widgets/qmainwindow.cpp:1274
#18 0x00007f40622cdf08 in KXmlGuiWindow::event (this=0x2e4a, ev=0x2e4a) at /usr/local/src/svn/kdelibs/kdeui/xmlgui/kxmlguiwindow.cpp:131
#19 0x00007f4060a78acd in QApplicationPrivate::notify_helper (this=0x26647b0, receiver=0x2752da0, e=0x7fff6f671c70) at kernel/qapplication.cpp:3809
#20 0x00007f4060a806aa in QApplication::notify (this=0x7fff6f673740, receiver=0x2752da0, e=0x7fff6f671c70) at kernel/qapplication.cpp:3774
#21 0x00007f40621c0c9b in KApplication::notify (this=0x7fff6f673740, receiver=0x2752da0, event=0x7fff6f671c70) at /usr/local/src/svn/kdelibs/kdeui/kernel/kapplication.cpp:307
#22 0x00007f4064fe235e in QCoreApplication::notifyInternal (this=0x7fff6f673740, receiver=0x2752da0, event=0x7fff6f671c70) at kernel/qcoreapplication.cpp:593
#23 0x00007f4060acd033 in QWidgetPrivate::close_helper (this=0x2766490, mode=QWidgetPrivate::CloseWithEvent) at kernel/qwidget.cpp:6728
#24 0x000000000044a6d9 in KopeteApplication::quitKopete (this=0x7fff6f673740) at /usr/local/src/svn/kdenetwork/kopete/kopete/kopeteapplication.cpp:319
#25 0x000000000044d071 in KopeteWindow::slotQuit (this=0x2752da0) at /usr/local/src/svn/kdenetwork/kopete/kopete/kopetewindow.cpp:836
#26 0x0000000000456ed5 in KopeteWindow::qt_metacall (this=0x2752da0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff6f671e80) at /usr/local/src/svn/kdenetwork/b/kopete/kopete/kopetewindow.moc:155
#27 0x00007f4064ff630c in QMetaObject::activate (sender=0x28884e0, from_signal_index=<value optimized out>, to_signal_index=10, argv=0xffffffffffffffff) at kernel/qobject.cpp:3028
#28 0x00007f4060a72e76 in QAction::activated (this=0x2e4a, _t1=-65) at .moc/release-shared/moc_qaction.cpp:236
#29 0x00007f4060a7366a in QAction::activate (this=0x28884e0, event=<value optimized out>) at kernel/qaction.cpp:1134
#30 0x00007f4060e52bed in QMenuPrivate::activateAction (this=0x2886860, action=0x28884e0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1008
#31 0x00007f4062294a31 in KMenu::mouseReleaseEvent (this=0x28865f0, e=0x7fff6f672ac0) at /usr/local/src/svn/kdelibs/kdeui/widgets/kmenu.cpp:452
#32 0x00007f4060aca7c9 in QWidget::event (this=0x28865f0, event=0x7fff6f672ac0) at kernel/qwidget.cpp:7169
#33 0x00007f4060e55403 in QMenu::event (this=0x28865f0, e=0x7fff6f672ac0) at widgets/qmenu.cpp:2271
#34 0x00007f4060a78acd in QApplicationPrivate::notify_helper (this=0x26647b0, receiver=0x28865f0, e=0x7fff6f672ac0) at kernel/qapplication.cpp:3809
#35 0x00007f4060a80ef4 in QApplication::notify (this=<value optimized out>, receiver=0x28865f0, e=0x7fff6f672ac0) at kernel/qapplication.cpp:3534
#36 0x00007f40621c0c9b in KApplication::notify (this=0x7fff6f673740, receiver=0x28865f0, event=0x7fff6f672ac0) at /usr/local/src/svn/kdelibs/kdeui/kernel/kapplication.cpp:307
#37 0x00007f4064fe235e in QCoreApplication::notifyInternal (this=0x7fff6f673740, receiver=0x28865f0, event=0x7fff6f672ac0) at kernel/qcoreapplication.cpp:593
#38 0x00007f4060a802c8 in QApplicationPrivate::sendMouseEvent (receiver=0x28865f0, event=0x7fff6f672ac0, alienWidget=0x0, nativeWidget=0x28865f0, buttonDown=<value optimized out>, 
    lastMouseReceiver=@0x7f40614584a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#39 0x00007f4060ae3dfc in QETWidget::translateMouseEvent (this=0x28865f0, event=<value optimized out>) at kernel/qapplication_x11.cpp:3982
#40 0x00007f4060ae2a07 in QApplication::x11ProcessEvent (this=0x1a6, event=0x7fff6f673380) at kernel/qapplication_x11.cpp:3166
#41 0x00007f4060b08124 in x11EventSourceDispatch (s=0x26682e0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#42 0x00007f405df9fed1 in g_main_context_dispatch () from /usr/local/lib/libglib-2.0.so.0
#43 0x00007f405dfa359d in g_main_context_iterate () from /usr/local/lib/libglib-2.0.so.0
#44 0x00007f405dfa375b in g_main_context_iteration () from /usr/local/lib/libglib-2.0.so.0
#45 0x00007f4065009def in QEventDispatcherGlib::processEvents (this=0x2660bd0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:325
#46 0x00007f4060b078ff in QGuiEventDispatcherGlib::processEvents (this=0x2e4a, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#47 0x00007f4064fe0cc2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 1869035120}) at kernel/qeventloop.cpp:149
#48 0x00007f4064fe0e4d in QEventLoop::exec (this=0x7fff6f6736b0, flags={i = 1869035200}) at kernel/qeventloop.cpp:200
#49 0x00007f4064fe328d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:851
#50 0x00000000004490bc in main (argc=1, argv=0x7fff6f674508) at /usr/local/src/svn/kdenetwork/kopete/kopete/main.cpp:102
Comment 1 Tiago Salem Herrmann 2008-12-02 01:59:39 UTC
Hi,

is this bug still valid in latest trunk?
I'm not able to reproduce it anymore.
Comment 2 Dan 2008-12-02 03:49:09 UTC
Hi Tiago. I'm using now:

libmsn r. 73
kopete r. 891437

and it seems that it was fixed. So I'll change to fixed and if I notice a crash in the future, I'll post again here. Thanks!

Ps: by the way, could you look at this another bug?
http://bugs.kde.org/show_bug.cgi?id=175437

The bug 175437 is very annoying and I think it is probably trivial for you to fix it. Thank you!