Bug 209356

Summary: Kopete crashes on WLM / MSN disconnect
Product: [Unmaintained] kopete Reporter: Anselmo L. S. Melo (anselmolsm) <anselmolsm>
Component: generalAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Anselmo L. S. Melo (anselmolsm) 2009-10-04 01:47:05 UTC
Application that crashed: kopete
Version of the application: 0.70.90
KDE Version: 4.3.1 (KDE 4.3.1)
Qt Version: 4.6.0
Operating System: Linux 2.6.30-tuxonice-r5 i686
Distribution: "Gentoo Base System release 2.0.1"

What I was doing when the application crashed:
It seems to be a duplicate of some other already reported bugs. Kopete crashes when WLM account goes offline. In fact the crash happens even when no connection was stabilished yet, just the action of marking WLM offline does it.

 -- Backtrace:
Application: Kopete (kopete), signal: Aborted
[Current thread is 0 (LWP 8782)]

Thread 4 (Thread 0xb2845b70 (LWP 8800)):
#0  IA__g_main_context_prepare (context=0x84f48f8, priority=0xb28451a8) at gmain.c:2131
#1  0xb5aac465 in g_main_context_iterate (context=0x84f48f8, block=1, dispatch=1, self=0x837ef80) at gmain.c:2435
#2  0xb5aac919 in IA__g_main_context_iteration (context=0x84f48f8, may_block=1) at gmain.c:2518
#3  0xb6ddc57f in QEventDispatcherGlib::processEvents (this=0x84dfe68, flags={i = 36}) at kernel/qeventdispatcher_glib.cpp:409
#4  0xb6daecfa in QEventLoop::processEvents (this=0x839ac20, flags=) at kernel/qeventloop.cpp:149
#5  0xb6daf15a in QEventLoop::exec (this=0x839ac20, flags={i = 0}) at kernel/qeventloop.cpp:201
#6  0xb2f0bb8a in QCA::SyncThread::run (this=0x82eb808) at support/syncthread.cpp:195
#7  0xb6caebff in QThreadPrivate::start (arg=0x82eb808) at thread/qthread_unix.cpp:244
#8  0xb6c1143f in start_thread (arg=0xb2845b70) at pthread_create.c:297
#9  0xb60fac8e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xb2044b70 (LWP 8804)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb6108613 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:95
#2  0xb609b52d in _L_lock_9676 () from /lib/libc.so.6
#3  0xb6099d16 in __libc_free (mem=0x89ba3c8) at malloc.c:3714
#4  0xb626ef62 in operator delete (ptr=0xfffffe00) at /var/tmp/portage/sys-devel/gcc-4.4.1/work/gcc-4.4.1/libstdc++-v3/libsupc++/del_op.cc:44
#5  0xb763de16 in ~QHostAddress (this=0x89ae9b0) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:62
#6  0xb315e08c in QList<XMPP::NetInterfaceProvider::Info>::free (this=0x8384de8, data=0x8897010)
    at /var/tmp/portage/kde-base/kopete-4.3.1/work/kopete-4.3.1/kopete/protocols/jabber/libiris/iris/irisnet/corelib/irisnetplugin.h:54
#7  0xb3194b25 in XMPP::UnixNet::poll (this=0x8384de0) at /usr/include/qt4/QtCore/qlist.h:378
#8  0xb3193214 in XMPP::UnixNet::qt_metacall (this=0x8384de0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xb2043c5c)
    at /var/tmp/portage/kde-base/kopete-4.3.1/work/kopete-4.3.1/kopete/protocols/jabber/libiris/iris/irisnet/corelib/netinterface_unix.cpp:401
