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

Re: test failure 1.6.14 (svnsync test 29 with bdb; copyfrom)

From: Paul Burba <ptburba_at_gmail.com>
Date: Wed, 17 Nov 2010 19:32:44 -0500

Fails for me too:

C:\SVN\src-branch-1.6.x>run.python.test.RELEASE.bat svnsync 29 -v --fs-type bdb

C:\SVN\src-branch-1.6.x>set TESTNAME=svnsync

C:\SVN\src-branch-1.6.x>set CONFIG=Release

C:\SVN\src-branch-1.6.x>if not exist Release\subversion\tests\cmdline
mkdir Release\subversion\tests\cmdline

C:\SVN\src-branch-1.6.x>pushd Release\subversion\tests\cmdline

C:\SVN\src-branch-1.6.x\Release\subversion\tests\cmdline>python
C:\SVN\src-branch-1.6.x\\subversion\tests\cmdline\svnsync_tests.py 29
-v --fs-type bdb
CMD: svnadmin.exe create "svn-test-work\local_tmp\repos"
--bdb-txn-nosync "--fs-type=bdb" <TIME = 0.235000>
CMD: svn.exe import -m "Log message for revision 1."
"svn-test-work\local_tmp\greekfiles"
"file:///C%3A/SVN/src-branch-1.6.x/Release/subversion/tests/cmdline/sv
n-test-work/local_tmp/repos" --config-dir
"C:\SVN\src-branch-1.6.x\Release\subversion\tests\cmdline\svn-test-work\local_tmp\config"
--password rayjandom --no-au
th-cache --username jrandom <TIME = 0.073000>
Adding svn-test-work\local_tmp\greekfiles\A
Adding svn-test-work\local_tmp\greekfiles\A\B
Adding svn-test-work\local_tmp\greekfiles\A\B\lambda
Adding svn-test-work\local_tmp\greekfiles\A\B\E
Adding svn-test-work\local_tmp\greekfiles\A\B\E\alpha
Adding svn-test-work\local_tmp\greekfiles\A\B\E\beta
Adding svn-test-work\local_tmp\greekfiles\A\B\F
Adding svn-test-work\local_tmp\greekfiles\A\mu
Adding svn-test-work\local_tmp\greekfiles\A\C
Adding svn-test-work\local_tmp\greekfiles\A\D
Adding svn-test-work\local_tmp\greekfiles\A\D\gamma
Adding svn-test-work\local_tmp\greekfiles\A\D\G
Adding svn-test-work\local_tmp\greekfiles\A\D\G\pi
Adding svn-test-work\local_tmp\greekfiles\A\D\G\rho
Adding svn-test-work\local_tmp\greekfiles\A\D\G\tau
Adding svn-test-work\local_tmp\greekfiles\A\D\H
Adding svn-test-work\local_tmp\greekfiles\A\D\H\chi
Adding svn-test-work\local_tmp\greekfiles\A\D\H\omega
Adding svn-test-work\local_tmp\greekfiles\A\D\H\psi
Adding svn-test-work\local_tmp\greekfiles\iota

