[Lazarus] EXC_BAD_ACCESS, Could not access memory

dmitry boyarintsev skalogryz.lists at gmail.com
Fri Apr 24 16:17:39 CEST 2009

> Stream.Read (HeaderLen, SIZEOF (HeaderLen));
> where information header's length is stored into binary.

HeaderLen is integer, right?
have you checked HeaderLen being large that sizeof(TSomeHeader)

it's possible, especiialy for Mac files, because of PowerPC and some
structures may use Big-endian byte order, rather than Intel


More information about the Lazarus mailing list