[Mono-list] running mono under Linux without shm

Tomasz Noiński noix at sphere.pl
Sat Mar 3 14:56:46 EST 2007


Hi,

I need to run mono in a very restricted environment. It's a Linux box
without SysV IPC (no shm). Also there's no possibility to create
temporary files (like ".wapi" subdirectory in user's home directory).

It _did_ manage to do it with an old version of mono (1.0.x) - mono
displayed warnings about nod being able to create shared memory
segments, but it worked just fine anyway.

However, lately I wanted to upgrade to a current version and 1.2.2.1,
mono ("gmcs" without any parameters, exactly) exits with:

-- 8< --
** (/usr/lib/mono/2.0/gmcs.exe:3100): CRITICAL **: _wapi_shm_file_open:
shared file
[/root/.wapi/shared_data-noix.tornado.lan-Linux-i686-312-11-0] open
error: No such file or directory

** (/usr/lib/mono/2.0/gmcs.exe:3100): CRITICAL **: _wapi_shm_attach:
shared file
[/root/.wapi/shared_data-noix.tornado.lan-Linux-i686-312-11-0] open
error

** ERROR **: file shared.c: line 312 (_wapi_shm_semaphores_init):
assertion failed: (tmp_shared != NULL) aborting...
-- 8< --

Is there some way to run mono anyway, under such conditions?
If not - what was the last version which worked without shm?

Thanks in advance,

Noix


More information about the Mono-list mailing list