X-Spam-Check-By: sourceware.org Message-ID: <44D769B6.8070906@cygwin.com> Date: Mon, 07 Aug 2006 12:26:30 -0400 From: "Larry Hall (Cygwin)" Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20060112 Fedora/1.5-1.fc4.remi Thunderbird/1.5 Mnenhy/0.7.4.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: CreateFileMapping Problem References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 08/07/2006, a.heider wrote: > we have cygwin installed on a development windows server. os is windows > server 2003 standard r2 x64, and users are logging in through opensshd and > rdesktop. we're encountering this problem: 2 [main] bash (4544) > C:\cygwin\bin\bash.exe: *** fatal error - C:\cygwin\bin\bash.exe: *** > CreateFileMapping Global\cygwin1S4.cygpid.4544, Win32 error 0. Terminating. > it happens to all users to all kind of cygwin-processes (make, bash, sed, > ...) at (as it seems) random times. it only happens to global mappings with > error always set to zero and it seems to occur more often on more > concurrent (multiuser) make instances. our make process spawns alot of > additional processes. it doesnt matter if the user is logged in through > sshd (openssh installed as a cygwin service) or rdesktop. while digging > through the mailinglist, i found two possible solutions: 1) rebase the > whole cygwin installation 2) give the sshd/user more privileges > (SeCreateGlobalPrivilege...) none of the above solved our problem. today 2 > users got the exact same error message including the pid field. is there a > possible conflict and users connected through terminal services can have > identical (cygwin/windows) pids? code in question is: > cygwin/src/winsup/cygwin/cygheap.cc cygheap_init () > cygwin/src/winsup/cygwin/pthread.cc mangle_sem_name () > cygwin/src/winsup/cygwin/shared.cc open_shared () shared_name () any > feedback is appreciated as this problem breaks our build process. Try updating your Cygwin package to the latest. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/