[XFree86] X server startup removes shared memory partitions

2003-11-10 Thread Richard L. Kitchen
I am running version 4.3.0 of XFree86 and I have a problem with the Xserver removing shared memory partitions that belong to other processes when it starts. Apparently when I originally wrote my code which uses shared memory I unwisely choose to use shared memory keys in the range 1 - 200. I

Re: [XFree86] X server startup removes shared memory partitions

2003-11-10 Thread Mark Vojkovich
The Xserver doesn't pick the keys. The OS does, ie. it allocates them with IPC_PRIVATE. You are trying to allocate segments that have already been allocated by other processes such as the Xserver. Are you calling shmget with IPC_CREAT and checking your return values? If you're not having the