From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17619 invoked by alias); 30 Jul 2011 08:22:04 -0000 Received: (qmail 17597 invoked by uid 22791); 30 Jul 2011 08:21:46 -0000 X-Spam-Check-By: sourceware.org Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.83/v0.83-20-g38e4449) with ESMTP; Sat, 30 Jul 2011 08:21:33 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 59DA42C0634; Sat, 30 Jul 2011 10:21:30 +0200 (CEST) Date: Sat, 30 Jul 2011 08:22:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: 1.7.10s 20110729 - problem listing services in /proc Message-ID: <20110730082130.GI26203@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <4E3302E5.6000602@acm.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@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-07/txt/msg00404.txt.bz2 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