Bug 113610 - kmail crashes when entering an imap folder with wron message count
Summary: kmail crashes when entering an imap folder with wron message count
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Unmaintained
Component: IMAP (show other bugs)
Version: 1.8.2
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-30 10:06 UTC by Sebastian Reitenbach
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 Sebastian Reitenbach 2005-09-30 10:06:27 UTC
Version:           1.8.2 (using KDE KDE 3.4.2)
Installed from:    SuSE RPMs
OS:                Linux

Hi,

maybe this is related to the closed, but not resolved, bug:
http://bugs.kde.org/show_bug.cgi?id=69515

when kmail thinks there are some messages in an imap folder, but they were removed otherwise, e.g. via a web interface to the imap server, and then entering the folder, kmail crashed.
Comment 1 Sebastian Reitenbach 2005-09-30 10:36:13 UTC
Crash report:


Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 1112443136 (LWP 20591)]
[KCrash handler]
#7  0x40cd56be in QGDict::look_string () from /usr/lib/qt3/lib/libqt-mt.so.3
#8  0x4039d1bb in KMHeaders::writeSortOrder (this=0x8279d40) at qdict.h:73
#9  0x403a2335 in KMHeaders::setFolder (this=0x8279d40, aFolder=0x0, 
    forceJumpToUnread=false) at kmheaders.cpp:642
#10 0x40378b64 in KMMainWidget::folderSelected (this=0x80c5700, 
    aFolder=0x8220ca8, forceJumpToUnread=false) at kmmainwidget.cpp:1698
#11 0x4044841c in KMMainWidget::qt_invoke (this=0x80c5700, _id=51, 
    _o=0xbfffcbf0) at qucom_p.h:312
#12 0x40a0e15a in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#13 0x403b3152 in KMFolderTree::folderSelected (this=0x8305120, t0=0x2510177)
    at kmfoldertree.moc:366
#14 0x403b3373 in KMFolderTree::doFolderSelected (this=0x8305120, 
    qlvi=0x8349248) at kmfoldertree.cpp:901
#15 0x403b6493 in KMFolderTree::contentsMouseReleaseEvent (this=0x8305120, 
    me=0xbfffccd0) at kmfoldertree.cpp:1059
#16 0x40b2b2e8 in QScrollView::viewportMouseReleaseEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#17 0x40b2c717 in QScrollView::eventFilter ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#18 0x40afb5d8 in QListView::eventFilter () from /usr/lib/qt3/lib/libqt-mt.so.3
#19 0x403a9906 in KMFolderTree::eventFilter (this=0x8305120, o=0x1, 
    e=0xbfffd390) at kmfoldertree.cpp:1581
#20 0x40a0eaae in QObject::activate_filters ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#21 0x40a0eb90 in QObject::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#22 0x40a442cf in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#23 0x409aba5f in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#24 0x409ade06 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
#25 0x406c1971 in KApplication::notify (this=0xbfffd9f0, receiver=0x8305a20, 
    event=0xbfffd390) at kapplication.cpp:551
#26 0x40948ebe in QETWidget::translateMouseEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#27 0x40947d76 in QApplication::x11ProcessEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#28 0x409589a8 in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#29 0x409c39f1 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
#30 0x409c3836 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#31 0x409ad4ef in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#32 0x0804a696 in main (argc=38863223, argv=0x2510177) at kapplication.h:215
#33 0x40f5fe80 in __libc_start_main () from /lib/tls/libc.so.6
#34 0x0804a401 in _start () at start.S:119
Comment 2 Peter Oulman 2005-12-13 18:09:56 UTC
Same/Similar Issue:
OpenSuSE 10.0 connected to IMAP server:

