[Bug 116372] IMAP crash - pure virtual method called

Tommi Tervo tommi.tervo at gmail.com
Mon Oct 22 07:51:37 BST 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=116372         




------- Additional Comments From tommi.tervo gmail com  2007-10-22 08:51 -------
I just hit this bug today, I deleted a bunch of messages by pressing shift-delete and suddenly one message wouldn't get deleted. It was red and overlined and when I tried to delete again kmail crashed.
Kubuntu 7.10, (normal imap connection to exchange 2003) 

kmail: WARNING: FolderStorage::getMsg, message has no sernum, index: 696

#11 0xb58d8fa2 in std::terminate () from /usr/lib/libstdc++.so.6
#12 0xb58d9865 in __cxa_pure_virtual () from /usr/lib/libstdc++.so.6
#13 0xb7bdf321 in KMReaderWin::setMsg (this=0x829c790, aMsg=0x88d8800, 
    force=false)
    at /build/buildd/kdepim-3.5.7enterprise20070926/./kmail/kmreaderwin.cpp:1207
#14 0xb7d4a262 in KMMainWidget::slotMsgSelected (this=0x821e180, 
    msg=0x88d8800)
    at /build/buildd/kdepim-3.5.7enterprise20070926/./kmail/kmmainwidget.cpp:2126
#15 0xb7d5d2f0 in KMMainWidget::qt_invoke (this=0x821e180, _id=55, 
    _o=0xbfe11744) at ./kmmainwidget.moc:515
#16 0xb5f20893 in QObject::activate_signal (this=0x8246660, clist=0x829a460, 
    o=0xbfe11744) at kernel/qobject.cpp:2356
#17 0xb7b82a4e in KMHeaders::selected (this=0x8246660, t0=0x88d8800)
    at ./kmheaders.moc:258
#18 0xb7b8a593 in KMHeaders::highlightMessage (this=0x8246660, lvi=0x87f9f70, 
    markitread=false)
    at /build/buildd/kdepim-3.5.7enterprise20070926/./kmail/kmheaders.cpp:2088
#19 0xb7b8a97c in KMHeaders::highlightMessage (this=0x8246660, i=0x87f9f70)
    at /build/buildd/kdepim-3.5.7enterprise20070926/./kmail/kmheaders.cpp:2364
#20 0xb7b93306 in KMHeaders::qt_invoke (this=0x8246660, _id=107, 
    _o=0xbfe11888) at ./kmheaders.moc:303


I tried to valgrind kmail but I didn't manage to reproduce the crash.

==30094== Syscall param write(buf) points to uninitialised byte(s)
==30094==    at 0x40007F2: (within /lib/ld-2.6.1.so)
==30094==    by 0x67D3534: (within /lib/tls/i686/cmov/libc-2.6.1.so)
==30094==    by 0x67D386E: _IO_do_write (in /lib/tls/i686/cmov/libc-2.6.1.so)
==30094==    by 0x67D4055: _IO_file_sync (in /lib/tls/i686/cmov/libc-2.6.1.so)
==30094==    by 0x67C8B6F: fflush (in /lib/tls/i686/cmov/libc-2.6.1.so)
==30094==    by 0x4356E90: KMFolderMbox::addMsg(KMMessage*, int*) (kmfoldermbox.cpp:1105)
==30094==    by 0x4362235: KMFolderImap::slotGetMessagesData(KIO::Job*, QMemArray<char> const&) (kmfolderimap.cpp:1608)
==30094==    by 0x4367B9F: KMFolderImap::qt_invoke(int, QUObject*) (kmfolderimap.moc:344)
==30094==    by 0x5E9A892: QObject::activate_signal(QConnectionList*, QUObject*) (qobject.cpp:2356)
==30094==    by 0x532A8BC: KIO::TransferJob::data(KIO::Job*, QMemArray<char> const&) (jobclasses.moc:993)
==30094==    by 0x532A937: KIO::TransferJob::slotData(QMemArray<char> const&) (job.cpp:933)
==30094==    by 0x537F3B8: KIO::TransferJob::qt_invoke(int, QUObject*) (jobclasses.moc:1072)
==30094==    by 0x5E9A892: QObject::activate_signal(QConnectionList*


==30094== Invalid read of size 4
==30094==    at 0x4014C09: (within /lib/ld-2.6.1.so)
==30094==    by 0x400D319: (within /lib/ld-2.6.1.so)
==30094==    by 0x4009826: (within /lib/ld-2.6.1.so)
==30094==    by 0x687A4B4: (within /lib/tls/i686/cmov/libc-2.6.1.so)
==30094==    by 0x687A849: _dl_sym (in /lib/tls/i686/cmov/libc-2.6.1.so)
==30094==    by 0x64C5DE7: (within /lib/tls/i686/cmov/libdl-2.6.1.so)
==30094==    by 0x400D015: (within /lib/ld-2.6.1.so)
==30094==    by 0x64C62BB: (within /lib/tls/i686/cmov/libdl-2.6.1.so)
==30094==    by 0x64C5D72: dlsym (in /lib/tls/i686/cmov/libdl-2.6.1.so)
==30094==    by 0x5A839E8: sys_dl_sym (ltdl.c:646)
==30094==    by 0x5A828D5: lt_dlsym (ltdl.c:2664)
==30094==    by 0x5931CAE: KLibWrapPrivate::KLibWrapPrivate(KLibrary*, lt_dlhandle_struct*) (klibloader.cpp:278)
==30094==    by 0x59C3731: KLibLoader::library(char const*) (klibloader.cpp:443)
==30094==    by 0x476B833: KPIM::PluginLoaderBase::openLibrary(QString const&) const (pluginloaderbase.cpp:151)
==30094==    by 0x476BB08: KPIM::PluginLoaderBase::mainFunc(QString const&, char const*) const (pluginloaderbase.cpp:124)
==30094==    by 0x43F7DCD: KPIM::PluginLoader<KMail::Interface::BodyPartFormatterPlugin, (anonymous namespace)::(anonymous namespace)::BodyPartFormatterPluginLoaderConfig>::createForName(QString const&) const (pluginloader.h:109)
==30094==    by 0x43F6D57: KMail::BodyPartFormatterFactory::createFor(char const*, char const*) const (bodypartformatterfactory.cpp:114)
==30094==    by 0x43F7D46: KMail::BodyPartFormatterFactory::createFor(QCString const&, QCString const&) const (bodypartformatterfactory.cpp:190)
==30094==    by 0x43EC39A: KMail::ObjectTreeParser::parseObjectTree(partNode*) (objecttreeparser.cpp:261)
==30094==    by 0x42C330D: KMReaderWin::parseMsg(KMMessage*) (kmreaderwin.cpp:1586)
==30094==    by 0x42C3B02: KMReaderWin::displayMessage() (kmreaderwin.cpp:1512)
==30094==    by 0x42C3D24: KMReaderWin::updateReaderWin() (kmreaderwin.cpp:1448)
==30094==    by 0x42C641B: KMReaderWin::qt_invoke(int, QUObject*) (kmreaderwin.moc:301)
==30094==    by 0x5E9A892: QObject::activate_signal(QConnectionList*, QUObject*) (qobject.cpp:2356)



More information about the Kdepim-bugs mailing list