delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/09/13/04:44:15

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Sat, 13 Sep 2003 10:43:59 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: SEGV in conv_path_list_buf_size with xemacs-21.5-b13 and cygwin-snapshot-20030904-1
Message-ID: <20030913084359.GN9981@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20030910085841 DOT GA1859 AT cygbert DOT vinschen DOT de> <16215 DOT 25725 DOT 555006 DOT 332144 AT gargle DOT gargle DOT HOWL> <16222 DOT 14630 DOT 498481 DOT 227468 AT gargle DOT gargle DOT HOWL> <16226 DOT 8585 DOT 30792 DOT 371032 AT gargle DOT gargle DOT HOWL> <16226 DOT 14655 DOT 873792 DOT 418770 AT gargle DOT gargle DOT HOWL>
Mime-Version: 1.0
In-Reply-To: <16226.14655.873792.418770@gargle.gargle.HOWL>
User-Agent: Mutt/1.4.1i

On Fri, Sep 12, 2003 at 04:23:11PM -0500, Pete McCann wrote:
> Pete McCann writes:
>  > Corinna Vinschen writes:
>  > > Can you check how often the function cygwin_posix_to_win32_path_list_buf_size()
>  > > is called?  Does that happen fairly often?
>  > > 
>  > > Corinna
>  > 
>  > That function is called about 600 - 700 times (sometimes as many as
>  > 2000-3000) when I do a simple operation like checking for new mail in
>  > the spool file.  cygheap_max grows steadily with each call.
> 
> And, I don't see a destructor for path_conv that would free
> normalized_path.  Perhaps this is the source of the memory leak?
> Note that a path_conv is created on the stack inside
> conv_path_list_buf_size at path.cc, line 3627.

The problem should be solved in CVS.

Corinna

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

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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