It took me several hours' editing and debugging when i want to implement info share between different processes in single machine(single write multi read) with ACE.
Two principles got from debugging:
bind() must be called by writer
when shared info read and written by different process, position-independent allocation must used
All those unnecessary work can be avoided by reading "ACE programmer's guide" 17.2/17.3 carefully