Wrong assert in itemFromIndex?

Andreas Pakulat apaku at gmx.de
Sun Feb 1 23:35:01 UTC 2009


On 01.02.09 18:44:11, David nolden wrote:
> Am Sonntag 01 Februar 2009 18:24:23 schrieb Andreas Pakulat:
> > On 01.02.09 18:12:23, Andreas Pakulat wrote:
> > > Hi,
> > >
> > > got a new crash because I'm hitting the assert in itemFromIndex.
> 
> Zero indices within the item-repository are invalid. Zero is a placeholder for 
> "invalid index" there.
> 
> When such indices appear, the reason is usually that the place from where the 
> index is taken is bogus in some way(Not initialized for example).
> 
> Hashes can be zero, but the hash does not equal the index.
> 
> Looking at this specific case, it seems like at some point 
> itemrepository.h:1383 has been hit, do you see that warning on the command-
> line?

No, as I said I even added a breakpoint to that place and msvc didn't stop.

> I haven't ever encountered that on linux, but maybe it also has 
> something to do with intialization order. You should definitely place an 
> assertion at itemrepository.h:1383 to see whether that happens, and  then 
> investigate on: What does emptyConstantIdentifierPrivateIndex return?

I already did, but can't recall the value right now unfortunately...

Andreas

-- 
You look tired.




More information about the KDevelop-devel mailing list