(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(no debugging symbols found)
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 1104197568 (LWP 6145)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#4  0x427905e5 in DwStrcasecmp () from /opt/kde3/lib/libmimelib.so.1
#5  0x42790674 in DwHeaders::FindField () from /opt/kde3/lib/libmimelib.so.1
#6  0x42445131 in KMMessage::headerField ()
   from /opt/kde3/lib/libkmailprivate.so
#7  0x42446265 in KMMessage::from () from /opt/kde3/lib/libkmailprivate.so
#8  0x425caa5b in KMail::FancyHeaderStyle::format ()
   from /opt/kde3/lib/libkmailprivate.so
#9  0x424c4aab in KMReaderWin::writeMsgHeader ()
   from /opt/kde3/lib/libkmailprivate.so
#10 0x42607fb9 in KMReaderWin::parseMsg ()
   from /opt/kde3/lib/libkmailprivate.so
#11 0x42608871 in KMReaderWin::displayMessage ()
   from /opt/kde3/lib/libkmailprivate.so
#12 0x42608a77 in KMReaderWin::updateReaderWin ()
   from /opt/kde3/lib/libkmailprivate.so
#13 0x426091ed in KMReaderWin::setMsg () from /opt/kde3/lib/libkmailprivate.so
#14 0x423c0a2b in KMReaderWin::slotMessageArrived ()
   from /opt/kde3/lib/libkmailprivate.so
#15 0x42613457 in KMReaderWin::qt_invoke ()
   from /opt/kde3/lib/libkmailprivate.so
#16 0x40f7c159 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#17 0x423d6b52 in KMail::FolderJob::messageRetrieved ()
   from /opt/kde3/lib/libkmailprivate.so
#18 0x4256e996 in KMail::ImapJob::slotGetMessageResult ()
   from /opt/kde3/lib/libkmailprivate.so
#19 0x42570555 in KMail::ImapJob::qt_invoke ()
   from /opt/kde3/lib/libkmailprivate.so
#20 0x40f7c159 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#21 0x40620702 in KIO::Job::result () from /opt/kde3/lib/libkio.so.4
#22 0x40673af2 in KIO::Job::emitResult () from /opt/kde3/lib/libkio.so.4
#23 0x40673c5e in KIO::SimpleJob::slotFinished ()
   from /opt/kde3/lib/libkio.so.4
#24 0x4067439d in KIO::TransferJob::slotFinished ()
   from /opt/kde3/lib/libkio.so.4
#25 0x406759ca in KIO::TransferJob::qt_invoke () from /opt/kde3/lib/libkio.so.4
#26 0x40f7c159 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#27 0x40f7c600 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#28 0x4061b59c in KIO::SlaveInterface::finished ()
   from /opt/kde3/lib/libkio.so.4
#29 0x4068dddc in KIO::SlaveInterface::dispatch ()
   from /opt/kde3/lib/libkio.so.4
#30 0x406338c7 in KIO::SlaveInterface::dispatch ()
   from /opt/kde3/lib/libkio.so.4
#31 0x406380eb in KIO::Slave::gotInput () from /opt/kde3/lib/libkio.so.4
#32 0x4063829b in KIO::Slave::qt_invoke () from /opt/kde3/lib/libkio.so.4
#33 0x40f7c159 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#34 0x40f7c731 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#35 0x412bd700 in QSocketNotifier::activated ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#36 0x40f9b430 in QSocketNotifier::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#37 0x40f1c9f1 in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#38 0x40f1d369 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
#39 0x40c2e97e in KApplication::notify () from /opt/kde3/lib/libkdecore.so.4
#40 0x40f1083d in QEventLoop::activateSocketNotifiers ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#41 0x40ecade3 in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#42 0x40f338e9 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
#43 0x40f1c36f in QApplication::enter_loop ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#44 0x42b5b9c0 in KABC::ResourceLDAPKIO::enter_loop ()
   from /opt/kde3/lib/libkabc_ldapkio.so.1
#45 0x42b5dd69 in KABC::ResourceLDAPKIO::load ()
   from /opt/kde3/lib/libkabc_ldapkio.so.1
#46 0x417405ef in KABC::AddressBook::load () from /opt/kde3/lib/libkabc.so.1
#47 0x4174598e in KABC::StdAddressBook::init () from /opt/kde3/lib/libkabc.so.1
#48 0x41745ca9 in KABC::StdAddressBook::StdAddressBook ()
   from /opt/kde3/lib/libkabc.so.1
#49 0x41745d0b in KABC::StdAddressBook::self () from /opt/kde3/lib/libkabc.so.1
#50 0x425caa46 in KMail::FancyHeaderStyle::format ()
   from /opt/kde3/lib/libkmailprivate.so
#51 0x424c4aab in KMReaderWin::writeMsgHeader ()
   from /opt/kde3/lib/libkmailprivate.so
#52 0x42607fb9 in KMReaderWin::parseMsg ()
   from /opt/kde3/lib/libkmailprivate.so
#53 0x42608871 in KMReaderWin::displayMessage ()
   from /opt/kde3/lib/libkmailprivate.so
#54 0x42608a77 in KMReaderWin::updateReaderWin ()
   from /opt/kde3/lib/libkmailprivate.so
#55 0x42608da8 in KMReaderWin::update () from /opt/kde3/lib/libkmailprivate.so
#56 0x423c53f2 in KMail::ISubject::notify ()
   from /opt/kde3/lib/libkmailprivate.so
#57 0x424003dc in KMMessage::updateBodyPart ()
   from /opt/kde3/lib/libkmailprivate.so
#58 0x4256ebd4 in KMail::ImapJob::slotGetMessageResult ()
   from /opt/kde3/lib/libkmailprivate.so
#59 0x42570555 in KMail::ImapJob::qt_invoke ()
   from /opt/kde3/lib/libkmailprivate.so
#60 0x40f7c159 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#61 0x40620702 in KIO::Job::result () from /opt/kde3/lib/libkio.so.4
#62 0x40673af2 in KIO::Job::emitResult () from /opt/kde3/lib/libkio.so.4
#63 0x40673c5e in KIO::SimpleJob::slotFinished ()
   from /opt/kde3/lib/libkio.so.4
#64 0x4067439d in KIO::TransferJob::slotFinished ()
   from /opt/kde3/lib/libkio.so.4
#65 0x406759ca in KIO::TransferJob::qt_invoke () from /opt/kde3/lib/libkio.so.4
#66 0x40f7c159 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#67 0x40f7c600 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#68 0x4061b59c in KIO::SlaveInterface::finished ()
   from /opt/kde3/lib/libkio.so.4
#69 0x4068dddc in KIO::SlaveInterface::dispatch ()
   from /opt/kde3/lib/libkio.so.4
#70 0x406338c7 in KIO::SlaveInterface::dispatch ()
   from /opt/kde3/lib/libkio.so.4
#71 0x406380eb in KIO::Slave::gotInput () from /opt/kde3/lib/libkio.so.4
#72 0x4063829b in KIO::Slave::qt_invoke () from /opt/kde3/lib/libkio.so.4
#73 0x40f7c159 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#74 0x40f7c731 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#75 0x412bd700 in QSocketNotifier::activated ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#76 0x40f9b430 in QSocketNotifier::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#77 0x40f1c9f1 in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#78 0x40f1d369 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
#79 0x40c2e97e in KApplication::notify () from /opt/kde3/lib/libkdecore.so.4
#80 0x40f1083d in QEventLoop::activateSocketNotifiers ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#81 0x40ecade3 in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#82 0x40f33903 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
#83 0x40f337e6 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#84 0x40f1c33f in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#85 0x0805a1bb in ?? ()
#86 0xbf91ad40 in ?? ()
#87 0x00000001 in ?? ()
#88 0x00000001 in ?? ()
#89 0x00000000 in ?? ()
#90 0x00000000 in ?? ()
#91 0x00000001 in ?? ()
#92 0x08066cd8 in typeinfo name for QPtrList<KAction> ()
#93 0x00000000 in ?? ()
#94 0x08066320 in typeinfo name for QPtrList<KAction> ()
#95 0x0806630c in typeinfo name for QPtrList<KAction> ()
#96 0x00000021 in ?? ()
#97 0x415eb8b0 in main_arena () from /lib/tls/libc.so.6
#98 0x00000004 in ?? ()
#99 0x00000020 in ?? ()
#100 0x41533241 in _int_malloc () from /lib/tls/libc.so.6
#101 0x414e3ea0 in __libc_start_main () from /lib/tls/libc.so.6
#102 0x08057991 in ?? ()
Comment 3 Carsten Burghardt 2006-01-12 07:55:10 UTC
Works here with 1.9.1. Please give this a try.
Comment 4 Stephan Binner 2006-01-17 14:44:40 UTC
Still happens with 1.9.1:

System configuration startup check disabled.

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1248183904 (LWP 1254)]
[New Thread -1278686288 (LWP 3794)]
[New Thread -1270297680 (LWP 3793)]
[New Thread -1261909072 (LWP 3792)]
[New Thread -1253520464 (LWP 3791)]
[KCrash handler]
#3  KMHeaders::writeSortOrder (this=0x8457c78) at kmheaders.cpp:2570
#4  0xb7d58550 in KMHeaders::setFolder (this=0x8457c78, aFolder=0x8310010, 
    forceJumpToUnread=false) at kmheaders.cpp:665