#9  0xb6db596a in QMetaObject::metacall (object=0x8384de0, cl=128, idx=5, argv=0xb2043c5c) at kernel/qmetaobject.cpp:237
#10 0xb6dc44a7 in QMetaObject::activate (sender=0x8384dec, m=0xb6ec35a4, local_signal_index=0, argv=<value optimized out>) at kernel/qobject.cpp:3398
#11 0xb6e151a8 in QTimer::timeout (this=0x8384dec) at .moc/release-shared/moc_qtimer.cpp:134
#12 0xb6dcc28e in QTimer::timerEvent (this=0x8384dec, e=0xb2044100) at kernel/qtimer.cpp:271
#13 0xb6dc0ebc in QObject::event (this=0x8384dec, e=0x89ba3c0) at kernel/qobject.cpp:1210
#14 0xb63d8874 in QApplicationPrivate::notify_helper (this=0x80a3198, receiver=0x8384dec, e=0xb2044100) at kernel/qapplication.cpp:4198
#15 0xb63e1446 in QApplication::notify (this=0xbff2513c, receiver=0x8384dec, e=0xb2044100) at kernel/qapplication.cpp:4163
#16 0xb736d4fb in KApplication::notify (this=0xbff2513c, receiver=0x8384dec, event=0xb2044100) at /var/tmp/portage/kde-base/kdelibs-4.3.1-r2/work/kdelibs-4.3.1/kdeui/kernel/kapplication.cpp:302
#17 0xb6db0702 in QCoreApplication::notifyInternal (this=0xbff2513c, receiver=0x8384dec, event=0xb2044100) at kernel/qcoreapplication.cpp:704
#18 0xb6ddfc0e in QTimerInfoList::activateTimers (this=0x86e5d7c) at kernel/qcoreapplication.h:215
#19 0xb6ddc8a8 in idleTimerSourceDispatch (source=0x86e37b0) at kernel/qeventdispatcher_glib.cpp:184
#20 0xb5aa90cf in IA__g_main_context_dispatch (context=0x86e54c8) at gmain.c:1824
#21 0xb5aac78b in g_main_context_iterate (context=0x86e54c8, block=1, dispatch=1, self=0x86aef78) at gmain.c:2455
#22 0xb5aac919 in IA__g_main_context_iteration (context=0x86e54c8, may_block=1) at gmain.c:2518
#23 0xb6ddc57f in QEventDispatcherGlib::processEvents (this=0x86e5448, flags={i = 36}) at kernel/qeventdispatcher_glib.cpp:409
#24 0xb6daecfa in QEventLoop::processEvents (this=0x8516778, flags=) at kernel/qeventloop.cpp:149
#25 0xb6daf15a in QEventLoop::exec (this=0x8516778, flags={i = 0}) at kernel/qeventloop.cpp:201
#26 0xb315dfd3 in XMPP::SyncThread::run (this=0x86e5088) at /var/tmp/portage/kde-base/kopete-4.3.1/work/kopete-4.3.1/kopete/protocols/jabber/libiris/iris/irisnet/corelib/netinterface.cpp:151
#27 0xb6caebff in QThreadPrivate::start (arg=0x86e5088) at thread/qthread_unix.cpp:244
#28 0xb6c1143f in start_thread (arg=0xb2044b70) at pthread_create.c:297
#29 0xb60fac8e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb1843b70 (LWP 8805)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb6c15135 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb6cafb7f in QWaitCondition::wait (this=0x840d3b8, mutex=0x840d3b4, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  0xb763f4a2 in QHostInfoAgent::run (this=0x840d3a8) at kernel/qhostinfo.cpp:252
#4  0xb6caebff in QThreadPrivate::start (arg=0x840d3a8) at thread/qthread_unix.cpp:244
#5  0xb6c1143f in start_thread (arg=0xb1843b70) at pthread_create.c:297
#6  0xb60fac8e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb560f700 (LWP 8782)):
[KCrash Handler]
#6  0xffffe424 in __kernel_vsyscall ()
#7  0xb6053970 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0xb60551a8 in abort () at abort.c:88
#9  0xb608f74d in __libc_message (do_abort=2, fmt=0xb6153d08 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:170
#10 0xb6095624 in malloc_printerr (action=2, str=0xb6153eb0 "double free or corruption (!prev)", ptr=0x86c8a80) at malloc.c:6196
#11 0xb6096d03 in _int_free (av=0xb6171380, p=0x86c8a78) at malloc.c:4750
#12 0xb6099d1d in __libc_free (mem=0x86c8a80) at malloc.c:3716
#13 0xb626ef62 in operator delete (ptr=0x0) at /var/tmp/portage/sys-devel/gcc-4.4.1/work/gcc-4.4.1/libstdc++-v3/libsupc++/del_op.cc:44
#14 0xb3407e14 in ~NotificationServerConnection (this=0x86c8a80) at /var/tmp/portage/net-libs/libmsn-4.0_beta8/work/libmsn-4.0-beta8/msn/notificationserver.cpp:68
#15 0xb34c7fff in WlmServer::WlmDisconnect (this=0x86e7b50) at /var/tmp/portage/kde-base/kopete-4.3.1/work/kopete-4.3.1/kopete/protocols/wlm/wlmserver.cpp:65
#16 0xb34b4f6b in WlmAccount::logOff (this=0x82b0660, reason=Kopete::Account::Manual) at /var/tmp/portage/kde-base/kopete-4.3.1/work/kopete-4.3.1/kopete/protocols/wlm/wlmaccount.cpp:1213
#17 0xb34b5179 in WlmAccount::disconnect (this=0x82b0660) at /var/tmp/portage/kde-base/kopete-4.3.1/work/kopete-4.3.1/kopete/protocols/wlm/wlmaccount.cpp:1200
#18 0xb34b4859 in WlmAccount::slotGoOffline (this=0x82b0660) at /var/tmp/portage/kde-base/kopete-4.3.1/work/kopete-4.3.1/kopete/protocols/wlm/wlmaccount.cpp:1334
#19 0xb34bf51b in WlmAccount::setOnlineStatus (this=0x82b0660, status=@0xbff22e6c, reason=@0xbff22e78, options=@0xbff22e64)
    at /var/tmp/portage/kde-base/kopete-4.3.1/work/kopete-4.3.1/kopete/protocols/wlm/wlmaccount.cpp:211
