<html><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:10pt"><div>Bingo...<br><br>Is the HeapTrace.. I just removed HeapTrace Unit from Linking and the problem has gone... <br><br>Thanks Martin<br> <br></div><div>[]s Daniel<br><br>Conheça o <a rel="nofollow" target="_blank" href="http://acbr.sourceforge.net">Projeto ACBr - Automaçao Comercial Brasil</a><br><a rel="nofollow" target="_blank" href="http://www.djsystem.com.br"><span style="font-weight:bold;">DJSystem</span> a Loja Patrocinadora do ACBr</a><br><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;">  <div style="font-family: Courier New, courier, monaco, monospace, sans-serif; font-size: 10pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span
 style="font-weight:bold;">De:</span></b> Martin Schreiber <mse00000@gmail.com><br> <b><span style="font-weight: bold;">Para:</span></b> lazarus@lists.lazarus.freepascal.org <br> <b><span style="font-weight: bold;">Enviadas:</span></b> Sexta-feira, 30 de Março de 2012 5:28<br> <b><span style="font-weight: bold;">Assunto:</span></b> Re: [Lazarus] SIGSEGV with Debug only<br> </font> </div> <br>Am 30.03.2012 02:06, schrieb Daniel Simoes de Ameida:<br>> Hi All<br>><br>> I have a strange issue...<br>><br>> I'm currently using Lazarus 0.9.31 (update from SVN) with FPC 2.6.0<br>><br>> When I compile my application with debug information, I always get a<br>> SIGSEGV when closing one of my forms,on line 4805 of control.inc<br>> This Image <<a href="http://imagebin.org/205899" target="_blank">http://imagebin.org/205899</a>>shows the error.<br>><br>> However, when compiling without debug information, the errors do
 not<br>> occur (better this way) ..<br>><br>> I'm using Debug Info as Auto (-g) and Display Line numbers (-gl),<br>> Heaptrace Unit is also active (-gh)in Debug mode ...<br>><br>> Any hints ?<br>><br>Heaptrace fills freed memory with garbage. CurAnchorSide probably is in <br>a object which already has been destroyed.<br><br>Martin<br><br>--<br>_______________________________________________<br>Lazarus mailing list<br><a ymailto="mailto:Lazarus@lists.lazarus.freepascal.org" href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a><br><a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus" target="_blank">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a><br><br><br> </div> </div> </blockquote></div>   </div></body></html>