Bug 220452

Summary: KMail crashes when I right-click on certain new email / Plasma crashes on start (KPixmapCache, KIconLoader) [qFree, QScopedPointerPodDeleter::cleanup, QScopedPointer<QByteArray::Data, QScopedPointerPodDeleter>::reset]
Product: [Unmaintained] kdelibs Reporter: Panagiotis Papadopoulos <pano_90>
Component: kdeuiAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra, awmcmillan, echidnaman, kdepim-bugs, kdm-bugs-null, marokanski.kazak, mpyne, paulo.miguel.dias
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Panagiotis Papadopoulos 2009-12-28 21:20:40 UTC
Application: kmail (1.13.0)
KDE Platform Version: 4.3.85 (KDE 4.3.85 (KDE 4.4 Beta2))
Qt Version: 4.6.0
Operating System: Linux 2.6.32-ARCH i686
Distribution (Platform): Archlinux Packages

-- Information about the crash:
I received an email (it's an "advertising" email, by my mail provider) and went to delete it directly, by right-clicking on it, but KMail crashed before I was able to delete it.
The crashing reproducable 100% with this email. If there's a way to upload that email (it does not contain any "sensitive" information), please let me know :-)

The crash can be reproduced everytime.

 -- Backtrace:
Application: KMail (kmail), signal: Aborted
[KCrash Handler]
#6  0xb7799424 in __kernel_vsyscall ()
#7  0xb58a1571 in raise () from /lib/libc.so.6
#8  0xb58a2d72 in abort () from /lib/libc.so.6
#9  0xb58dcd95 in __libc_message () from /lib/libc.so.6
#10 0xb58e2c31 in malloc_printerr () from /lib/libc.so.6
#11 0xb58e75a6 in free () from /lib/libc.so.6
#12 0xb6596b6d in qFree (ptr=0xa3819e8) at global/qmalloc.cpp:60
#13 0xb659fce8 in QScopedPointerPodDeleter::cleanup (data=0xa0449d8 "", nbytes=567) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:83
#14 QScopedPointer<QByteArray::Data, QScopedPointerPodDeleter>::reset (data=0xa0449d8 "", nbytes=567) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:149
#15 qUncompress (data=0xa0449d8 "", nbytes=567) at tools/qbytearray.cpp:543
#16 0xb75de6be in KPixmapCache::Private::loadData(int, QPixmap&) () from /usr/lib/libkdeui.so.5
#17 0xb75dfbe4 in KPixmapCache::find(QString const&, QPixmap&) () from /usr/lib/libkdeui.so.5
#18 0xb751d55b in KIconCache::find(QString const&, QPixmap&) () from /usr/lib/libkdeui.so.5
#19 0xb751e3a0 in KIconCache::find(QString const&, QPixmap&, QString*) () from /usr/lib/libkdeui.so.5
#20 0xb7511515 in KIconLoader::loadIcon(QString const&, KIconLoader::Group, int, int, QStringList const&, QString*, bool) const () from /usr/lib/libkdeui.so.5
#21 0xb7513c11 in KIconLoader::loadMimeTypeIcon(QString const&, KIconLoader::Group, int, int, QStringList const&, QString*) const () from /usr/lib/libkdeui.so.5
#22 0xb6c69745 in KMMimePartTreeItem::setIconAndTextForType(QString const&) () from /usr/lib/libkmailprivate.so.4
#23 0xb6c6a0b4 in KMMimePartTreeItem::KMMimePartTreeItem(KMMimePartTreeItem*, partNode*, QString const&, QString const&, QString const&, unsigned long long, bool) ()
   from /usr/lib/libkmailprivate.so.4
#24 0xb6cb463a in partNode::fillMimePartTree(KMMimePartTreeItem*, KMMimePartTree*, QString const&, QString const&, QString const&, unsigned long long, bool) () from /usr/lib/libkmailprivate.so.4
#25 0xb6cb3eff in partNode::fillMimePartTree(KMMimePartTreeItem*, KMMimePartTree*, QString const&, QString const&, QString const&, unsigned long long, bool) () from /usr/lib/libkmailprivate.so.4
#26 0xb6cb3eff in partNode::fillMimePartTree(KMMimePartTreeItem*, KMMimePartTree*, QString const&, QString const&, QString const&, unsigned long long, bool) () from /usr/lib/libkmailprivate.so.4
#27 0xb6cb3eff in partNode::fillMimePartTree(KMMimePartTreeItem*, KMMimePartTree*, QString const&, QString const&, QString const&, unsigned long long, bool) () from /usr/lib/libkmailprivate.so.4
#28 0xb6cb3eff in partNode::fillMimePartTree(KMMimePartTreeItem*, KMMimePartTree*, QString const&, QString const&, QString const&, unsigned long long, bool) () from /usr/lib/libkmailprivate.so.4
#29 0xb6cb3eff in partNode::fillMimePartTree(KMMimePartTreeItem*, KMMimePartTree*, QString const&, QString const&, QString const&, unsigned long long, bool) () from /usr/lib/libkmailprivate.so.4
#30 0xb6cb3eff in partNode::fillMimePartTree(KMMimePartTreeItem*, KMMimePartTree*, QString const&, QString const&, QString const&, unsigned long long, bool) () from /usr/lib/libkmailprivate.so.4
#31 0xb6cb3eff in partNode::fillMimePartTree(KMMimePartTreeItem*, KMMimePartTree*, QString const&, QString const&, QString const&, unsigned long long, bool) () from /usr/lib/libkmailprivate.so.4
#32 0xb6cb3eff in partNode::fillMimePartTree(KMMimePartTreeItem*, KMMimePartTree*, QString const&, QString const&, QString const&, unsigned long long, bool) () from /usr/lib/libkmailprivate.so.4
#33 0xb6cb3eff in partNode::fillMimePartTree(KMMimePartTreeItem*, KMMimePartTree*, QString const&, QString const&, QString const&, unsigned long long, bool) () from /usr/lib/libkmailprivate.so.4
#34 0xb6cb3eff in partNode::fillMimePartTree(KMMimePartTreeItem*, KMMimePartTree*, QString const&, QString const&, QString const&, unsigned long long, bool) () from /usr/lib/libkmailprivate.so.4
#35 0xb6cb3eff in partNode::fillMimePartTree(KMMimePartTreeItem*, KMMimePartTree*, QString const&, QString const&, QString const&, unsigned long long, bool) () from /usr/lib/libkmailprivate.so.4
#36 0xb6cb3eff in partNode::fillMimePartTree(KMMimePartTreeItem*, KMMimePartTree*, QString const&, QString const&, QString const&, unsigned long long, bool) () from /usr/lib/libkmailprivate.so.4
#37 0xb6cb3eff in partNode::fillMimePartTree(KMMimePartTreeItem*, KMMimePartTree*, QString const&, QString const&, QString const&, unsigned long long, bool) () from /usr/lib/libkmailprivate.so.4
#38 0xb6cb3eff in partNode::fillMimePartTree(KMMimePartTreeItem*, KMMimePartTree*, QString const&, QString const&, QString const&, unsigned long long, bool) () from /usr/lib/libkmailprivate.so.4
#39 0xb6cb3eff in partNode::fillMimePartTree(KMMimePartTreeItem*, KMMimePartTree*, QString const&, QString const&, QString const&, unsigned long long, bool) () from /usr/lib/libkmailprivate.so.4
#40 0xb6cb3eff in partNode::fillMimePartTree(KMMimePartTreeItem*, KMMimePartTree*, QString const&, QString const&, QString const&, unsigned long long, bool) () from /usr/lib/libkmailprivate.so.4
#41 0xb6cb3eff in partNode::fillMimePartTree(KMMimePartTreeItem*, KMMimePartTree*, QString const&, QString const&, QString const&, unsigned long long, bool) () from /usr/lib/libkmailprivate.so.4
#42 0xb6cb46e0 in partNode::fillMimePartTree(KMMimePartTreeItem*, KMMimePartTree*, QString const&, QString const&, QString const&, unsigned long long, bool) () from /usr/lib/libkmailprivate.so.4
#43 0xb6cb3eff in partNode::fillMimePartTree(KMMimePartTreeItem*, KMMimePartTree*, QString const&, QString const&, QString const&, unsigned long long, bool) () from /usr/lib/libkmailprivate.so.4
#44 0xb6cb46e0 in partNode::fillMimePartTree(KMMimePartTreeItem*, KMMimePartTree*, QString const&, QString const&, QString const&, unsigned long long, bool) () from /usr/lib/libkmailprivate.so.4
#45 0xb6b01141 in KMReaderWin::parseMsg(KMMessage*) () from /usr/lib/libkmailprivate.so.4
#46 0xb6af4feb in KMReaderWin::displayMessage() () from /usr/lib/libkmailprivate.so.4
#47 0xb6af51d5 in KMReaderWin::updateReaderWin() () from /usr/lib/libkmailprivate.so.4
#48 0xb6b04dd4 in KMReaderWin::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkmailprivate.so.4
#49 0xb66a1e7a in QMetaObject::metacall (object=0xa52a728, cl=17017, idx=33, argv=0xbf873d4c) at kernel/qmetaobject.cpp:237
#50 0xb66b044d in QMetaObject::activate (sender=0xa52a780, m=0xb67b1704, local_signal_index=0, argv=<value optimized out>) at kernel/qobject.cpp:3294
#51 0xb6701dd7 in QTimer::timeout (this=0xa52a780) at .moc/release-shared/moc_qtimer.cpp:134
#52 0xb66b868e in QTimer::timerEvent (this=0xa52a780, e=0xbf874210) at kernel/qtimer.cpp:271
#53 0xb66ad2d4 in QObject::event (this=0xa52a780, e=0x6) at kernel/qobject.cpp:1224
#54 0xb5c03c1c in QApplicationPrivate::notify_helper (this=0xa0122c8, receiver=0xa52a780, e=0xbf874210) at kernel/qapplication.cpp:4242
#55 0xb5c0a827 in QApplication::notify (this=0xbf87461c, receiver=0xa52a780, e=0xbf874210) at kernel/qapplication.cpp:3661
#56 0xb754cc9a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#57 0xb669cc6b in QCoreApplication::notifyInternal (this=0xbf87461c, receiver=0xa52a780, event=0xbf874210) at kernel/qcoreapplication.cpp:704
#58 0xb66cbd16 in QCoreApplication::sendEvent (this=0xa015034) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#59 QTimerInfoList::activateTimers (this=0xa015034) at kernel/qeventdispatcher_unix.cpp:603
#60 0xb66c8a27 in timerSourceDispatch (source=0xa015070) at kernel/qeventdispatcher_glib.cpp:184
#61 idleTimerSourceDispatch (source=0xa015070) at kernel/qeventdispatcher_glib.cpp:231
#62 0xb3e1c378 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#63 0xb3e1fbf0 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#64 0xb3e1fd23 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#65 0xb66c86e5 in QEventDispatcherGlib::processEvents (this=0xa008be8, flags=...) at kernel/qeventdispatcher_glib.cpp:407
#66 0xb5cbe7b5 in QGuiEventDispatcherGlib::processEvents (this=0xa008be8, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#67 0xb669b2a9 in QEventLoop::processEvents (this=0xbf8744d4, flags=) at kernel/qeventloop.cpp:149
#68 0xb669b6fa in QEventLoop::exec (this=0xbf8744d4, flags=...) at kernel/qeventloop.cpp:201
#69 0xb669f86f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#70 0xb5c03cb7 in QApplication::exec () at kernel/qapplication.cpp:3570
#71 0x0804ab6e in _start ()

Reported using DrKonqi
Comment 1 Panagiotis Papadopoulos 2009-12-28 21:22:57 UTC
here's a backtrace with debugging symbols:

Application: KMail (kmail), signal: Aborted
[Current thread is 1 (Thread 0xb2837700 (LWP 17418))]

Thread 2 (Thread 0xaf57bb70 (LWP 17424)):
#0  0xb76f3424 in __kernel_vsyscall ()
#1  0xb543b182 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb58ac654 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb64f737f in QWaitConditionPrivate::wait (this=0x98b7924, mutex=0x98b7920, time=30000) at thread/qwaitcondition_unix.cpp:85
#4  QWaitCondition::wait (this=0x98b7924, mutex=0x98b7920, time=30000) at thread/qwaitcondition_unix.cpp:159
#5  0xb64ebfdb in QThreadPoolThread::run (this=0x924ce10) at concurrent/qthreadpool.cpp:140
#6  0xb64f64be in QThreadPrivate::start (arg=0x924ce10) at thread/qthread_unix.cpp:244
#7  0xb54368ac in start_thread () from /lib/libpthread.so.0
#8  0xb589f01e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb2837700 (LWP 17418)):
[KCrash Handler]
#6  0xb76f3424 in __kernel_vsyscall ()
#7  0xb57fb571 in raise () from /lib/libc.so.6
#8  0xb57fcd72 in abort () from /lib/libc.so.6
#9  0xb5836d95 in __libc_message () from /lib/libc.so.6
#10 0xb583cc31 in malloc_printerr () from /lib/libc.so.6
#11 0xb58415a6 in free () from /lib/libc.so.6
#12 0xb64f0b6d in qFree (ptr=0x98e7c48) at global/qmalloc.cpp:60
#13 0xb64f9ce8 in QScopedPointerPodDeleter::cleanup (data=0x9122160 "", nbytes=567) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:83
#14 QScopedPointer<QByteArray::Data, QScopedPointerPodDeleter>::reset (data=0x9122160 "", nbytes=567) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:149
#15 qUncompress (data=0x9122160 "", nbytes=567) at tools/qbytearray.cpp:543
#16 0xb75386be in KPixmapCache::Private::loadData(int, QPixmap&) () from /usr/lib/libkdeui.so.5
#17 0xb7539be4 in KPixmapCache::find(QString const&, QPixmap&) () from /usr/lib/libkdeui.so.5
#18 0xb747755b in KIconCache::find(QString const&, QPixmap&) () from /usr/lib/libkdeui.so.5
#19 0xb74783a0 in KIconCache::find(QString const&, QPixmap&, QString*) () from /usr/lib/libkdeui.so.5
#20 0xb746b515 in KIconLoader::loadIcon(QString const&, KIconLoader::Group, int, int, QStringList const&, QString*, bool) const () from /usr/lib/libkdeui.so.5
#21 0xb746dc11 in KIconLoader::loadMimeTypeIcon(QString const&, KIconLoader::Group, int, int, QStringList const&, QString*) const () from /usr/lib/libkdeui.so.5
#22 0xb6bc3745 in KMMimePartTreeItem::setIconAndTextForType (this=0x905b3d0, mime=...) at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/kmmimeparttree.cpp:447
#23 0xb6bc40b4 in KMMimePartTreeItem (this=0x905b3d0, parent=0x99d6b78, node=0x98af1a8, description=..., mimetype=..., encoding=..., size=620, revertOrder=false)
    at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/kmmimeparttree.cpp:397
#24 0xb6c0e63a in partNode::fillMimePartTree (this=0x98af1a8, parentItem=0x99d6b78, mimePartTree=0x0, labelDescr=..., labelCntType=..., labelEncoding=..., size=0, revertOrder=<value optimized out>)
    at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/partNode.cpp:549
#25 0xb6c0deff in partNode::fillMimePartTree (this=0x98af0a0, parentItem=0x99d6b78, mimePartTree=0x0, labelDescr=..., labelCntType=..., labelEncoding=..., size=0, revertOrder=<value optimized out>)
    at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/partNode.cpp:500
#26 0xb6c0deff in partNode::fillMimePartTree (this=0x98e46c0, parentItem=0x99d6b78, mimePartTree=0x0, labelDescr=..., labelCntType=..., labelEncoding=..., size=0, revertOrder=<value optimized out>)
    at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/partNode.cpp:500
#27 0xb6c0deff in partNode::fillMimePartTree (this=0x98e45b8, parentItem=0x99d6b78, mimePartTree=0x0, labelDescr=..., labelCntType=..., labelEncoding=..., size=0, revertOrder=<value optimized out>)
    at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/partNode.cpp:500
#28 0xb6c0deff in partNode::fillMimePartTree (this=0x98e44b0, parentItem=0x99d6b78, mimePartTree=0x0, labelDescr=..., labelCntType=..., labelEncoding=..., size=0, revertOrder=<value optimized out>)
    at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/partNode.cpp:500
#29 0xb6c0deff in partNode::fillMimePartTree (this=0x98e29f0, parentItem=0x99d6b78, mimePartTree=0x0, labelDescr=..., labelCntType=..., labelEncoding=..., size=0, revertOrder=<value optimized out>)
    at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/partNode.cpp:500
#30 0xb6c0deff in partNode::fillMimePartTree (this=0x98e28e8, parentItem=0x99d6b78, mimePartTree=0x0, labelDescr=..., labelCntType=..., labelEncoding=..., size=0, revertOrder=<value optimized out>)
    at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/partNode.cpp:500
#31 0xb6c0deff in partNode::fillMimePartTree (this=0x98e27e0, parentItem=0x99d6b78, mimePartTree=0x0, labelDescr=..., labelCntType=..., labelEncoding=..., size=0, revertOrder=<value optimized out>)
    at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/partNode.cpp:500
#32 0xb6c0deff in partNode::fillMimePartTree (this=0x9a2a7e0, parentItem=0x99d6b78, mimePartTree=0x0, labelDescr=..., labelCntType=..., labelEncoding=..., size=0, revertOrder=<value optimized out>)
    at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/partNode.cpp:500
#33 0xb6c0deff in partNode::fillMimePartTree (this=0x9a2a6d8, parentItem=0x99d6b78, mimePartTree=0x0, labelDescr=..., labelCntType=..., labelEncoding=..., size=0, revertOrder=<value optimized out>)
    at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/partNode.cpp:500
#34 0xb6c0deff in partNode::fillMimePartTree (this=0x9a2a5d0, parentItem=0x99d6b78, mimePartTree=0x0, labelDescr=..., labelCntType=..., labelEncoding=..., size=0, revertOrder=<value optimized out>)
    at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/partNode.cpp:500
#35 0xb6c0deff in partNode::fillMimePartTree (this=0x9a69558, parentItem=0x99d6b78, mimePartTree=0x0, labelDescr=..., labelCntType=..., labelEncoding=..., size=0, revertOrder=<value optimized out>)
    at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/partNode.cpp:500
#36 0xb6c0deff in partNode::fillMimePartTree (this=0x9a69450, parentItem=0x99d6b78, mimePartTree=0x0, labelDescr=..., labelCntType=..., labelEncoding=..., size=0, revertOrder=<value optimized out>)
    at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/partNode.cpp:500
#37 0xb6c0deff in partNode::fillMimePartTree (this=0x9a69348, parentItem=0x99d6b78, mimePartTree=0x0, labelDescr=..., labelCntType=..., labelEncoding=..., size=0, revertOrder=<value optimized out>)
    at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/partNode.cpp:500
#38 0xb6c0deff in partNode::fillMimePartTree (this=0x98e8308, parentItem=0x99d6b78, mimePartTree=0x0, labelDescr=..., labelCntType=..., labelEncoding=..., size=0, revertOrder=<value optimized out>)
    at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/partNode.cpp:500
#39 0xb6c0deff in partNode::fillMimePartTree (this=0x98e8200, parentItem=0x99d6b78, mimePartTree=0x0, labelDescr=..., labelCntType=..., labelEncoding=..., size=0, revertOrder=<value optimized out>)
    at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/partNode.cpp:500
#40 0xb6c0deff in partNode::fillMimePartTree (this=0x98e80f8, parentItem=0x99d6b78, mimePartTree=0x0, labelDescr=..., labelCntType=..., labelEncoding=..., size=0, revertOrder=<value optimized out>)
    at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/partNode.cpp:500
#41 0xb6c0deff in partNode::fillMimePartTree (this=0x9780808, parentItem=0x99d6b78, mimePartTree=0x0, labelDescr=..., labelCntType=..., labelEncoding=..., size=0, revertOrder=<value optimized out>)
    at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/partNode.cpp:500
#42 0xb6c0e6e0 in partNode::fillMimePartTree (this=0x9780760, parentItem=0x98e58f8, mimePartTree=0x0, labelDescr=..., labelCntType=..., labelEncoding=..., size=0, revertOrder=<value optimized out>)
    at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/partNode.cpp:561
#43 0xb6c0deff in partNode::fillMimePartTree (this=0x97806b8, parentItem=0x98e58f8, mimePartTree=0x0, labelDescr=..., labelCntType=..., labelEncoding=..., size=0, revertOrder=<value optimized out>)
    at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/partNode.cpp:500
#44 0xb6c0e6e0 in partNode::fillMimePartTree (this=0x9780610, parentItem=0x0, mimePartTree=0x91c0140, labelDescr=..., labelCntType=..., labelEncoding=..., size=198877, 
    revertOrder=<value optimized out>) at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/partNode.cpp:561
