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

List:       koffice-devel
Subject:    Re: strange bug with QList
From:       David Faure <david () mandrakesoft ! com>
Date:       2001-06-22 10:15:12
[Download RAW message or body]

On Friday 22 June 2001 11:54, David Faure wrote:
> On Friday 22 June 2001 12:48, Igor Janssen wrote:
> > hi all
> > KIllu often crashes when it working with lists

I think there is some massive memory corruption going on in killu.
With the same file, I got different crashes, even one in QDom parsing (!!!),
or more often in GPage::selectObject().
This doesn't mean the bug is actually in selectObject, or related to QList
in any way. Anything might be going on before that, that screws up the memory....

If you need a test document, the attached (simple) xml file crashes killu
one time out of two.... I'm recompiling killu with -g to find more info on this.
We have to fix this before 1.1 !

PS: I couldn't find any QList<..> blah(), so I don't think this is the problem here.
But the backtrace you showed still pointed to something like "creating an iterator
over a list that has been deleted already".

-- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://perso.mandrakesoft.com/~david/, http://www.konqueror.org/
KDE, Making The Future of Computing Available Today


["maindoc.xml" (text/xml)]

<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE killustrator ><killustrator \
mime="application/x-killustrator" version="3" editor="KIllustrator" >  <head \
currentpagenum="11" >  <grid dx="20" dy="20" color="#c0c0c0" show="0" align="0" >
   <helplines show="1" align="0" />
  </grid>
 </head>
 <page bgcolor="#ffffff" id="Page 1" >
  <layout width="210" lmargin="0" format="a4" bmargin="0" height="297" rmargin="0" \
tmargin="0" orientation="portrait" />  <layer>
   <rectangle width="174" x="90" y="20" height="207" rounding="0" >
    <polyline arrow1="-1073745908" arrow2="138322584" >
     <point x="90" y="20" />
     <point x="264" y="20" />
     <point x="264" y="227" />
     <point x="90" y="227" />
     <gobject fillcolor="#1930ff" fillstyle="2" linewidth="1" fillpattern="14" \
strokecolor="#000000" strokestyle="1" >  <matrix dx="-57" dy="33" m21="0" m22="1" \
m11="1" m12="0" />  </gobject>
    </polyline>
   </rectangle>
  </layer>
 </page>
</killustrator>


_______________________________________________
Koffice-devel mailing list
Koffice-devel@master.kde.org
http://master.kde.org/mailman/listinfo/koffice-devel


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

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