Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-4366

client SEGFAULTs diffing a repos rev in which an empty file was added

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • trunk
    • 1.8.0
    • libsvn_client
    • None

    Description

      At the moment, Subversion's trunk and 1.8.x branch code SEGFAULT when trying to
      show a repos diff of a revision in which an empty file was added.
      
      This is caused by a change made in r1470994, where the repository diff code was
      changed to lazily open tempfile streams.  The lazy open bit is good (and greatly
      reduces the number of file handles held open during a repository diff via
      ra-serf), but we need to ensure that those stream do, in fact, get eventually
      opened.  Currently, empty added files passed through the system will not every
      trigger the lazy open logic.
      

      Attachments

        Activity

          People

            cmpilato C. Michael Pilato
            cmpilato C. Michael Pilato
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: