Product Documentation

c-treeACE V10.3 Release Notes

Previous Topic

Next Topic

Linux FSHAREMM connection fails with packed alignment

When a Linux shared-memory client was compiled with 1-byte alignment, the connection failed with LSEC_ERR or another spurious error.

A Unix shared-memory structure SHRMEM_HDR differs in size between client and server depending on the compiler alignment, causing the data payload to be missing the first byte on the server. Padding bytes were added to properly align the structure in this condition.

TOCIndex