#45 0xb6a5b141 in KMReaderWin::parseMsg (this=0x91954b8, aMsg=0x99d70e8) at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/kmreaderwin.cpp:1586
#46 0xb6a4efeb in KMReaderWin::displayMessage (this=0x91954b8) at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/kmreaderwin.cpp:1536
#47 0xb6a4f1d5 in KMReaderWin::updateReaderWin (this=0x91954b8) at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/kmreaderwin.cpp:1479
#48 0xb6a5edd4 in KMReaderWin::qt_metacall (this=0x91954b8, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbf9554fc) at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/kmreaderwin.moc:179
#49 0xb65fbe7a in QMetaObject::metacall (object=0x91954b8, cl=17418, idx=33, argv=0xbf9554fc) at kernel/qmetaobject.cpp:237
#50 0xb660a44d in QMetaObject::activate (sender=0x9195510, m=0xb670b704, local_signal_index=0, argv=<value optimized out>) at kernel/qobject.cpp:3294
#51 0xb665bdd7 in QTimer::timeout (this=0x9195510) at .moc/release-shared/moc_qtimer.cpp:134
#52 0xb661268e in QTimer::timerEvent (this=0x9195510, e=0xbf9559c0) at kernel/qtimer.cpp:271
#53 0xb66072d4 in QObject::event (this=0x9195510, e=0x6) at kernel/qobject.cpp:1224
#54 0xb5b5dc1c in QApplicationPrivate::notify_helper (this=0x8ede640, receiver=0x9195510, e=0xbf9559c0) at kernel/qapplication.cpp:4242
#55 0xb5b64827 in QApplication::notify (this=0xbf956fec, receiver=0x9195510, e=0xbf9559c0) at kernel/qapplication.cpp:3661
#56 0xb74a6c9a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#57 0xb65f6c6b in QCoreApplication::notifyInternal (this=0xbf956fec, receiver=0x9195510, event=0xbf9559c0) at kernel/qcoreapplication.cpp:704
#58 0xb6625d16 in QCoreApplication::sendEvent (this=0x8ee0f4c) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#59 QTimerInfoList::activateTimers (this=0x8ee0f4c) at kernel/qeventdispatcher_unix.cpp:603
#60 0xb6622a27 in timerSourceDispatch (source=0x8ee0f88) at kernel/qeventdispatcher_glib.cpp:184
#61 idleTimerSourceDispatch (source=0x8ee0f88) at kernel/qeventdispatcher_glib.cpp:231
#62 0xb3d76378 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#63 0xb3d79bf0 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#64 0xb3d79d23 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#65 0xb66226e5 in QEventDispatcherGlib::processEvents (this=0x8ed91d8, flags=...) at kernel/qeventdispatcher_glib.cpp:407
#66 0xb5c187b5 in QGuiEventDispatcherGlib::processEvents (this=0x8ed91d8, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#67 0xb65f52a9 in QEventLoop::processEvents (this=0xbf955c80, flags=) at kernel/qeventloop.cpp:149
#68 0xb65f56fa in QEventLoop::exec (this=0xbf955c80, flags=...) at kernel/qeventloop.cpp:201
#69 0xb5ff200e in QMenu::exec (this=0xbf955cd4, p=..., action=0x0) at widgets/qmenu.cpp:2045
#70 0xb6da241c in KMail::MessageListView::Widget::viewMessageListContextPopupRequest (this=0x91d01c8, selectedItems=..., globalPos=...)
    at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/messagelistview/widget.cpp:693
