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

svndumpfilter crashes when processing dump without revprops

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.9.3
    • Fix Version/s: None
    • Component/s: svndumpfilter
    • Labels:
      None

      Description

      Reproduction script:

      $ svnadmin create repos
      $ svnadmin delrevprop -r 0 repos svn:date
      $ svnadmin dump repos | svndumpfilter include /
      

      Stack trace:

      #1  0x6df968ec in svn_repos__dump_revision_record(dump_stream=(svn_stream_t *) 0x003661d0, revision=0x00000000, extra_headers=(apr_hash_t *) 0x003717c8, revprops=(apr_hash_t *) 0x00371758, props_section_always=0, scratch_pool=(apr_pool_t *) 0x00375708) at d:\ivan\server-trunk\externals\svn-httpd\win32\subversion\subversion\libsvn_repos\dump.c:553
              dump_stream = (svn_stream_t *) 0x003661d0
              revision = 0x00000000
              extra_headers = (apr_hash_t *) 0x003717c8
              revprops = (apr_hash_t *) 0x00371758
              props_section_always = 0
              scratch_pool = (apr_pool_t *) 0x00375708
      #2  0x00c7318b in output_revision() at d:\ivan\server-trunk\externals\svn-httpd\win32\subversion\subversion\svndumpfilter\svndumpfilter.c:422
      #3  0x6dfaa2eb in svn_repos_parse_dumpstream3(stream=(svn_stream_t *) 0x00366138, parse_fns=(svn_repos_parse_fns3_t *) 0x00c77018, parse_baton=0x00366088, deltas_are_text=1, cancel_func=0x00000000, cancel_baton=0x00000000, pool=(apr_pool_t *) 0x00365ed8) at d:\ivan\server-trunk\externals\svn-httpd\win32\subversion\subversion\libsvn_repos\load.c:662
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ivan Ivan Zhakov
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: