﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
217	LIBC Error: Couldn't register process in shared memory!	dmik	bird	"This happens with the current trunk (064x) under the following conditions:

 1. A process using LIBC063.DLL is up and running so that the !__LIBC_SPMHEADER structure is already created in the shared memory.

 2. A process using LIBC064x.DLL is getting started which results in the above error message.

Debugging LIBC064x.DLL shows that the message appears because the DosOpenEventSem() [source:/branches/libc-0.6/src/emx/src/lib/sys/sharedpm.c#L2413 here] returns ERROR_INVALID_HANDLE on a handle which looks OK here (0x800103C or like that).

Note that spmInit() in LIBC063.DLL doesn't do DosOpenEventSem() (which is not fully clear since this call is kind of required to make use of the semaphore from another process) and therefore if the second process is LIBC063.DLL-based, it starts fine."	defect	closed	normal		libc-backend	0.6	normal	wontfix		
