Repository navigation
"git svn fetch" hangs (perl.exe) #1993
Description
Activity
The same goes for "git svn rebase", "git svn dcommit"
This bug report is very short. And very incomplete.
Commands are running without any output at 100% CPU.
Perl hangs when fetching from any svn repo.Reacted by Nate Bross, llongmane584 and ulrichbOkay, here's the thing:
git svnworks when run in Git's own regression tests here. Reliably. Repeatedly.So without substantially better (read: more complete, less terse, volunteering more rather than less) information, there is literally nothing whatsoever that could be done to help you guys, @CrOrc & @dex-ds.
Here's output of
git svn rebasewith GIT_TRACE=103:44:34.928244 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/bin
03:44:34.929244 git.c:675 trace: exec: git-svn rebase
03:44:34.929244 run-command.c:643 trace: run_command: git-svn rebase
00:44:35.297265 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
00:44:35.297265 git.c:418 trace: built-in: git rev-parse --git-dir
00:44:35.340267 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
00:44:35.341268 git.c:418 trace: built-in: git rev-parse --show-cdup
00:44:35.387270 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
00:44:35.388270 git.c:418 trace: built-in: git config --get svn.username
00:44:35.430273 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
00:44:35.431273 git.c:418 trace: built-in: git config --bool --get svn.quiet
00:44:35.476275 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
00:44:35.476275 git.c:418 trace: built-in: git config --bool --get svn.verbose
00:44:35.520278 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
00:44:35.521278 git.c:418 trace: built-in: git config --bool --get svn.noauthcache
00:44:35.566280 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
00:44:35.566280 git.c:418 trace: built-in: git config --int --get svn.logwindowsize
00:44:35.614283 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
00:44:35.615283 git.c:418 trace: built-in: git config --get svn.ignorepaths
00:44:35.658286 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
00:44:35.659286 git.c:418 trace: built-in: git config --bool --get svn.noMetadata
00:44:35.703288 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
00:44:35.704288 git.c:418 trace: built-in: git config --bool --get svn.useSvmProps
00:44:35.749291 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
00:44:35.750291 git.c:418 trace: built-in: git config --get svn.includepaths
00:44:35.797294 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
00:44:35.797294 git.c:418 trace: built-in: git config --bool --get svn.nocheckout
00:44:35.838296 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
00:44:35.839296 git.c:418 trace: built-in: git config --bool --get svn.fetchall
00:44:35.883299 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
00:44:35.883299 git.c:418 trace: built-in: git config --int --get svn.repack
00:44:35.924301 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
00:44:35.925301 git.c:418 trace: built-in: git config --bool --get svn.addauthorfrom
00:44:35.965303 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
00:44:35.966303 git.c:418 trace: built-in: git config --get svn.authorsfile
00:44:36.007306 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
00:44:36.008306 git.c:418 trace: built-in: git config --bool --get svn.followparent
00:44:36.050308 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
00:44:36.051308 git.c:418 trace: built-in: git config --get svn.repackflags
00:44:36.095311 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
00:44:36.095311 git.c:418 trace: built-in: git config --bool --get svn.dryrun
00:44:36.138313 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
00:44:36.138313 git.c:418 trace: built-in: git config --bool --get svn.useSvnsyncProps
00:44:36.180316 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
00:44:36.181316 git.c:418 trace: built-in: git config --get svn.ignorerefs
00:44:36.222318 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
00:44:36.223318 git.c:418 trace: built-in: git config --bool --get svn.local
00:44:36.266320 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
00:44:36.267321 git.c:418 trace: built-in: git config --bool --get svn.merge
00:44:36.308323 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
00:44:36.309323 git.c:418 trace: built-in: git config --bool --get svn.preservemerges
00:44:36.351325 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
00:44:36.352325 git.c:418 trace: built-in: git config --get svn.strategy
00:44:36.396328 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
00:44:36.397328 git.c:418 trace: built-in: git config --get svn.configdir
00:44:36.438330 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
00:44:36.439330 git.c:418 trace: built-in: git config --bool --get svn.uselogauthor
00:44:36.484333 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
00:44:36.485333 git.c:418 trace: built-in: git config --get svn.authorsprog
00:44:36.527335 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
00:44:36.527335 git.c:418 trace: built-in: git config --bool --get svn.localtime
00:44:36.569338 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
00:44:36.570338 git.c:418 trace: built-in: git rev-parse --symbolic --all
00:44:36.615340 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
00:44:36.615340 git.c:418 trace: built-in: git rev-parse --git-path svn
00:44:36.659343 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
00:44:36.659343 git.c:418 trace: built-in: git config -l
00:44:36.702345 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
00:44:36.703345 git.c:418 trace: built-in: git config -l
00:44:36.745348 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
00:44:36.746348 git.c:418 trace: built-in: git update-index --refresh
00:44:36.994362 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
00:44:36.995362 git.c:418 trace: built-in: git rev-list --first-parent --pretty=medium HEAD --
00:44:37.037365 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
00:44:37.037365 git.c:418 trace: built-in: git config --bool svn.useSvmProps
00:44:37.080367 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
00:44:37.081367 git.c:418 trace: built-in: git config -l
00:44:37.128370 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
00:44:37.128370 git.c:418 trace: built-in: git config --get svn-remote.svn.rewriteRoot
00:44:37.172372 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
00:44:37.172372 git.c:418 trace: built-in: git rev-parse --git-path svn
00:44:37.216375 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
00:44:37.217375 git.c:418 trace: built-in: git config --get svn-remote.svn.fetch ':refs/remotes/git-svn$'
00:44:37.260377 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
00:44:37.261377 git.c:418 trace: built-in: git config --get svn-remote.svn.url
00:44:37.302380 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
00:44:37.303380 git.c:418 trace: built-in: git config --get svn-remote.svn.pushurl
00:44:37.347382 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
00:44:37.347382 git.c:418 trace: built-in: git rev-parse --git-path svn
00:44:37.391385 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
00:44:37.391385 git.c:418 trace: built-in: git config --get svn-remote.svn.uuid
00:44:37.481390 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
00:44:37.482390 git.c:418 trace: built-in: git rev-list --pretty=raw --reverse 72574fecc2847c3ea8a1af86a734f223a752bfd8..refs/remotes/git-svn --
00:44:37.506391 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
00:44:37.507391 git.c:418 trace: built-in: git config --get svn-remote.svn.rewriteRoot
00:44:37.550394 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
00:44:37.551394 git.c:418 trace: built-in: git config --get svn-remote.svn.rewriteUUID
00:44:37.601397 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
00:44:37.601397 git.c:418 trace: built-in: git diff-index HEAD --
00:44:37.849411 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
00:44:37.850411 git.c:418 trace: built-in: git config --get svn-remote.svn.usesvmprops
00:44:37.894414 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
00:44:37.895414 git.c:418 trace: built-in: git config --get svn-remote.svn.nometadata
00:44:37.939416 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
00:44:37.940416 git.c:418 trace: built-in: git cat-file commit 72574fecc2847c3ea8a1af86a734f223a752bfd8Perl is hanging busy at last command
00:44:37.940416 git.c:418 trace: built-in: git cat-file commit 72574fecc2847c3ea8a1af86a734f223a752bfd8
Here's my config
[core]
fscache = true
autocrlf = false
[credential]
helper = wincred
[pack]
packSizeLimit = 1g
[rebase]
useBuiltin = true
[stash]
useBuiltin = trueHere's output of
git svn fetch(running after git svn init)04:16:04.746335 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/bin
04:16:04.747335 git.c:675 trace: exec: git-svn fetch
04:16:04.747335 run-command.c:643 trace: run_command: git-svn fetch
01:16:05.093355 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
01:16:05.093355 git.c:418 trace: built-in: git rev-parse --git-dir
01:16:05.137358 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
01:16:05.138358 git.c:418 trace: built-in: git rev-parse --show-cdup
01:16:05.182360 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
01:16:05.183360 git.c:418 trace: built-in: git config --bool --get svn.fetchall
01:16:05.228363 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
01:16:05.229363 git.c:418 trace: built-in: git config --get svn.revision
01:16:05.276366 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
01:16:05.277366 git.c:418 trace: built-in: git config --get svn.configdir
01:16:05.319368 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
01:16:05.320368 git.c:418 trace: built-in: git config --int --get svn.logwindowsize
01:16:05.364371 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
01:16:05.364371 git.c:418 trace: built-in: git config --int --get svn.repack
01:16:05.407373 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
01:16:05.408373 git.c:418 trace: built-in: git config --bool --get svn.localtime
01:16:05.450376 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
01:16:05.450376 git.c:418 trace: built-in: git config --get svn.ignorepaths
01:16:05.492378 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
01:16:05.492378 git.c:418 trace: built-in: git config --bool --get svn.quiet
01:16:05.536381 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
01:16:05.536381 git.c:418 trace: built-in: git config --get svn.repackflags
01:16:05.579383 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
01:16:05.580383 git.c:418 trace: built-in: git config --bool --get svn.parent
01:16:05.624386 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
01:16:05.624386 git.c:418 trace: built-in: git config --bool --get svn.noMetadata
01:16:05.667388 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
01:16:05.668388 git.c:418 trace: built-in: git config --bool --get svn.uselogauthor
01:16:05.719391 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
01:16:05.720391 git.c:418 trace: built-in: git config --bool --get svn.noauthcache
01:16:05.766394 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
01:16:05.766394 git.c:418 trace: built-in: git config --bool --get svn.useSvmProps
01:16:05.809396 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
01:16:05.809396 git.c:418 trace: built-in: git config --get svn.ignorerefs
01:16:05.855399 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
01:16:05.855399 git.c:418 trace: built-in: git config --bool --get svn.addauthorfrom
01:16:05.899401 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
01:16:05.899401 git.c:418 trace: built-in: git config --get svn.username
01:16:05.943404 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
01:16:05.943404 git.c:418 trace: built-in: git config --get svn.authorsprog
01:16:05.985406 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
01:16:05.986406 git.c:418 trace: built-in: git config --get svn.authorsfile
01:16:06.029409 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
01:16:06.029409 git.c:418 trace: built-in: git config --bool --get svn.nocheckout
01:16:06.072411 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
01:16:06.072411 git.c:418 trace: built-in: git config --bool --get svn.useSvnsyncProps
01:16:06.115414 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
01:16:06.115414 git.c:418 trace: built-in: git config --bool --get svn.followparent
01:16:06.160416 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
01:16:06.160416 git.c:418 trace: built-in: git config --get svn.includepaths
01:16:06.204419 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
01:16:06.204419 git.c:418 trace: built-in: git rev-parse --symbolic --all
01:16:06.250421 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
01:16:06.250421 git.c:418 trace: built-in: git rev-parse --git-path svn
01:16:06.292424 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
01:16:06.293424 git.c:418 trace: built-in: git config -l
01:16:06.334426 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
01:16:06.335426 git.c:418 trace: built-in: git config -l
01:16:06.375429 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
01:16:06.376429 git.c:418 trace: built-in: git config --bool svn.useSvmProps
01:16:06.417431 exec-cmd.c:236 trace: resolved executable dir: D:/PortableGit/mingw64/libexec/git-core
01:16:06.417431 git.c:418 trace: built-in: git config -lIn git v2.19.1 after that goes
01:23:16.890053 git.c:415 trace: built-in: git rev-parse --git-path svn
01:23:16.932055 exec-cmd.c:236 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
01:23:16.933055 git.c:415 trace: built-in: git config --get svn-remote.svn.fetch ':refs/remotes/git-svn$'
01:23:16.975057 exec-cmd.c:236 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
01:23:16.975057 git.c:415 trace: built-in: git config --get svn-remote.svn.url
01:23:17.018060 exec-cmd.c:236 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
01:23:17.018060 git.c:415 trace: built-in: git config --get svn-remote.svn.pushurl
01:23:17.062062 exec-cmd.c:236 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
01:23:17.062062 git.c:415 trace: built-in: git rev-parse --git-path svn
01:23:17.105065 exec-cmd.c:236 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
01:23:17.105065 git.c:415 trace: built-in: git config --get svn-remote.svn.uuid
01:23:17.151067 exec-cmd.c:236 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
01:23:17.151067 git.c:415 trace: built-in: git rev-parse --git-path svn
01:23:17.194070 exec-cmd.c:236 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
01:23:17.195070 git.c:415 trace: built-in: git config svn-remote.svn.reposRoot https://private-repo-url16 remaining items
I have just recently run into this issue with git svn dcommit.
I believe that the issue is in OpenSSL, see openssl/openssl#2865. Pulling in the OpenSSL fix should hopefully resolve this issue.
Reacted by JoshSame issue with 2.20.1.
git svn fetchjust stalling, without any network activity.
Also, when try to clone another git repo from svn, it just wrote about initializing, and then stalling.
Removing svn credentials doesn't take effect: git clone asks nothing.
But, when downgrading to 2.19.1, all stuff start work well:git svn cloneask for password and start fetching commits,git svn fetchjust works, downloading recent commits from svn.
I can confirm that
git svn cloneerror only happens on 2.20.1 version. 2.20.0 and previous seem to be working fine.git svn cloneerror only happens on 2.20.1 version. 2.20.0 and previous seem to be working fine.Have you had chance to see what was in the 'minor' fix from 20.0 to 20.1? I have memories that suggest they were various cascaded networking library code fixes, which may give a better clue.
I have confirmed that this is indeed related to openssl/openssl#2865. Pulling in the OpenSSL fix from openssl/openssl@ef45aa1 and also rebuilding the "serf" package, fixes my git svn problems.
I guess there could be other packages that might also be impacted by this OpenSSL issue.
Reacted by Johannes Schindelin@nga888 excellent work!
So what will need to happen now:
- git-for-windows/MSYS2-packages needs to be changed so that
openssl/contains that patch andopenssl/PKGBUILDapplies that patch (similar to the already-existing patches there) - OpenSSL needs to be rebuilt (but only the MSYS2 packages, the MINGW packages should be left alone), with a forced pkgrel 3
- the git-for-windows/build-extra repository will need a PR to adjust
please.shto be able to upgradeserf. For this, a new section like this and that (i.e. imitatingopenssh) will need to be added, for which we need some sort of a ChangeLog for serf, as well as a website stating the current version. I guess we could use https://svn.apache.org/repos/asf/serf/trunk/CHANGES for the ChangeLog, and scrape https://serf.apache.org/download for the version number. - A new
serfversion will need to be built and published.
I will obviously be stuck with the building and publishing, and I would really appreciate help with the other two tasks.
Reacted by Nate Bross- git-for-windows/MSYS2-packages needs to be changed so that
Thanks and you're welcome @dscho
I've actually been testing this in MSYS2 with git-for-windows, as that's my preferred setup. I have just created this pull request msys2/MSYS2-packages#1576 for the openssl patch. If it's accepted I guess you can merge it to your fork or you can just grab it directly if you want.
- added a commit that references this issue
on Feb 20, 2019 - added 2 commits that reference this issue
on Feb 20, 2019 * A new `serf` version will need to be built and published.This was done by upstream MSYS2, so I avoided that for the time being.
FWIW v2.21.0-rc2 has the proposed fix.
Please, all y'all, test away.
Reacted by llongmane584, ulrichb, th3ragex, DiGi and BjörnThanks so much dscho! I tried "git svn clone" with v2.21.0-rc2 today and it seemed work well. Great!
Reacted by Johannes Schindelin and DiGi@llongmanne559 thanks for testing!
- added a commit that references this issue
on Feb 13, 2025
on current 2.20.1 x64 portable. 2.20.0 runs fine...
cheers, ds