www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/09/06/14:40:24

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com
Date: Thu, 6 Sep 2001 20:39:47 +0200
From: Corinna Vinschen <vinschen AT redhat DOT com>
To: cygwin-developers AT cygwin DOT com
Subject: Re: Figured out how to reproduce vfork/rsync bug!
Message-ID: <20010906203947.Q537@cygbert.vinschen.de>
Reply-To: cygdev <cygwin-developers AT cygwin DOT com>
Mail-Followup-To: cygwin-developers AT cygwin DOT com
References: <20010906142836 DOT 7323 DOT qmail AT lizard DOT curl DOT com> <20010906164756 DOT 19885 DOT qmail AT lizard DOT curl DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <20010906164756.19885.qmail@lizard.curl.com>; from jik@curl.com on Thu, Sep 06, 2001 at 12:47:56PM -0400

On Thu, Sep 06, 2001 at 12:47:56PM -0400, Jonathan Kamens wrote:
> So put this in var.sh:
> 
>   export 'INCLUDE=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
> 
> Then put this in test.sh:
> 
>   #!/bin/sh
> 
>   mkdir -p /tmp/foo /tmp/bar
>   rsync /tmp/foo/ /tmp/bar/
> 
> Then run in a bash window:
> 
>   . var.sh
>   ./test.sh
> 
> Corinna, could you try this and see what it does?

Nothing special. It just said BOOOOM!

Wow! I have a slightly dfferent setup. On my Cygwin box I'm running
sshd started by cygrunsrv. I've started an ssh session from my Linux
box to the Cygwin box. My login shell is tcsh. I've set the above
environment variable by hand `setenv INCLUDE xxxx...' and then I've
started ./test.sh.

Amazingly effect. It didn't just kill ash and rsync, it ripped off
Cygwin's flesh. Even the sshd daemon and cygrunsrv we're killed by
that. Reproducable.

I still have to examine the stackdump...

Corinna

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

- Raw text -


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