[fpc-devel] SetString difference between Ansistring and UnicodeString

Marco van de Voort marcov at stack.nl
Thu Oct 8 14:11:05 CEST 2009


In our previous episode, Vincent Snijders said:
> > Vincent Snijders schreef:
> >> While running valgrind on fpcdoc, I got a warning in
> > 
> > Maybe you are interested in the valgind output. See attachment.
> > 
> 
> Another problem, that was also in the valgrind output (reading uninitialized memory):
> EAccessViolation : Access violation
>    $08099882  TNODEPOOL__DESTROY,  line 3304 of src/dom.pp
>    $080BFF73  THTMLWRITER__WRITEDOC,  line 3341 of dw_html.pp
>    $08049809  CREATEDOCUMENTATION,  line 267 of fpdoc.pp
>    $08049A00  main,  line 290 of fpdoc.pp

Nodepool and friends use objects on non-allocated memory. It might be that
valgrind doesn't understand that. I think DOM should have a define to turn
that off, for debugging purposes.



More information about the fpc-devel mailing list