This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

CreateFileMapping Problem


hi,

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.

thx in advance,
andre

$ cygcheck.exe  -c 
Cygwin Package Information
Package              Version            Status
_update-info-dir     00408-1            OK
alternatives         1.3.20a-2          OK
ash                  20040127-3         OK
base-files           3.7-1              OK
base-passwd          2.2-1              OK
bash                 3.1-6              OK
bzip2                1.0.3-1            OK
coreutils            5.97-1             OK
crypt                1.1-1              OK
ctags                5.6-1              OK
cygrunsrv            1.17-1             OK
cygutils             1.3.0-1            OK
cygwin               1.5.20-1           OK
cygwin-doc           1.4-3              OK
diffutils            2.8.7-1            OK
editrights           1.01-1             OK
emacs                21.2-13            OK
findutils            4.2.27-1           OK
gawk                 3.1.5-4            OK
gdbm                 1.8.3-7            OK
grep                 2.5.1a-2           OK
groff                1.18.1-2           OK
gzip                 1.3.5-2            OK
less                 381-1              OK
libbz2_1             1.0.3-1            OK
libcharset1          1.9.2-2            OK
libgdbm              1.8.0-5            OK
libgdbm-devel        1.8.3-7            OK
libgdbm3             1.8.3-3            OK
libgdbm4             1.8.3-7            OK
libiconv             1.9.2-2            OK
libiconv2            1.9.2-2            OK
libintl              0.10.38-3          OK
libintl1             0.10.40-1          OK
libintl2             0.12.1-3           OK
libintl3             0.14.5-1           OK
libncurses5          5.2-1              OK
libncurses6          5.2-8              OK
libncurses7          5.3-4              OK
libncurses8          5.5-2              OK
libpcre0             6.3-1              OK
libpopt0             1.6.4-4            OK
libreadline4         4.1-2              OK
libreadline5         4.3-5              OK
libreadline6         5.1-5              OK
login                1.9-7              OK
make                 3.81-1             OK
man                  1.5p-1             OK
minires              1.00-1             OK
mktemp               1.5-3              OK
ncurses              5.5-2              OK
netcat               1.10-2             OK
openssh              4.3p2-3            OK
openssl              0.9.8b-1           OK
openssl097           0.9.7j-1           OK
patch                2.5.8-8            OK
patchutils           0.2.31-1           OK
ping                 1.0-1              OK
procps               3.2.6-1            OK
run                  1.1.10-1           OK
sed                  4.1.5-1            OK
tar                  1.15.1-4           OK
termcap              20050421-1         OK
terminfo             5.5_20060323-1     OK
texinfo              4.8-3              OK
unzip                5.50-5             OK
vim                  7.0.035-1          OK
which                1.7-1              OK
zip                  2.3-6              OK
zlib                 1.2.3-1            OK

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]