[kopete-bugs] [Bug 260014] New: Crash when MSN contact disconnects

David Masover ninja at slaphack.com
Thu Dec 16 00:18:29 CET 2010


https://bugs.kde.org/show_bug.cgi?id=260014

           Summary: Crash when MSN contact disconnects
           Product: kopete
           Version: 1.0.0
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kopete-bugs at kde.org
        ReportedBy: ninja at slaphack.com


Application: kopete (1.0.0)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-26-generic x86_64
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
I have an MSN contact who's on a flaky wireless connection. It's difficult to
confirm that this happens every time, but it seems whenever his connection
drops, I crash.

This doesn't seem to happen when people go on or offline normally, and it only
seems to be happening with this one contact.

The crash can be reproduced some of the time.

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

Thread 4 (Thread 0x7f22336d2700 (LWP 4566)):
#0  __pthread_mutex_unlock_usercnt (mutex=0x1dfbe18) at
pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x1dfbe18) at pthread_mutex_unlock.c:290
#2  0x00007f223c14149c in ?? () from /lib/libglib-2.0.so.0
#3  0x00007f223c1418fc in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#4  0x00007f22421b1566 in QEventDispatcherGlib::processEvents (this=0x1cc7d00,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#5  0x00007f2242186992 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007f2242186d6c in QEventLoop::exec (this=0x7f22336d1d90, flags=) at
kernel/qeventloop.cpp:201
#7  0x00007f2242090d59 in QThread::exec (this=<value optimized out>) at
thread/qthread.cpp:487
#8  0x00007f2242167178 in QInotifyFileSystemWatcherEngine::run (this=0x1d918c0)
at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f2242093775 in QThreadPrivate::start (arg=0x1d918c0) at
thread/qthread_unix.cpp:248
#10 0x00007f22406039ca in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#11 0x00007f2240b5970d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f22290f7700 (LWP 4567)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f22290f6990 in ?? ()
#2  0x00007fffb35ff852 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (Thread 0x7f22288f6700 (LWP 4568)):
#0  0x00007f2240b4cf93 in *__GI___poll (fds=<value optimized out>, nfds=<value
optimized out>, timeout=1240) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f223c1414a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f223c1418fc in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#3  0x00007f22421b1566 in QEventDispatcherGlib::processEvents (this=0x1efbdf0,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f2242186992 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f2242186d6c in QEventLoop::exec (this=0x1efae80, flags=) at
kernel/qeventloop.cpp:201
#6  0x00007f2230add9a2 in XMPP::SyncThread::run (this=0x210abb0) at
../../../../../kopete/protocols/jabber/libiris/iris/irisnet/corelib/netinterface.cpp:151
#7  0x00007f2242093775 in QThreadPrivate::start (arg=0x210abb0) at
thread/qthread_unix.cpp:248
#8  0x00007f22406039ca in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#9  0x00007f2240b5970d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f22446b0780 (LWP 4559)):
[KCrash Handler]
#5  Kopete::PropertyContainer::hasProperty (this=0x0, key=...) at
../../../kopete/libkopete/kopetepropertycontainer.cpp:108
#6  0x00007f2243dd6e4e in Kopete::PropertyContainer::property (this=0x0,
tmpl=...) at ../../../kopete/libkopete/kopetepropertycontainer.cpp:122
#7  0x00007f222d5d60c7 in WlmChatSession (this=0x40849b0, protocol=<value
optimized out>, user=<value optimized out>, others=<value optimized out>,
conn=<value optimized out>)
    at ../../../../kopete/protocols/wlm/wlmchatsession.cpp:125
#8  0x00007f222d5cddf1 in WlmChatManager::createChat (this=0x2294610,
conn=0x40afa20) at ../../../../kopete/protocols/wlm/wlmchatmanager.cpp:269
#9  0x00007f222d5cdf2b in WlmChatManager::receivedMessage (this=0x2294610,
conn=0x40afa20, from=..., message=...) at
../../../../kopete/protocols/wlm/wlmchatmanager.cpp:341
#10 0x00007f222d5cf6a3 in WlmChatManager::qt_metacall (this=0x2294610,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffb35837b0)
at ./wlmchatmanager.moc:120
#11 0x00007f224219ae3f in QMetaObject::activate (sender=0x1f9d828, m=<value
optimized out>, local_signal_index=<value optimized out>, argv=0x1) at
kernel/qobject.cpp:3293
#12 0x00007f222d5c4129 in Callbacks::messageReceived (this=0x0, _t1=0x40afa20,
_t2=<value optimized out>, _t3=<value optimized out>) at ./wlmlibmsn.moc:260
#13 0x00007f222d5c5722 in Callbacks::gotInstantMessage (this=0x1f9d828,
conn=0x40afa20, username=<value optimized out>, friendlyname=<value optimized
out>, msg=<value optimized out>)
    at ../../../../kopete/protocols/wlm/wlmlibmsn.cpp:484
