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

Re: Assertion failed with svn diff -r BASE:HEAD ^/trunk

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Fri, 20 Apr 2012 12:04:18 +0100

Florent Guiliani <fguiliani_at_verisign.com> writes:

> Just got this with subversion 1.7.4:
>
> $ svn diff -r BASE:HEAD ^/trunk
> svn: E235000: In file
> /build/buildd/subversion-1.7.4/subversion/libsvn_client/diff.c' line
> 1937: assertion failed (! svn_path_is_url(path2))
> Aborted

Happens with Subversion trunk as well:

(gdb) bt
#0 0x00007ffff66091b5 in *__GI_raise (sig=<optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1 0x00007ffff660bfc0 in *__GI_abort () at abort.c:92
#2 0x00007ffff6ffe0a2 in svn_error_abort_on_malfunction (can_return=1,
    file=0x7ffff7bd4128 "../src/subversion/libsvn_client/diff.c", line=2472,
    expr=0x7ffff7bd4671 "! svn_path_is_url(path2)")
    at ../src/subversion/libsvn_subr/error.c:651
#3 0x00007ffff6ffe0fa in svn_error__malfunction (can_return=1,
    file=0x7ffff7bd4128 "../src/subversion/libsvn_client/diff.c", line=2472,
    expr=0x7ffff7bd4671 "! svn_path_is_url(path2)")
    at ../src/subversion/libsvn_subr/error.c:676
#4 0x00007ffff7b91a4e in diff_repos_wc (
    path_or_url1=0x67aed8 "file:///home/pm/sw/subversion/obj/repo/subversion/trunk", revision1=0x7fffffffe6c8, peg_revision=0x7fffffffe3d0,
    path2=0x67aed8 "file:///home/pm/sw/subversion/obj/repo/subversion/trunk",
    revision2=0x7fffffffe6b8, reverse=1, depth=svn_depth_unknown,
    ignore_ancestry=1, show_copies_as_adds=0, use_git_diff_format=0,
    changelists=0x652570, callbacks=0x7ffff7ddd5a0,
    callback_baton=0x7fffffffe250, ctx=0x652bc8, pool=0x6ad1b8)
    at ../src/subversion/libsvn_client/diff.c:2472
#5 0x00007ffff7b92537 in do_diff (callbacks=0x7ffff7ddd5a0,
    callback_baton=0x7fffffffe250, ctx=0x652bc8,
    path_or_url1=0x67aed8 "file:///home/pm/sw/subversion/obj/repo/subversion/trunk",
    path_or_url2=0x67aed8 "file:///home/pm/sw/subversion/obj/repo/subversion/trunk", revision1=0x7fffffffe6b8, revision2=0x7fffffffe6c8,
    peg_revision=0x7fffffffe3d0, depth=svn_depth_unknown, ignore_ancestry=1,
    show_copies_as_adds=0, use_git_diff_format=0, changelists=0x652570,
    pool=0x6ad1b8) at ../src/subversion/libsvn_client/diff.c:2641
#6 0x00007ffff7b9351a in svn_client_diff_peg6 (options=0x0,
    path_or_url=0x67aed8 "file:///home/pm/sw/subversion/obj/repo/subversion/trunk", peg_revision=0x7fffffffe3d0, start_revision=0x7fffffffe6b8,
    end_revision=0x7fffffffe6c8, relative_to_dir=0x0, depth=svn_depth_unknown,
    ignore_ancestry=1, no_diff_deleted=0, show_copies_as_adds=0,
    ignore_content_type=0, ignore_prop_diff=0, use_git_diff_format=0,
    header_encoding=0x1 <Address 0x1 out of bounds>, outstream=0x680fe8,
    errstream=0x6810b8, changelists=0x652570, ctx=0x652bc8, pool=0x6ad1b8)
    at ../src/subversion/libsvn_client/diff.c:3042
#7 0x000000000040da36 in svn_cl__diff (os=0x6524d0, baton=0x7fffffffe690,
    pool=0x652278) at ../src/subversion/svn/diff-cmd.c:410
#8 0x0000000000416df2 in main (argc=4, argv=0x7fffffffea28)
    at ../src/subversion/svn/main.c:2691

-- 
Philip
Received on 2012-04-20 13:04:55 CEST

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

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