delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/03/22/21:44:07

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <006101c2f0e6$58185850$086a86d9@ellixia>
From: "Elfyn McBratney" <elfyn AT exposure DOT org DOT uk>
To: <cygwin AT cygwin DOT com>
Subject: Hate to say it, but...I've got the (dreadded) PID problem
Date: Sun, 23 Mar 2003 02:46:00 -0000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300

Hate to say it, but...I've got the (dreadded) PID problem

Hello everyone,

I haven't been here in a while as my main computer died and I was
practically Cygwin'less. I have just finished a fresh install of Windows
2000 Pro/SP3 with all of the latest cygwin bits (that I need) which is
running 1.3.22 . I'll get to the point...While fixing the permissions on my
installation (via a combination of `find -exec' and `chmod'), and when I say
while I mean pretty much straight away, I started getting tones of "Access
is denied" messages from find. Sure enough I couldn't do anything from my
shell. I hate to say it but I can't do much with cygwin now (need to build a
lot of tools) as after running a few fork()ing processes I get an "Access is
denied" message from the binary that's being executed.

I've attached the output of `cygcheck -svr' and the strace output. I don't
want to sound like I'm bitching about this, really I'm not :-) If there's
anything I can do to provide info please ask.


I've done some investigating, attached to the offending process (bash) with
strace, and tried a few things. From a DOS (cmd.exe) box I can run cp, cpp,
find, gdb, grep, ld, ls, make, mv, rm, sed, sh and tar. When trying to run
awk (again from DOS) it (Cygwin, I guess) throws a CPU exception to do with
NTVDM, but when I run it under gdb it works fine. I'm going to attempt to
unpack the cygwin source and have a look and update of course but I'm not
that familiar with the fork code.


Regards,

Elfyn McBratney
elfyn AT exposure DOT org DOT uk
www.exposure.org.uk



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019