Bug 169622

Summary: crash adding a new MSN contact
Product: [Unmaintained] kopete Reporter: Giampaolo Gallo <gp>
Component: generalAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Giampaolo Gallo 2008-08-22 23:04:26 UTC
Version:            (using KDE 4.1.0)
Compiler:          gcc 4.2.1 
OS:                Linux
Installed from:    Compiled From Sources

The application crashes when a new contact is added to a group in which an account is already present. Once restarted Kopete was able to add the contact.

Stack Trace

Application: Kopete (kopete), signal SIGSEGV
Using host libthread_db library "/lib64/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 140089620674304 (LWP 4249)]
[New Thread 1110374736 (LWP 4255)]
0x00007f691e894c51 in __nanosleep_nocancel () from /lib64/libc.so.6
[Current thread is 0 (LWP 4249)]
Current language:  auto; currently c

Thread 2 (Thread 1110374736 (LWP 4255)):
#0  0x00007f6927929799 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib64/libpthread.so.0
#1  0x00007f6927ba0db9 in QWaitCondition::wait ()
   from /opt/qt4/lib/libQtCore.so.4
#2  0x00007f6921e7017c in QHostInfo::~QHostInfo ()
   from /opt/qt4/lib/libQtNetwork.so.4
#3  0x00007f6927b9fdc5 in QThreadData::current ()
   from /opt/qt4/lib/libQtCore.so.4
#4  0x00007f6927924ffb in start_thread (arg=<value optimized out>)
    at pthread_create.c:297
#5  0x00007f691e8c1a2d in clone () from /lib64/libc.so.6

Thread 1 (Thread 140089620674304 (LWP 4249)):
#0  0x00007f691e894c51 in __nanosleep_nocancel () from /lib64/libc.so.6
#1  0x00007f691e894a74 in __sleep (seconds=<value optimized out>)
    at ../sysdeps/unix/sysv/linux/sleep.c:138
#2  0x00007f6926a5c3d3 in KCrash::startDrKonqi (argv=0x7fff30188d80, argc=17)
    at /work/kde410/kdelibs-4.1.0/kdeui/util/kcrash.cpp:412
#3  0x00007f6926a5cd7a in KCrash::defaultCrashHandler (sig=11)
    at /work/kde410/kdelibs-4.1.0/kdeui/util/kcrash.cpp:337
#4  0x00007f691e82f120 in killpg () from /lib64/libc.so.6
#5  0x00007f6925a0f8fb in Kopete::Contact::setOnlineStatus (this=0x0, 
    status=@0xdc26a0)
    at /work/kde410/kdenetwork-4.1.0/kopete/libkopete/kopetecontact.cpp:138
#6  0x00007f69259f51e9 in Kopete::Account::setAllContactsStatus (
    this=0xda9960, status=@0xdc26a0)
    at /work/kde410/kdenetwork-4.1.0/kopete/libkopete/kopeteaccount.cpp:511
#7  0x00007f69136ec622 in MSNAccount::slotNotifySocketClosed (this=0xda9960)
    at /work/kde410/kdenetwork-4.1.0/kopete/protocols/msn/msnaccount.cpp:423
#8  0x00007f69136f7957 in MSNAccount::qt_metacall (this=0xda9960, 
    _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, 
    _a=0x7fff301894f0)
    at /work/kde410/kdenetwork-4.1.0/b/kopete/protocols/msn/msnaccount.moc:131
#9  0x00007f6927c9cba4 in QMetaObject::activate ()
   from /opt/qt4/lib/libQtCore.so.4
#10 0x00007f6913704efb in MSNSocket::slotSocketClosed (this=0xee9ff0)
    at /work/kde410/kdenetwork-4.1.0/kopete/protocols/msn/msnsocket.cpp:836
#11 0x00007f6913707e3a in MSNSocket::qt_metacall (this=0xee9ff0, 
    _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, 
    _a=0x7fff301896e0)
    at /work/kde410/kdenetwork-4.1.0/b/kopete/protocols/msn/msnsocket.moc:123
