On 10 Mar 2014, at 16:13, Petr Kristan wrote:

If memoryleak occurs and program ends, then i get SIGSEGV in cwstring.pp:481 (iconv call)
because cwstring unit is finalized before heaptrc.


If you use -gh, then heaptrc will be the first unit of the uses clause and will be finalized after any manually added unit.

Heaptrace is switched on by -gl fpc option.

-gl switches on lineinfo, not heaptrc.


Jonas
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to