Bug 131439 - Kmail 1.9.3 crahses retrieving IMAP messages
Summary: Kmail 1.9.3 crahses retrieving IMAP messages
Status: RESOLVED DUPLICATE of bug 126715
Alias: None
Product: kmail
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-27 16:39 UTC by Kurt Wall
Modified: 2007-09-14 12:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kurt Wall 2006-07-27 16:39:25 UTC
Version:            (using KDE KDE 3.5.3)
Installed from:    Fedora RPMs
Compiler:          gcc (GCC) 4.0.2 20051125 (Red Hat 4.0.2-8)
 Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,java,f95,ada --enable-java-awt=gtk --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --host=i386-redhat-linux
OS:                Linux

Running kmail (build with debugging symbols) in gdb. It appears that it went to poll the IMAP server for new mail and then crashed:

gdb kmail
(gdb) set args --nofork --nocrashhandler
(gdb) run
...
QGArray::at: Absolute index -4 out of range
QGArray::at: Absolute index -4 out of range

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208678720 (LWP 1999)]
0x055f50fc in KMail::ImapJob::slotGetNextMessage (this=0x9df4648)
    at imapjob.cpp:279
279       if ( !msgParent || msg->UID() == 0 )
(gdb) backtrace
#0  0x055f50fc in KMail::ImapJob::slotGetNextMessage (this=0x9df4648)
    at imapjob.cpp:279
#1  0x055f5c18 in KMail::ImapJob::init (this=0x9df4648, 
    jt=KMail::FolderJob::tGetMessage, sets=@0xbfebfcc8, folder=0x0, 
    msgList=@0x9df4670) at imapjob.cpp:216
#2  0x055f6d19 in KMail::ImapJob::execute (this=0x9df4648) at imapjob.cpp:647
#3  0x055ea0a9 in KMail::FolderJob::start (this=0x9df4648) at folderjob.cpp:109
#4  0x055cf261 in KMMainWidget::slotMsgSelected (this=0x9c755c0, msg=0x9fc1b48)
    at kmmainwidget.cpp:1898
#5  0x055de3a7 in KMMainWidget::qt_invoke (this=0x9c755c0, _id=55, 
    _o=0xbfebfde4) at kmmainwidget.moc:479
#6  0x06597154 in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#7  0x0540c6bc in KMHeaders::selected (this=0x9c83b48, t0=0x9fc1b48)
    at kmheaders.moc:250
#8  0x0541496c in KMHeaders::highlightMessage (this=0x9c83b48, lvi=0xa0d07a8, 
    markitread=false) at kmheaders.cpp:2013
#9  0x05414bc2 in KMHeaders::highlightMessage (this=0x9c83b48, i=0xa0d07a8)
    at kmheaders.cpp:2262
#10 0x0541c23d in KMHeaders::qt_invoke (this=0x9c83b48, _id=107, _o=0xbfebff34)
    at kmheaders.moc:295
#11 0x06597154 in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#12 0x06921aad in QListView::currentChanged ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#13 0x06686ca7 in QListView::setCurrentItem ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#14 0x0668ae36 in QListView::contentsMousePressEventEx ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#15 0x0668b828 in QListView::contentsMousePressEvent ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#16 0x038dc86b in KListView::contentsMousePressEvent ()
   from /usr/lib/libkdeui.so.4
#17 0x05414ce8 in KMHeaders::contentsMousePressEvent (this=0x9c83b48, 
    e=0xbfec02b4) at kmheaders.cpp:2174
#18 0x066be663 in QScrollView::viewportMousePressEvent ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#19 0x066bb884 in QScrollView::eventFilter ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#20 0x0668610b in QListView::eventFilter ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#21 0x054115fb in KMHeaders::eventFilter (this=0x9c83b48, o=0x9c8a110, 
    e=0xbfec0894) at kmheaders.cpp:240