#12 0x00007f691371b505 in MSNNotifySocket::qt_metacall (this=0x0, 
    _c=14427808, _id=14287456, _a=0xf34460)
    at /work/kde410/kdenetwork-4.1.0/b/kopete/protocols/msn/msnnotifysocket.moc:105
#13 0x00007f6927c9cba4 in QMetaObject::activate ()
   from /opt/qt4/lib/libQtCore.so.4
#14 0x00007f6927620a2a in KNetwork::KClientSocketBase::close (this=0xafd860)
    at /work/kde410/kdelibs-4.1.0/kdecore/network/k3clientsocketbase.cpp:287
#15 0x00007f692761f259 in KNetwork::KBufferedSocket::closeNow (this=0x0)
    at /work/kde410/kdelibs-4.1.0/kdecore/network/k3bufferedsocket.cpp:268
#16 0x00007f692761eccd in KNetwork::KBufferedSocket::qt_metacall (
    this=0xafd860, _c=QMetaObject::InvokeMetaMethod, _id=0, 
    _a=<value optimized out>)
    at /work/kde410/kdelibs-4.1.0/b/kdecore/k3bufferedsocket.moc:67
#17 0x00007f6927c9cba4 in QMetaObject::activate ()
   from /opt/qt4/lib/libQtCore.so.4
#18 0x00007f6927cd360e in QSocketNotifier::activated ()
   from /opt/qt4/lib/libQtCore.so.4
#19 0x00007f6927ca2733 in QSocketNotifier::event ()
   from /opt/qt4/lib/libQtCore.so.4
#20 0x00007f691feef8ad in QApplicationPrivate::notify_helper ()
   from /opt/qt4/lib/libQtGui.so.4
#21 0x00007f691fef768a in QApplication::notify ()
   from /opt/qt4/lib/libQtGui.so.4
#22 0x00007f69269fb17b in KApplication::notify (this=0x7fff3018a120, 
    receiver=0xeff7e0, event=0x7fff30189e50)
    at /work/kde410/kdelibs-4.1.0/kdeui/kernel/kapplication.cpp:311
#23 0x00007f6927c88801 in QCoreApplication::notifyInternal ()
   from /opt/qt4/lib/libQtCore.so.4
#24 0x00007f6927cb0ed9 in QEventDispatcherGlib::processEvents ()
   from /opt/qt4/lib/libQtCore.so.4
#25 0x00007f691e151a64 in g_main_context_dispatch ()
   from /usr/lib64/libglib-2.0.so.0
#26 0x00007f691e154d65 in g_main_context_check ()
   from /usr/lib64/libglib-2.0.so.0
#27 0x00007f691e15524b in g_main_context_iteration ()
   from /usr/lib64/libglib-2.0.so.0
#28 0x00007f6927cb0c5f in QEventDispatcherGlib::processEvents ()
   from /opt/qt4/lib/libQtCore.so.4
#29 0x00007f691ff7de2f in QX11Info::copyX11Data ()
   from /opt/qt4/lib/libQtGui.so.4
#30 0x00007f6927c87112 in QEventLoop::processEvents ()
   from /opt/qt4/lib/libQtCore.so.4
#31 0x00007f6927c8729d in QEventLoop::exec () from /opt/qt4/lib/libQtCore.so.4
#32 0x00007f6927c8976d in QCoreApplication::exec ()
   from /opt/qt4/lib/libQtCore.so.4
#33 0x000000000044856c in main (argc=3, argv=0x7fff3018aee8)
    at /work/kde410/kdenetwork-4.1.0/kopete/kopete/main.cpp:102
#0  0x00007f691e894c51 in __nanosleep_nocancel () from /lib64/libc.so.6
Comment 1 Roman Jarosz 2008-10-16 21:47:58 UTC

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