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

Access violation in 1.6.0

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Mon, 23 Mar 2009 17:38:02 +0100

Hi,

The first crash reports for TSVN 1.6.0 are coming in. There's one that's
already reported more than once:

in libsvn_wc\update_editor.c, line 2315
(function add_directory())

  /* What to do with a versioned or schedule-add dir:

         If the UUID doesn't match the parent's, or the URL isn't a
         child of the parent dir's URL, or the dir is unversioned in
         the parent entry, it's an error.

         A dir already added without history is OK. Set add_existed
         so that user notification is delayed until after any prop
         conflicts have been found.

         An existing versioned dir is an error. In the future we may
         relax this restriction and simply update such dirs.

         A dir added with history is a tree conflict. */

  if (strcmp(entry->uuid, parent_entry->uuid) != 0)
        return svn_error_createf
          (SVN_ERR_WC_OBSTRUCTED_UPDATE, NULL,
           _("UUID mismatch: existing directory '%s' was checked out "
                 "from a different repository"),
           svn_path_local_style(db->path, pool));

The string comparison results in an access violation, because
parent_entry->uuid is NULL (parent_entry points to a valid object, but
the uuid string is NULL)

I don't know *why* the uuid for the parent entry is NULL though...

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=1390738

Received on 2009-03-23 17:38:40 CET

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.