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

Re: Assert in svn-1.7-alpha2 svn_client_merge3

From: Barry Scott <barry_at_barrys-emacs.org>
Date: Tue, 12 Jul 2011 22:07:22 +0100

On 12 Jul 2011, at 15:02, Julian Foad wrote:

> On Mon, 2011-07-11 at 12:23 +0100, Julian Foad wrote:
>> On Sat, 2011-07-09, Barry Scott wrote:
>>> svn built with ./configure --prefix=/usr/local --enable-debug on
>>> Fedora 15 x86_64.
>>
>> Hi Barry. This stack trace and info is useful, ...
>>
>>> Let me know if you want to run this yourself. I can provide a tarball
>>> with the pysvn sources that trigger this and easy instructions to
>>> reproduce.
>>
>> ... but Yes Please! That would be fantastic. If it's smaller than 100
>> KB just attach it here on the list; if bigger, please email to me
>> off-list (and I suspect Paul Burba would be interested too).

I was using Fedora 15 in this recipe. I guess other Unix will work as
well. I also hard wired to use /tmp/pysvn-workspace to keep the
complexity down.

1. Get http://pysvn.barrys-emacs.org/source_kits/pysvn-merge-assert.tar.bz2
2. tar xf pysvn-merge-assert.tar.bz2 -C /tmp
3. cd /tmp/pysvn-workspace/Sources
4. THe scripts assume that the SVN you wish to use is in /usr/local
     edit repo-merge-assert.sh and change the --svn-root-dir if that is not the case
5. ./repo-merge-assert.sh

At this point you have a core file.

Run ../Tests/merge_crash.sh that will echo the two lines you need to run the command
to repeat the crash. Do the obvious to use gdb with the command.

$ export PYTHONPATH=...
$ gdb /usr/bin/python
>>> run /tmp/pysvn-workspace/Examples/Client/svn_cmd.py ...

Barry
Received on 2011-07-12 23:08:01 CEST

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