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

Re: BDB-4.4 and automatic database recovery

From: Branko Čibej <brane_at_xbc.nu>
Date: 2006-01-17 23:32:49 CET

Philip Martin wrote:
> Branko Čibej <brane@xbc.nu> writes:
>
>
>> Could you possibly retest this with r18132? I fixed some allocation
>> problems with bdb_error_info_t since then; this looks like it could be
>> related to them.
>>
>
> Slightly different error with r18132:
>
> $ rm -rf repo && svnadmin create repo --fs-type bdb
> $ valgrind -q --db-attach=yes --num-callers=20 svn import Makefile file://`pwd`/repo/foo
> ==11648== Invalid read of size 4
> ==11648== at 0x1C002011: svn_fs_bdb__open (env.c:671)
> ==11648== by 0x1C00AC97: open_databases (fs.c:533)
> ==11648== by 0x1C00B383: base_open (fs.c:675)
> ==11648== by 0x1BD3FE34: svn_fs_open (fs-loader.c:367)
> ==11648== by 0x1BD2FAFC: get_repos (repos.c:1795)
> ==11648== by 0x1BD2FC2C: svn_repos_open (repos.c:1837)
> ==11648== by 0x1BD14FFE: svn_ra_local__split_URL (split_url.c:130)
> ==11648== by 0x1BD1254C: svn_ra_local__open (ra_plugin.c:280)
> ==11648== by 0x1B971BAB: svn_ra_open2 (ra_loader.c:295)
> ==11648== by 0x1B92DA81: svn_client__open_ra_session_internal (ra.c:290)
> ==11648== by 0x1B916A7B: get_ra_editor (commit.c:589)
> ==11648== by 0x1B916F08: svn_client_import2 (commit.c:707)
> ==11648== by 0x804DF45: svn_cl__import (import-cmd.c:109)
> ==11648== by 0x8052A9F: main (main.c:1374)
> ==11648== Address 0x1C092290 is 8 bytes inside a block of size 12 free'd
> ==11648== at 0x1B906B04: free (vg_replace_malloc.c:152)
> ==11648== by 0x1C001CCE: cleanup_env_baton (env.c:568)
> ==11648== by 0x1BAF6F7C: pool_clear_debug (apr_pools.c:2027)
> ==11648== by 0x1BAF7372: apr_pool_clear_debug (apr_pools.c:1425)
> ==11648== by 0x1B916DF7: svn_client_import2 (commit.c:684)
> ==11648== by 0x804DF45: svn_cl__import (import-cmd.c:109)
> ==11648== by 0x8052A9F: main (main.c:1374)
> ==11648==
>
Hm. It's definitely the bdb_error_info_t. Yikes and Aargh!

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jan 18 01:10:57 2006

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.