[Lazarus] SIGSEGV with Debug only
mse00000 at gmail.com
Sat Mar 31 07:06:37 CEST 2012
Am 31.03.2012 03:57, schrieb waldo kitty:
> On 3/30/2012 04:28, Martin Schreiber wrote:
>> Am 30.03.2012 02:06, schrieb Daniel Simoes de Ameida:
>>> 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.
> ewww :( in my ancient mind, it would be better to fill with null for
> possible checks but then again ;) :P
Actually it is $F0. The purpose is that $F0F0F0F0 as pointer should
throw a SIGSEGV. Another heaptrace signature is $DEADBEEF. If you see
this address in a pointer of your data structs there probably is
something wrong. ;-)
More information about the Lazarus