Bug 233512

Summary: Kopete crashes spontaneously (no user interaction)
Product: [Unmaintained] kopete Reporter: Matt Whitlock <kde>
Component: generalAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Matt Whitlock 2010-04-06 17:28:33 UTC
Application: kopete (1.0.0)
KDE Platform Version: 4.4.2 (KDE 4.4.2) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.31-gentoo-r10 x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
Once in a while, Kopete crashes spontaneously — as in, I'm not interacting with it in any way, not even mousing over it.  I would guess that the impetus for the crash is some network activity happening with a server.

I have two XMPP accounts (Gtalk and Facebook), a Yahoo! Messenger account, and an AIM account, all of which were connected at the time of the crash.

 -- Backtrace:
Application: Kopete (kopete), signal: Segmentation fault
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib64/libgobject-2.0.so.0.2200.5-gdb.py", line 9, in <module>
    from gobject import register
  File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
    import gdb.backtrace
ImportError: No module named backtrace
[Current thread is 1 (Thread 0x7f83dbc0d760 (LWP 761))]

Thread 7 (Thread 0x7f83c9089710 (LWP 814)):
#0  IA__g_thread_self () at gthread.c:754
#1  0x00007f83d3295a19 in IA__g_main_context_iteration (context=0x1866ea0, may_block=1) at gmain.c:2654
#2  0x00007f83d7d4b4f6 in QEventDispatcherGlib::processEvents (this=0x1866db0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#3  0x00007f83d7d1b792 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#4  0x00007f83d7d1bb64 in QEventLoop::exec (this=0x1866cf0, flags=) at kernel/qeventloop.cpp:201
#5  0x00007f83c56d170b in QCA::SyncThread::run() () from /usr/lib64/qca2/libqca.so.2
#6  0x00007f83d7c0b505 in QThreadPrivate::start (arg=0x18666d0) at thread/qthread_unix.cpp:248
#7  0x00007f83d7979894 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#8  0x00007f83d5e18f9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f83c383a710 (LWP 816)):
#0  0x00007f83d797d53e in __pthread_mutex_unlock_usercnt (mutex=0x1a0fdd8, decr=<value optimized out>) at pthread_mutex_unlock.c:52
#1  0x00007f83d329546d in g_main_context_iterate (context=0x1a0fdd0, block=0, dispatch=27327960, self=0x0) at gmain.c:2532
#2  0x00007f83d3295a2c in IA__g_main_context_iteration (context=0x1a0fdd0, may_block=1) at gmain.c:2654
#3  0x00007f83d7d4b4f6 in QEventDispatcherGlib::processEvents (this=0x18d3450, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f83d7d1b792 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f83d7d1bb64 in QEventLoop::exec (this=0x18d81c0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f83c5b5b922 in XMPP::SyncThread::run (this=0x1a062f0) at /var/tmp/portage/kde-base/kopete-4.4.2/work/kopete-4.4.2/kopete/protocols/jabber/libiris/iris/irisnet/corelib/netinterface.cpp:151
#7  0x00007f83d7c0b505 in QThreadPrivate::start (arg=0x1a062f0) at thread/qthread_unix.cpp:248
#8  0x00007f83d7979894 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#9  0x00007f83d5e18f9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f83c1610710 (LWP 9722)):
#0  pthread_cond_timedwait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f83ba524e2e in metronom_sync_loop (this=0x2b2fa50) at metronom.c:870
#2  0x00007f83d7979894 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#3  0x00007f83d5e18f9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f83c1e11710 (LWP 9723)):
#0  0x00007f83d3292426 in IA__g_main_context_acquire (context=0x26f41d0) at gmain.c:2061
#1  0x00007f83d3295475 in g_main_context_iterate (context=0x26f41d0, block=0, dispatch=1, self=0x7f83d7b8a280) at gmain.c:2535
#2  0x00007f83d3295a2c in IA__g_main_context_iteration (context=0x26f41d0, may_block=1) at gmain.c:2654
#3  0x00007f83d7d4b4f6 in QEventDispatcherGlib::processEvents (this=0x29a0a60, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f83d7d1b792 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f83d7d1bb64 in QEventLoop::exec (this=0x7f83c1e10dd0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f83d7c08689 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f83ba78557c in Phonon::Xine::XineThread::run (this=0x29d7a00) at /var/tmp/portage/media-sound/phonon-4.4.0/work/phonon-4.4/xine/xinethread.cpp:143
#8  0x00007f83d7c0b505 in QThreadPrivate::start (arg=0x29d7a00) at thread/qthread_unix.cpp:248
#9  0x00007f83d7979894 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#10 0x00007f83d5e18f9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f83adf67710 (LWP 9757)):
#0  pthread_cond_timedwait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f83ba524e2e in metronom_sync_loop (this=0x3d0bdc0) at metronom.c:870
#2  0x00007f83d7979894 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#3  0x00007f83d5e18f9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f83ac764710 (LWP 31268)):
#0  pthread_cond_timedwait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f83d7c0c428 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1b00bf0, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1b00bf0, time=30000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f83d7c00aad in QThreadPoolThread::run (this=0x1b00e10) at concurrent/qthreadpool.cpp:140
#4  0x00007f83d7c0b505 in QThreadPrivate::start (arg=0x1b00e10) at thread/qthread_unix.cpp:248
#5  0x00007f83d7979894 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x00007f83d5e18f9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f83dbc0d760 (LWP 761)):
[KCrash Handler]
#5  memcpy () at ../sysdeps/x86_64/memcpy.S:513
#6  0x00007f83d81de1b1 in QByteArray::detach (this=<value optimized out>, dev=<value optimized out>, len=<value optimized out>) at /usr/include/bits/string3.h:52
#7  QByteArray::data (this=<value optimized out>, dev=<value optimized out>, len=<value optimized out>) at /usr/include/qt4/QtCore/qbytearray.h:411
#8  KNetwork::Internal::KSocketBuffer::sendTo (this=<value optimized out>, dev=<value optimized out>, len=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2/kdecore/network/k3socketbuffer.cpp:256
#9  0x00007f83d81c9a5f in KNetwork::KBufferedSocket::slotWriteActivity (this=0xe57310) at /var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2/kdecore/network/k3bufferedsocket.cpp:349
#10 0x00007f83d81c9936 in KNetwork::KBufferedSocket::qt_metacall (this=0xe57310, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2_build/kdecore/k3bufferedsocket.moc:75
#11 0x00007f83d7d30d0f in QMetaObject::activate (sender=0x2a22580, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1fffffffffe13cb) at kernel/qobject.cpp:3285
#12 0x00007f83d7d879ee in QSocketNotifier::activated (this=0x4cffffc, _t1=31) at .moc/release-shared/moc_qsocketnotifier.cpp:89
#13 0x00007f83d7d3afc3 in QSocketNotifier::event (this=0x2a22580, e=0x7fff5a863300) at kernel/qsocketnotifier.cpp:317
#14 0x00007f83d6c5e81c in QApplicationPrivate::notify_helper (this=0x8a0870, receiver=0x2a22580, e=0x7fff5a863300) at kernel/qapplication.cpp:4300
#15 0x00007f83d6c5eaf3 in QApplication::notify (this=0x7fff5a863620, receiver=<value optimized out>, e=0x7fff5a863300) at kernel/qapplication.cpp:3704
#16 0x00007f83d874df46 in KApplication::notify (this=0x7fff5a863620, receiver=0x2a22580, event=0x7fff5a863300)
    at /var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2/kdeui/kernel/kapplication.cpp:302
