[prev in list] [next in list] [prev in thread] [next in thread]
List: kmail-devel
Subject: Re: Bug#27707: kmail crash: delete in a special constellation
From: Don Sanders <sanders () kde ! org>
Date: 2001-06-28 23:15:05
[Download RAW message or body]
Sorry I still can't reproduce the bug.
Can you check that mMsgId is in range below.
(0 <= mMsgId < mFolder->count())
const char req_col = (char)column;
if(mKey.isEmpty() || mKey.left(1) != &req_col) {
KMHeaders *headers = static_cast<KMHeaders*>(listView());
+ kdDebug() << "KMHeaderItem: mMsgId == " << mMsgId << endl;
return ((KMHeaderItem *)this)->mKey =
generate_key(mMsgId, headers->folder()->getMsgBase( mMsgId ),
headers->paintInfo(), column);
Also please check that headers->folder()->getMsgBase( mMsgId ) is non null.
Don.
On Thursday 28 June 2001 15:19, Marc Mutz wrote:
> On Thursday 28 June 2001 14:59, Don Sanders wrote:
> <snip>
>
> > Could someone please send me a copy of the folder to
> > help me reproduce the bug.
>
> Now you're being bombed with 700k message from helpful
> users all over the world :-)
>
> I won't be one of them:
> http://www.mathematik.uni-bielefeld.de/~mmutz/cups.mbox.b
>z2 (615k)
>
> If you can't get it this way, drop me a private note and
> I will send it to you (lest someone else was faster).
>
> > > Still reproducable with KMail CVS from 1/2 hour ago.
> > >
> > > %&#$! This seems to be a race condition!?
> > > If I apply this patch:
> > >
> > > I'm no longer able to reproduce the problem, if I
> > > revert it, the crash is back.
> >
> > Ok.
>
> ??? You seem to find this logical? Looking forward to the
> fix ;-)
>
> > > BTW: why are
> > > KMHeaderItem::{setOpen,text,setup,pixmap,paintCell}()
> > > not declared virtual?
> >
> > I believe the base class declares them virtual so it is
> > not necessary to redeclare them virtual.
>
> Didn't know that this suffices...
> Good to know.
>
>
> --
> Marc Mutz <Marc@Mutz.com>
> http://marc.mutz.com/
> http://www.mathematik.uni-bielefeld.de/~mmutz/
> http://EncryptionHOWTO.sourceforge.net/
_______________________________________________
Kmail Developers mailing list
Kmail@master.kde.org
http://master.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