X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Sat, 30 Jul 2011 10:21:30 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: 1.7.10s 20110729 - problem listing services in /proc Message-ID: <20110730082130.GI26203@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <4E3302E5 DOT 6000602 AT acm DOT org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) 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 Jul 30 14:44, jojelino wrote: > Breakpoint 2, fhandler_registry::close (this=0x612cba5c) > at /tmp/winsup/winsup/cygwin/fhandler_registry.cc:856 > 856 cfree (value_name); > 10: this->value_name = 0x612cb374 L"services" > (gdb) > Continuing. > > 0x612cba5c->value_name = 0 > 0x612cb124_2->value_name = 0x612cba5c->value_name = 0x612cb374 > L"services" (quadruple-freed but known as not freed) > > Program received signal SIGSEGV, Segmentation fault. > 0x7c80bef7 in RaiseException () from > /cygdrive/c/WINDOWS/system32/kernel32.dll > > In brief, same address quadruple-freed. because of dangling pointer. > Regards. It turned out that I could reproduce the problem, I just didn't notice it. I expected an error message but find died silently, so I took that as "it works". Serves me right for looking into Cygwin bug reports too late at night. Fixed in CVS. I'm going to create a new snpshot. 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