[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    Crash: Moving a message while searching a folder
From:       Ingo =?iso-8859-1?q?Kl=F6cker?= <ingo.kloecker () epost ! de>
Date:       2001-12-31 14:13:08
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I always move the closed bug reports from the bugs folder to another 
folder. To find all relevant messages I always search for the bug 
number. This time I already moved one of the found messages while the 
folder this message belonged to was still being searched. This resulted 
in a crash. You'll find the backtrace below.

After restarting KMail some messages in the bugs folder were again 
marked as unread although I already read them before the crash. 
Furthermore some messages which I moved to another folder reappeared in 
the bugs folder. Of course this is nothing new. But what is new is the 
fact that messages which I had moved to another folder are not 
automatically marked as read if I select them. They simply stay marked 
as unread. Manually marking them as read works.
Also, after deleting one of those weird messages the others are now 
again automatically marked as read if I select them.
This is probably caused by an inconsistency between the msg index and 
the msg dict.

[New Thread 1024 (LWP 1026)]
0x414ed289 in wait4 () from /lib/libc.so.6
#0  0x414ed289 in wait4 () from /lib/libc.so.6
#1  0x4155b828 in __DTOR_END__ () from /lib/libc.so.6
#2  0x413d1237 in waitpid () from /lib/libpthread.so.0
#3  0x40a72a72 in KCrash::defaultCrashHandler (signal=6)
    at ../../../kdelibs/kdecore/kcrash.cpp:219
#4  0x413cedbd in pthread_sighandler () from /lib/libpthread.so.0
#5  <signal handler called>
#6  0x41471001 in kill () from /lib/libc.so.6
#7  0x413cea22 in raise () from /lib/libpthread.so.0
#8  0x41472401 in abort () from /lib/libc.so.6
#9  0x4146b028 in __assert_fail () from /lib/libc.so.6
#10 0x8179063 in KMFolderMbox::getMsgString (this=0x836e6a0, idx=737, 
    mDest=@0xbfffeaf0) at ../../../kdenetwork/kmail/kmfoldermbox.cpp:664
#11 0x81c245f in KMFldSearch::searchInFolder (this=0xbfffeb38, 
    aFld=0xbfffeb38, recursive=true)
    at ../../../kdenetwork/kmail/kmfldsearch.cpp:257
#12 0x81c380b in KMFldSearch::slotSearch (this=0xb6f2a10)
    at ../../../kdenetwork/kmail/kmfldsearch.cpp:393
#13 0x81c5253 in KMFldSearch::qt_invoke (this=0xb6f2a10, _id=48, 
_o=0xbfffec24)
    at kmfldsearch.moc:102
#14 0x40dde352 in QObject::activate_signal (this=0xb59a7f0, 
clist=0x8757bf8, 
    o=0xbfffec24) at kernel/qobject.cpp:2013
#15 0x40dde206 in QObject::activate_signal (this=0xb59a7f0, signal=4)
    at kernel/qobject.cpp:1994
#16 0x4104cea9 in QButton::clicked (this=0xb59a7f0)
    at .moc/debug-mt/moc_qbutton.cpp:149
#17 0x40e47928 in QButton::mouseReleaseEvent (this=0xb59a7f0, 
e=0xbfffef74)
    at widgets/qbutton.cpp:771
#18 0x40e0c6b4 in QWidget::event (this=0xb59a7f0, e=0xbfffef74)
    at kernel/qwidget.cpp:4120
#19 0x40d95a8c in QApplication::internalNotify (this=0xbffff3c8, 
    receiver=0xb59a7f0, e=0xbfffef74) at kernel/qapplication.cpp:2145
#20 0x40d950c3 in QApplication::notify (this=0xbffff3c8, 
receiver=0xb59a7f0, 
    e=0xbfffef74) at kernel/qapplication.cpp:1988
#21 0x40a88ba5 in KApplication::notify (this=0xbffff3c8, 
receiver=0xb59a7f0, 
    event=0xbfffef74) at ../../../kdelibs/kdecore/kapplication.cpp:544
#22 0x41133814 in QApplication::sendSpontaneousEvent 
(receiver=0xb59a7f0, 
    event=0xbfffef74) at .moc/debug-mt/../../kernel/qapplication.h:452
#23 0x40d432f4 in QETWidget::translateMouseEvent (this=0xb59a7f0, 
    event=0xbffff1dc) at kernel/qapplication_x11.cpp:4825
#24 0x40d3fee0 in QApplication::x11ProcessEvent (this=0xbffff3c8, 
    event=0xbffff1dc) at kernel/qapplication_x11.cpp:3641
#25 0x40d3ea19 in QApplication::processNextEvent (this=0xbffff3c8, 
    canWait=true) at kernel/qapplication_x11.cpp:3152
#26 0x40d97734 in QApplication::enter_loop (this=0xbffff3c8)
    at kernel/qapplication.cpp:3016
#27 0x40d3e91b in QApplication::exec (this=0xbffff3c8)
    at kernel/qapplication_x11.cpp:3108
#28 0x81b645e in main (argc=1, argv=0xbffff54c)
    at ../../../kdenetwork/kmail/main.cpp:294
#29 0x41460c6f in __libc_start_main () from /lib/libc.so.6

Regards,
Ingo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8MHJ4GnR+RTDgudgRAiixAJ4wUslVLweOffawkCG7k1wUh8sr3QCgqY7m
CLDtmk8Y70tj1eyc+tlwtRM=
=Ohkb
-----END PGP SIGNATURE-----
_______________________________________________
kmail Developers mailing list
kmail@mail.kde.org
http://mail.kde.org/mailman/listinfo/kmail
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic