X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Wed, 5 May 2010 11:38:49 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: reading /proc/registry/ causes Segmentation fault. Message-ID: <20100505093849.GT1845@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <8CCC8F85C5F2784387A32FAD835FB4E602DBF139CF AT server03> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <8CCC8F85C5F2784387A32FAD835FB4E602DBF139CF@server03> User-Agent: Mutt/1.5.20 (2009-06-14) 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 May 5 10:57, DEWI - N. Zacharias wrote: > > Hi all, > The script below worked without problems last month. But now I get Segmentation fault (core dumped). > > > If I use the lines which begins with > > #this works fine > > instead of the one with GetWordExe it works fine. > > I tested it with the latest update > > Sorry that it is not shorter but it is the shortes form to get it work. Did you try with the Cygwin DLL from a recent developer snapshot from http://cygwin.com/snapshots/ ? There was a buffer overflow in wide character string allocation which broke /proc/registry access. It has been fixed one day after releasing Cygwin 1.7.5. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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