#5  0xb7d8ce30 in KMMainWidget::folderSelected (this=0x8440400, 
    aFolder=0x8310010, forceJumpToUnread=false) at kmmainwidget.cpp:1819
#6  0xb7dfaa55 in KMMainWidget::qt_invoke (this=0x8440400, _id=51, 
    _o=0xbff0fc84) at kmmainwidget.moc:468
#7  0xb72f11b0 in QObject::activate_signal (this=0x84da378, clist=0x84df080, 
    o=0xbff0fc84) at qobject.cpp:2380
#8  0xb7b7a68e in KMFolderTree::folderSelected (this=0x84da378, t0=0x8310010)
    at kmfoldertree.moc:384
#9  0xb7d5a023 in KMFolderTree::doFolderSelected (this=0x84da378, 
    qlvi=0x8514c30) at kmfoldertree.cpp:932
#10 0xb7d5a590 in KMFolderTree::contentsMouseReleaseEvent (this=0x84da378, 
    me=0xbff0fd54) at kmfoldertree.cpp:1087
#11 0xb7409263 in QScrollView::viewportMouseReleaseEvent (this=0x84da378, 
    e=0xbff10274) at qscrollview.cpp:1746
#12 0xb7406dff in QScrollView::eventFilter (this=0x84da378, obj=0x84dabe8, 
    e=0xbff10274) at qscrollview.cpp:1500