#71 0xb4987fb8 in MessageList::Core::View::mousePressEvent(QMouseEvent*) () from /usr/lib/libmessagelist.so.4
#72 0xb5bba656 in QWidget::event (this=0x91cf448, event=0xbf956764) at kernel/qwidget.cpp:7970
#73 0xb5faaee3 in QFrame::event (this=0x91cf448, e=0xbf956764) at widgets/qframe.cpp:557
#74 0xb60443c2 in QAbstractScrollArea::viewportEvent (this=0x440a, e=0x6) at widgets/qabstractscrollarea.cpp:1032
#75 0xb60f83a4 in QAbstractItemView::viewportEvent (this=0x91cf448, event=0xbf956764) at itemviews/qabstractitemview.cpp:1589
#76 0xb6138935 in QTreeView::viewportEvent (this=0x91cf448, event=0xbf956764) at itemviews/qtreeview.cpp:1250
#77 0xb6046da5 in QAbstractScrollAreaPrivate::viewportEvent (this=0x9206d08, o=0x922ba98, e=0xbf956764) at widgets/qabstractscrollarea_p.h:100
#78 QAbstractScrollAreaFilter::eventFilter (this=0x9206d08, o=0x922ba98, e=0xbf956764) at widgets/qabstractscrollarea_p.h:116
#79 0xb65f5f0a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x8ede640, receiver=0x922ba98, event=0xbf956764) at kernel/qcoreapplication.cpp:819
#80 0xb5b5dbf9 in QApplicationPrivate::notify_helper (this=0x8ede640, receiver=0x922ba98, e=0xbf956764) at kernel/qapplication.cpp:4238
#81 0xb5b6534d in QApplication::notify (this=0xbf956fec, receiver=0x922ba98, e=0xbf956764) at kernel/qapplication.cpp:3822
#82 0xb74a6c9a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#83 0xb65f6c6b in QCoreApplication::notifyInternal (this=0xbf956fec, receiver=0x922ba98, event=0xbf956764) at kernel/qcoreapplication.cpp:704
#84 0xb5b64164 in QCoreApplication::sendEvent (receiver=0x922ba98, event=0xbf956764, alienWidget=0x922ba98, nativeWidget=0x917d198, buttonDown=0xb648e660, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#85 QApplicationPrivate::sendMouseEvent (receiver=0x922ba98, event=0xbf956764, alienWidget=0x922ba98, nativeWidget=0x917d198, buttonDown=0xb648e660, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2956
#86 0xb5bec9ac in QETWidget::translateMouseEvent (this=0x917d198, event=0xbf956bb0) at kernel/qapplication_x11.cpp:4368
#87 0xb5bebed3 in QApplication::x11ProcessEvent (this=0xbf956fec, event=0xbf956bb0) at kernel/qapplication_x11.cpp:3379
#88 0xb5c18c52 in x11EventSourceDispatch (s=0x8ee1400, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#89 0xb3d76378 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#90 0xb3d79bf0 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#91 0xb3d79d23 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#92 0xb66226e5 in QEventDispatcherGlib::processEvents (this=0x8ed91d8, flags=...) at kernel/qeventdispatcher_glib.cpp:407
#93 0xb5c187b5 in QGuiEventDispatcherGlib::processEvents (this=0x8ed91d8, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#94 0xb65f52a9 in QEventLoop::processEvents (this=0xbf956ea4, flags=) at kernel/qeventloop.cpp:149
#95 0xb65f56fa in QEventLoop::exec (this=0xbf956ea4, flags=...) at kernel/qeventloop.cpp:201
#96 0xb65f986f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#97 0xb5b5dcb7 in QApplication::exec () at kernel/qapplication.cpp:3570
#98 0x0804ab6e in main (argc=3, argv=0xbf9571b4) at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/main.cpp:156
Comment 2 Panagiotis Papadopoulos 2009-12-28 21:24:05 UTC
Forgot to mention, but it might be important:

