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

Possible bug: SIGSEV while resurrecting directory

From: Stephan Feder <sf_at_stephan-feder.de>
Date: 2002-10-03 00:50:58 CEST

Could someone please verify that the following recipe provokes a SIGSEV.

Regards,
        Stephan

#############################

#! /bin/bash

set -e -u -x

DIR="/tmp/svn-sigsev.${$}"

REPO="${DIR}/repo"

URL="file://${REPO}"

ENTRY="${URL}/dir"

WC="${DIR}/wc"

# create dir in /tmp

mkdir "${DIR}"

# create repo

svnadmin create "${REPO}"

# add directory

svn mkdir -m "" "${ENTRY}"

# remove directory

svn rm -m "" "${ENTRY}"

# create working directory

mkdir "${WC}"

# change to working directory

cd "${WC}"

# check out repo; HEAD is #2 which is empty

svn co "${URL}" .

# try to resurrect directory by reverting changes from #1 to #2

# should segfault!!!

svn merge -r2:1 .

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 3 00:53:52 2002

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.