This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Possible race in SYSV IPC (semaphores)
- From: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr at ncbi dot nlm dot nih dot gov>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Mon, 19 Nov 2012 16:22:43 +0000
- Subject: RE: Possible race in SYSV IPC (semaphores)
> For testing it would be most helpful if you would create a STC.
The test case attached from my earlier post from today, also shows
a race (dead-lock, actually) occurring in CYGSERVER, when it is run
with the "-d -l 7" command line (even when it is only one application,
the test case is using it). There is an internal disconcert between
the cygserver threads.
The log ends with this, and there is no way to stop the server
(like with "cygrunsrv -S") other than killing it from the task manager:
cygserver: /home/corinna/src/cygwin/cygwin-1.7.15/cygwin-1.7.15-1/src/cygwin-1.7.15/winsup/cygserver/transport_pipes.cc, line 132: Try to create named pipe: \\.\pipe\cygwin-13a7ed34cc1953a9-lpccygserver: /home/corinna/src/cygwin/cygwin-1.7.15/cygwin-1.7.15-1/src/cygwin-1.7.15/winsup/cygserver/process.cc, line 287: Try hold(4956)
cygserver: /home/corinna/src/cygwin/cygwin-1.7.15/cygwin-1.7.15-1/src/cygwin-1.7.15/winsup/cygserver/process.cc, line 287: holding (4956)
Anton Lavrentiev
Contractor NIH/NLM/NCBI