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

Re: Subversion test results.

From: Gavin Baumanis <gavinb_at_thespidernet.com>
Date: Fri, 13 Nov 2009 08:00:17 +1100

I'm sure on some other planet at the moment..
That's my excuse and I am sticking to it!

I have followed your recipe implicitly ad now I get;
[beau_at_MacBook:~/SUBVERSION/svn-src] $ subversion/svn/svn import -mm Makefile file://`pwd`/repo
svn: Path 'file:///Users/beau/SUBVERSION/svn-src/repo' already exists

I wasn't familiar with your usage of import so I used;
subversion/svn/svn import -m 'initial import' /Library/WebServer/Documents/ file:///`pwd`/repo
Segmentation fault

(gdb)r import -m 'initial import' /Library/WebServer/Documents/ file:///`pwd`/repo
Starting program: /Users/beau/SUBVERSION/svn-src/subversion/svn/.libs/svn import -m 'initial import' /Library/WebServer/Documents/ file:///`pwd`/repo
Reading symbols for shared libraries .+++++++++++++++++++++++++......................... done

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000
0x00007fff86704cc0 in strlen ()

#0 0x00007fff86704cc0 in strlen ()
#1 0x000000010046d594 in apr_vformatter ()
#2 0x000000010047743c in apr_pvsprintf ()
#3 0x00000001004776db in apr_psprintf ()
#4 0x0000000100172f01 in representation_string (rep=0x1008858b8, format=<value temporarily unavailable, due to optimizations>, mutable_rep_truncated=<value temporarily unavailable, due to optimizations>, pool=0x100883e28) at subversion/libsvn_fs_fs/fs_fs.c:2163
#5 0x000000010017301b in svn_fs_fs__write_noderev (outfile=0x100888e48, noderev=0x100885800, format=4, include_mergeinfo=1, pool=0x100883e28) at subversion/libsvn_fs_fs/fs_fs.c:2206
#6 0x0000000100174e25 in svn_fs_fs__put_node_revision (fs=0x100871e30, id=<value temporarily unavailable, due to optimizations>, noderev=0x100885800, fresh_txn_root=<value temporarily unavailable, due to optimizations>, pool=0x100883e28) at subversion/libsvn_fs_fs/fs_fs.c:2272
#7 0x0000000100176b10 in create_new_txn_noderev_from_rev (fs=0x100871e30, txn_id=0x100884308 "0-1", src=<value temporarily unavailable, due to optimizations>, pool=0x100883e28) at subversion/libsvn_fs_fs/fs_fs.c:4163
#8 0x0000000100178d4e in svn_fs_fs__create_txn (txn_p=0x100883f08, fs=0x100871e30, rev=0, pool=0x100883e28) at subversion/libsvn_fs_fs/fs_fs.c:4336
#9 0x0000000100178fe2 in svn_fs_fs__begin_txn (txn_p=0x100883f08, fs=0x100871e30, rev=0, flags=2, pool=0x100883e28) at subversion/libsvn_fs_fs/fs_fs.c:7035
#10 0x00000001001363c6 in svn_repos_fs_begin_txn_for_commit2 (txn_p=0x100883f08, repos=0x10086a498, rev=0, revprop_table=0x100883f38, pool=0x100883e28) at subversion/libsvn_repos/fs-wrap.c:90
#11 0x000000010013108a in open_root (edit_baton=0x100883ea8, base_revision=-1, pool=0x100869e28, root_baton=0x7fff5fbfe618) at subversion/libsvn_repos/commit.c:189
#12 0x000000010003e9c7 in import [inlined] () at /Users/beau/SUBVERSION/svn-src/subversion/libsvn_client/commit.c:501
#13 0x000000010003e9c7 in svn_client_import3 (commit_info_p=0x7fff5fbfe6d0, path=0x100862d20 "/Library/WebServer/Documents", url=0x100867e58 "file:///Users/beau/SUBVERSION/svn-src/repo", depth=svn_depth_infinity, no_ignore=0, ignore_unknown_node_types=0, revprop_table=0x0, ctx=0x1008573f8, pool=0x100856e28) at subversion/libsvn_client/commit.c:786
#14 0x0000000100005c98 in svn_cl__import (os=<value temporarily unavailable, due to optimizations>, baton=<value temporarily unavailable, due to optimizations>, pool=0x100856e28) at subversion/svn/import-cmd.c:119
#15 0x000000010000a2e2 in main (argc=<value temporarily unavailable, due to optimizations>, argv=<value temporarily unavailable, due to optimizations>) at subversion/svn/main.c:2195


On 13/11/2009, at 01:15 , Philip Martin wrote:

> Gavin Baumanis <gavinb_at_thespidernet.com> writes:
>> CMD: svnadmin create svn-test-work/local_tmp/repos --bdb-txn-nosync
>> <TIME = 0.067775>
>> CMD: svn import -m "Log message for revision 1." svn-test-work/local_tmp/greekfiles file:///Users/beau/SUBVERSION/svn-src/subversion/tests/cmdline/svn-test-work/local_tmp/repos --config-dir /Users/beau/SUBVERSION/svn-src/subversion/tests/cmdline/svn-test-work/local_tmp/config --password rayjandom --no-auth-cache --username jrandom
>> CMD: /Users/beau/SUBVERSION/svn-src/subversion/svn/svn import -m Log message for revision 1. svn-test-work/local_tmp/greekfiles file:///Users/beau/SUBVERSION/svn-src/subversion/tests/cmdline/svn-test-work/local_tmp/repos --config-dir /Users/beau/SUBVERSION/svn-src/subversion/tests/cmdline/svn-test-work/local_tmp/config --password rayjandom --no-auth-cache --username jrandom terminated by signal 11
> Signal 11 is a SEGV. It appears that the svn command line program
> doesn't work at all, although svnadmin does. In the root directory of
> your build do:
> $ rm -rf repo
> $ subversion/svnadmin/svnadmin create repo
> $ subversion/svn/svn import -mm Makefile file://`pwd`/repo
> Does the import work or SEGV? If it SEGVs do
> $ libtool --mode=execute gdb subversion/svn/svn
> (gdb) r import -mm Makefile file://`pwd`/repo
> Caught SEGV
> (gdb) bt
> to generate a backtrace.
> --
> Philip
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2417052

Received on 2009-11-12 22:00:41 CET

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