#17 0x00007f83d7d1cb9b in QCoreApplication::notifyInternal (this=0x7fff5a863620, receiver=0x2a22580, event=0x7fff5a863300) at kernel/qcoreapplication.cpp:704
#18 0x00007f83d7d4b7fa in QCoreApplication::sendEvent (source=0x8d5360) at kernel/qcoreapplication.h:215
#19 socketNotifierSourceDispatch (source=0x8d5360) at kernel/qeventdispatcher_glib.cpp:110
#20 0x00007f83d329507d in g_main_dispatch (context=<value optimized out>) at gmain.c:1960
#21 IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2513
#22 0x00007f83d3295908 in g_main_context_iterate (context=0x8d48a0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#23 0x00007f83d3295a2c in IA__g_main_context_iteration (context=0x8d48a0, may_block=1) at gmain.c:2654
#24 0x00007f83d7d4b4a3 in QEventDispatcherGlib::processEvents (this=0x870db0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#25 0x00007f83d6d05b3e in QGuiEventDispatcherGlib::processEvents (this=0x4cffffc, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#26 0x00007f83d7d1b792 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#27 0x00007f83d7d1bb64 in QEventLoop::exec (this=0x7fff5a863570, flags=) at kernel/qeventloop.cpp:201
#28 0x00007f83d7d1e7ab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#29 0x0000000000416112 in main (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/portage/kde-base/kopete-4.4.2/work/kopete-4.4.2/kopete/kopete/main.cpp:105

This bug may be a duplicate of or related to bug 200536.

Possible duplicates by query: bug 228920, bug 226819, bug 213409, bug 212447.

Reported using DrKonqi
Comment 1 Dario Andres 2010-04-07 14:08:20 UTC
This looks indeed related to bug 200536 (same bt + yahoo account)
Regards

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