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

path.c:113: svn_path_join: Assertion `is_canonical (base, blen)' failed.

From: Eric Hanchrow <offby1_at_blarg.net>
Date: 2004-08-26 05:35:46 CEST

subversion.tigris.org seems to be down, so I don't know if this has
already been reported.

This is 1.1.x, built from r10724 of
http://svn.collab.net/repos/svn/branches/1.1.x on a Debian "testing"
(aka "Sarge") system. Configured like so:

    "./configure" \
    "--cache-file=/usr/local/src/config.cache" \
    "--enable-shared" \
    "--prefix=/usr/local/stow/svn-1.1.x"

Here are the shared library dependencies:

    20:30:57 [erich@debian tmp]$ ldd $(type -p svn)
            libsvn_client-1.so.0 => /usr/local/stow/svn-1.1.x/lib/libsvn_client-1.so.0 (0x40018000)
            libsvn_wc-1.so.0 => /usr/local/stow/svn-1.1.x/lib/libsvn_wc-1.so.0 (0x4003a000)
            libsvn_ra-1.so.0 => /usr/local/stow/svn-1.1.x/lib/libsvn_ra-1.so.0 (0x40060000)
            libsvn_delta-1.so.0 => /usr/local/stow/svn-1.1.x/lib/libsvn_delta-1.so.0 (0x40063000)
            libsvn_subr-1.so.0 => /usr/local/stow/svn-1.1.x/lib/libsvn_subr-1.so.0 (0x4006b000)
            libaprutil-0.so.0 => /usr/lib/libaprutil-0.so.0 (0x400a3000)
            libldap.so.2 => /usr/lib/libldap.so.2 (0x400b8000)
            liblber.so.2 => /usr/lib/liblber.so.2 (0x400ec000)
            libdb-4.2.so => /usr/lib/libdb-4.2.so (0x400fa000)
            libexpat.so.1 => /usr/X11R6/lib/libexpat.so.1 (0x401d0000)
            libapr-0.so.0 => /usr/lib/libapr-0.so.0 (0x401eb000)
            librt.so.1 => /lib/librt.so.1 (0x4020b000)
            libcrypt.so.1 => /lib/libcrypt.so.1 (0x4021d000)
            libnsl.so.1 => /lib/libnsl.so.1 (0x4024a000)
            libssl.so.0.9.7 => /usr/lib/i686/cmov/libssl.so.0.9.7 (0x40260000)
            libcrypto.so.0.9.7 => /usr/lib/i686/cmov/libcrypto.so.0.9.7 (0x40291000)
            libdl.so.2 => /lib/libdl.so.2 (0x4038e000)
            libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x40391000)
            libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x403a6000)
            libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x4040e000)
            libcom_err.so.2 => /lib/libcom_err.so.2 (0x40431000)
            libresolv.so.2 => /lib/libresolv.so.2 (0x40434000)
            libxml2.so.2 => /usr/lib/libxml2.so.2 (0x40446000)
            libz.so.1 => /usr/lib/libz.so.1 (0x40541000)
            libpthread.so.0 => /lib/libpthread.so.0 (0x40552000)
            libm.so.6 => /lib/libm.so.6 (0x405a3000)
            libc.so.6 => /lib/libc.so.6 (0x405c6000)
            libsvn_diff-1.so.0 => /usr/local/stow/svn-1.1.x/lib/libsvn_diff-1.so.0 (0x406f9000)
            libsvn_ra_local-1.so.0 => /usr/local/stow/svn-1.1.x/lib/libsvn_ra_local-1.so.0 (0x406ff000)
            libsvn_repos-1.so.0 => /usr/local/stow/svn-1.1.x/lib/libsvn_repos-1.so.0 (0x40704000)
            libsvn_fs-1.so.0 => /usr/local/stow/svn-1.1.x/lib/libsvn_fs-1.so.0 (0x4071a000)
            libsvn_ra_svn-1.so.0 => /usr/local/stow/svn-1.1.x/lib/libsvn_ra_svn-1.so.0 (0x40720000)
            libsvn_ra_dav-1.so.0 => /usr/local/stow/svn-1.1.x/lib/libsvn_ra_dav-1.so.0 (0x4072f000)
            libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x4075c000)
            libgnutls.so.11 => /usr/lib/libgnutls.so.11 (0x40771000)
            /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
            libsvn_fs_fs-1.so.0 => /usr/local/stow/svn-1.1.x/lib/libsvn_fs_fs-1.so.0 (0x407d8000)
            libsvn_fs_base-1.so.0 => /usr/local/stow/svn-1.1.x/lib/libsvn_fs_base-1.so.0 (0x407ef000)
            libtasn1.so.2 => /usr/lib/libtasn1.so.2 (0x40810000)
            libgcrypt.so.11 => /usr/lib/libgcrypt.so.11 (0x40820000)
            libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0x4086e000)

Here's what I did:

    $ cd /tmp
    $ svnadmin create yo
    $ svnserve -d -r /tmp/yo
    $ svn info svn://localhost

And here's the stack trace:

    (gdb) bt
    #0 0x405ef721 in kill () from /lib/libc.so.6
    #1 0x4055a771 in pthread_kill () from /lib/libpthread.so.0
    #2 0x4055aa7b in raise () from /lib/libpthread.so.0
    #3 0x405ef4d4 in raise () from /lib/libc.so.6
    #4 0x405f09e8 in abort () from /lib/libc.so.6
    #5 0x405e8b3f in __assert_fail () from /lib/libc.so.6
    #6 0x4007c61a in svn_path_join (base=0x809fc10 "svn:/", component=0x4005b998 ".svn", pool=0x809fa98) at subversion/libsvn_subr/path.c:118
    #7 0x40040443 in v_extend_with_adm_name (path=0x4055fe74 "tƯ", extension=0x0, use_tmp=0, pool=0x809fa98, ap=0xbffff79c "0º\005@") at subversion/libsvn_wc/adm_files.c:73
    #8 0x4004054c in svn_wc__adm_path (path=0x4055fe74 "tƯ", tmp=0, pool=0x0) at subversion/libsvn_wc/adm_files.c:122
    #9 0x4004c1b9 in do_open (adm_access=0x0, associated=0x0, path=0x809fc10 "svn:/", write_lock=0, depth=0, under_construction=0, pool=0x809fa98) at subversion/libsvn_wc/lock.c:364
    #10 0x4004c30a in svn_wc_adm_open2 (adm_access=0x0, associated=0x0, path=0x0, write_lock=0, depth=0, pool=0x0) at subversion/libsvn_wc/lock.c:527
    #11 0x4004c433 in svn_wc_adm_probe_open2 (adm_access=0xbffff894, associated=0x0, path=0x80637d8 "svn://localhost", write_lock=0, depth=0, pool=0x809fa98) at subversion/libsvn_wc/lock.c:575
    #12 0x0804dcab in svn_cl__info (os=0x0, baton=0x0, pool=0x80626c0) at subversion/clients/cmdline/info-cmd.c:248
    #13 0x0804f9c8 in main (argc=3, argv=0x0) at subversion/clients/cmdline/main.c:1323
    $1 = 1323
    (gdb)

-- 
That is the true genius of America ... that our votes will be
counted, at least most of the time.
        -- Barack Obama, 2004 Democratic National Convention
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 26 05:57:17 2004

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.