[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: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 16 Apr 2009 18:20:44 +0200

On Thu, Apr 16, 2009 at 18:12, Stefan Küng <tortoisesvn_at_gmail.com> wrote:
> C. Michael Pilato 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've only received an answer from one user about an hour ago, three
> others haven't replied (yet?). But yes, this user mentioned that the
> file was marked as added - at least he thought it was since he already
> reverted his changes and retried the update (which then succeeded).
> Sorry, wanted to report this, but I'm still going through my mail...
>
> If I get answers from the other users I tried to contact, I'll report
> whatever info they could add.

To clarify: the user mentioned he had about three files added and more
marked as modified when he first tried a commit, which resulted in an
out-of-date error. The update then crashed, but he didn't mention (and
I doubt he still remembers) that the crash happened when the update of
an added file was tried.

Also, while we get answers for reports on our mailing lists, it's much
harder to get those for crash reports: the mailing list is in English,
but crash dumps get sent by people who don't understand English at all
- so if I send them mails back to ask further questions, most of them
don't even understand the question. And those who do and try to answer
sometimes have such a bad English that I can't make any sense of it...

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1750010
Received on 2009-04-16 18:21:16 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.