[lazarus] Lazarus crash on Win32
Micha Nelissen
M.Nelissen at student.tue.nl
Mon Aug 25 13:30:51 EDT 2003
Horacio Jamilis wrote:
> Ok,
>
> What i found:
>
> in astrings.inc - procedure PChar_To_AnsiStr - line 266:
>
> print a -> $8 = (PCHAR) $0
>
> print p -> $6 = (PCHAR) $a918
>
> x/s p -> $a918: <Address $a918 out of bounds>
>
> print p[0] -> Error: Cannot access memory at address $a918
>
> any hint?
Hmm it seems p does not point to a valid string after, maybe it's some
windows atom. In that case, I think you need to comment the assert code
(the line 66 in win32callback.inc) and try again. It seems parameter Str
is expected to be a string, but apparantly this is not the case.
What do other people think?
Regards,
Micha.
More information about the Lazarus
mailing list