The mail account I received this mail with is a POP mail account
Comment 3 Dario Andres 2009-12-28 21:34:24 UTC
This could be related to the glibc bug : bug 196207.
Check this:
- Quit KMail/Kontact
- Start Konsole
- Type "export QT_NO_GLIB=1" + Enter
- Type "export MALLOC_CHECK_=" + Enter
- Type "kmail" + Enter
- Use KMail and check if it crashes or not
If it doesn't crash, then it is likely to be bug 196207. 
Thanks!
Comment 4 Panagiotis Papadopoulos 2009-12-28 21:40:33 UTC
Followed your instructions, but it still crashes (with a slightly different backtrace):

Konsole Output:

kmail(18973)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/tmp/ksocket-pano/kmailo18973.slave-socket"                                                                                         
kmail(18973)/kdepimlibs (kpgp) Kpgp::Module::checkForPGP: Kpgp: gpg found                                        
*** glibc detected *** kmail: double free or corruption (!prev): 0x09bfa6e0 ***                                  
======= Backtrace: =========                                                                                     
/lib/libc.so.6(+0x6bc31)[0xb5845c31]                                                                             
/lib/libc.so.6(+0x6d488)[0xb5847488]                                                                             
/lib/libc.so.6(cfree+0x6d)[0xb584a53d]                                                                           
/usr/lib/libQtCore.so.4(_Z5qFreePv+0x1d)[0xb64f9b6d]                                                             
/usr/lib/libQtCore.so.4(_Z11qUncompressPKhi+0x98)[0xb6502ce8]                                                    
/usr/lib/libkdeui.so.5(_ZN12KPixmapCache7Private8loadDataEiR7QPixmap+0x21e)[0xb75416be]                          
/usr/lib/libkdeui.so.5(_ZN12KPixmapCache4findERK7QStringR7QPixmap+0x374)[0xb7542be4]                             
/usr/lib/libkdeui.so.5(_ZN10KIconCache4findERK7QStringR7QPixmap+0x2b)[0xb748055b]                                
/usr/lib/libkdeui.so.5(_ZN10KIconCache4findERK7QStringR7QPixmapPS0_+0x60)[0xb74813a0]                            
/usr/lib/libkdeui.so.5(_ZNK11KIconLoader8loadIconERK7QStringNS_5GroupEiiRK11QStringListPS0_b+0x355)[0xb7474515]  
/usr/lib/libkdeui.so.5(_ZNK11KIconLoader16loadMimeTypeIconERK7QStringNS_5GroupEiiRK11QStringListPS0_+0x61)[0xb7476c11]                                                                                                            
/usr/lib/libkmailprivate.so.4(+0x306745)[0xb6bcc745]                                                             
/usr/lib/libkmailprivate.so.4(+0x3070b4)[0xb6bcd0b4]                                                             
/usr/lib/libkmailprivate.so.4(+0x35163a)[0xb6c1763a]                                                             
/usr/lib/libkmailprivate.so.4(+0x350eff)[0xb6c16eff]                                                             
/usr/lib/libkmailprivate.so.4(+0x350eff)[0xb6c16eff]                                                             
/usr/lib/libkmailprivate.so.4(+0x350eff)[0xb6c16eff]                                                             
/usr/lib/libkmailprivate.so.4(+0x350eff)[0xb6c16eff]                                                             
/usr/lib/libkmailprivate.so.4(+0x350eff)[0xb6c16eff]                                                             
/usr/lib/libkmailprivate.so.4(+0x350eff)[0xb6c16eff]                                                             
/usr/lib/libkmailprivate.so.4(+0x350eff)[0xb6c16eff]                                                             
/usr/lib/libkmailprivate.so.4(+0x350eff)[0xb6c16eff]                                                             
/usr/lib/libkmailprivate.so.4(+0x350eff)[0xb6c16eff]                                                             
/usr/lib/libkmailprivate.so.4(+0x350eff)[0xb6c16eff]                                                             
/usr/lib/libkmailprivate.so.4(+0x350eff)[0xb6c16eff]                                                             
/usr/lib/libkmailprivate.so.4(+0x350eff)[0xb6c16eff]                                                             
/usr/lib/libkmailprivate.so.4(+0x350eff)[0xb6c16eff]                                                             
/usr/lib/libkmailprivate.so.4(+0x350eff)[0xb6c16eff]                                                             
/usr/lib/libkmailprivate.so.4(+0x350eff)[0xb6c16eff]                                                             
/usr/lib/libkmailprivate.so.4(+0x350eff)[0xb6c16eff]                                                             
/usr/lib/libkmailprivate.so.4(+0x350eff)[0xb6c16eff]                                                             
/usr/lib/libkmailprivate.so.4(+0x3516e0)[0xb6c176e0]                                                             
/usr/lib/libkmailprivate.so.4(+0x350eff)[0xb6c16eff]                                                             
/usr/lib/libkmailprivate.so.4(+0x3516e0)[0xb6c176e0]                                                             
/usr/lib/libkmailprivate.so.4(+0x19e141)[0xb6a64141]                                                             
/usr/lib/libkmailprivate.so.4(+0x191feb)[0xb6a57feb]                                                             
/usr/lib/libkmailprivate.so.4(+0x1921d5)[0xb6a581d5]                                                             
/usr/lib/libkmailprivate.so.4(+0x1a1dd4)[0xb6a67dd4]                                                             
/usr/lib/libQtCore.so.4(_ZN11QMetaObject8metacallEP7QObjectNS_4CallEiPPv+0x3a)[0xb6604e7a]                       
/usr/lib/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectPKS_iPPv+0x28d)[0xb661344d]                           
/usr/lib/libQtCore.so.4(_ZN6QTimer7timeoutEv+0x37)[0xb6664dd7]                                                   
/usr/lib/libQtCore.so.4(_ZN6QTimer10timerEventEP11QTimerEvent+0x3e)[0xb661b68e]                                  
/usr/lib/libQtCore.so.4(_ZN7QObject5eventEP6QEvent+0x84)[0xb66102d4]                                             
/usr/lib/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xac)[0xb5b66c1c]               
/usr/lib/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x147)[0xb5b6d827]                             
/usr/lib/libkdeui.so.5(_ZN12KApplication6notifyEP7QObjectP6QEvent+0x3a)[0xb74afc9a]                              
/usr/lib/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x7b)[0xb65ffc6b]                
/usr/lib/libQtCore.so.4(+0x194d16)[0xb662ed16]                                                                   
/usr/lib/libQtCore.so.4(_ZN20QEventDispatcherUNIX13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0xc7)[0xb662eec7]                                                                                                     
/usr/lib/libQtGui.so.4(+0x1f0766)[0xb5c22766]                                                                    
/usr/lib/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x49)[0xb65fe2a9]        
/usr/lib/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0xfa)[0xb65fe6fa]                  
/usr/lib/libQtGui.so.4(_ZN5QMenu4execERK6QPointP7QAction+0x7e)[0xb5ffb00e]                                       
/usr/lib/libkmailprivate.so.4(+0x4e541c)[0xb6dab41c]                                                             
/usr/lib/libmessagelist.so.4(_ZN11MessageList4Core4View15mousePressEventEP11QMouseEvent+0x138)[0xb4990fb8]       
/usr/lib/libQtGui.so.4(_ZN7QWidget5eventEP6QEvent+0x526)[0xb5bc3656]                                             
/usr/lib/libQtGui.so.4(_ZN6QFrame5eventEP6QEvent+0x33)[0xb5fb3ee3]                                               
/usr/lib/libQtGui.so.4(_ZN19QAbstractScrollArea13viewportEventEP6QEvent+0x32)[0xb604d3c2]                        
/usr/lib/libQtGui.so.4(_ZN17QAbstractItemView13viewportEventEP6QEvent+0x304)[0xb61013a4]                         
/usr/lib/libQtGui.so.4(_ZN9QTreeView13viewportEventEP6QEvent+0x175)[0xb6141935]                                  
/usr/lib/libQtGui.so.4(+0x61dda5)[0xb604fda5]                                                                    
/usr/lib/libQtCore.so.4(_ZN23QCoreApplicationPrivate29sendThroughObjectEventFiltersEP7QObjectP6QEvent+0x9a)[0xb65fef0a]                                                                                                           
/usr/lib/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x89)[0xb5b66bf9]               
======= Memory map: ========                                                                                     
08048000-0804c000 r-xp 00000000 08:03 51385      /usr/bin/kmail                                                  
0804c000-0804d000 rw-p 00004000 08:03 51385      /usr/bin/kmail                                                  
09229000-09f97000 rw-p 00000000 00:00 0          [heap]                                                          
aeb00000-aeb21000 rw-p 00000000 00:00 0                                                                          
aeb21000-aec00000 ---p 00000000 00:00 0                                                                          
aec83000-aec88000 r-xp 00000000 08:03 682        /lib/libnss_dns-2.11.1.so                                       
aec88000-aec89000 r--p 00004000 08:03 682        /lib/libnss_dns-2.11.1.so                                       
aec89000-aec8a000 rw-p 00005000 08:03 682        /lib/libnss_dns-2.11.1.so                                       
aec92000-aeca6000 r-xp 00000000 08:03 191589     /usr/lib/kde4/kmail_bodypartformatter_text_calendar.so          
aeca6000-aeca7000 rw-p 00014000 08:03 191589     /usr/lib/kde4/kmail_bodypartformatter_text_calendar.so          
aeca7000-aecaf000 r-xp 00000000 08:03 180701     /usr/lib/kde4/emoticonstheme_kde.so                             
aecaf000-aecb0000 rw-p 00007000 08:03 180701     /usr/lib/kde4/emoticonstheme_kde.so                             
aecb0000-aecb1000 ---p 00000000 00:00 0                                                                          
aecb1000-af4b2000 rw-p 00000000 00:00 0                                                                          
af4b2000-af513000 r--s 00000000 08:04 802857     /home/pano/.kde4/share/apps/kmail/mail/.inbox.index             
af513000-af523000 r--p 00000000 08:03 34401      /usr/share/fonts/TTF/VeraIt.ttf                                 
af523000-af532000 r--p 00000000 08:03 34397      /usr/share/fonts/TTF/VeraBd.ttf                                 
af532000-af5bd000 r--p 00000000 08:03 59964      /usr/share/fonts/TTF/FreeSans.ttf                               
af5bd000-af5ce000 r--p 00000000 08:03 143287     /usr/share/fonts/Type1/n019003l.pfb                             
af5ce000-af65a000 r--p 00000000 08:03 54103      /usr/share/fonts/TTF/DejaVuSans-Bold.ttf                        
af65a000-af67d000 r-xp 00000000 08:03 261744     /usr/lib/qt/plugins/codecs/libqcncodecs.so                      
af67d000-af67e000 rw-p 00023000 08:03 261744     /usr/lib/qt/plugins/codecs/libqcncodecs.so                      
af67e000-af691000 r-xp 00000000 08:03 261741     /usr/lib/qt/plugins/codecs/libqkrcodecs.so                      
af691000-af692000 rw-p 00012000 08:03 261741     /usr/lib/qt/plugins/codecs/libqkrcodecs.so                      
af692000-af6bc000 r-xp 00000000 08:03 261743     /usr/lib/qt/plugins/codecs/libqjpcodecs.so                      
af6bc000-af6bd000 rw-p 0002a000 08:03 261743     /usr/lib/qt/plugins/codecs/libqjpcodecs.so                      
af6bd000-af6e4000 r-xp 00000000 08:03 261745     /usr/lib/qt/plugins/codecs/libqtwcodecs.so                      
af6e4000-af6e5000 rw-p 00026000 08:03 261745     /usr/lib/qt/plugins/codecs/libqtwcodecs.so                      
af6e5000-af6f4000 r-xp 00000000 08:03 180746     /usr/lib/kde4/plugins/imageformats/kimg_xcf.so                  
af6f4000-af6f5000 rw-p 0000e000 08:03 180746     /usr/lib/kde4/plugins/imageformats/kimg_xcf.so                  
af6f5000-af6f9000 rw-p 00000000 00:00 0                                                                          
af6f9000-af73d000 r-xp 00000000 08:03 2574       /usr/lib/libjasper.so.1.0.0                                     
af73d000-af740000 rw-p 00043000 08:03 2574       /usr/lib/libjasper.so.1.0.0                                     
af740000-af746000 rw-p 00000000 00:00 0                                                                          
af746000-af788000 r-xp 00000000 08:03 72154      /usr/lib/libHalf.so.6.0.0                                       
af788000-af789000 rw-p 00041000 08:03 72154      /usr/lib/libHalf.so.6.0.0                                       
af789000-af848000 r-xp 00000000 08:03 72246      /usr/lib/libIlmImf.so.6.0.0                                     
af848000-af84a000 rw-p 000bf000 08:03 72246      /usr/lib/libIlmImf.so.6.0.0                                     
af84a000-af84b000 r--p 00000000 08:03 25622      /usr/share/locale/de/LC_MESSAGES/kmail_text_xdiff_plugin.mo     
af84b000-af84c000 r--p 00000000 08:03 25587      /usr/share/locale/de/LC_MESSAGES/kmail_text_vcard_plugin.mo     
af84c000-af84e000 r-xp 00000000 08:03 191593     /usr/lib/kde4/kmail_bodypartformatter_text_xdiff.so
af84e000-af84f000 rw-p 00002000 08:03 191593     /usr/lib/kde4/kmail_bodypartformatter_text_xdiff.so
af84f000-af852000 r-xp 00000000 08:03 191590     /usr/lib/kde4/kmail_bodypartformatter_text_vcard.so
af852000-af853000 rw-p 00002000 08:03 191590     /usr/lib/kde4/kmail_bodypartformatter_text_vcard.so
af853000-af854000 r-xp 00000000 08:03 191842     /usr/lib/kde4/kmail_bodypartformatter_application_octetstream.so
af854000-af855000 rw-p 00000000 08:03 191842     /usr/lib/kde4/kmail_bodypartformatter_application_octetstream.so
af855000-af857000 r--p 00000000 08:03 61405      /usr/share/fonts/75dpi/helvR12-ISO8859-1.pcf.gz
af857000-af85a000 r-xp 00000000 08:03 180739     /usr/lib/kde4/plugins/imageformats/kimg_xview.so
af85a000-af85b000 rw-p 00003000 08:03 180739     /usr/lib/kde4/plugins/imageformats/kimg_xview.so
af85b000-af860000 r-xp 00000000 08:03 180742     /usr/lib/kde4/plugins/imageformats/kimg_tga.so
af860000-af861000 rw-p 00004000 08:03 180742     /usr/lib/kde4/plugins/imageformats/kimg_tga.so
af861000-af86a000 r-xp 00000000 08:03 180743     /usr/lib/kde4/plugins/imageformats/kimg_rgb.so
af86a000-af86b000 rw-p 00008000 08:03 180743     /usr/lib/kde4/plugins/imageformats/kimg_rgb.so
af86b000-af86f000 r-xp 00000000 08:03 180745     /usr/lib/kde4/plugins/imageformats/kimg_psd.so
af86f000-af870000 rw-p 00003000 08:03 180745     /usr/lib/kde4/plugins/imageformats/kimg_psd.so
af870000-af8c7000 r-xp 00000000 08:03 110244     /usr/lib/libtiff.so.3.9.2
af8c7000-af8c9000 rw-p 00057000 08:03 110244     /usr/lib/libtiff.so.3.9.2
af8c9000-af8ca000 r--p 00000000 08:03 25575      /usr/share/locale/de/LC_MESSAGES/kmail_text_calendar_plugin.mo
af8ca000-af8d1000 r-xp 00000000 08:03 180747     /usr/lib/kde4/plugins/imageformats/kimg_pcx.so
af8d1000-af8d2000 rw-p 00007000 08:03 180747     /usr/lib/kde4/plugins/imageformats/kimg_pcx.so
af8d2000-af8e6000 r-xp 00000000 08:03 72166      /usr/lib/libIex.so.6.0.0
af8e6000-af8e8000 rw-p 00013000 08:03 72166      /usr/lib/libIex.so.6.0.0
af8e8000-af8ee000 r-xp 00000000 08:03 180738     /usr/lib/kde4/plugins/imageformats/kimg_dds.so
af8ee000-af8ef000 rw-p 00006000 08:03 180738     /usr/lib/kde4/plugins/imageformats/kimg_dds.so
af8ef000-af950000 r-xp 00000000 08:03 32250      /usr/lib/libmng.so.1.0.0
af950000-af953000 rw-p 00060000 08:03 32250      /usr/lib/libmng.so.1.0.0
af953000-af957000 r-xp 00000000 08:03 180741     /usr/lib/kde4/plugins/imageformats/kimg_jp2.so
af957000-af958000 rw-p 00003000 08:03 180741     /usr/lib/kde4/plugins/imageformats/kimg_jp2.so
af958000-af95e000 r-xp 00000000 08:03 72167      /usr/lib/libIlmThread.so.6.0.0
af95e000-af95f000 rw-p 00005000 08:03 72167      /usr/lib/libIlmThread.so.6.0.0*** KMail got signal 6 (Crashing)
KCrash: Application 'kmail' crashing...

