[fpc-pascal] Database problem on Solaris SPARC
Thomas Schatzl
tom_at_work at gmx.at
Thu Jul 12 13:36:11 CEST 2012
Hi,
On Thu, 2012-07-12 at 09:47 +0000, Mark Morgan Lloyd wrote:
> Ludo Brands wrote:
>
> Builds OK on SPARC Solaris 10 using 2.6.0, but on running get a
> consistent error
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to LWP 4]
> 0x004b08b8 in TPQCONNECTION__LOADFIELD (CURSOR=0xfad601a0,
> FIELDDEF=0xfad30f20, BUFFER=0xfa5f00bc, CREATEBLOB=fa
> 803 if FIntegerDatetimes then dbl^ := pint64(buffer)^/1000000;
Not sure if it applies to your case, but afaik SPARC requires natural
alignment for memory accesses. "buffer" is not aligned to 8 bytes
here... (0xfa5f00bc <---)
Thomas
More information about the fpc-pascal
mailing list