#20 0xb7d12bf3 in Kopete::StatusRootAction::changeStatus (this=0x88a2b88, status=0x8175bd0)
    at /var/tmp/portage/kde-base/kopete-4.3.1/work/kopete-4.3.1/kopete/kopete/statusmenu/kopetestatusrootaction.cpp:331
#21 0xb7d11a08 in Kopete::StatusAction::triggered (this=0x884e2a8) at /var/tmp/portage/kde-base/kopete-4.3.1/work/kopete-4.3.1/kopete/kopete/statusmenu/kopetestatusaction.cpp:53
#22 0xb7d11a64 in Kopete::StatusAction::qt_metacall (this=0x884e2a8, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbff22fb8)
    at /var/tmp/portage/kde-base/kopete-4.3.1/work/kopete-4.3.1_build/kopete/kopete/statusmenu/kopetestatusaction.moc:68
#23 0xb6db596a in QMetaObject::metacall (object=0x884e2a8, cl=8782, idx=23, argv=0xbff22fb8) at kernel/qmetaobject.cpp:237
#24 0xb6dc44a7 in QMetaObject::activate (sender=0x884e2a8, m=0xb6ba3330, local_signal_index=1, argv=<value optimized out>) at kernel/qobject.cpp:3398
#25 0xb63d2b9a in QAction::triggered (this=0x884e2a8, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#26 0xb63d4a7c in QAction::activate (this=0x884e2a8, event=QAction::Trigger) at kernel/qaction.cpp:1245
#27 0xb67db89a in QMenuPrivate::activateCausedStack (this=0x88bb280, causedStack=@0xbff230cc, action=0x884e2a8, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:971
#28 0xb67dedae in QMenuPrivate::activateAction (this=0x88bb280, action=0x884e2a8, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1064
#29 0xb67e3fbb in QMenu::mouseReleaseEvent (this=0x88d67d8, e=0xbff23894) at widgets/qmenu.cpp:2269
#30 0xb7459fa6 in KMenu::mouseReleaseEvent (this=0x88d67d8, e=0xbff23894) at /var/tmp/portage/kde-base/kdelibs-4.3.1-r2/work/kdelibs-4.3.1/kdeui/widgets/kmenu.cpp:456
#31 0xb643415f in QWidget::event (this=0x88d67d8, event=0xbff23894) at kernel/qwidget.cpp:7906
#32 0xb67e157c in QMenu::event (this=0x88d67d8, e=0xbff23894) at widgets/qmenu.cpp:2368
#33 0xb63d8874 in QApplicationPrivate::notify_helper (this=0x80a3198, receiver=0x88d67d8, e=0xbff23894) at kernel/qapplication.cpp:4198
#34 0xb63e1fa5 in QApplication::notify (this=0xbff2513c, receiver=0x88d67d8, e=0xbff23894) at kernel/qapplication.cpp:3843
#35 0xb736d4fb in KApplication::notify (this=0xbff2513c, receiver=0x88d67d8, event=0xbff23894) at /var/tmp/portage/kde-base/kdelibs-4.3.1-r2/work/kdelibs-4.3.1/kdeui/kernel/kapplication.cpp:302
#36 0xb6db0702 in QCoreApplication::notifyInternal (this=0xbff2513c, receiver=0x88d67d8, event=0xbff23894) at kernel/qcoreapplication.cpp:704
#37 0xb63e0deb in QApplicationPrivate::sendMouseEvent (receiver=0x88d67d8, event=0xbff23894, alienWidget=0x0, nativeWidget=0x88d67d8, buttonDown=0xb6bbdf80, lastMouseReceiver=@0xb6bbdf84, 
    spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#38 0xb644d27e in QETWidget::translateMouseEvent (this=0x88d67d8, event=0xbff23cf0) at kernel/qapplication_x11.cpp:4325