Committed revision 1.
CMD: svnadmin.exe create "svn-test-work\repositories\svnsync_tests-29"
--bdb-txn-nosync "--fs-type=bdb" <TIME = 0.141000>
CMD: svnadmin.exe load --force-uuid --quiet
"svn-test-work\repositories\svnsync_tests-29" <TIME = 0.063000>
CMD: svnadmin.exe create
"svn-test-work\repositories\svnsync_tests-29-1" --bdb-txn-nosync
"--fs-type=bdb" <TIME = 0.161000>
CMD: svnlook.exe uuid "svn-test-work\repositories\svnsync_tests-29"
<TIME = 0.025000>
b105e986-03ce-ba4b-b01a-b7a10dd0b7f5
CMD: svnadmin.exe setuuid
"svn-test-work\repositories\svnsync_tests-29-1"
b105e986-03ce-ba4b-b01a-b7a10dd0b7f5 <TIME = 0.026000>
CMD: svnsync.exe initialize
"file:///C%3A/SVN/src-branch-1.6.x/Release/subversion/tests/cmdline/svn-test-work/repositories/svnsync_tests-29-1"
"file:///C%3A/SVN
/src-branch-1.6.x/Release/subversion/tests/cmdline/svn-test-work/repositories/svnsync_tests-29/trunk/H"
--username jrandom --password rayjandom --config-dir "C:
\SVN\src-branch-1.6.x\Release\subversion\tests\cmdline\svn-test-work\local_tmp\config"
<TIME = 0.314000>
Copied properties for revision 0.
CMD: svnsync.exe synchronize
"file:///C%3A/SVN/src-branch-1.6.x/Release/subversion/tests/cmdline/svn-test-work/repositories/svnsync_tests-29-1"
--username jrand
om --password rayjandom --config-dir
"C:\SVN\src-branch-1.6.x\Release\subversion\tests\cmdline\svn-test-work\local_tmp\config"
CMD: C:\SVN\src-branch-1.6.x\Rele
ase\subversion\svnsync\svnsync.exe synchronize
"file:///C%3A/SVN/src-branch-1.6.x/Release/subversion/tests/cmdline/svn-test-work/repositories/svnsync_tests-29-1
" --username jrandom --password rayjandom --config-dir
"C:\SVN\src-branch-1.6.x\Release\subversion\tests\cmdline\svn-test-work\local_tmp\config"
exited with 3
<TIME = 7.829000>
Committed revision 1.
Copied properties for revision 1.
Committed revision 2.
Copied properties for revision 2.
Transmitting file data .svn: In file
'..\..\..\subversion\libsvn_repos\replay.c' line 224: assertion failed
(change->copyfrom_known)

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
EXCEPTION: SVNUnexpectedStderr: ["svn: In file
'..\\..\\..\\subversion\\libsvn_repos\\replay.c' line 224: assertion
failed (change->copyfrom_known)\n", '\n', 'T
his application has requested the Runtime to terminate it in an
unusual way.\n', "Please contact the application's support team for
more information.\n"]
Traceback (most recent call last):
  File "C:\SVN\src-branch-1.6.x\subversion\tests\cmdline\svntest\main.py",
line 1227, in run
    rc = self.pred.run(**kw)
  File "C:\SVN\src-branch-1.6.x\subversion\tests\cmdline\svntest\testcase.py",
line 121, in run
    return self.func(sandbox)
  File "C:\SVN\src-branch-1.6.x\\subversion\tests\cmdline\svnsync_tests.py",
line 768, in descend_into_replace
    exp_dump_file_name = "descend_into_replace.expected.dump")
  File "C:\SVN\src-branch-1.6.x\\subversion\tests\cmdline\svnsync_tests.py",
line 159, in run_test
    run_sync(dest_sbox.repo_url)
  File "C:\SVN\src-branch-1.6.x\\subversion\tests\cmdline\svnsync_tests.py",
line 58, in run_sync
    raise SVNUnexpectedStderr(errput)