---------------------------BACKTRACE---------------------


Application: KMail (kmail), signal: Aborted
[Current thread is 1 (Thread 0xb2840700 (LWP 18973))]

Thread 2 (Thread 0xaf4b0b70 (LWP 18986)):
#0  0xb76fc424 in __kernel_vsyscall ()
#1  0xb5444182 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb58b5654 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb650037f in QWaitConditionPrivate::wait (this=0x9bed044, mutex=0x9bed040, time=30000) at thread/qwaitcondition_unix.cpp:85
#4  QWaitCondition::wait (this=0x9bed044, mutex=0x9bed040, time=30000) at thread/qwaitcondition_unix.cpp:159
#5  0xb64f4fdb in QThreadPoolThread::run (this=0x9d4fcd0) at concurrent/qthreadpool.cpp:140
#6  0xb64ff4be in QThreadPrivate::start (arg=0x9d4fcd0) at thread/qthread_unix.cpp:244
#7  0xb543f8ac in start_thread () from /lib/libpthread.so.0
#8  0xb58a801e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb2840700 (LWP 18973)):
[KCrash Handler]
#6  0xb76fc424 in __kernel_vsyscall ()
#7  0xb5804571 in raise () from /lib/libc.so.6
#8  0xb5805d72 in abort () from /lib/libc.so.6
#9  0xb583fd95 in __libc_message () from /lib/libc.so.6
#10 0xb5845c31 in malloc_printerr () from /lib/libc.so.6
#11 0xb5847488 in _int_free () from /lib/libc.so.6
#12 0xb584a53d in free () from /lib/libc.so.6
#13 0xb64f9b6d in qFree (ptr=0x9bfa6e0) at global/qmalloc.cpp:60
#14 0xb6502ce8 in QScopedPointerPodDeleter::cleanup (data=0x9df5230 "", nbytes=567) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:83
#15 QScopedPointer<QByteArray::Data, QScopedPointerPodDeleter>::reset (data=0x9df5230 "", nbytes=567) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:149
#16 qUncompress (data=0x9df5230 "", nbytes=567) at tools/qbytearray.cpp:543
#17 0xb75416be in KPixmapCache::Private::loadData(int, QPixmap&) () from /usr/lib/libkdeui.so.5
#18 0xb7542be4 in KPixmapCache::find(QString const&, QPixmap&) () from /usr/lib/libkdeui.so.5
#19 0xb748055b in KIconCache::find(QString const&, QPixmap&) () from /usr/lib/libkdeui.so.5
#20 0xb74813a0 in KIconCache::find(QString const&, QPixmap&, QString*) () from /usr/lib/libkdeui.so.5
#21 0xb7474515 in KIconLoader::loadIcon(QString const&, KIconLoader::Group, int, int, QStringList const&, QString*, bool) const () from /usr/lib/libkdeui.so.5
#22 0xb7476c11 in KIconLoader::loadMimeTypeIcon(QString const&, KIconLoader::Group, int, int, QStringList const&, QString*) const () from /usr/lib/libkdeui.so.5
#23 0xb6bcc745 in KMMimePartTreeItem::setIconAndTextForType (this=0x9400688, mime=...) at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/kmmimeparttree.cpp:447
#24 0xb6bcd0b4 in KMMimePartTreeItem (this=0x9400688, parent=0x93eaab0, node=0x9bfb570, description=..., mimetype=..., encoding=..., size=620, revertOrder=false)
    at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/kmmimeparttree.cpp:397