#22 0x06596bdc in QObject::activate_filters ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#23 0x06596c51 in QObject::event () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#24 0x065d4f80 in QWidget::event () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#25 0x0653274d in QApplication::internalNotify ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#26 0x0653367f in QApplication::notify ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#27 0x00975251 in KApplication::notify () from /usr/lib/libkdecore.so.4
#28 0x064ca098 in QETWidget::translateMouseEvent ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#29 0x064c8813 in QApplication::x11ProcessEvent ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#30 0x064dc848 in QEventLoop::processEvents ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#31 0x0654adb2 in QEventLoop::enterLoop ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#32 0x0654acd6 in QEventLoop::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#33 0x06532119 in QApplication::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#34 0x0804a3cd in main (argc=3, argv=0xbfec0f04) at main.cpp:110
#35 0x00229d7f in __libc_start_main () from /lib/libc.so.6
#36 0x0804a0a1 in _start ()
Comment 1 Kurt Wall 2006-07-27 18:13:40 UTC
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208904000 (LWP 2482)]
0x055f50fc in KMail::ImapJob::slotGetNextMessage (this=0x8987510)
    at imapjob.cpp:279
279       if ( !msgParent || msg->UID() == 0 )
#0  0x055f50fc in KMail::ImapJob::slotGetNextMessage (this=0x8987510)
    at imapjob.cpp:279
#1  0x055f5c18 in KMail::ImapJob::init (this=0x8987510, 
    jt=KMail::FolderJob::tGetMessage, sets=@0xbfa86888, folder=0x0, 
    msgList=@0x8987538) at imapjob.cpp:216
#2  0x055f6d19 in KMail::ImapJob::execute (this=0x8987510) at imapjob.cpp:647
#3  0x055ea0a9 in KMail::FolderJob::start (this=0x8987510) at folderjob.cpp:109
#4  0x055cf261 in KMMainWidget::slotMsgSelected (this=0x87ac7a8, msg=0x8a68488)
    at kmmainwidget.cpp:1898
#5  0x055de3a7 in KMMainWidget::qt_invoke (this=0x87ac7a8, _id=55, 
    _o=0xbfa869a4) at kmmainwidget.moc:479
#6  0x06597154 in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#7  0x0540c6bc in KMHeaders::selected (this=0x87bad30, t0=0x8a68488)
    at kmheaders.moc:250
#8  0x0541496c in KMHeaders::highlightMessage (this=0x87bad30, lvi=0x877ef10, 
    markitread=false) at kmheaders.cpp:2013
#9  0x05414bc2 in KMHeaders::highlightMessage (this=0x87bad30, i=0x877ef10)
    at kmheaders.cpp:2262
#10 0x0541c23d in KMHeaders::qt_invoke (this=0x87bad30, _id=107, _o=0xbfa86af4)
    at kmheaders.moc:295
#11 0x06597154 in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#12 0x06921aad in QListView::currentChanged ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#13 0x06686ca7 in QListView::setCurrentItem ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#14 0x0668ae36 in QListView::contentsMousePressEventEx ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#15 0x0668b828 in QListView::contentsMousePressEvent ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#16 0x038dc86b in KListView::contentsMousePressEvent ()
   from /usr/lib/libkdeui.so.4
#17 0x05414ce8 in KMHeaders::contentsMousePressEvent (this=0x87bad30, 
    e=0xbfa86e74) at kmheaders.cpp:2174
#18 0x066be663 in QScrollView::viewportMousePressEvent ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#19 0x066bb884 in QScrollView::eventFilter ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#20 0x0668610b in QListView::eventFilter ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#21 0x054115fb in KMHeaders::eventFilter (this=0x87bad30, o=0x87b9088, 
    e=0xbfa87454) at kmheaders.cpp:240
#22 0x06596bdc in QObject::activate_filters ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#23 0x06596c51 in QObject::event () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#24 0x065d4f80 in QWidget::event () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#25 0x0653274d in QApplication::internalNotify ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#26 0x0653367f in QApplication::notify ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#27 0x00975251 in KApplication::notify () from /usr/lib/libkdecore.so.4
#28 0x064ca098 in QETWidget::translateMouseEvent ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#29 0x064c8813 in QApplication::x11ProcessEvent ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#30 0x064dc848 in QEventLoop::processEvents ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#31 0x0654adcb in QEventLoop::enterLoop ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#32 0x0654acd6 in QEventLoop::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#33 0x06532119 in QApplication::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#34 0x0804a3cd in main (argc=3, argv=0xbfa87ac4) at main.cpp:110
#35 0x00229d7f in __libc_start_main () from /lib/libc.so.6
#36 0x0804a0a1 in _start ()
Comment 2 Michael Seiwert 2006-07-28 20:25:14 UTC

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