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

Re: 'svn cp URL@REV .' gives segfault

From: Philip Martin <philip_at_codematters.co.uk>
Date: Wed, 07 May 2008 22:21:02 +0100

Karl Fogel <kfogel_at_red-bean.com> writes:

> "Ben Collins-Sussman" <sussman_at_red-bean.com> writes:
>> Oh, that's because earlier today I used a 1.4 svn client to restore
>> the file in question to HEAD, and committed that as r1000.
>>
>> If you checkout r999, you should be able to reproduce. :-)
>
> Nope, still no luck:
>
> $ ls -a
> ./ ../
> $ alias ns
> alias ns='/home/kfogel/src/subversion/subversion/svn/svn'
> $ ns co -r999 http://louisianasurvey.googlecode.com/svn/wiki
> A wiki/CheatersCrawfishTales.wiki
> A wiki/PhoebeTrotterCajunWentToHarvard.wiki
> [...]
> A wiki/Domestic.wiki
> A wiki/NickFontenotStoryofJimMac.wiki
> Checked out revision 999.
> $ cd wiki
> $ ns info
> Path: .
> URL: http://louisianasurvey.googlecode.com/svn/wiki
> Repository Root: http://louisianasurvey.googlecode.com/svn
> Repository UUID: bda46f0f-6747-0410-af68-6f51a0f76bc8
> Revision: 999
> Node Kind: directory
> Schedule: normal
> Last Changed Author: lac5357_at_louisiana.edu
> Last Changed Rev: 999
> Last Changed Date: 2008-05-07 13:21:23 -0400 (Wed, 07 May 2008)
>
> $ ns cp http://louisianasurvey.googlecode.com/svn/wiki/foodways.wiki@248 .
> A foodways.wiki
> $ ns st -q
> A + foodways.wiki
> $
>
> (The above is at http://paste.lisp.org/display/60408)

I cannot reproduce the SEGV either, but using a trunk_at_31079 client and
ra_serf I get the following valgrind errors on the checkout:

$ valgrind -q subversion/svn/.libs/lt-svn co -r999 http://louisianasurvey.googlecode.com/svn/wiki
A wiki/CheatersCrawfishTales.wiki
[...]
A wiki/FranzShriner.wiki
Checked out revision 999.
==7289== Invalid read of size 8
==7289== at 0x7E54531: serf_connection_close (context.c:1248)
==7289== by 0x62DD95D: svn_ra_serf__cleanup_serf_session (util.c:357)
==7289== by 0x53671AC: (within /usr/lib/libapr-1.so.0.2.7)
==7289== by 0x53677BC: apr_pool_destroy (in /usr/lib/libapr-1.so.0.2.7)
==7289== by 0x53677AA: apr_pool_destroy (in /usr/lib/libapr-1.so.0.2.7)
==7289== by 0x406FFF: svn_cl__checkout (checkout-cmd.c:169)
==7289== by 0x411609: main (main.c:1981)
==7289== Address 0x8722F48 is 56 bytes inside a block of size 8,192 free'd
==7289== at 0x4A1B46D: free (vg_replace_malloc.c:233)
==7289== by 0x5367766: apr_allocator_free (in /usr/lib/libapr-1.so.0.2.7)
==7289== by 0x7E57845: allocator_cleanup (allocator.c:107)
==7289== by 0x53671AC: (within /usr/lib/libapr-1.so.0.2.7)
==7289== by 0x53677BC: apr_pool_destroy (in /usr/lib/libapr-1.so.0.2.7)
==7289== by 0x53677AA: apr_pool_destroy (in /usr/lib/libapr-1.so.0.2.7)
==7289== by 0x406FFF: svn_cl__checkout (checkout-cmd.c:169)
==7289== by 0x411609: main (main.c:1981)
==7289==
==7289== Invalid read of size 8
==7289== at 0x7E56394: serf_default_destroy_and_data (buckets.c:115)
==7289== by 0x7E54536: serf_connection_close (context.c:1248)
==7289== by 0x62DD95D: svn_ra_serf__cleanup_serf_session (util.c:357)
==7289== by 0x53671AC: (within /usr/lib/libapr-1.so.0.2.7)
==7289== by 0x53677BC: apr_pool_destroy (in /usr/lib/libapr-1.so.0.2.7)
==7289== by 0x53677AA: apr_pool_destroy (in /usr/lib/libapr-1.so.0.2.7)
==7289== by 0x406FFF: svn_cl__checkout (checkout-cmd.c:169)
==7289== by 0x411609: main (main.c:1981)
==7289== Address 0x8722F50 is 64 bytes inside a block of size 8,192 free'd
==7289== at 0x4A1B46D: free (vg_replace_malloc.c:233)
==7289== by 0x5367766: apr_allocator_free (in /usr/lib/libapr-1.so.0.2.7)
==7289== by 0x7E57845: allocator_cleanup (allocator.c:107)
==7289== by 0x53671AC: (within /usr/lib/libapr-1.so.0.2.7)
==7289== by 0x53677BC: apr_pool_destroy (in /usr/lib/libapr-1.so.0.2.7)
==7289== by 0x53677AA: apr_pool_destroy (in /usr/lib/libapr-1.so.0.2.7)
==7289== by 0x406FFF: svn_cl__checkout (checkout-cmd.c:169)
==7289== by 0x411609: main (main.c:1981)
==7289==
==7289== Invalid read of size 8
==7289== at 0x7E56398: serf_default_destroy_and_data (buckets.c:115)
==7289== by 0x7E54536: serf_connection_close (context.c:1248)
==7289== by 0x62DD95D: svn_ra_serf__cleanup_serf_session (util.c:357)
==7289== by 0x53671AC: (within /usr/lib/libapr-1.so.0.2.7)
==7289== by 0x53677BC: apr_pool_destroy (in /usr/lib/libapr-1.so.0.2.7)
==7289== by 0x53677AA: apr_pool_destroy (in /usr/lib/libapr-1.so.0.2.7)
==7289== by 0x406FFF: svn_cl__checkout (checkout-cmd.c:169)
==7289== by 0x411609: main (main.c:1981)
==7289== Address 0x8722F58 is 72 bytes inside a block of size 8,192 free'd
==7289== at 0x4A1B46D: free (vg_replace_malloc.c:233)
==7289== by 0x5367766: apr_allocator_free (in /usr/lib/libapr-1.so.0.2.7)
==7289== by 0x7E57845: allocator_cleanup (allocator.c:107)
==7289== by 0x53671AC: (within /usr/lib/libapr-1.so.0.2.7)
==7289== by 0x53677BC: apr_pool_destroy (in /usr/lib/libapr-1.so.0.2.7)
==7289== by 0x53677AA: apr_pool_destroy (in /usr/lib/libapr-1.so.0.2.7)
==7289== by 0x406FFF: svn_cl__checkout (checkout-cmd.c:169)
==7289== by 0x411609: main (main.c:1981)
==7289==
==7289== Invalid read of size 8
==7289== at 0x7E56383: serf_default_destroy (buckets.c:110)
==7289== by 0x7E54536: serf_connection_close (context.c:1248)
==7289== by 0x62DD95D: svn_ra_serf__cleanup_serf_session (util.c:357)
==7289== by 0x53671AC: (within /usr/lib/libapr-1.so.0.2.7)
==7289== by 0x53677BC: apr_pool_destroy (in /usr/lib/libapr-1.so.0.2.7)
==7289== by 0x53677AA: apr_pool_destroy (in /usr/lib/libapr-1.so.0.2.7)
==7289== by 0x406FFF: svn_cl__checkout (checkout-cmd.c:169)
==7289== by 0x411609: main (main.c:1981)
==7289== Address 0x8722F58 is 72 bytes inside a block of size 8,192 free'd
==7289== at 0x4A1B46D: free (vg_replace_malloc.c:233)
==7289== by 0x5367766: apr_allocator_free (in /usr/lib/libapr-1.so.0.2.7)
==7289== by 0x7E57845: allocator_cleanup (allocator.c:107)
==7289== by 0x53671AC: (within /usr/lib/libapr-1.so.0.2.7)
==7289== by 0x53677BC: apr_pool_destroy (in /usr/lib/libapr-1.so.0.2.7)
==7289== by 0x53677AA: apr_pool_destroy (in /usr/lib/libapr-1.so.0.2.7)
==7289== by 0x406FFF: svn_cl__checkout (checkout-cmd.c:169)
==7289== by 0x411609: main (main.c:1981)
==7289==
==7289== Invalid read of size 8
==7289== at 0x7E577D4: serf_bucket_mem_free (allocator.c:217)
==7289== by 0x7E54536: serf_connection_close (context.c:1248)
==7289== by 0x62DD95D: svn_ra_serf__cleanup_serf_session (util.c:357)
==7289== by 0x53671AC: (within /usr/lib/libapr-1.so.0.2.7)
==7289== by 0x53677BC: apr_pool_destroy (in /usr/lib/libapr-1.so.0.2.7)
==7289== by 0x53677AA: apr_pool_destroy (in /usr/lib/libapr-1.so.0.2.7)
==7289== by 0x406FFF: svn_cl__checkout (checkout-cmd.c:169)
==7289== by 0x411609: main (main.c:1981)
==7289== Address 0x8722F38 is 40 bytes inside a block of size 8,192 free'd
==7289== at 0x4A1B46D: free (vg_replace_malloc.c:233)
==7289== by 0x5367766: apr_allocator_free (in /usr/lib/libapr-1.so.0.2.7)
==7289== by 0x7E57845: allocator_cleanup (allocator.c:107)
==7289== by 0x53671AC: (within /usr/lib/libapr-1.so.0.2.7)
==7289== by 0x53677BC: apr_pool_destroy (in /usr/lib/libapr-1.so.0.2.7)
==7289== by 0x53677AA: apr_pool_destroy (in /usr/lib/libapr-1.so.0.2.7)
==7289== by 0x406FFF: svn_cl__checkout (checkout-cmd.c:169)
==7289== by 0x411609: main (main.c:1981)
==7289==
==7289== Invalid write of size 8
==7289== at 0x7E57809: serf_bucket_mem_free (allocator.c:224)
==7289== by 0x7E54536: serf_connection_close (context.c:1248)
==7289== by 0x62DD95D: svn_ra_serf__cleanup_serf_session (util.c:357)
==7289== by 0x53671AC: (within /usr/lib/libapr-1.so.0.2.7)
==7289== by 0x53677BC: apr_pool_destroy (in /usr/lib/libapr-1.so.0.2.7)
==7289== by 0x53677AA: apr_pool_destroy (in /usr/lib/libapr-1.so.0.2.7)
==7289== by 0x406FFF: svn_cl__checkout (checkout-cmd.c:169)
==7289== by 0x411609: main (main.c:1981)
==7289== Address 0x8722F38 is 40 bytes inside a block of size 8,192 free'd
==7289== at 0x4A1B46D: free (vg_replace_malloc.c:233)
==7289== by 0x5367766: apr_allocator_free (in /usr/lib/libapr-1.so.0.2.7)
==7289== by 0x7E57845: allocator_cleanup (allocator.c:107)
==7289== by 0x53671AC: (within /usr/lib/libapr-1.so.0.2.7)
==7289== by 0x53677BC: apr_pool_destroy (in /usr/lib/libapr-1.so.0.2.7)
==7289== by 0x53677AA: apr_pool_destroy (in /usr/lib/libapr-1.so.0.2.7)
==7289== by 0x406FFF: svn_cl__checkout (checkout-cmd.c:169)
==7289== by 0x411609: main (main.c:1981)
==7289==
==7289== Invalid write of size 8
==7289== at 0x7E57811: serf_bucket_mem_free (allocator.c:219)
==7289== by 0x7E54536: serf_connection_close (context.c:1248)
==7289== by 0x62DD95D: svn_ra_serf__cleanup_serf_session (util.c:357)
==7289== by 0x53671AC: (within /usr/lib/libapr-1.so.0.2.7)
==7289== by 0x53677BC: apr_pool_destroy (in /usr/lib/libapr-1.so.0.2.7)
==7289== by 0x53677AA: apr_pool_destroy (in /usr/lib/libapr-1.so.0.2.7)
==7289== by 0x406FFF: svn_cl__checkout (checkout-cmd.c:169)
==7289== by 0x411609: main (main.c:1981)
==7289== Address 0x8722F40 is 48 bytes inside a block of size 8,192 free'd
==7289== at 0x4A1B46D: free (vg_replace_malloc.c:233)
==7289== by 0x5367766: apr_allocator_free (in /usr/lib/libapr-1.so.0.2.7)
==7289== by 0x7E57845: allocator_cleanup (allocator.c:107)
==7289== by 0x53671AC: (within /usr/lib/libapr-1.so.0.2.7)
==7289== by 0x53677BC: apr_pool_destroy (in /usr/lib/libapr-1.so.0.2.7)
==7289== by 0x53677AA: apr_pool_destroy (in /usr/lib/libapr-1.so.0.2.7)
==7289== by 0x406FFF: svn_cl__checkout (checkout-cmd.c:169)
==7289== by 0x411609: main (main.c:1981)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-05-07 23:21:48 CEST

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.