Bug 217969

Summary: when exiting kopete it crashes
Product: [Applications] kopete Reporter: Divan Santana <divan>
Component: generalAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:

Description Divan Santana 2009-12-09 11:09:08 UTC
Application that crashed: kopete
Version of the application: 0.80.2
KDE Version: 4.3.4 (KDE 4.3.4)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-16-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
Application that crashed: kopete
Version of the application: 4:4.3.4-0ubuntu1~karmic1~ppa1
KDE Version: 4.3.4
Qt Version: 4.5.3really4.5.2-0ubuntu1
Distribution: kubuntu 9.10

Crashes constantly when I exit kopete.

 -- Backtrace:
Application: Kopete (kopete), signal: Aborted
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7fad2975a750 (LWP 3391))]

Thread 4 (Thread 0x7fad0fec6910 (LWP 3392)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007fad25d16a93 in _L_lock_9264 () from /lib/libc.so.6
#2  0x00007fad25d14701 in *__GI___libc_free (mem=0x7fad26004e40) at malloc.c:3714
#3  0x00007fad217ec4e3 in ?? () from /lib/libglib-2.0.so.0
#4  0x00007fad2703ace2 in ~QEventDispatcherGlib (this=0x2922c30, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:289
#5  0x00007fad26f2b5fc in QThreadPrivate::finish (arg=<value optimized out>) at thread/qthread_unix.cpp:212
#6  0x00007fad26f2b44d in ~__pthread_cleanup_class (arg=0x2443080) at /usr/include/pthread.h:535
#7  QThreadPrivate::start (arg=0x2443080) at thread/qthread_unix.cpp:190
#8  0x00007fad2159ba04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007fad25d797bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fad0e81e910 (LWP 3395)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007fad0e81ddd0 in ?? ()
#2  0x00007fff1bfe1782 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
The current source language is "auto; currently asm".

Thread 2 (Thread 0x7fad0e01d910 (LWP 3396)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fad26f2c4fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2f617f8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2f617f8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fad2432378c in QHostInfoAgent::run (this=0x2f617e0) at kernel/qhostinfo.cpp:260
#4  0x00007fad26f2b445 in QThreadPrivate::start (arg=0x2f617e0) at thread/qthread_unix.cpp:188
#5  0x00007fad2159ba04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007fad25d797bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fad2975a750 (LWP 3391)):
[KCrash Handler]
#5  0x00007fad25ccd4b5 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007fad25cd0f50 in *__GI_abort () at abort.c:92
#7  0x00007fad25d05c97 in __libc_message (do_abort=<value optimized out>, fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#8  0x00007fad25d0fdd6 in malloc_printerr (action=3, str=0x7fad25dce73b "corrupted double-linked list", ptr=<value optimized out>) at malloc.c:6217
#9  0x00007fad25d101f2 in malloc_consolidate (av=<value optimized out>) at malloc.c:5103
#10 0x00007fad25d124c9 in _int_malloc (av=0x7fad26004e40, bytes=3391) at malloc.c:4338
#11 0x00007fad25d147ee in *__GI___libc_malloc (bytes=16416) at malloc.c:3638
#12 0x00007fad26f2e5ad in QByteArray::resize (this=0x72aac78, size=16384) at tools/qbytearray.cpp:1336
#13 0x00007fad26fb1f3e in QRingBuffer::clear (this=0x33356f0) at ../../include/QtCore/private/../../../src/corelib/tools/qringbuffer_p.h:206
#14 QRingBuffer (this=0x33356f0) at ../../include/QtCore/private/../../../src/corelib/tools/qringbuffer_p.h:66
#15 QIODevicePrivate (this=0x33356f0) at io/qiodevice.cpp:121
#16 0x00007fad26fa9940 in QFilePrivate (this=0xd3f) at io/qfile.cpp:93
#17 0x00007fad26fc10c9 in QTemporaryFilePrivate (this=0xd3f) at io/qtemporaryfile.cpp:432
#18 0x00007fad26fc2465 in QTemporaryFile (this=0x7fff1be46760) at io/qtemporaryfile.cpp:511
#19 0x00007fad276630c3 in KTemporaryFile (this=0xd3f, componentData=...) at ../../kdecore/io/ktemporaryfile.cpp:44
#20 0x00007fad2778c59a in lockFile (this=0x2734560, options=) at ../../kdecore/io/klockfile_unix.cpp:136
#21 KLockFile::lock (this=0x2734560, options=) at ../../kdecore/io/klockfile_unix.cpp:264
#22 0x00007fad27ca5219 in KPCLockFile (this=0x24b0290, key=..., pix=...) at ../../kdeui/util/kpixmapcache.cpp:79
#23 KPixmapCache::find (this=0x24b0290, key=..., pix=...) at ../../kdeui/util/kpixmapcache.cpp:1300
#24 0x00007fad27c0636a in KIconCache::find (this=0x24b0290, key=..., pix=..., path=0x0) at ../../kdeui/icons/kiconcache.cpp:277
#25 0x00007fad27bf9652 in KIconLoader::loadIcon (this=0x24328a0, _name=..., group=<value optimized out>, size=16, state=<value optimized out>, overlays=..., path_store=0x0, canReturnNull=false)
    at ../../kdeui/icons/kiconloader.cpp:1083
#26 0x00007fad27bfb86f in SmallIcon (name=..., force_size=0, state=0, overlays=...) at ../../kdeui/icons/kiconloader.cpp:1577
#27 0x000000000041f691 in KopeteWindow::slotIdentityStatusIconChanged (this=<value optimized out>, identity=<value optimized out>) at ../../../kopete/kopete/kopetewindow.cpp:1024
#28 0x0000000000424e72 in KopeteWindow::qt_metacall (this=0x24b6020, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff1be47510) at ./kopetewindow.moc:163
#29 0x00007fad27026ddc in QMetaObject::activate (sender=0x24ee7c0, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3113
#30 0x00007fad28e4fdef in Kopete::Identity::onlineStatusChanged (this=0xd3f, _t1=0x24ee7c0) at ./kopeteidentity.moc:107
#31 0x00007fad28e50317 in Kopete::Identity::updateOnlineStatus (this=0x24ee7c0) at ../../../kopete/libkopete/kopeteidentity.cpp:265
#32 0x00007fad28e50407 in Kopete::Identity::removeAccount (this=0x24ee7c0, account=0x28c78d0) at ../../../kopete/libkopete/kopeteidentity.cpp:218
#33 0x00007fad28e51744 in Kopete::Identity::qt_metacall (this=0x24ee7c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff1be47710) at ./kopeteidentity.moc:93
#34 0x00007fad27026ddc in QMetaObject::activate (sender=0x28c78d0, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3113
#35 0x00007fad28e24ec2 in Kopete::Account::accountDestroyed (this=0xd3f, _t1=0x28c78d0) at ./kopeteaccount.moc:208
#36 0x00007fad28e27331 in ~Account (this=0x28c78d0, __in_chrg=<value optimized out>) at ../../../kopete/libkopete/kopeteaccount.cpp:122
#37 0x00007fad11258e77 in ~WlmAccount (this=0x28c78d0, __in_chrg=<value optimized out>) at ../../../../kopete/protocols/wlm/wlmaccount.cpp:91
#38 0x00007fad2702111d in QObject::event (this=0x28c78d0, e=0xd3f) at kernel/qobject.cpp:1094
#39 0x00007fad264b9efc in QApplicationPrivate::notify_helper (this=0x244ad30, receiver=0x28c78d0, e=0x65f5140) at kernel/qapplication.cpp:4056
#40 0x00007fad264c11ce in QApplication::notify (this=0x7fff1be480d0, receiver=0x28c78d0, e=0x65f5140) at kernel/qapplication.cpp:4021
#41 0x00007fad27c29e56 in KApplication::notify (this=0x7fff1be480d0, receiver=0x28c78d0, event=0x65f5140) at ../../kdeui/kernel/kapplication.cpp:302
#42 0x00007fad27011c2c in QCoreApplication::notifyInternal (this=0x7fff1be480d0, receiver=0x28c78d0, event=0x65f5140) at kernel/qcoreapplication.cpp:610
#43 0x00007fad2701280a in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x23ff930) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#44 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x23ff930) at kernel/qcoreapplication.cpp:1247
#45 0x00007fad2703a533 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#46 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:210
#47 0x00007fad217ecbbe in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#48 0x00007fad217f0588 in ?? () from /lib/libglib-2.0.so.0
#49 0x00007fad217f06b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#50 0x00007fad2703a1a6 in QEventDispatcherGlib::processEvents (this=0x23ff560, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#51 0x00007fad2654e4be in QGuiEventDispatcherGlib::processEvents (this=0xd3f, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#52 0x00007fad27010532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#53 0x00007fad27010904 in QEventLoop::exec (this=0x7fff1be48020, flags=) at kernel/qeventloop.cpp:201
#54 0x00007fad27012ab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#55 0x00000000004157f6 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../kopete/kopete/main.cpp:104
The current source language is "auto; currently c".

Reported using DrKonqi
Comment 1 Dario Andres 2009-12-19 16:06:36 UTC
"malloc_printer" could be related to bug 196207.

If you can still reproduce the issue, can you check the following ?
- Quit/close Kopete if it is opened
- Start Konsole, and run "MALLOC_CHECK_=  kopete" (note the space between "=" and "kopete")
- Now use Kopete for a bit and then try to repeat the crash (closing it)

If it doesn't crash, then this is bug 196207
Thanks
Comment 2 Pino Toscano 2009-12-27 01:29:05 UTC

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