#39 0xb644c174 in QApplication::x11ProcessEvent (this=0xbff2513c, event=0xbff23cf0) at kernel/qapplication_x11.cpp:3408
#40 0xb647532a in x11EventSourceDispatch (s=0x80a6000, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#41 0xb5aa90cf in IA__g_main_context_dispatch (context=0x80a5220) at gmain.c:1824
#42 0xb5aac78b in g_main_context_iterate (context=0x80a5220, block=1, dispatch=1, self=0x80ada10) at gmain.c:2455
#43 0xb5aac919 in IA__g_main_context_iteration (context=0x80a5220, may_block=1) at gmain.c:2518
#44 0xb6ddc536 in QEventDispatcherGlib::processEvents (this=0x80a21f0, flags={i = 36}) at kernel/qeventdispatcher_glib.cpp:407
#45 0xb6474b56 in QGuiEventDispatcherGlib::processEvents (this=0x80a21f0, flags={i = 36}) at kernel/qguieventdispatcher_glib.cpp:202
#46 0xb6daecfa in QEventLoop::processEvents (this=0xbff23f90, flags=) at kernel/qeventloop.cpp:149
#47 0xb6daf15a in QEventLoop::exec (this=0xbff23f90, flags={i = 0}) at kernel/qeventloop.cpp:201
#48 0xb67ddfc2 in QMenu::exec (this=0x88d67d8, p=@0xbff23ff8, action=0x0) at widgets/qmenu.cpp:2007
#49 0xb7cabb6d in IdentityStatusWidget::showAccountContextMenu (this=0x81a6390, point=@0xbff249ec)
    at /var/tmp/portage/kde-base/kopete-4.3.1/work/kopete-4.3.1/kopete/kopete/identity/identitystatuswidget.cpp:297
#50 0xb7cad3a2 in IdentityStatusWidget::qt_metacall (this=0x81a6390, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbff24118)
    at /var/tmp/portage/kde-base/kopete-4.3.1/work/kopete-4.3.1_build/kopete/kopete/identity/identitystatuswidget.moc:86