#14 0x00007f222d089e4c in MSN::SwitchboardServerConnection::message_plain
(this=0x40afa20, args=<value optimized out>, mime=<value optimized out>,
body=<value optimized out>)
    at /build/buildd/libmsn-4.1/msn/switchboardserver.cpp:175
#15 0x00007f222d0890ce in MSN::SwitchboardServerConnection::handle_MSG
(this=<value optimized out>, args=<value optimized out>) at
/build/buildd/libmsn-4.1/msn/switchboardserver.cpp:374
#16 0x00007f222d0846d4 in MSN::SwitchboardServerConnection::dispatchCommand
(this=0x40afa20, args=...) at
/build/buildd/libmsn-4.1/msn/switchboardserver.cpp:235
#17 0x00007f222d086797 in MSN::SwitchboardServerConnection::handleIncomingData
(this=0x40afa20) at /build/buildd/libmsn-4.1/msn/switchboardserver.cpp:647
#18 0x00007f222d07fd7d in MSN::Connection::dataArrivedOnSocket (this=0x40afa20)
at /build/buildd/libmsn-4.1/msn/connection.cpp:226
#19 0x00007f222d5c7d14 in WlmSocket::qt_metacall (this=0x422b160,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value
optimized out>) at ./wlmsocket.moc:79
#20 0x00007f224219ae3f in QMetaObject::activate (sender=0x422b160, m=<value
optimized out>, local_signal_index=<value optimized out>, argv=0x1) at
kernel/qobject.cpp:3293
#21 0x00007f223ece2d2d in QSslSocket::qt_metacall (this=0x422b160,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffb35860d0)
at .moc/release-shared/moc_qsslsocket.cpp:121
#22 0x00007f222d5c7c58 in WlmSocket::qt_metacall (this=0x0, _c=29996032, _id=0,
_a=0x1) at ./wlmsocket.moc:74
#23 0x00007f224219ae3f in QMetaObject::activate (sender=0x3937ca0, m=<value
optimized out>, local_signal_index=<value optimized out>, argv=0x1) at
kernel/qobject.cpp:3293
#24 0x00007f223ecc844f in QAbstractSocketPrivate::canReadNotification
(this=0x3c90180) at socket/qabstractsocket.cpp:626
#25 0x00007f223ecb7601 in QReadNotifier::event (this=<value optimized out>,
e=0x1c9b400) at socket/qnativesocketengine.cpp:1094
#26 0x00007f22412c822c in QApplicationPrivate::notify_helper (this=0x18d0de0,
receiver=0x3fbf690, e=0x7fffb3586680) at kernel/qapplication.cpp:4300
#27 0x00007f22412ce6fb in QApplication::notify (this=0x7fffb3586990,
receiver=0x3fbf690, e=0x7fffb3586680) at kernel/qapplication.cpp:4183
#28 0x00007f2242b70526 in KApplication::notify (this=0x7fffb3586990,
receiver=0x3fbf690, event=0x7fffb3586680) at
../../kdeui/kernel/kapplication.cpp:302
#29 0x00007f224218806c in QCoreApplication::notifyInternal
(this=0x7fffb3586990, receiver=0x3fbf690, event=0x7fffb3586680) at
kernel/qcoreapplication.cpp:704
#30 0x00007f22421b18ca in QCoreApplication::sendEvent (source=0x18d4390) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 socketNotifierSourceDispatch (source=0x18d4390) at
kernel/qeventdispatcher_glib.cpp:110
#32 0x00007f223c13d8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#33 0x00007f223c141748 in ?? () from /lib/libglib-2.0.so.0
#34 0x00007f223c1418fc in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#35 0x00007f22421b1513 in QEventDispatcherGlib::processEvents (this=0x187e9a0,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#36 0x00007f224137846e in QGuiEventDispatcherGlib::processEvents (this=0x0,
flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#37 0x00007f2242186992 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#38 0x00007f2242186d6c in QEventLoop::exec (this=0x7fffb35868e0, flags=) at
kernel/qeventloop.cpp:201
#39 0x00007f224218aaab in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:981
#40 0x0000000000415652 in main (argc=<value optimized out>, argv=<value
optimized out>) at ../../../kopete/kopete/main.cpp:105

Reported using DrKonqi

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the kopete-bugs mailing list