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

URL-to-WC copy with --quiet segfaults

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: 1.7.0
    • Component/s: libsvn_client
    • Labels:
      None

      Description

      URL to WC copies segfault on trunk@1147160 if using the --quiet option.  Works
      on 1.6.
      
      C:\SVN\src-trunk-4>svn info
      Path: .
      Working Copy Root Path: C:\SVN\src-trunk-4
      URL: https://svn.apache.org/repos/asf/subversion/trunk
      Repository Root: https://svn.apache.org/repos/asf
      Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
      Revision: 1147271
      Node Kind: directory
      Schedule: normal
      Last Changed Author: rhuijben
      Last Changed Rev: 1147160
      Last Changed Date: 2011-07-15 10:09:32 -0400 (Fri, 15 Jul 2011)
      
      C:\SVN\src-trunk-4>svn copy ^^/subversion/trunk/COMMITTERS@1140202 COMMITTERS2 -q
      This application has halted due to an unexpected error.
      A crash report and minidump file were saved to disk, you can find them here:
      C:\Users\pburba\AppData\Local\Temp\svn-crash-log20110715143819.log
      C:\Users\pburba\AppData\Local\Temp\svn-crash-log20110715143819.dmp
      Please send the log file to users@subversion.apache.org to help us analyze
      and solve this problem.
      
      NOTE: The crash report and minidump files can contain some sensitive information
      (filenames, partial file content, usernames and passwords etc.)
      
      C:\SVN\src-trunk-4>type
      C:\Users\pburba\AppData\Local\Temp\svn-crash-log20110715143819.log
      
      Process info:
      Cmd line: svn  copy ^/subversion/trunk/COMMITTERS@1140202 COMMITTERS2 -q
      Working Dir: C:\SVN\src-trunk-4
      Version:  1.8.0-dev (under development), compiled Jul 15 2011, 13:56:32
      Platform: Windows OS version 6.1 build 7601 Service Pack 1
      
      Exception: ACCESS_VIOLATION
      
      Registers:
      eax=00bc7870 ebx=7efde000 ecx=00000001 edx=00000000 esi=002befe0 edi=002bf0d8
      eip=00000001 esp=002befbc ebp=002befe8 efl=00010202
      cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b
      
      Stacktrace:
      #1  0x00000001 in (unknown function)
      #2  0x014f120c in call_notify_func(baton=0x00bc7870, n=(svn_wc_notify_t *)
      0x00c3e0b8, pool=(apr_pool_t *) 0x00c1ef50) at
      c:\svn\src-trunk\subversion\libsvn_client\ctx.c:48
              baton = 0x00bc7870
              n = (svn_wc_notify_t *) 0x00c3e0b8
              pool = (apr_pool_t *) 0x00c1ef50
              ctx = (svn_client_ctx_t *) 0x00bc7870
      #3  0x014e3844 in repos_to_wc_copy_single(pair=(svn_client__copy_pair_t *)
      0x00c1ce38, same_repositories=1, ignore_externals=0, ra_session=(svn_ra_session_t *)
      0x00c211e0, ctx=(svn_client_ctx_t *) 0x00bc7870, pool=(apr_pool_t *) 0x00c1ef50)
      at c:\svn\src-trunk\subversion\libsvn_client\copy.c:1651
              notify = (svn_wc_notify_t *) 0x00c3e0b8
              pair = (svn_client__copy_pair_t *) 0x00c1ce38
              same_repositories = 1
              ignore_externals = 0
              ra_session = (svn_ra_session_t *) 0x00c211e0
              ctx = (svn_client_ctx_t *) 0x00bc7870
              pool = (apr_pool_t *) 0x00c1ef50
              dst_abspath = 0x00c1ce18 "C:/SVN/src-trunk-4/COMMITTERS2"
              src_mergeinfo = (apr_hash_t *) 0x00c88598
      #4  0x014e2fa3 in repos_to_wc_copy_locked(copy_pairs=(apr_array_header_t *)
      0x00c1cd88, top_dst_path=0x00c1cf38 "C:/SVN/src-trunk-4/COMMITTERS2", ignore_externa
      ls=0, ra_session=(svn_ra_session_t *) 0x00c211e0, ctx=(svn_client_ctx_t *)
      0x00bc7870, scratch_pool=(apr_pool_t *) 0x00c1cd48) at
      c:\svn\src-trunk\subversion\li
      bsvn_client\copy.c:1789
              svn_err__temp = (svn_error_t *) 0xcccccccc
              copy_pairs = (apr_array_header_t *) 0x00c1cd88
              top_dst_path = 0x00c1cf38 "C:/SVN/src-trunk-4/COMMITTERS2"
              ignore_externals = 0
              ra_session = (svn_ra_session_t *) 0x00c211e0
              ctx = (svn_client_ctx_t *) 0x00bc7870
              scratch_pool = (apr_pool_t *) 0x00c1cd48
              iterpool = (apr_pool_t *) 0x00c1ef50
              dst_uuid = 0x00c1e4d8 "13f79535-47bb-0310-9956-ffa450edef68"
              same_repositories = 1
              i = 0
              src_uuid = 0x00c1e430 "13f79535-47bb-0310-9956-ffa450edef68"
      #5  0x014e2a45 in repos_to_wc_copy_cb(baton=0x002bf2d0, result_pool=(apr_pool_t
      *) 0x00c1cd48, scratch_pool=(apr_pool_t *) 0x00c1cd48) at c:\svn\src-trunk\subve
      rsion\libsvn_client\copy.c:1814
              svn_err__temp = (svn_error_t *) 0xcccccccc
              baton = 0x002bf2d0
              result_pool = (apr_pool_t *) 0x00c1cd48
              scratch_pool = (apr_pool_t *) 0x00c1cd48
              b = (repos_to_wc_copy_baton *) 0x002bf2d0
      #6  0x01605498 in svn_wc__call_with_write_lock(func=0x014e2a00,
      baton=0x002bf2d0, wc_ctx=(svn_wc_context_t *) 0x00bc78d0,
      local_abspath=0x00c1cf90 "C:/SVN/src-t
      runk-4", lock_anchor=0, result_pool=(apr_pool_t *) 0x00c1cd48,
      scratch_pool=(apr_pool_t *) 0x00c1cd48) at
      c:\svn\src-trunk\subversion\libsvn_wc\lock.c:1627
              func = 0x014e2a00
              baton = 0x002bf2d0
              wc_ctx = (svn_wc_context_t *) 0x00bc78d0
              local_abspath = 0x00c1cf90 "C:/SVN/src-trunk-4"
              lock_anchor = 0
              result_pool = (apr_pool_t *) 0x00c1cd48
              scratch_pool = (apr_pool_t *) 0x00c1cd48
              lock_root_abspath = 0x00c1e418 "C:/SVN/src-trunk-4"
              err1 = (svn_error_t *) 0xcccccccc
              err2 = (svn_error_t *) 0xcccccccc
      #7  0x014e2884 in repos_to_wc_copy(copy_pairs=(apr_array_header_t *) 0x00c1cd88,
      make_parents=0, ignore_externals=0, ctx=(svn_client_ctx_t *) 0x00bc7870, pool=(
      apr_pool_t *) 0x00c1cd48) at c:\svn\src-trunk\subversion\libsvn_client\copy.c:1954
              svn_err__temp = (svn_error_t *) 0xcccccccc
              copy_pairs = (apr_array_header_t *) 0x00c1cd88
              make_parents = 0
              ignore_externals = 0
              ctx = (svn_client_ctx_t *) 0x00bc7870
              pool = (apr_pool_t *) 0x00c1cd48
              top_dst_path = 0x00c1cf38 "C:/SVN/src-trunk-4/COMMITTERS2"
              iterpool = (apr_pool_t *) 0x00c1ef50
              ra_session = (svn_ra_session_t *) 0x00c211e0
              lock_abspath = 0x00c1cf90 "C:/SVN/src-trunk-4"
              baton = (repos_to_wc_copy_baton) 0x002bf2d0
              i = 1
              top_src_url = 0x00c1cf58 "https://svn.apache.org/repos/asf/subversion/trunk"
      #8  0x014de246 in try_copy(sources=(apr_array_header_t *) 0x00bf23f8,
      dst_path_in=0x00c1ce18 "C:/SVN/src-trunk-4/COMMITTERS2", is_move=0,
      make_parents=0, ignore
      _externals=0, revprop_table=(apr_hash_t *) 0x00000000,
      commit_callback=0x014a72e9, commit_baton=0x00000000, ctx=(svn_client_ctx_t *)
      0x00bc7870, pool=(apr_pool_
      t *) 0x00c1cd48) at c:\svn\src-trunk\subversion\libsvn_client\copy.c:2271
              sources = (apr_array_header_t *) 0x00bf23f8
              dst_path_in = 0x00c1ce18 "C:/SVN/src-trunk-4/COMMITTERS2"
              is_move = 0
              make_parents = 0
              ignore_externals = 0
              revprop_table = (apr_hash_t *) 0x00000000
              commit_callback = 0x014a72e9
              commit_baton = 0x00000000
              ctx = (svn_client_ctx_t *) 0x00bc7870
              pool = (apr_pool_t *) 0x00c1cd48
              dst_is_url = 0
              copy_pairs = (apr_array_header_t *) 0x00c1cd88
              i = -858993460
              srcs_are_urls = 1
      #9  0x014dd457 in svn_client_copy6(sources=(apr_array_header_t *) 0x00bf23f8,
      dst_path=0x00bf1bb8 "COMMITTERS2", copy_as_child=1, make_parents=0, ignore_externa
      ls=0, revprop_table=(apr_hash_t *) 0x00000000, commit_callback=0x014a72e9,
      commit_baton=0x00000000, ctx=(svn_client_ctx_t *) 0x00bc7870, pool=(apr_pool_t
      *) 0x0
      0bc7178) at c:\svn\src-trunk\subversion\libsvn_client\copy.c:2311
              sources = (apr_array_header_t *) 0x00bf23f8
              dst_path = 0x00bf1bb8 "COMMITTERS2"
              copy_as_child = 1
              make_parents = 0
              ignore_externals = 0
              revprop_table = (apr_hash_t *) 0x00000000
              commit_callback = 0x014a72e9
              commit_baton = 0x00000000
              ctx = (svn_client_ctx_t *) 0x00bc7870
              pool = (apr_pool_t *) 0x00bc7178
              subpool = (apr_pool_t *) 0x00c1cd48
              err = (svn_error_t *) 0xcccccccc
      #10  0x014b4eb0 in svn_cl__copy(os=(apr_getopt_t *) 0x00bc7320,
      baton=0x002bf660, pool=(apr_pool_t *) 0x00bc7178) at
      c:\svn\src-trunk\subversion\svn\copy-cmd.c:
      129
              os = (apr_getopt_t *) 0x00bc7320
              baton = 0x002bf660
              pool = (apr_pool_t *) 0x00bc7178
              targets = (apr_array_header_t *) 0x00be81d0
              err = (svn_error_t *) 0xcccccccc
              src_path = 0x00be81f0
      "https://svn.apache.org/repos/asf/subversion/trunk/COMMITTERS"
              sources = (apr_array_header_t *) 0x00bf23f8
              dst_is_url = 0
              ctx = (svn_client_ctx_t *) 0x00bc7870
              dst_path = 0x00bf1bb8 "COMMITTERS2"
              i = 1
              opt_state = (svn_cl__opt_state_t *) 0x002bf690
              srcs_are_urls = 1
      #11  0x014bf779 in main(argc=5, argv=0x00bbdb40) at
      c:\svn\src-trunk\subversion\svn\main.c:2582
              argc = 5
              argv = 0x00bbdb40
              pool = (apr_pool_t *) 0x00bc7178
              os = (apr_getopt_t *) 0x00bc7320
              err = (svn_error_t *) 0x00000000
              dash_m_arg = 0x00000000 "(null)"
              cfg_config = (svn_config_t *) 0x00bde6c0
              descend = 1
              ctx = (svn_client_ctx_t *) 0x00bc7870
              subcommand = (svn_opt_subcommand_desc2_t *) 0x01843e00
              ab = (svn_auth_baton_t *) 0x00bf1770
              settings = (svn_cache_config_t) 0x002bf7f0
              opt_id = 113
              i = 1
              dash_F_arg = 0x00000000 "(null)"
              changelists = (apr_hash_t *) 0x00bc7298
              allocator = (apr_allocator_t *) 0x00bc70c8
              received_opts = (apr_array_header_t *) 0x00bc71b8
              command_baton = (svn_cl__cmd_baton_t) 0x002bf660
              interactive_conflicts = 1
              opt_state = (svn_cl__opt_state_t) 0x002bf690
      #12  0x0166ce78 in __tmainCRTStartup() at
      f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c:586
              lock_free = 0x00000000
              fiberid = 0x002c0000
              nested = 0
      #13  0x0166ccbf in mainCRTStartup() at
      f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c:403
      #14  0x7683339a in BaseThreadInitThunk()
      #15  0x77be9ed2 in RtlInitializeExceptionChain()
      #16  0x77be9ea5 in RtlInitializeExceptionChain()
      
      
      Loaded modules:
      0x01310000  C:\SVN\src-trunk\Debug\subversion\svn\svn.exe (1.8.0.0, 7057408 bytes)
      0x77bb0000  C:\Windows\SysWOW64\ntdll.dll (6.1.7601.17514, 1572864 bytes)
      0x76820000  C:\Windows\SysWOW64\kernel32.dll (6.1.7601.17617, 1114112 bytes)
      0x76f50000  C:\Windows\SysWOW64\KERNELBASE.dll (6.1.7601.17617, 286720 bytes)
      0x6eec0000  C:\SVN\httpd-2.2.19\srclib\apr\Debug\libapr-1.dll (1.4.5.0, 208896
      bytes)
      0x76960000  C:\Windows\SysWOW64\ws2_32.dll (6.1.7601.17514, 217088 bytes)
      0x75f50000  C:\Windows\SysWOW64\msvcrt.dll (7.0.7600.16385, 704512 bytes)
      0x770e0000  C:\Windows\SysWOW64\rpcrt4.dll (6.1.7601.17514, 983040 bytes)
      0x752a0000  C:\Windows\SysWOW64\sspicli.dll (6.1.7601.17514, 393216 bytes)
      0x75290000  C:\Windows\SysWOW64\CRYPTBASE.dll (6.1.7600.16385, 49152 bytes)
      0x76a00000  C:\Windows\SysWOW64\sechost.dll (6.1.7600.16385, 102400 bytes)
      0x76c00000  C:\Windows\SysWOW64\nsi.dll (6.1.7600.16385, 24576 bytes)
      0x73c50000  C:\Windows\System32\mswsock.dll (6.1.7601.17514, 245760 bytes)
      0x76600000  C:\Windows\SysWOW64\user32.dll (6.1.7601.17514, 1048576 bytes)
      0x76790000  C:\Windows\SysWOW64\gdi32.dll (6.1.7601.17514, 589824 bytes)
      0x77030000  C:\Windows\SysWOW64\lpk.dll (6.1.7600.16385, 40960 bytes)
      0x77040000  C:\Windows\SysWOW64\usp10.dll (1.626.7601.17514, 643072 bytes)
      0x76a20000  C:\Windows\SysWOW64\advapi32.dll (6.1.7601.17514, 655360 bytes)
      0x75300000  C:\Windows\SysWOW64\shell32.dll (6.1.7601.17514, 12886016 bytes)
      0x769a0000  C:\Windows\SysWOW64\shlwapi.dll (6.1.7601.17514, 356352 bytes)
      0x5f2b0000 
      C:\Windows\winsxs\x86_microsoft.vc90.debugcrt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_2a4f639a55563668\msvcr90d.dll
      (9.0.30729.6161, 1191936 bytes)
      0x6ee60000  C:\SVN\httpd-2.2.19\srclib\apr-util\Debug\libaprutil-1.dll
      (1.3.12.0, 286720 bytes)
      0x6ee50000  C:\SVN\httpd-2.2.19\srclib\apr-iconv\Debug\libapriconv-1.dll
      (1.2.1.0, 45056 bytes)
      0x76000000  C:\Windows\SysWOW64\ole32.dll (6.1.7601.17514, 1425408 bytes)
      0x771d0000  C:\Windows\SysWOW64\crypt32.dll (6.1.7601.17514, 1167360 bytes)
      0x761f0000  C:\Windows\SysWOW64\msasn1.dll (6.1.7601.17514, 49152 bytes)
      0x10000000  C:\SVN\openssl\out32dll\libeay32.dll (0.9.8.17, 1044480 bytes)
      0x74db0000  C:\Windows\System32\wsock32.dll (6.1.7600.16385, 28672 bytes)
      0x73a70000 
      C:\Windows\winsxs\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_50934f2ebcb7eb57\msvcr90.dll
      (9.0.30729.6161, 667648 bytes)
      0x00160000  C:\SVN\openssl\out32dll\ssleay32.dll (0.9.8.17, 221184 bytes)
      0x70300000  C:\Windows\System32\secur32.dll (6.1.7601.17514, 32768 bytes)
      0x004c0000  C:\SVN\bdb\bin\libdb48d.dll (4.0.8.30, 1904640 bytes)
      0x622c0000 
      C:\Windows\winsxs\x86_microsoft.vc90.debugcrt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_2a4f639a55563668\msvcp90d.dll
      (9.0.30729.6161, 880640 bytes)
      0x76fd0000  C:\Windows\System32\imm32.dll (6.1.7601.17514, 393216 bytes)
      0x76200000  C:\Windows\SysWOW64\msctf.dll (6.1.7600.16385, 835584 bytes)
      0x74ad0000  C:\Windows\System32\profapi.dll (6.1.7600.16385, 45056 bytes)
      0x622b0000  C:\Windows\System32\security.dll (6.1.7600.16385, 12288 bytes)
      0x71930000  C:\Windows\System32\credssp.dll (6.1.7601.17514, 32768 bytes)
      0x62260000  C:\Windows\SysWOW64\msv1_0.dll (6.1.7601.17514, 270336 bytes)
      0x62240000  C:\Windows\System32\cryptdll.dll (6.1.7600.16385, 69632 bytes)
      0x74b20000  C:\Windows\System32\cryptsp.dll (6.1.7600.16385, 90112 bytes)
      0x74ae0000  C:\Windows\System32\rsaenh.dll (6.1.7600.16385, 241664 bytes)
      0x663c0000  C:\Windows\System32\nlaapi.dll (6.1.7601.17514, 65536 bytes)
      0x64540000  C:\Windows\System32\NapiNSP.dll (6.1.7600.16385, 65536 bytes)
      0x644d0000  C:\Windows\System32\pnrpnsp.dll (6.1.7600.16385, 73728 bytes)
      0x64530000  C:\Windows\System32\wshbth.dll (6.1.7601.17514, 53248 bytes)
      0x744c0000  C:\Windows\System32\dnsapi.dll (6.1.7601.17570, 278528 bytes)
      0x644c0000  C:\Windows\System32\winrnr.dll (6.1.7600.16385, 32768 bytes)
      0x70510000  C:\Program Files (x86)\Bonjour\mdnsNSP.dll (2.0.5.0, 151552 bytes)
      0x72780000  C:\Windows\System32\IPHLPAPI.DLL (6.1.7601.17514, 114688 bytes)
      0x72770000  C:\Windows\System32\winnsi.dll (6.1.7600.16385, 28672 bytes)
      0x704d0000  C:\Windows\System32\FWPUCLNT.DLL (6.1.7601.17514, 229376 bytes)
      0x71a20000  C:\Windows\System32\rasadhlp.dll (6.1.7600.16385, 24576 bytes)
      0x727a0000  C:\Windows\System32\WSHTCPIP.DLL (6.1.7600.16385, 20480 bytes)
      0x73db0000  C:\Windows\System32\userenv.dll (6.1.7601.17514, 94208 bytes)
      0x73d90000  C:\Windows\System32\gpapi.dll (6.1.7600.16385, 90112 bytes)
      0x73d70000  C:\Windows\System32\cryptnet.dll (6.1.7600.16385, 114688 bytes)
      0x762d0000  C:\Windows\SysWOW64\Wldap32.dll (6.1.7601.17514, 282624 bytes)
      0x73d60000  C:\Windows\System32\SensApi.dll (6.1.7600.16385, 24576 bytes)
      0x71a00000  C:\Windows\System32\cabinet.dll (6.1.7601.17514, 86016 bytes)
      0x719f0000  C:\Windows\System32\devrtl.dll (6.1.7601.17621, 57344 bytes)
      0x73e30000  C:\Windows\System32\ncrypt.dll (6.1.7600.16385, 229376 bytes)
      0x73e10000  C:\Windows\System32\bcrypt.dll (6.1.7600.16385, 94208 bytes)
      0x73dd0000  C:\Windows\SysWOW64\bcryptprimitives.dll (6.1.7600.16385, 249856 bytes)
      0x74c10000  C:\Windows\System32\dbghelp.dll (6.1.7601.17514, 962560 bytes)
      0x74be0000  C:\Windows\System32\powrprof.dll (6.1.7600.16385, 151552 bytes)
      0x76d50000  C:\Windows\SysWOW64\setupapi.dll (6.1.7601.17514, 1691648 bytes)
      0x76c10000  C:\Windows\SysWOW64\cfgmgr32.dll (6.1.7601.17621, 159744 bytes)
      0x76560000  C:\Windows\SysWOW64\oleaut32.dll (6.1.7601.17567, 585728 bytes)
      0x76be0000  C:\Windows\SysWOW64\devobj.dll (6.1.7601.17621, 73728 bytes)
      
      C:\SVN\src-trunk-4>
      

        Attachments

          Activity

            People

            • Assignee:
              pburba Paul Burba
              Reporter:
              pburba Paul Burba
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: