<p>Am 08.03.2016 01:51 schrieb "silvioprog" <<a href="mailto:silvioprog@gmail.com">silvioprog@gmail.com</a>>:<br>
><br>
> Hello,<br>
><br>
> I got an AV in the CMem unit. To reproduce the problem just compile and run this code below:<br>
><br>
> === code ===<br>
><br>
> program project1;<br>
><br>
> {$mode delphi}<br>
><br>
> uses<br>
>   Classes, SysUtils, cmem;<br>
><br>
[Snip]<br>
> === /code ===</p>
<p>*Always* put an alternate memory manager as the first unit. I think that requirement is even documented somewhere...<br>
Also don't use -gh with alternate memory managers. They are *both* memory managers and thus will lead to conflicting situations.</p>
<p>Regards,<br>
Sven</p>