Bug 180260 - kopete crash on WLM sign-on when there are offline messages
Summary: kopete crash on WLM sign-on when there are offline messages
Status: RESOLVED WORKSFORME
Alias: None
Product: kopete
Classification: Applications
Component: WLM Plugin (show other bugs)
Version: 0.60.81
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-10 15:47 UTC by Elan Ruusamäe
Modified: 2009-03-26 13:16 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elan Ruusamäe 2009-01-10 15:47:32 UTC
Version:           0.60.81 (using 4.1.85 (KDE 4.1.85 (KDE 4.2 Beta2)), compiled sources)
Compiler:          x86_64-pld-linux-gcc
OS:                Linux (x86_64) release 2.6.27.7-2

when i sign on to my WLM account (everything else is signed off), then kopete crashes with following backtrace. 

it seems to be related with offline messages, as if i sign in with pidgin and receive offline messages, and after that sign in with kopete again, kopete won't segfault.

Application: Kopete (kopete), signal SIGSEGV
0x00007f8ea6011c71 in nanosleep () from /lib64/libc.so.6
Current language:  auto; currently c
[Current thread is 0 (LWP 31343)]

Thread 2 (Thread 0x7f8e912e4950 (LWP 31349)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f8ea7172c89 in QWaitCondition::wait () from /usr/lib64/libQtCore.so.4
#2  0x00007f8ea27ffbec in ?? () from /usr/lib64/libQtNetwork.so.4
#3  0x00007f8ea7171c92 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f8ea5b0f040 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007f8ea60428fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f8eaa3de770 (LWP 31343)):
[KCrash Handler]
#5  0x00007f8ea6368021 in std::string::compare () from /usr/lib64/libstdc++.so.6
#6  0x00007f8e92df002c in MSN::NotificationServerConnection::gotMailData () from /usr/lib64/libmsn.so.0.1
#7  0x00007f8e92df0928 in MSN::NotificationServerConnection::message_initialmdatanotification () from /usr/lib64/libmsn.so.0.1
#8  0x00007f8e92deb648 in MSN::NotificationServerConnection::handle_MSG () from /usr/lib64/libmsn.so.0.1
#9  0x00007f8e92de9827 in MSN::NotificationServerConnection::handleIncomingData () from /usr/lib64/libmsn.so.0.1
#10 0x00007f8e92dd8d28 in MSN::Connection::dataArrivedOnSocket () from /usr/lib64/libmsn.so.0.1
#11 0x00007f8e9308821d in WlmSocket::qt_metacall (this=0x17ec0f0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=<value optimized out>)
    at /usr/src/debug/kdenetwork-4.1.85/build/kopete/protocols/wlm/wlmsocket.moc:69
#12 0x00007f8ea726e354 in QMetaObject::activate () from /usr/lib64/libQtCore.so.4
#13 0x00007f8ea2831642 in QSslSocket::qt_metacall () from /usr/lib64/libQtNetwork.so.4
#14 0x00007f8e930881ed in WlmSocket::qt_metacall (this=0x7f8e92e41b2a, _c=2464422698, _id=48, _a=0x5) at /usr/src/debug/kdenetwork-4.1.85/build/kopete/protocols/wlm/wlmsocket.moc:64
#15 0x00007f8ea726e354 in QMetaObject::activate () from /usr/lib64/libQtCore.so.4
#16 0x00007f8ea281832f in ?? () from /usr/lib64/libQtNetwork.so.4
#17 0x00007f8ea2809301 in ?? () from /usr/lib64/libQtNetwork.so.4
#18 0x00007f8ea6785bdd in QApplicationPrivate::notify_helper () from /usr/lib64/libQtGui.so.4
#19 0x00007f8ea678dd40 in QApplication::notify () from /usr/lib64/libQtGui.so.4
#20 0x00007f8ea7e3fe5b in KApplication::notify () from /usr/lib64/libkdeui.so.5
#21 0x00007f8ea7259f81 in QCoreApplication::notifyInternal () from /usr/lib64/libQtCore.so.4
#22 0x00007f8ea7282eac in ?? () from /usr/lib64/libQtCore.so.4
#23 0x00007f8ea1ede5db in IA__g_main_context_dispatch (context=0x6b94b0) at gmain.c:2144
#24 0x00007f8ea1ee1d9d in g_main_context_iterate (context=0x6b94b0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2778
#25 0x00007f8ea1ee1f5b in IA__g_main_context_iteration (context=0x6b94b0, may_block=1) at gmain.c:2841
#26 0x00007f8ea7282c2f in QEventDispatcherGlib::processEvents () from /usr/lib64/libQtCore.so.4
#27 0x00007f8ea681633f in ?? () from /usr/lib64/libQtGui.so.4
#28 0x00007f8ea725886a in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
#29 0x00007f8ea7258a05 in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#30 0x00007f8ea725af0d in QCoreApplication::exec () from /usr/lib64/libQtCore.so.4
#31 0x00000000004478fc in main (argc=1, argv=0x7fffb241ee68) at /usr/src/debug/kdenetwork-4.1.85/kopete/kopete/main.cpp:102
Current language:  auto; currently asm
#0  0x00007f8ea6011c71 in nanosleep () from /lib64/libc.so.6
Current language:  auto; currently c

if it's anything useful, then last console messages are:

kopete(31343)/kopete (testbed) WlmAccount::setOnlineStatus:
kopete(31343)/kopete (testbed) WlmAccount::setPersonalMessage:
kopete(31343)/kopete (testbed) WlmAccount::slotGoOnline:
kopete(31343)/kopete (testbed) WlmAccount::connectWithPassword:
kopete(31343)/kdecore (KWin) KWindowInfo::geometry: Pass NET::WMDesktop to KWindowInfo

kopete(31343)/kdecore (KWin) KWindowInfo::geometry: Pass NET::WMDesktop to KWindowInfo

kopete(31343)/kopete (testbed) WlmAccount::groupListReceivedFromServer:
kopete(31343)/kopete (testbed) WlmAccount::addressBookReceivedFromServer:
kopete(31343)/kopete (testbed) WlmAccount::gotDisplayName:
kopete(31343)/kopete (testbed) WlmAccount::connectionCompleted:
kopete(31343)/kopete (testbed) WlmAccount::setPersonalMessage:
kopete(31343)/kopete (testbed) WlmAccount::changedStatus:
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kopete path = <unknown> pid = 31343
sock_file=/home/glen/.kde/socket-haarber.alkohol.ee/kdeinit4__0
Comment 1 Dario Andres 2009-01-10 15:59:11 UTC
What "libmsn" version do you have?
Comment 2 Elan Ruusamäe 2009-01-10 16:32:45 UTC
libmsn-4.0-0.beta1.1.x86_64
Comment 3 Tiago Salem Herrmann 2009-01-29 15:42:25 UTC
could you please try with libmsn 4.0 beta4?
Comment 4 Dario Andres 2009-03-25 19:35:36 UTC
No response. Marking as NEEDSINFO
Comment 5 Elan Ruusamäe 2009-03-26 13:15:09 UTC
seems no longer crashing with:

libmsn-4.0-0.beta4.1.x86_64
kde4-kdenetwork-kopete-4.2.1-1.x86_64
Comment 6 Dario Andres 2009-03-26 13:16:02 UTC
I'm glad it works now