X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_CG X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <20120923195346.GB24693@ednor.casa.cgf.cx> References: <20120923195346 DOT GB24693 AT ednor DOT casa DOT cgf DOT cx> From: meingbg Date: Mon, 24 Sep 2012 01:15:06 +0200 Message-ID: Subject: Re: Bash dumps stack after writing to /etc To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Sun, Sep 23, 2012 at 9:53 PM, Christopher Faylor wrote: > On Sat, Sep 22, 2012 at 12:21:40AM +0200, meingbg wrote: >>A bug is found that might be located in cygwin or bash. >> >>Bash dumps stack on exit if all of the following requirements are true: >>- Bash was started from a windows batch script >>- Bash was started in non-interactive mode to execute a script >>- The script includes an attempt to write (pipe) data to a file in /etc >>- The write attempt is enclosed by an if clause. > > Try a recent snapshot. Corinna fixed this a while ago. > > http://cygwin.com/snapshots/ > > cgf > > -- > Problem reports: http://cygwin.com/problems.html > FAQ: http://cygwin.com/faq/ > Documentation: http://cygwin.com/docs.html > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Confirmed. The problem appeared in the beginning of july 2012 and was fixed in the end of the same month. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple