Bug 92174

Summary: Applying filters to large IMAP mailbox crashes [backtrace included]
Product: [Unmaintained] kmail Reporter: Christoph Sold <cs>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 1.7   
Target Milestone: ---   
Platform: unspecified   
OS: FreeBSD   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Christoph Sold 2004-10-27 00:16:10 UTC
Version:           1.7 (using KDE 3.3.0, compiled sources)
Compiler:          gcc version 3.4.2 [FreeBSD] 20040728
OS:                FreeBSD (i386) release 5.3-BETA7

applying filters moving emails out of IMAP to local folders crashes repeatably

<backtrace>
[Switching to LWP 100142]
0x2965e577 in wait4 () from /lib/libc.so.5
#0  0x2965e577 in wait4 () from /lib/libc.so.5
#1  0x2964f97f in waitpid () from /lib/libc.so.5
#2  0x295b4081 in waitpid () from /usr/lib/libpthread.so.1
#3  0x28c2d246 in KCrash::defaultCrashHandler (sig=11) at kcrash.cpp:246
#4  0x295ba6b3 in sigaction () from /usr/lib/libpthread.so.1
#5  0xbfbfff94 in ?? ()
#6  0x0000000b in ?? ()
#7  0xbfbfd7b0 in ?? ()
#8  0xbfbfd4f0 in ?? ()
#9  0x00000000 in ?? ()
#10 0x295ba3e0 in sigaction () from /usr/lib/libpthread.so.1
#11 0x29f427ae in KMHeaderItem::irefresh (this=0x2a14a620)
    at kmheaders.cpp:200
#12 0x29f3a100 in KMHeaders::msgHeaderChanged (this=0x8554800, 
    msgId=142524160) at kmheaders.cpp:1372
#13 0x29f41ead in KMHeaders::qt_invoke (this=0x8554800, _id=108, 
    _o=0xbfbfd930) at kmheaders.moc:268
#14 0x29060e73 in QObject::activate_signal ()
   from /usr/X11R6/lib/libqt-mt.so.3
#15 0x29f668e4 in KMFolder::msgHeaderChanged (this=0x83d5100, t0=0x83d5100, 
    t1=4) at kmfolder.moc:283
#16 0x29f66e61 in KMFolder::qt_emit (this=0x83d5100, _id=13, _o=0xbfbfda60)
    at kmfolder.moc:345
#17 0x29060db6 in QObject::activate_signal ()
   from /usr/X11R6/lib/libqt-mt.so.3
#18 0x29f7d4f0 in FolderStorage::msgHeaderChanged (this=0x83c5600, 
    t0=0x83d5100, t1=4) at folderstorage.moc:280
#19 0x29f7c5cd in FolderStorage::headerOfMsgChanged (this=0x83c5600, 
    aMsg=0x83a83a0, idx=7) at folderstorage.cpp:799
#20 0x29fbf728 in KMMsgBase::setStatus (this=0x8a5b300, aStatus=138171904, 
    idx=4) at kmmsgbase.cpp:260
#21 0x29ed52bf in KMMessage::setStatus (this=0x83a83a0, aStatus=7, idx=-1)
    at kmmessage.cpp:4191
#22 0x29ed5c39 in KMMessage::updateAttachmentState (this=0x8a5b300, part=0x0)
    at kmmessage.cpp:4358
#23 0x29ec58cf in KMMessage::fromDwString (this=0x8a5b300, str=@0xbfbfdc20, 
    aSetStatus=false) at kmmessage.cpp:359
#24 0x29ec55b3 in KMMessage::fromByteArray (this=0x8a5b300, ba=@0xbfbfdc20)
    at kmmessage.cpp:338
#25 0x2a08222b in KMail::ImapJob::slotGetMessageResult (this=0x8a5b400, 
    job=0x1162) at imapjob.cpp:373
#26 0x2a083298 in KMail::ImapJob::qt_invoke (this=0x8a5b400, _id=2, 
    _o=0xbfbfdd70) at imapjob.moc:126
#27 0x29060dca in QObject::activate_signal ()
   from /usr/X11R6/lib/libqt-mt.so.3
#28 0x285a538b in KIO::Job::result (this=0x8a54600, t0=0x8a54600)
    at jobclasses.moc:156
#29 0x28593f36 in KIO::Job::emitResult (this=0x8a54600) at job.cpp:207
#30 0x285951e9 in KIO::SimpleJob::slotFinished (this=0x8a54600) at job.cpp:524
#31 0x285970b8 in KIO::TransferJob::slotFinished (this=0x8a54600)
    at job.cpp:884
#32 0x285a725b in KIO::TransferJob::qt_invoke (this=0x8a54600, _id=17, 
    _o=0xbfbfe0a0) at jobclasses.moc:1050
#33 0x29060dca in QObject::activate_signal ()
   from /usr/X11R6/lib/libqt-mt.so.3
#34 0x29060cde in QObject::activate_signal ()
   from /usr/X11R6/lib/libqt-mt.so.3
#35 0x28588eaf in KIO::SlaveInterface::finished (this=0x86a0000)
    at slaveinterface.moc:226
#36 0x2858788c in KIO::SlaveInterface::dispatch (this=0x86a0000, _cmd=104, 
    rawdata=@0xbfbfe240) at slaveinterface.cpp:255
#37 0x285875e0 in KIO::SlaveInterface::dispatch (this=0x86a0000)
    at slaveinterface.cpp:191
#38 0x285854ca in KIO::Slave::gotInput (this=0x86a0000) at slave.cpp:294
#39 0x28586c61 in KIO::Slave::qt_invoke (this=0x86a0000, _id=4, _o=0xbfbfe390)
    at slave.moc:113
#40 0x29060dca in QObject::activate_signal ()
   from /usr/X11R6/lib/libqt-mt.so.3
#41 0x29061031 in QObject::activate_signal ()
   from /usr/X11R6/lib/libqt-mt.so.3
#42 0x2935d099 in QSocketNotifier::activated ()
   from /usr/X11R6/lib/libqt-mt.so.3
#43 0x2907af70 in QSocketNotifier::event () from /usr/X11R6/lib/libqt-mt.so.3
#44 0x290083bd in QApplication::internalNotify ()
   from /usr/X11R6/lib/libqt-mt.so.3
#45 0x290077ea in QApplication::notify () from /usr/X11R6/lib/libqt-mt.so.3
#46 0x28bb3875 in KApplication::notify (this=0xbfbfe918, receiver=0x869f100, 
    event=0xbfbfe6c0) at kapplication.cpp:495
#47 0x28ff897a in QEventLoop::activateSocketNotifiers ()
   from /usr/X11R6/lib/libqt-mt.so.3
#48 0x28fb81c7 in QEventLoop::processEvents ()
   from /usr/X11R6/lib/libqt-mt.so.3
#49 0x2901956f in QEventLoop::enterLoop () from /usr/X11R6/lib/libqt-mt.so.3
#50 0x290194c8 in QEventLoop::exec () from /usr/X11R6/lib/libqt-mt.so.3
#51 0x29008514 in QApplication::exec () from /usr/X11R6/lib/libqt-mt.so.3
#52 0x080626a2 in main (argc=1, argv=0xbfbfea98) at main.cpp:153
</backtrace>
Comment 1 Tom Albers 2004-11-20 19:30:27 UTC
I'm going to merge you to the central bugreport about this. We believe this ptoblem is fixed in the development version of KMail. If you have the possibility it would be nice if you could compile this version (CVS/HEAD) and see if the problem is solved. Please respond to bug 73999 if you can reproduce this bug then. Thanks for reporting!

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