[Mono-list] shared memory

Dick Porter dick@ximian.com
23 Jul 2003 16:46:08 +0100

On Wed, 2003-07-23 at 11:31, Roberto D=EDaz wrote:
> hello!
> Sometimes, when I'm comping my program, I get these warnings:
> ** (process:1983): WARNING **: Shared memory sanity check failed.
> ** (process:1983): WARNING **: Failed to attach shared memory! Falling ba=
> to non-shared handles
> I can to solve these wanings erasing the $HOME/.wapi/shared_data-0.
> What is the cause of that ?

Something has overwritten the beginning of the shared memory file.  Mono
does a cursory check of the header, and in your case is finding bad

Which version of mono are you running?  Some time ago I added a check to
catch a common problem, that of the length of a Unix socket patch being
set to 0 by configure.

- Dick