SVNUnexpectedStderr: ["svn: In file
'..\\..\\..\\subversion\\libsvn_repos\\replay.c' line 224: assertion
failed (change->copyfrom_known)\n", '\n', 'This applica
tion has requested the Runtime to terminate it in an unusual way.\n',
"Please contact the application's support team for more
information.\n"]
FAIL: svnsync_tests.py 29: descending into replaced dir looks in src

On Wed, Nov 17, 2010 at 6:54 PM, Stefan Sperling <stsp_at_elego.de> wrote:
> With BDB, svnsync crashes as follows during during svnsync test 29.
> It only happens with BDB. Running "./svnsync_tests.py 29 --fs-type=bdb"
> triggers the problem for me on the 1.6.x branch, too.
>
> I guess this could be related to this backport item:
>   * improve svnsync handling of dir copies (r962377, -8)
>
> Details follow:
>
> SVNProcessTerminatedBySignal
> FAIL:  svnsync_tests.py 29: descending into replaced dir looks in src
>
> #0  0x000000020f08ed0a in kill () from /usr/lib/libc.so.58.0
> (gdb) up
> #1  0x000000020f0e5bb1 in abort () at /usr/src/lib/libc/stdlib/abort.c:68
> 68              (void)kill(getpid(), SIGABRT);
> (gdb)
> #2  0x00000002020a87fd in svn_error_abort_on_malfunction (can_return=Could not find the frame base for "svn_error_abort_on_malfunction".
> )
>    at subversion/libsvn_subr/error.c:525
> 525       abort();
> (gdb)
> #3  0x00000002020a884e in svn_error__malfunction (can_return=1,
>    file=0x201d7ff68 "subversion/libsvn_repos/replay.c", line=224,
>    expr=0x201d7ff50 "change->copyfrom_known")
>    at subversion/libsvn_subr/error.c:548
> 548       return malfunction_handler(can_return, file, line, expr);
> (gdb)
> #4  0x0000000201c7490a in add_subdir (source_root=0x20dbb60a0,
>    target_root=0x2013790a0, editor=0x20aa28868, edit_baton=0x20aa288e8,
>    path=0x2090df2a1 "trunk/H", parent_baton=0x20a8a90a0,
>    source_path=0x2075150d0 "/trunk/A", authz_read_func=0,
>    authz_read_baton=0x0, changed_paths=0x20aa28968, pool=0x207515028,
>    dir_baton=0x7f7ffffec3b8) at subversion/libsvn_repos/replay.c:224
> 224                   SVN_ERR_ASSERT(change->copyfrom_known);
> (gdb) p change->copyfrom_known
> $1 = 0
> (gdb) bt
> #0  0x000000020f08ed0a in kill () from /usr/lib/libc.so.58.0
> #1  0x000000020f0e5bb1 in abort () at /usr/src/lib/libc/stdlib/abort.c:68
> #2  0x00000002020a87fd in svn_error_abort_on_malfunction (can_return=Could not find the frame base for "svn_error_abort_on_malfunction".
> )
>    at subversion/libsvn_subr/error.c:525
> #3  0x00000002020a884e in svn_error__malfunction (can_return=1,
>    file=0x201d7ff68 "subversion/libsvn_repos/replay.c", line=224,
>    expr=0x201d7ff50 "change->copyfrom_known")
>    at subversion/libsvn_subr/error.c:548
> #4  0x0000000201c7490a in add_subdir (source_root=0x20dbb60a0,
>    target_root=0x2013790a0, editor=0x20aa28868, edit_baton=0x20aa288e8,
>    path=0x2090df2a1 "trunk/H", parent_baton=0x20a8a90a0,
>    source_path=0x2075150d0 "/trunk/A", authz_read_func=0,
>    authz_read_baton=0x0, changed_paths=0x20aa28968, pool=0x207515028,
>    dir_baton=0x7f7ffffec3b8) at subversion/libsvn_repos/replay.c:224
> #5  0x0000000201c753b0 in path_driver_cb_func (dir_baton=0x7f7ffffec3b8,
>    parent_baton=0x20a8a90a0, callback_baton=0x7f7ffffec440,
>    path=0x2090df2a1 "trunk/H", pool=0x207515028)
>    at subversion/libsvn_repos/replay.c:465
> #6  0x000000020fb59ec9 in svn_delta_path_driver (editor=0x20aa28868,
>    edit_baton=0x20aa288e8, revision=-1, paths=0x20aa28938,
>    callback_func=0x201c74ea5 <path_driver_cb_func>,
>    callback_baton=0x7f7ffffec440, pool=0x207512028)
>    at subversion/libsvn_delta/path_driver.c:245
> #7  0x0000000201c76123 in svn_repos_replay2 (root=0x2013790a0,
>    base_path=0x2090de789 "trunk/H", low_water_mark=0, send_deltas=1,
>    editor=0x20aa28868, edit_baton=0x20aa288e8, authz_read_func=0,
>    authz_read_baton=0x0, pool=0x207512028)
>    at subversion/libsvn_repos/replay.c:791
> #8  0x00000002052e5c00 in svn_ra_local__replay (session=0x2028e1a78,
>    revision=3, low_water_mark=0, send_deltas=1, editor=0x20aa28868,
>    edit_baton=0x20aa288e8, pool=0x207512028)
>    at subversion/libsvn_ra_local/ra_plugin.c:1346
> #9  0x000000020bb35e07 in svn_ra_replay (session=0x2028e1a78, revision=3,
>    low_water_mark=0, text_deltas=1, editor=0x20aa28868,
>    edit_baton=0x20aa288e8, pool=0x207512028)
>    at subversion/libsvn_ra/ra_loader.c:1013
> #10 0x000000020bb35f96 in svn_ra_replay_range (session=0x2028e1a78,
>    start_revision=1, end_revision=3, low_water_mark=0, text_deltas=1,
>    revstart_func=0x404d31 <replay_rev_started>,
>    revfinish_func=0x405003 <replay_rev_finished>, replay_baton=0x2090de850,
>    pool=0x20497d028) at subversion/libsvn_ra/ra_loader.c:1056
> #11 0x0000000000405784 in do_synchronize (to_session=0x209163808,
>    baton=0x209163600, pool=0x20497d028) at subversion/svnsync/main.c:1781
> #12 0x0000000000402d07 in with_locked (session=0x209163808,
>    func=0x40531a <do_synchronize>, baton=0x209163600, pool=0x20497d028)
>    at subversion/svnsync/main.c:327
> #13 0x00000000004059d8 in synchronize_cmd (os=0x20497d188, b=0x7f7ffffec900,
>    pool=0x20497d028) at subversion/svnsync/main.c:1824
> #14 0x0000000000406ed3 in main (argc=9, argv=0x7f7ffffeca48)
>    at subversion/svnsync/main.c:2381
> (gdb)
>
Received on 2010-11-18 01:33:20 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.