LoginSignup
1
1

More than 3 years have passed since last update.

cygwin_exception::open_stackdumpfile: Dumping stack trace to perl.exe.stackdumpとなった時の対応方法

Posted at
  • 環境
    • Windows 10 64bit バージョン1909
    • git version 2.25.0.windows.1

事象 : 長期間使用されたSVNをGitに移行したくてgit svn initしたらなんか言われた

$ git svn init -s --prefix=svn/ --no-minimize-url https://server.domain.com/repos/hoge/subdir/subsubdire
Initialized empty Git repository in C:/git/iko/.git/
      0 [main] perl 1474 cygwin_exception::open_stackdumpfile: Dumping stack trace to perl.exe.stackdump
perl.exe.stackdumpを見ても意味不明
Exception: STATUS_ACCESS_VIOLATION at rip=00000000000
rax=0000000000000000 rbx=00000006011390B8 rcx=00000006011420F8
rdx=000000060114A438 rsi=0000000000000000 rdi=0000000000000011
r8 =0000000000000000 r9 =0000000601179EA8 r10=0000000100000000
r11=0000000601179EA8 r12=00000000FFFFC278 r13=0000000601139148
r14=00000006011420F8 r15=0000000000000000
rbp=00000000FFFFC270 rsp=00000000FFFFC208
program=C:\apps\Git\usr\bin\perl.exe, pid 1529, thread main
cs=0033 ds=002B es=002B fs=0053 gs=002B ss=002B
Stack trace:
Frame        Function    Args
End of stack trace

.git/configをみると基本的なSVNの構造なのにsvn-remotebranchestagsがない・・・

config
[core]
    repositoryformatversion = 0
    filemode = false
    bare = false
    logallrefupdates = true
    symlinks = false
    ignorecase = true
[svn-remote "svn"]
    url = https://server.domain.com/repos/hoge/subdir/subsubdire
    fetch = trunk:refs/remotes/svn/trunk

原因1 : SVNのあるサーバーに接続できていないから

散々調べた挙句・・・server.domain.comにそもそも繋がらない・・・SVNがでかいとか履歴が多いとか関係なかった。
今回はhostsにある余計な設定のせいで接続できない状態になっていた
あまりこの理由で引っかかる人はいないかも・・・

原因2 : メモリの問題?

perl - git svn clone malformed index info error - Stack Overflow
この場合は、.git/configに設定を追加すると対応できるようだ。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1