SEGV in conv_path_list_buf_size with xemacs-21.5-b13 and cygwin-snapshot-20030904-1

Corinna Vinschen corinna-cygwin@cygwin.com
Sat Sep 13 08:44:00 GMT 2003


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@cygwin.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/



More information about the Cygwin mailing list