[Kolab-devel] [issue1577] Kontact assertion fails when accessing a folder

Bernhard Herzog kolab-issues at intevation.de
Tue Jan 23 12:43:29 CET 2007


New submission from Bernhard Herzog <bh at intevation.de>:

reported by a customer:

In kmail/kmheaders.cpp:268: KMHeaderItem::text() the following call fails when
accessing a folder:

KMMsgBase *mMsgBase = headers->folder()->getMsgBase( mMsgId );

the subsequent assert aborts Kontact.  The folder type was KMFolderImap

backtrace:

#3  0xb7bde83b in raise () from /lib/tls/libc.so.6
#4  0xb7bdffa2 in abort () from /lib/tls/libc.so.6
#5  0xb7bd82df in __assert_fail () from /lib/tls/libc.so.6
#6  0xb5e9bc17 in KMHeaderItem::text () from /usr/lib/libkmailprivate.so.0
#7  0xb6f9a23a in QListViewToolTip::maybeTip () from /usr/lib/libqt-mt.so.3
#8  0xb6ff994f in QTipManager::showTip () from /usr/lib/libqt-mt.so.3
#9  0xb6ffae88 in QTipManager::qt_invoke () from /usr/lib/libqt-mt.so.3
#10 0xb6ebf39c in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#11 0xb6ebf1c4 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#12 0xb720049b in QTimer::timeout () from /usr/lib/libqt-mt.so.3
#13 0xb6ee0bf2 in QTimer::event () from /usr/lib/libqt-mt.so.3
#14 0xb6e62a9f in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#15 0xb6e6209e in QApplication::notify () from /usr/lib/libqt-mt.so.3
#16 0xb7414b35 in KApplication::notify () from /usr/lib/libkdecore.so.4
#17 0xb6e522c5 in QEventLoop::activateTimers () from /usr/lib/libqt-mt.so.3
#18 0xb6e0b97b in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#19 0xb6e74e58 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#20 0xb6e74d08 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#21 0xb6e62cf1 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#22 0x0805b63f in ?? ()
#23 0xbfed06e0 in ?? ()
#24 0x0806a6de in _IO_stdin_used ()
#25 0x00000000 in ?? ()
#26 0x00000000 in ?? ()
#27 0x00000000 in ?? ()
#28 0x00000001 in ?? ()
#29 0x0806a9c0 in _IO_stdin_used ()
#30 0x00000000 in ?? ()
#31 0x0806a729 in _IO_stdin_used ()
#32 0x0806a73c in _IO_stdin_used ()
#33 0xb7fbc150 in ?? ()
#34 0x00000006 in ?? ()
#35 0x0806aa08 in _IO_stdin_used ()
#36 0x00000020 in ?? ()
#37 0x08097ac0 in ?? ()
#38 0x00000000 in ?? ()
#39 0x08097818 in ?? ()
#40 0x080cddc0 in ?? ()
#41 0x080ce2d0 in ?? ()
#42 0x080e64b0 in ?? ()
#43 0x00000000 in ?? ()
#44 0x00000000 in ?? ()
#45 0x00000001 in ?? ()
#46 0x0807d260 in ?? ()
#47 0x00000000 in ?? ()
#48 0x00000000 in ?? ()
#49 0x080e3e98 in ?? ()
#50 0x080a39e0 in ?? ()
#51 0x080bd3a0 in ?? ()
#52 0x0807b601 in ?? ()
#53 0x0806aa8c in _IO_stdin_used ()
#54 0x080bed98 in ?? ()
#55 0x080bebf8 in ?? ()
#56 0x080d5840 in ?? ()
#57 0xb7304d70 in vtable for QCString () from /usr/lib/libqt-mt.so.3
#58 0x0807c990 in ?? ()
#59 0xbfed07d0 in ?? ()
#60 0x080be900 in ?? ()
#61 0x0807e7e0 in ?? ()
#62 0x00000137 in ?? ()
#63 0x000000ff in ?? ()
#64 0xb7fbc000 in ?? ()
#65 0x08105e50 in ?? ()
#66 0x08073070 in ?? ()
#67 0xb7fbc101 in ?? ()
#68 0x08100660 in ?? ()
#69 0x0807ca10 in ?? ()
#70 0x00000000 in ?? ()
#71 0x00000001 in ?? ()
#72 0x0806a5d0 in QTextBrowser::setText ()
#73 0xb7bcb974 in __libc_start_main () from /lib/tls/libc.so.6
#74 0x0805aca1 in ?? ()


Excerpt from the stderr output:

QGArray::at: Absolute index 468 out of range
kontact: /tmp/buildd/kdepim-3.3.proko2.1.4-kk1/kmail/kmheaders.cpp:268: virtual
QString KMHeaderItem::text(int) const: Zusicherung »mMsgBase« nicht erfüllt.
*** KMail got signal 6 (Crashing)

----------
assignedto: till
messages: 9431
nosy: bh, till
priority: bug
status: unread
title: Kontact assertion fails when accessing a folder
topic: kde client
________________________________________________
Kolab issue tracker <kolab-issues at intevation.de>
<https://intevation.de/roundup/kolab/issue1577>
________________________________________________




More information about the devel mailing list