I'm running FreeBSD 4.5, and tried to reproduce this bug with 0.9rc2,
but no dice. It successfully imported a tree that had an empty
directory. Can anyone else reproduce this?
Garrett Rooney <rooneg@electricjellyfish.net> writes:
> Here's a subversion crash someone mentioned on the freebsd-current
> mailing list. I'll take a look at it later, but if somebody is
> looking for something to work on, here it is.
>
> -garrett
>
> From: Dag-Erling Smorgrav <des@ofug.org>
> Subject: Re: Patch sets to date and timing tests with Giant out of userret.
> To: Garrett Rooney <rooneg@electricjellyfish.net>
> Cc: Stijn Hoop <stijn@win.tue.nl>, current@freebsd.org
> Date: 19 Feb 2002 16:34:10 +0100
>
>
> Garrett Rooney <rooneg@electricjellyfish.net> writes:
> > On Tue, Feb 19, 2002 at 04:18:33PM +0100, Stijn Hoop wrote:
> > > As for your port, there already is a /usr/ports/devel/subversion; it points
> > > you to the port skeleton for version r909. Is yours better/different?
> > i imagine his is more up to date ;-)
>
> Yeah, I ported 1302, which is the latest tarball.
>
> BTW, there's a bug in 1302, 'svn import' crashes when trying to import
> an empty subdirectory:
>
> des@des ~% svn --version
> Subversion Client, version 0.9.0 (rc2)
> compiled Feb 17 2002, 20:16:28
>
> Copyright (C) 2000-2002 CollabNet.
> Subversion is open source software, see http://subversion.tigris.org/
>
> The following repository access (RA) modules are available:
>
> * ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
> - handles 'http' schema
> - handles 'https' schema
> * ra_local : Module for accessing a repository on local disk.
> - handles 'file' schema
>
> des@des ~% svnadmin create ~/svn
> des_at_des ~% svn import file:///home/des/svn /etc etc
> Adding ./etc
> Adding ./etc/uucp
> zsh: segmentation fault (core dumped) svn import file:///home/des/svn /etc etc
> des@des ~% gdb =svn svn.core
> GNU gdb 4.18
> Copyright 1998 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB. Type "show warranty" for details.
> This GDB was configured as "i386-unknown-freebsd"...Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb.291/gdb/dbxread.c line 2629 in elfstab_build_psymtabs
> Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb.291/gdb/dbxread.c line 935 in fill_symbuf
>
> Core was generated by `svn'.
> Program terminated with signal 11, Segmentation fault.
> Reading symbols from /usr/local/lib/libsvn_client.so.0...done.
> Reading symbols from /usr/local/lib/libsvn_wc.so.0...done.
> Reading symbols from /usr/local/lib/libsvn_ra.so.0...done.
> Reading symbols from /usr/lib/libz.so.2...done.
> Reading symbols from /usr/local/lib/libsvn_ra_dav.so.0...done.
> Reading symbols from /usr/local/lib/libneon.so.18...done.
> Reading symbols from /usr/lib/libssl.so.2...done.
> Reading symbols from /usr/lib/libcrypto.so.2...done.
> Reading symbols from /usr/local/lib/libxml.so.5...done.
> Reading symbols from /usr/local/lib/libsvn_ra_local.so.0...done.
> Reading symbols from /usr/local/lib/libsvn_repos.so.0...done.
> Reading symbols from /usr/local/lib/libsvn_fs.so.0...done.
> Reading symbols from /usr/local/lib/libsvn_delta.so.0...done.
> Reading symbols from /usr/local/lib/libdb4.so.0...done.
> Reading symbols from /usr/local/lib/libsvn_subr.so.0...done.
> Reading symbols from /usr/local/lib/libexpat.so.0...done.
> Reading symbols from /usr/local/lib/libapr.so.0...done.
> Reading symbols from /usr/lib/libm.so.2...done.
> Reading symbols from /usr/lib/libcrypt.so.2...done.
> Reading symbols from /usr/lib/libc.so.5...done.
> Reading symbols from /usr/libexec/ld-elf.so.1...done.
> #0 _readdir_unlocked (dirp=0x0) at /usr/src/lib/libc/../libc/gen/readdir.c:60
> 60 if (dirp->dd_loc >= dirp->dd_size) {
> (gdb) where
> #0 _readdir_unlocked (dirp=0x0) at /usr/src/lib/libc/../libc/gen/readdir.c:60
> #1 0x283cde9d in readdir (dirp=0x0)
> at /usr/src/lib/libc/../libc/gen/readdir.c:98
> #2 0x2830e5b5 in apr_dir_read () from /usr/local/lib/libapr.so.0
> #3 0x28074818 in import_dir () from /usr/local/lib/libsvn_client.so.0
> #4 0x280747a2 in import_dir () from /usr/local/lib/libsvn_client.so.0
> #5 0x28074a3a in import () from /usr/local/lib/libsvn_client.so.0
> #6 0x28074df2 in send_to_repos () from /usr/local/lib/libsvn_client.so.0
> #7 0x28074f37 in svn_client_import () from /usr/local/lib/libsvn_client.so.0
> #8 0x804b162 in svn_cl__import ()
> #9 0x804bff9 in main ()
> #10 0x804a035 in _start (arguments=0xbfbffc20 "svn")
> at /usr/src/lib/csu/i386-elf/crt1.c:96
>
> DES
> --
> Dag-Erling Smorgrav - des@ofug.org
>
>
> ----------
>
>
> --
> garrett rooney Unix was not designed to stop you from
> rooneg@electricjellyfish.net doing stupid things, because that would
> http://electricjellyfish.net/ stop you from doing clever things.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:09 2006