#25 0xb6c1763a in partNode::fillMimePartTree (this=0x9bfb570, parentItem=0x93eaab0, mimePartTree=0x0, labelDescr=..., labelCntType=..., labelEncoding=..., size=0, revertOrder=<value optimized out>)
    at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/partNode.cpp:549
#26 0xb6c16eff in partNode::fillMimePartTree (this=0x9bfb470, parentItem=0x93eaab0, mimePartTree=0x0, labelDescr=..., labelCntType=..., labelEncoding=..., size=0, revertOrder=<value optimized out>)
    at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/partNode.cpp:500
#27 0xb6c16eff in partNode::fillMimePartTree (this=0x9c08e08, parentItem=0x93eaab0, mimePartTree=0x0, labelDescr=..., labelCntType=..., labelEncoding=..., size=0, revertOrder=<value optimized out>)
    at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/partNode.cpp:500
#28 0xb6c16eff in partNode::fillMimePartTree (this=0x9c08d08, parentItem=0x93eaab0, mimePartTree=0x0, labelDescr=..., labelCntType=..., labelEncoding=..., size=0, revertOrder=<value optimized out>)
    at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/partNode.cpp:500
#29 0xb6c16eff in partNode::fillMimePartTree (this=0x9c08c08, parentItem=0x93eaab0, mimePartTree=0x0, labelDescr=..., labelCntType=..., labelEncoding=..., size=0, revertOrder=<value optimized out>)
    at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/partNode.cpp:500