#13 0xb73d3806 in QListView::eventFilter (this=0x84da378, o=0x84dabe8, 
    e=0xbff10274) at qlistview.cpp:3864
#14 0xb7b62bb9 in KMFolderTree::eventFilter (this=0x84da378, o=0x84dabe8, 
    e=0xbff10274) at kmfoldertree.cpp:1646
#15 0xb72f07b6 in QObject::activate_filters (this=0x84dabe8, e=0xbff10274)
    at qobject.cpp:903
#16 0xb72f081b in QObject::event (this=0x84dabe8, e=0xbff10274)
    at qobject.cpp:735
#17 0xb73290ac in QWidget::event (this=0x84dabe8, e=0xbff10274)
    at qwidget.cpp:4676
#18 0xb7291967 in QApplication::internalNotify (this=0xbff10604, 
    receiver=0x84dabe8, e=0xbff10274) at qapplication.cpp:2636
#19 0xb729284b in QApplication::notify (this=0xbff10604, receiver=0x84dabe8, 
    e=0xbff10274) at qapplication.cpp:2422
#20 0xb795101e in KApplication::notify (this=0xbff10604, receiver=0x84dabe8, 
    event=0xbff10274) at kapplication.cpp:552
#21 0xb7230bc4 in QETWidget::translateMouseEvent (this=0x84dabe8, 
    event=0xbff10528) at qapplication.h:523
#22 0xb722fd6f in QApplication::x11ProcessEvent (this=0xbff10604, 
    event=0xbff10528) at qapplication_x11.cpp:3565
#23 0xb72405c1 in QEventLoop::processEvents (this=0x81829d0, 
    flags=<value optimized out>) at qeventloop_x11.cpp:192
#24 0xb72a8741 in QEventLoop::enterLoop (this=0x81829d0) at qeventloop.cpp:198
#25 0xb72a85be in QEventLoop::exec (this=0x81829d0) at qeventloop.cpp:145
#26 0xb72913ff in QApplication::exec (this=0xbff10604) at qapplication.cpp:2759
#27 0x0804a0c4 in main (argc=)
    at /usr/src/debug/kdepim-3.5.0/kmail/main.cpp:110
#28 0xb6e91748 in __libc_start_main () from /lib/libc.so.6
#29 0x08049e41 in _start ()
Comment 5 Stephan Binner 2007-03-21 17:06:28 UTC
Didn't appear with 1.9.5 and newer anymore for me.