[fpc-pascal] How to analyze a core dump?
luca at ventoso.org
Tue Jun 26 19:26:33 CEST 2007
En/na Cesar Romero ha escrit:
> Where S is initialized?
> I only see L initialized.
> Cesar Romero
>> 442: L:=length(s);
>> 443: if L<1 then exit;
>> 444: case s of
>> so I can't see how it could possibly be uninitialized.
nothwithstanding the fact that if length(s)<1 line 444 won't be
executed, so the "uninitialized" should be flagged in line 442, I know
that this chunk is inside
procedure TButlerPhone.Receive(s: string);
so s is a parameter.
This procedure is called exclusively from
(FOwner is a TButlerPhone)
which in turn is called only here:
if buffer[i+L+1]=checksum(FData) then
if not terminated then synchronize(@Receive);
More information about the fpc-pascal