#30 0xb6c16eff in partNode::fillMimePartTree (this=0x9df4818, parentItem=0x93eaab0, mimePartTree=0x0, labelDescr=..., labelCntType=..., labelEncoding=..., size=0, revertOrder=<value optimized out>)
    at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/partNode.cpp:500
#31 0xb6c16eff in partNode::fillMimePartTree (this=0x9df4718, parentItem=0x93eaab0, mimePartTree=0x0, labelDescr=..., labelCntType=..., labelEncoding=..., size=0, revertOrder=<value optimized out>)
    at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/partNode.cpp:500
#32 0xb6c16eff in partNode::fillMimePartTree (this=0x9df4618, parentItem=0x93eaab0, mimePartTree=0x0, labelDescr=..., labelCntType=..., labelEncoding=..., size=0, revertOrder=<value optimized out>)
    at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/partNode.cpp:500
#33 0xb6c16eff in partNode::fillMimePartTree (this=0x9deb418, parentItem=0x93eaab0, mimePartTree=0x0, labelDescr=..., labelCntType=..., labelEncoding=..., size=0, revertOrder=<value optimized out>)
    at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/partNode.cpp:500
#34 0xb6c16eff in partNode::fillMimePartTree (this=0x9deb318, parentItem=0x93eaab0, mimePartTree=0x0, labelDescr=..., labelCntType=..., labelEncoding=..., size=0, revertOrder=<value optimized out>)
    at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/partNode.cpp:500
#35 0xb6c16eff in partNode::fillMimePartTree (this=0x9deb218, parentItem=0x93eaab0, mimePartTree=0x0, labelDescr=..., labelCntType=..., labelEncoding=..., size=0, revertOrder=<value optimized out>)
    at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/partNode.cpp:500
#36 0xb6c16eff in partNode::fillMimePartTree (this=0x9bfa350, parentItem=0x93eaab0, mimePartTree=0x0, labelDescr=..., labelCntType=..., labelEncoding=..., size=0, revertOrder=<value optimized out>)
    at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/partNode.cpp:500
#37 0xb6c16eff in partNode::fillMimePartTree (this=0x9bfa250, parentItem=0x93eaab0, mimePartTree=0x0, labelDescr=..., labelCntType=..., labelEncoding=..., size=0, revertOrder=<value optimized out>)
    at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/partNode.cpp:500
#38 0xb6c16eff in partNode::fillMimePartTree (this=0x9bfa150, parentItem=0x93eaab0, mimePartTree=0x0, labelDescr=..., labelCntType=..., labelEncoding=..., size=0, revertOrder=<value optimized out>)
    at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/partNode.cpp:500
#39 0xb6c16eff in partNode::fillMimePartTree (this=0x9aeec20, parentItem=0x93eaab0, mimePartTree=0x0, labelDescr=..., labelCntType=..., labelEncoding=..., size=0, revertOrder=<value optimized out>)
    at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/partNode.cpp:500
#40 0xb6c16eff in partNode::fillMimePartTree (this=0x9aeeb20, parentItem=0x93eaab0, mimePartTree=0x0, labelDescr=..., labelCntType=..., labelEncoding=..., size=0, revertOrder=<value optimized out>)
    at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/partNode.cpp:500
#41 0xb6c16eff in partNode::fillMimePartTree (this=0x9aeea20, parentItem=0x93eaab0, mimePartTree=0x0, labelDescr=..., labelCntType=..., labelEncoding=..., size=0, revertOrder=<value optimized out>)
    at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/partNode.cpp:500
#42 0xb6c16eff in partNode::fillMimePartTree (this=0x9df56b0, parentItem=0x93eaab0, mimePartTree=0x0, labelDescr=..., labelCntType=..., labelEncoding=..., size=0, revertOrder=<value optimized out>)
    at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/partNode.cpp:500
#43 0xb6c176e0 in partNode::fillMimePartTree (this=0x9df5610, parentItem=0x9bfb740, mimePartTree=0x0, labelDescr=..., labelCntType=..., labelEncoding=..., size=0, revertOrder=<value optimized out>)
    at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/partNode.cpp:561
#44 0xb6c16eff in partNode::fillMimePartTree (this=0x9df5570, parentItem=0x9bfb740, mimePartTree=0x0, labelDescr=..., labelCntType=..., labelEncoding=..., size=0, revertOrder=<value optimized out>)
    at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/partNode.cpp:500
#45 0xb6c176e0 in partNode::fillMimePartTree (this=0x9dcb168, parentItem=0x0, mimePartTree=0x93e04a8, labelDescr=..., labelCntType=..., labelEncoding=..., size=198877, 
    revertOrder=<value optimized out>) at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/partNode.cpp:561
