In our previous episode, Nikolai Zhubr said:
> Please note that while the problem itself is quite stable, the example 
> is not. That is, if you insert or remove some code, change the filename 
> etc, then the example might just start work properly! (Maybe it is 
> alignment-related, not sure)
> 
> I haven't sent this to mantis yet. Please someone let me know if this 
> example is appropriate (or not).

I think so, please enter it in Mantis.

I quickly looked around and noticed two things:

1)
It is also striking that it seems to happen on the first realloc of a NIL
ptr, maybe that is a scenario not properly updated, sizewise.

2)
I also see a "exit(true)" in systryresize that doesn't update sizes.
 
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to