[Lazarus] SIGSEGV with Debug only

Daniel Simoes de Ameida dopidaniel at yahoo.com.br
Fri Mar 30 17:11:07 CEST 2012


Bingo...

Is the HeapTrace.. I just removed HeapTrace Unit from Linking and the problem has gone... 

Thanks Martin
 

[]s Daniel

Conheça o Projeto ACBr - Automaçao Comercial Brasil
DJSystem a Loja Patrocinadora do ACBr



>________________________________
> De: Martin Schreiber <mse00000 at gmail.com>
>Para: lazarus at lists.lazarus.freepascal.org 
>Enviadas: Sexta-feira, 30 de Março de 2012 5:28
>Assunto: Re: [Lazarus] SIGSEGV with Debug only
> 
>Am 30.03.2012 02:06, schrieb Daniel Simoes de Ameida:
>> Hi All
>>
>> I have a strange issue...
>>
>> I'm currently using Lazarus 0.9.31 (update from SVN) with FPC 2.6.0
>>
>> When I compile my application with debug information, I always get a
>> SIGSEGV when closing one of my forms,on line 4805 of control.inc
>> This Image <http://imagebin.org/205899>shows the error.
>>
>> However, when compiling without debug information, the errors do not
>> occur (better this way) ..
>>
>> I'm using Debug Info as Auto (-g) and Display Line numbers (-gl),
>> Heaptrace Unit is also active (-gh)in Debug mode ...
>>
>> Any hints ?
>>
>Heaptrace fills freed memory with garbage. CurAnchorSide probably is in 
>a object which already has been destroyed.
>
>Martin
>
>--
>_______________________________________________
>Lazarus mailing list
>Lazarus at lists.lazarus.freepascal.org
>http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20120330/01017b59/attachment-0003.html>


More information about the Lazarus mailing list