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

Re: Infinite stack recursion on subpool destruction

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2003-10-04 19:06:39 CEST

"D.J. Heap" <dj@shadyvale.net> writes:

> To repro, change a file in a working copy and then remove write/rename
> permissions from the user you run as. Then commit -- this will let
> the commit work, but the post update will fail with 'Access denied'
> and cause the infinite recursion which eventually blows the stack.

The first valgrind error (there are lots more) is

==8488== Invalid read of size 4
==8488== at 0x404250F8: apr_pool_userdata_get (apr_pools.c:1890)
==8488== by 0x4030F52B: get_xlate_handle (../svn/subversion/libsvn_subr/utf.c
==8488== by 0x4030F6C9: get_uton_xlate_handle (../svn/subversion/libsvn_subr/
==8488== by 0x4030FECF: svn_utf_cstring_from_utf8 (../svn/subversion/libsvn_s
==8488== by 0x402FD0AE: svn_cmdline_cstring_from_utf8 (../svn/subversion/libs
==8488== by 0x402FFB89: convert_string_for_output (../svn/subversion/libsvn_s
==8488== by 0x402FFD02: handle_error (../svn/subversion/libsvn_subr/error.c:2
==8488== by 0x402FFD5D: handle_error (../svn/subversion/libsvn_subr/error.c:2
==8488== by 0x402FFD5D: handle_error (../svn/subversion/libsvn_subr/error.c:2
==8488== Address 0x41C58068 is 32 bytes inside a block of size 72 free'd
==8488== at 0x40027C2A: free (vg_replace_malloc.c:220)
==8488== by 0x40424A0E: apr_pool_destroy_debug (apr_pools.c:1512)
==8488== by 0x402FFB21: svn_error_compose (../svn/subversion/libsvn_subr/erro
==8488== by 0x80547E2: svn_cl__cleanup_log_msg (../svn/subversion/clients/cmd
==8488== by 0x804BCD3: svn_cl__commit (../svn/subversion/clients/cmdline/comm
==8488== by 0x804F8CF: main (../svn/subversion/clients/cmdline/main.c:1097)
==8488== by 0x4066E14E: __libc_start_main (in /lib/libc-2.2.5.so)
==8488== by 0x804B1D0: (within /usr/local/subversion/bin/svn)

Philip Martin
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 4 19:07:24 2003

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.