#46 0xb6a64141 in KMReaderWin::parseMsg (this=0x9572f98, aMsg=0x9d4a258) at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/kmreaderwin.cpp:1586
#47 0xb6a57feb in KMReaderWin::displayMessage (this=0x9572f98) at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/kmreaderwin.cpp:1536
#48 0xb6a581d5 in KMReaderWin::updateReaderWin (this=0x9572f98) at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/kmreaderwin.cpp:1479
#49 0xb6a67dd4 in KMReaderWin::qt_metacall (this=0x9572f98, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfaa784c) at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/kmreaderwin.moc:179
#50 0xb6604e7a in QMetaObject::metacall (object=0x9572f98, cl=18973, idx=33, argv=0xbfaa784c) at kernel/qmetaobject.cpp:237
#51 0xb661344d in QMetaObject::activate (sender=0x9572ff0, m=0xb6714704, local_signal_index=0, argv=<value optimized out>) at kernel/qobject.cpp:3294
#52 0xb6664dd7 in QTimer::timeout (this=0x9572ff0) at .moc/release-shared/moc_qtimer.cpp:134
#53 0xb661b68e in QTimer::timerEvent (this=0x9572ff0, e=0xbfaa7d10) at kernel/qtimer.cpp:271
#54 0xb66102d4 in QObject::event (this=0x9572ff0, e=0x6) at kernel/qobject.cpp:1224
#55 0xb5b66c1c in QApplicationPrivate::notify_helper (this=0x926f160, receiver=0x9572ff0, e=0xbfaa7d10) at kernel/qapplication.cpp:4242
#56 0xb5b6d827 in QApplication::notify (this=0xbfaa911c, receiver=0x9572ff0, e=0xbfaa7d10) at kernel/qapplication.cpp:3661
#57 0xb74afc9a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#58 0xb65ffc6b in QCoreApplication::notifyInternal (this=0xbfaa911c, receiver=0x9572ff0, event=0xbfaa7d10) at kernel/qcoreapplication.cpp:704
#59 0xb662ed16 in QCoreApplication::sendEvent (this=0x926f8d8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#60 QTimerInfoList::activateTimers (this=0x926f8d8) at kernel/qeventdispatcher_unix.cpp:603
#61 0xb662eec7 in QEventDispatcherUNIX::processEvents (this=0x922c070, flags=...) at kernel/qeventdispatcher_unix.cpp:924
#62 0xb5c22766 in QEventDispatcherX11::processEvents (this=0x922c070, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#63 0xb65fe2a9 in QEventLoop::processEvents (this=0xbfaa7f60, flags=) at kernel/qeventloop.cpp:149
#64 0xb65fe6fa in QEventLoop::exec (this=0xbfaa7f60, flags=...) at kernel/qeventloop.cpp:201
#65 0xb5ffb00e in QMenu::exec (this=0xbfaa7fb4, p=..., action=0x0) at widgets/qmenu.cpp:2045
#66 0xb6dab41c in KMail::MessageListView::Widget::viewMessageListContextPopupRequest (this=0x9512030, selectedItems=..., globalPos=...)
    at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/messagelistview/widget.cpp:693
#67 0xb4990fb8 in MessageList::Core::View::mousePressEvent(QMouseEvent*) () from /usr/lib/libmessagelist.so.4
#68 0xb5bc3656 in QWidget::event (this=0x951bee0, event=0xbfaa8a44) at kernel/qwidget.cpp:7970
#69 0xb5fb3ee3 in QFrame::event (this=0x951bee0, e=0xbfaa8a44) at widgets/qframe.cpp:557
#70 0xb604d3c2 in QAbstractScrollArea::viewportEvent (this=0x4a1d, e=0x6) at widgets/qabstractscrollarea.cpp:1032
#71 0xb61013a4 in QAbstractItemView::viewportEvent (this=0x951bee0, event=0xbfaa8a44) at itemviews/qabstractitemview.cpp:1589
#72 0xb6141935 in QTreeView::viewportEvent (this=0x951bee0, event=0xbfaa8a44) at itemviews/qtreeview.cpp:1250
#73 0xb604fda5 in QAbstractScrollAreaPrivate::viewportEvent (this=0x959a088, o=0x9588cf8, e=0xbfaa8a44) at widgets/qabstractscrollarea_p.h:100
#74 QAbstractScrollAreaFilter::eventFilter (this=0x959a088, o=0x9588cf8, e=0xbfaa8a44) at widgets/qabstractscrollarea_p.h:116
#75 0xb65fef0a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x926f160, receiver=0x9588cf8, event=0xbfaa8a44) at kernel/qcoreapplication.cpp:819
#76 0xb5b66bf9 in QApplicationPrivate::notify_helper (this=0x926f160, receiver=0x9588cf8, e=0xbfaa8a44) at kernel/qapplication.cpp:4238
#77 0xb5b6e34d in QApplication::notify (this=0xbfaa911c, receiver=0x9588cf8, e=0xbfaa8a44) at kernel/qapplication.cpp:3822
#78 0xb74afc9a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#79 0xb65ffc6b in QCoreApplication::notifyInternal (this=0xbfaa911c, receiver=0x9588cf8, event=0xbfaa8a44) at kernel/qcoreapplication.cpp:704
#80 0xb5b6d164 in QCoreApplication::sendEvent (receiver=0x9588cf8, event=0xbfaa8a44, alienWidget=0x9588cf8, nativeWidget=0x950a048, buttonDown=0xb6497660, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#81 QApplicationPrivate::sendMouseEvent (receiver=0x9588cf8, event=0xbfaa8a44, alienWidget=0x9588cf8, nativeWidget=0x950a048, buttonDown=0xb6497660, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2956
#82 0xb5bf59ac in QETWidget::translateMouseEvent (this=0x950a048, event=0xbfaa8e9c) at kernel/qapplication_x11.cpp:4368
#83 0xb5bf4ed3 in QApplication::x11ProcessEvent (this=0xbfaa911c, event=0xbfaa8e9c) at kernel/qapplication_x11.cpp:3379
#84 0xb5c2266b in QEventDispatcherX11::processEvents (this=0x922c070, flags=...) at kernel/qeventdispatcher_x11.cpp:132
#85 0xb65fe2a9 in QEventLoop::processEvents (this=0xbfaa8fd4, flags=) at kernel/qeventloop.cpp:149
#86 0xb65fe6fa in QEventLoop::exec (this=0xbfaa8fd4, flags=...) at kernel/qeventloop.cpp:201
#87 0xb660286f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#88 0xb5b66cb7 in QApplication::exec () at kernel/qapplication.cpp:3570
#89 0x0804ab6e in main (argc=1, argv=0xbfaa92e4) at /home/jan/kdemod/testing/kdepim/src/kdepim-4.3.85/kmail/main.cpp:156
Comment 5 Panagiotis Papadopoulos 2009-12-28 21:49:36 UTC
Ok when running "export MALOC_CHECK_=1" or "export MALOC_CHECK_=0" it does not crash
Comment 6 Dario Andres 2009-12-29 18:20:14 UTC
*** Bug 220547 has been marked as a duplicate of this bug. ***
Comment 7 Panagiotis Papadopoulos 2010-01-09 23:02:17 UTC
Here's an update:

I recently updated to KDE (SC) 4.4 RC 1 and also switched from KDM to Slim as Login Manager (which also fixes my locale issue with zsh, which I had when using KDM). Since then I cannot reproduce the crash anymore.
Comment 8 Jonathan Thomas 2010-02-07 19:07:18 UTC
*** Bug 225797 has been marked as a duplicate of this bug. ***
Comment 9 Jonathan Thomas 2010-02-07 19:07:43 UTC
*** Bug 225823 has been marked as a duplicate of this bug. ***
Comment 10 Jonathan Thomas 2010-02-07 19:08:22 UTC

*** This bug has been marked as a duplicate of bug 196207 ***
Comment 11 Christophe Marin 2010-10-02 01:48:40 UTC
*** Bug 223796 has been marked as a duplicate of this bug. ***