#51 0xb6db596a in QMetaObject::metacall (object=0x81a6390, cl=8782, idx=28, argv=0xbff24118) at kernel/qmetaobject.cpp:237
#52 0xb6dc44a7 in QMetaObject::activate (sender=0x81a7ac0, m=0x807bcb0, local_signal_index=0, argv=<value optimized out>) at kernel/qobject.cpp:3398
#53 0xb64213a4 in QWidget::customContextMenuRequested (this=0x81a7ac0, _t1=@0xbff249ec) at .moc/release-shared/moc_qwidget.cpp:360
#54 0xb64346c2 in QWidget::event (this=0x81a7ac0, event=0xbff249dc) at kernel/qwidget.cpp:8076
#55 0xb679d564 in QFrame::event (this=0x81a7ac0, e=0xbff249dc) at widgets/qframe.cpp:557
#56 0xb682e353 in QAbstractScrollArea::viewportEvent (this=0x224e, e=0x6) at widgets/qabstractscrollarea.cpp:1007
#57 0xb68d1b9c in QAbstractItemView::viewportEvent (this=0x81a7ac0, event=0xbff249dc) at itemviews/qabstractitemview.cpp:1560
#58 0xb6830945 in QAbstractScrollAreaFilter::eventFilter (this=0x81a8218, o=0x81aa220, e=0xbff249dc) at widgets/qabstractscrollarea_p.h:101
#59 0xb6daf950 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x80a3198, receiver=0x81aa220, event=0xbff249dc) at kernel/qcoreapplication.cpp:819
#60 0xb63d884f in QApplicationPrivate::notify_helper (this=0x80a3198, receiver=0x81aa220, e=0xbff249dc) at kernel/qapplication.cpp:4194
#61 0xb63e274e in QApplication::notify (this=0xbff2513c, receiver=0x81aa220, e=0xbff249dc) at kernel/qapplication.cpp:3922
#62 0xb736d4fb in KApplication::notify (this=0xbff2513c, receiver=0x81aa220, event=0xbff249dc) at /var/tmp/portage/kde-base/kdelibs-4.3.1-r2/work/kdelibs-4.3.1/kdeui/kernel/kapplication.cpp:302
#63 0xb6db0702 in QCoreApplication::notifyInternal (this=0xbff2513c, receiver=0x81aa220, event=0xbff249dc) at kernel/qcoreapplication.cpp:704
#64 0xb645100f in QCoreApplication::sendSpontaneousEvent (receiver=0x81aa220, event=0x6) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#65 0xb644d455 in QETWidget::translateMouseEvent (this=0x8120780, event=0xbff24e10) at kernel/qapplication_x11.cpp:4396
#66 0xb644c174 in QApplication::x11ProcessEvent (this=0xbff2513c, event=0xbff24e10) at kernel/qapplication_x11.cpp:3408
#67 0xb647532a in x11EventSourceDispatch (s=0x80a6000, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#68 0xb5aa90cf in IA__g_main_context_dispatch (context=0x80a5220) at gmain.c:1824
#69 0xb5aac78b in g_main_context_iterate (context=0x80a5220, block=1, dispatch=1, self=0x80ada10) at gmain.c:2455
#70 0xb5aac919 in IA__g_main_context_iteration (context=0x80a5220, may_block=1) at gmain.c:2518
#71 0xb6ddc536 in QEventDispatcherGlib::processEvents (this=0x80a21f0, flags={i = 36}) at kernel/qeventdispatcher_glib.cpp:407
#72 0xb6474b56 in QGuiEventDispatcherGlib::processEvents (this=0x80a21f0, flags={i = 36}) at kernel/qguieventdispatcher_glib.cpp:202
#73 0xb6daecfa in QEventLoop::processEvents (this=0xbff250b4, flags=) at kernel/qeventloop.cpp:149
#74 0xb6daf15a in QEventLoop::exec (this=0xbff250b4, flags={i = 0}) at kernel/qeventloop.cpp:201
#75 0xb6db3351 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#76 0xb63d8448 in QApplication::exec () at kernel/qapplication.cpp:3603
#77 0x0805a313 in main (argc=3, argv=0xbff25544) at /var/tmp/portage/kde-base/kopete-4.3.1/work/kopete-4.3.1/kopete/kopete/main.cpp:104

This bug may be a duplicate of or related to bug 203640

Reported using DrKonqi
Comment 1 Anselmo L. S. Melo (anselmolsm) 2009-10-04 01:53:33 UTC
Well, my BT looks similar to #14 in 203734.

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