Bug 237913 - when exiting kopete it crashes
Summary: when exiting kopete it crashes
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-17 09:24 UTC by Divan Santana
Modified: 2010-10-14 00:27 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.5.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Divan Santana 2010-05-17 09:24:59 UTC
Application: kopete (1.0.0)
KDE Platform Version: 4.4.3 (KDE 4.4.3)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
When I exit kopete it crashes.

It seems to be since i upgrade from kde 4.4.2 to 4.4.3 on kubuntu.

Not sure if this is already reported.

The crash can be reproduced some of the time.

 -- Backtrace:
Application: Kopete (kopete), signal: Aborted
[Current thread is 1 (Thread 0x7f87ec410780 (LWP 2165))]

Thread 3 (Thread 0x7f87d4529710 (LWP 2215)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f87e884e3ac in _L_lock_12430 () from /lib/libc.so.6
#2  0x00007f87e884ce48 in *__GI___libc_free (mem=0x7f87e8b4ce40) at malloc.c:3736
#3  0x00007f87e3e991ba in ?? () from /lib/libglib-2.0.so.0
#4  0x00007f87e9f0d013 in ~QEventDispatcherGlib (this=0x1eb7880, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:366
#5  0x00007f87e9dee364 in QThreadPrivate::finish (arg=<value optimized out>) at thread/qthread_unix.cpp:284
#6  0x00007f87e9dee77d in ~__pthread_cleanup_class (arg=0x7f87ea1f6f20) at /usr/include/pthread.h:535
#7  QThreadPrivate::start (arg=0x7f87ea1f6f20) at thread/qthread_unix.cpp:253
#8  0x00007f87e835f9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f87e88b569d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f87d2273710 (LWP 2242)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f87e884e3ac in _L_lock_12430 () from /lib/libc.so.6
#2  0x00007f87e884ce48 in *__GI___libc_free (mem=0x7f87e8b4ce40) at malloc.c:3736
#3  0x00007f87e6a0394d in QScopedPointerDeleter<QHostAddressPrivate>::cleanup (this=0x2dc30e0, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:62
#4  ~QScopedPointer (this=0x2dc30e0, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:100
#5  ~QHostAddress (this=0x2dc30e0, __in_chrg=<value optimized out>) at kernel/qhostaddress.cpp:565
#6  0x00007f87d64b9a56 in ~Info (this=<value optimized out>, data=0x80) at ../../../../../kopete/protocols/jabber/libiris/iris/irisnet/corelib/irisnetplugin.h:54
#7  QList<XMPP::NetInterfaceProvider::Info>::node_destruct (this=<value optimized out>, data=0x80) at /usr/include/qt4/QtCore/qlist.h:402
#8  QList<XMPP::NetInterfaceProvider::Info>::free (this=<value optimized out>, data=0x80) at /usr/include/qt4/QtCore/qlist.h:646
#9  0x00007f87d64efc52 in XMPP::UnixNet::poll() () from /usr/lib/kde4/kopete_jabber.so
#10 0x00007f87d64ee390 in XMPP::UnixNet::check (this=0x22b0a90, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>)
    at ../../../../../kopete/protocols/jabber/libiris/iris/irisnet/corelib/netinterface_unix.cpp:402
#11 XMPP::UnixNet::qt_metacall (this=0x22b0a90, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>) at ./netinterface_unix.moc:73
#12 0x00007f87e9ef5e3f in QMetaObject::activate (sender=0x22b0aa8, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3293
#13 0x00007f87e9ef2a63 in QObject::event (this=0x22b0aa8, e=0x7f87d2272b70) at kernel/qobject.cpp:1212
#14 0x00007f87e902322c in QApplicationPrivate::notify_helper (this=0x1940270, receiver=0x22b0aa8, e=0x7f87d2272b70) at kernel/qapplication.cpp:4300
#15 0x00007f87e90296fb in QApplication::notify (this=0x7fff1ef09110, receiver=0x22b0aa8, e=0x7f87d2272b70) at kernel/qapplication.cpp:4183
#16 0x00007f87ea8cb536 in KApplication::notify (this=0x7fff1ef09110, receiver=0x22b0aa8, event=0x7f87d2272b70) at ../../kdeui/kernel/kapplication.cpp:302
#17 0x00007f87e9ee306c in QCoreApplication::notifyInternal (this=0x7fff1ef09110, receiver=0x22b0aa8, event=0x7f87d2272b70) at kernel/qcoreapplication.cpp:704
#18 0x00007f87e9f0fd42 in QCoreApplication::sendEvent (this=0x23572a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#19 QTimerInfoList::activateTimers (this=0x23572a0) at kernel/qeventdispatcher_unix.cpp:603
#20 0x00007f87e9f0c848 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#21 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#22 0x00007f87e3e998c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#23 0x00007f87e3e9d748 in ?? () from /lib/libglib-2.0.so.0
#24 0x00007f87e3e9d8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#25 0x00007f87e9f0c513 in QEventDispatcherGlib::processEvents (this=0x1d2d2c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#26 0x00007f87e9ee1992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#27 0x00007f87e9ee1d6c in QEventLoop::exec (this=0x2160220, flags=) at kernel/qeventloop.cpp:201
#28 0x00007f87d64b99a2 in XMPP::SyncThread::run (this=0x231ba00) at ../../../../../kopete/protocols/jabber/libiris/iris/irisnet/corelib/netinterface.cpp:151
#29 0x00007f87e9dee775 in QThreadPrivate::start (arg=0x231ba00) at thread/qthread_unix.cpp:248
#30 0x00007f87e835f9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#31 0x00007f87e88b569d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#32 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f87ec410780 (LWP 2165)):
[KCrash Handler]
#5  0x00007f87e8802a75 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007f87e88065c0 in *__GI_abort () at abort.c:92
#7  0x00007f87e883c4fb in __libc_message (do_abort=<value optimized out>, fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#8  0x00007f87e88465b6 in malloc_printerr (action=3, str=0x7f87e8915282 "corrupted double-linked list", ptr=<value optimized out>) at malloc.c:6264
#9  0x00007f87e8846a1f in malloc_consolidate (av=<value optimized out>) at malloc.c:5142
#10 0x00007f87e8849fad in _int_malloc (av=0x7f87e8b4ce40, bytes=2165) at malloc.c:4370
#11 0x00007f87e884b58e in *__GI___libc_malloc (bytes=32768) at malloc.c:3660
#12 0x00007f87e9df1508 in QByteArray::realloc (this=0x2108d68, alloc=<value optimized out>) at tools/qbytearray.cpp:1412
#13 0x00007f87e9df1979 in QByteArray::resize (this=0x2108d68, size=16384) at tools/qbytearray.cpp:1380
#14 0x00007f87e9e71a47 in QRingBuffer::reserve (this=0x20e5490, bytes=5) at ../../include/QtCore/private/../../../src/corelib/tools/qringbuffer_p.h:158
#15 0x00007f87e9e7001b in QFile::writeData (this=0x7fff1ef07580, data=0x1f38068 "2165\n", len=<value optimized out>) at io/qfile.cpp:1618
#16 0x00007f87e9e75417 in QIODevice::write (this=0x7fff1ef07580, data=0x1f38068 "2165\n", maxSize=6) at io/qiodevice.cpp:1324
#17 0x00007f87e9e87529 in QIODevice::write (this=0x1d62170) at ../../include/QtCore/../../src/corelib/io/qiodevice.h:127
#18 QTextStreamPrivate::flushWriteBuffer (this=0x1d62170) at io/qtextstream.cpp:679
#19 0x00007f87e9e884c9 in flush (stream=...) at io/qtextstream.cpp:2878
#20 0x00007f87ea4174bb in operator<< (this=0x20d1dd0, options=) at /usr/include/qt4/QtCore/qtextstream.h:291
#21 lockFile (this=0x20d1dd0, options=) at ../../kdecore/io/klockfile_unix.cpp:151
#22 KLockFile::lock (this=0x20d1dd0, options=) at ../../kdecore/io/klockfile_unix.cpp:264
#23 0x00007f87ea94de1c in KPCLockFile (this=0x19a0100, key=..., pix=...) at ../../kdeui/util/kpixmapcache.cpp:80
#24 KPixmapCache::find (this=0x19a0100, key=..., pix=...) at ../../kdeui/util/kpixmapcache.cpp:1340
#25 0x00007f87ea89fdca in KIconCache::find (this=0x19a0100, key=..., pix=..., path=0x0) at ../../kdeui/icons/kiconcache.cpp:277
#26 0x00007f87ea892df3 in KIconLoader::loadIcon (this=0x193fe40, _name=..., group=<value optimized out>, size=16, state=<value optimized out>, overlays=..., path_store=0x0, canReturnNull=false)
    at ../../kdeui/icons/kiconloader.cpp:1092
#27 0x00007f87ea894c0f in SmallIcon (name=..., force_size=0, state=0, overlays=...) at ../../kdeui/icons/kiconloader.cpp:1588
#28 0x000000000041ed89 in KopeteWindow::slotIdentityStatusIconChanged (this=<value optimized out>, identity=<value optimized out>) at ../../../kopete/kopete/kopetewindow.cpp:1029
#29 0x0000000000423c72 in KopeteWindow::qt_metacall (this=0x19964c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff1ef08410) at ./kopetewindow.moc:169
#30 0x00007f87e9ef5e3f in QMetaObject::activate (sender=0x1a08690, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3293
#31 0x00007f87ebb0ac8f in Kopete::Identity::onlineStatusChanged (this=0x875, _t1=0x1a08690) at ./kopeteidentity.moc:113
#32 0x00007f87ebb0b1b7 in Kopete::Identity::updateOnlineStatus (this=0x1a08690) at ../../../kopete/libkopete/kopeteidentity.cpp:265
#33 0x00007f87ebb0b2a7 in Kopete::Identity::removeAccount (this=0x1a08690, account=0x215e5a0) at ../../../kopete/libkopete/kopeteidentity.cpp:218
#34 0x00007f87ebb0c6f4 in Kopete::Identity::qt_metacall (this=0x1a08690, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff1ef08610) at ./kopeteidentity.moc:99
#35 0x00007f87e9ef5e3f in QMetaObject::activate (sender=0x215e5a0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3293
#36 0x00007f87ebae1242 in Kopete::Account::accountDestroyed (this=0x875, _t1=0x215e5a0) at ./kopeteaccount.moc:214
#37 0x00007f87ebae1cc2 in ~Account (this=0x215e5a0, __in_chrg=<value optimized out>) at ../../../kopete/libkopete/kopeteaccount.cpp:127
#38 0x00007f87d58a6f57 in ~WlmAccount (this=0x215e5a0, __in_chrg=<value optimized out>) at ../../../../kopete/protocols/wlm/wlmaccount.cpp:99
#39 0x00007f87e9ef2d6d in QObject::event (this=0x215e5a0, e=0x25ba320) at kernel/qobject.cpp:1231
#40 0x00007f87e902322c in QApplicationPrivate::notify_helper (this=0x1940270, receiver=0x215e5a0, e=0x25ba320) at kernel/qapplication.cpp:4300
#41 0x00007f87e90296fb in QApplication::notify (this=0x7fff1ef09110, receiver=0x215e5a0, e=0x25ba320) at kernel/qapplication.cpp:4183
#42 0x00007f87ea8cb536 in KApplication::notify (this=0x7fff1ef09110, receiver=0x215e5a0, event=0x25ba320) at ../../kdeui/kernel/kapplication.cpp:302
#43 0x00007f87e9ee306c in QCoreApplication::notifyInternal (this=0x7fff1ef09110, receiver=0x215e5a0, event=0x25ba320) at kernel/qcoreapplication.cpp:704
#44 0x00007f87e9ee57e7 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x18ebe60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#45 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x18ebe60) at kernel/qcoreapplication.cpp:1345
#46 0x00007f87e9f0c9d3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#47 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#48 0x00007f87e3e998c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#49 0x00007f87e3e9d748 in ?? () from /lib/libglib-2.0.so.0
#50 0x00007f87e3e9d8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#51 0x00007f87e9f0c513 in QEventDispatcherGlib::processEvents (this=0x18eb9a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#52 0x00007f87e90d346e in QGuiEventDispatcherGlib::processEvents (this=0x875, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#53 0x00007f87e9ee1992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#54 0x00007f87e9ee1d6c in QEventLoop::exec (this=0x7fff1ef09060, flags=) at kernel/qeventloop.cpp:201
#55 0x00007f87e9ee5aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#56 0x0000000000415652 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../kopete/kopete/main.cpp:105

Possible duplicates by query: bug 217969, bug 215997, bug 214465, bug 213270, bug 208881.

Reported using DrKonqi
Comment 1 Nicolas L. 2010-06-17 11:28:00 UTC
*** Bug 238865 has been marked as a duplicate of this bug. ***
Comment 2 Christoph Feck 2010-10-14 00:27:49 UTC
(I quickly reviewed the backtrace of this crash, and it appears to be caused by KIconCache memory corruption. If this is not the case, please reopen.)

Closing all KIconCache crashes as fixed, because the KIconLoader in KDE SC 4.5 now uses KSharedDataCache to cache icons, and it is believed that the new class is less prone to random crashes or memory corruption.

If you still can reproduce a crash with version 4.5, please report it separately. If you cannot upgrade to 4.5 yet, you should be able to work around this crash by deleting the icon cache files in /var/tmp/kdecache-<user>/kpc