This is the mail archive of the cygwin-developers@cygwin.com 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]

Re: fork on win95


On Thu, Jul 19, 2001 at 08:23:18PM -0400, Christopher Faylor wrote:
> On Fri, Jul 20, 2001 at 01:29:41AM +0200, Corinna Vinschen wrote:
> >On Thu, Jul 19, 2001 at 11:31:00AM -0400, Christopher Faylor wrote:
> >> On Thu, Jul 19, 2001 at 01:12:10PM +0200, Corinna Vinschen wrote:
> >> >values (stdin, stdout and stderr, probably). Then the normal `ps' output
> >> >appears. Generally, the above ERROR_INVALID_HANDLE output appears,
> >> >then everything works fine. That's also valid for the aforementioned
> >> >ssh session. As usual nothing happens when started under strace control.
> >> 
> >> And, as usual, this would call for some debugging with gdb.
> >
> >Hmmpf, just had a first try. I tried a `gdb -nw /bin/sh' and then
> >a `r -c ps'. It crashes reproducable in check_valid_pointer() called
> >from pthread_mutex_lock() stuff called from read_etc_passwd().
> >Before reaching main(), of course.
> 
> It always gets a SIGSEGV there now.  You just have to continue past it.

Ok, done, but the problem doesn't appear under gdb, either.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.


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