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

Re: Breakage on trunk?

From: John Beranek <john_at_redux.org.uk>
Date: Fri, 04 Mar 2011 21:33:08 +0000

On 04/03/2011 15:07, Daniel Shahaf wrote:
> John Beranek wrote on Fri, Mar 04, 2011 at 14:49:48 +0000:
>> On 04/03/11 14:44, Daniel Shahaf wrote:
>>> John Beranek wrote on Thu, Mar 03, 2011 at 17:54:04 +0000:
>>>> Hi,
>>>> This afternoon, I checked out the trunk from Subversion in order to
>>>> build a dev system running 1.7.
>>>> I updated a sandbox I had lying around, made it 'extraclean', built and
>>>> installed serf 0.7.1, ran autogen.sh, ran configure (with --prefix
>>>> /usr/local/subversion-1.7 --with-serf=/usr/local), built and installed
>>>> Subversion.
>>>> All of this was done on a Fedora 14 x86_64 system. What I got for my
>>>> troubles was assertion failures when trying a commit with either
>>>> Apache+mod_dav_svn or with svnserve. The assertion failure in question is:
>>>> subversion/libsvn_subr/svn_temp_serializer.c:282:
>>>> svn_temp_deserializer__resolve: Assertion `*ptr > buffer' failed.
>>> What are *PTR and BUFFER at that point?
>> Both are optimised out:
> Okay. Perhaps you could try to localize the bug --- whether it's in the
> temp_serializer framework itself, or in one of its callers? For
> example, if you make dag_node_cache_get() always return NULL, do you
> still get assertions from other users of the cache?

Yes, still more assertions with the change you suggest above:

#0 0x0000003786c330c5 in raise () from /lib64/libc.so.6
#1 0x0000003786c34a76 in abort () from /lib64/libc.so.6
#2 0x0000003786c2b905 in __assert_fail () from /lib64/libc.so.6
#3 0x00007ffff5b8850b in svn_temp_deserializer__resolve (
    buffer=<value optimized out>, ptr=<value optimized out>)
    at subversion/libsvn_subr/svn_temp_serializer.c:282
#4 0x00007ffff6403625 in deserialize_id_private (
    buffer=<value optimized out>, id=0x7fffffffdc08)
    at subversion/libsvn_fs_fs/id.c:370
#5 svn_fs_fs__id_deserialize (buffer=<value optimized out>,
    at subversion/libsvn_fs_fs/id.c:397
#6 0x00007ffff640625a in svn_fs_fs__deserialize_id (out=0x7fffffffdd48,
    data=<value optimized out>, data_len=<value optimized out>,
    pool=<value optimized out>)
    at subversion/libsvn_fs_fs/temp_serializer.c:588
#7 0x00007ffff5b60716 in membuffer_cache_get (value_p=0x7fffffffdd48,
    found=0x7fffffffdcfc, cache_void=0x648020, key=<value optimized out>,
    pool=0x7fdbd8) at subversion/libsvn_subr/cache-membuffer.c:987
#8 svn_membuffer_cache_get (value_p=0x7fffffffdd48, found=0x7fffffffdcfc,
    cache_void=0x648020, key=<value optimized out>, pool=0x7fdbd8)
    at subversion/libsvn_subr/cache-membuffer.c:1140
#9 0x00007ffff5b6188b in svn_cache__get (value_p=<value optimized out>,
    found=<value optimized out>, cache=0x648000, key=<value optimized out>,
    pool=0x7fdbd8) at subversion/libsvn_subr/cache.c:61
#10 0x00007ffff63fdc1d in svn_fs_fs__rev_get_root (root_id_p=0x7fffffffdd48,
    fs=0x61a700, rev=0, pool=0x7fdbd8) at
#11 0x00007ffff63f3bc6 in svn_fs_fs__dag_revision_root
    fs=0x61a700, rev=<value optimized out>, pool=0x7fdbd8)
    at subversion/libsvn_fs_fs/dag.c:605
#12 0x00007ffff6407bd3 in svn_fs_fs__revision_root (root_p=0x7fffffffde00,
    fs=0x61a700, rev=0, pool=0x7fdbd8) at subversion/libsvn_fs_fs/tree.c:315
#13 0x00007ffff640b1d3 in svn_fs_fs__commit_txn (conflict_p=0x0,
    new_rev=0x7fffffffdfc0, txn=0x75adb8, pool=<value optimized out>)
    at subversion/libsvn_fs_fs/tree.c:1680
#14 0x00007ffff72e4b56 in svn_repos_fs_commit_txn (conflict_p=0x0,
    repos=0x60e810, new_rev=0x7fffffffdfc0, txn=0x75adb8, pool=0x60d288)
    at subversion/libsvn_repos/fs-wrap.c:59
#15 0x0000000000403021 in test_patch (opts=<value optimized out>,
    pool=0x60d288) at subversion/tests/libsvn_client/client-test.c:343
#16 0x00007ffff7df9b23 in do_test_num (
    progname=0x7fffffffe602 "lt-client-test", test_num=3, msg_only=0,
    opts=0x7fffffffe1c0, header_msg=<value optimized out>, pool=0x60d288)
    at subversion/tests/svn_test_main.c:274
#17 0x00007ffff7dfa27d in main (argc=1, argv=0x7fffffffe318)
    at subversion/tests/svn_test_main.c:543
#18 0x0000003786c1ee5d in __libc_start_main () from /lib64/libc.so.6
#19 0x0000000000401ec9 in _start ()

> Daniel
> (shooting in the dark)

John Beranek                         To generalise is to be an idiot.
http://redux.org.uk/                                 -- William Blake
Received on 2011-03-04 22:33:45 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.