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

Re: another segfault during update

From: Mark Phippard <markphip_at_gmail.com>
Date: Thu, 16 Apr 2009 12:49:16 -0400

On Thu, Apr 16, 2009 at 12:08 PM, C. Michael Pilato <cmpilato_at_collab.net> wrote:
> Stefan Küng wrote:
>> Hi,
>>
>> In version 1.6.1, there's another possible segfault during updates:
>>
>> file libsvn_wc\update_editor.c, line 3522, function add_file():
>>       if (!eb->switch_url
>>           && strcmp(fb->new_URL, entry->url) != 0)
>>
>> The 'entry->url' is NULL according to crash dumps I got for TSVN.
>
> Looking at the code, I'd say this happens when update wants to add a new
> file in a working copy where a file of the same name is scheduled for
> addition.  Does this match your reports?

I did a similar test to this earlier today on OSX. I was just doing
tree conflict testing, nothing to do with this bug. In my case, I had
a local file that was scheduled Add. I did an update which added file
of same name. I got text-conflict on the file and it was converted to
a Modification. I probably had --force switch on if it matters (was
doing this from GUI).

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1750656
Received on 2009-04-16 18:49:35 CEST

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.