[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: memory leak? ref: merge test 4

From: Greg Stein <gstein_at_gmail.com>
Date: Wed, 17 Feb 2010 20:21:18 -0500

I think the memory usage might actually be our test harness attempting
to read all of the (stderr) output into memory. Thousands and
thousands of lines that read:

svn(56985,0xa0634720) malloc: *** error for object 0x817a00: double free
*** set a breakpoint in malloc_error_break to debug

So maybe svn isn't consuming memory, but is simply generating a
hojillion of these error lines. I forced an abort/coredump, and found
this stack:

#0 0x952e329a in write$NOCANCEL$UNIX2003 ()
#1 0x9538f3ce in malloc_destroy_zone ()
#2 0x9538e8e3 in malloc_zone_print_ptr_info ()
#3 0x9538e943 in malloc_printf ()
#4 0x9538941a in scandir$INODE64 ()
#5 0x952b3523 in malloc_zone_free ()
#6 0x952b338d in free ()
#7 0x004d230c in apr_allocator_destroy (allocator=0x502010) at
memory/unix/apr_pools.c:134
#8 0x000101b5 in main (argc=11, argv=0xbffff0ac) at subversion/svn/main.c:2288

Any ideas?

Cheers,
-g

On Wed, Feb 17, 2010 at 20:07, Greg Stein <gstein_at_gmail.com> wrote:
> I'm running into a problem with merge test 4. Some kind of memory
> leak, or other memory double-free or somesuch.
>
> During the 'svn switch', it just seems to head off into la-la land.
> Consumes a TON of memory before I kill it off.
>
> Has anybody seen this? Ring any bells?
>
> Thx,
> -g
>
Received on 2010-02-18 02:21:53 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.