Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Bitbucket Server上ののリポジトリにプッシュするとエラーになる

前田直成 May 7, 2019

SourceTreeを使って、リモートリポジトリ(Bitbucket Server)にプッシュすると下記のエラーが吐き出されます。

解決方法を知りませんか?

よろしくお願いいたします。

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --tags --set-upstream origin master:master
POST git-receive-pack (427 bytes)
remote: 1 [main] env (3568) C:\Program Files\Git\usr\bin\env.exe: *** fatal error - cygheap base mismatch detected - 0x2DC1410/0x2EC1410.
remote: This problem is probably due to using incompatible versions of the cygwin DLL.
remote: Search for cygwin1.dll using the Windows Start->Find/Search facility
remote: and delete all but the most recent version. The most recent version *should*
remote: reside in x:\cygwin\bin, where 'x' is the drive on which you have
remote: installed the cygwin distribution. Rebooting is also suggested if you
remote: are unable to find another cygwin DLL.

1 answer

0 votes
Ai Hirama
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 8, 2019

コミュニティをご利用いただきありがとうございます。

エラーメッセージを拝見したところ、ご利用のGit環境に何らかの不整合が発生している可能性が考えられます。

念のため、端末の再起動や、Git for Windowsの再インストールをお試しいただけますでしょうか。

前田直成 May 8, 2019

回答ありがとうございます。

Git for Windowsのバージョン指定とかありますか?

現在は, 2.21.0を使用しています。

(再インストールを試しましたが、改善しませんでした)

Ai Hirama
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 12, 2019

早速ご確認いただきありがとうございます。

Git for Windowsについて、現在Sourcetreeに埋め込まれているバージョンは2.18.0とのことです。念のためこちらをお試しいただくことはできますでしょうか。

また繰り返しになってしまい恐縮ですが、端末の再起動はすでにお試しいただいたとの理解でよろしかったでしょうか。

どうぞよろしくお願いいたします。

前田直成 May 12, 2019

リモート側のGit for Windowsを2.18.0をインストールして再起動しました。

が、症状が変わりません。

リモート側の環境がWindows 10 Proというのも関係しているのでしょうか?

もうcygwin1.dllを入れるしかないのかな?

Nobuyuki Mukai
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 2, 2019

お世話になっております。

Git 2.18.0がサポートされたのはBitbucket Server 5.12以降となります。Bitbucket Serverのバージョンは5.12以降をご利用でしょうか?

https://jira.atlassian.com/browse/BSERV-10943

https://confluence.atlassian.com/bitbucketserver0512/supported-platforms-955160467.html

もしBitbucket Server 5.12 より前のバージョンをお使いの場合は、お手数ですが上記のサポート対象ドキュメントに記載のバージョンをご利用いただき、問題が解消するかお確かめいただいてもよろしいでしょうか。

前田直成 June 2, 2019

ありがとうございます。

ちなみに、Bitbucket Server 6.3.0  を使用しています。

Nobuyuki Mukai
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 2, 2019

ご回答ありがとうございます。6.3.0をご利用とのことですのでGit のバージョンの互換性は問題なさそうです。

リモート側の問題かどうか切り分けをしたいのですが、以下お教えいただいてもよろしいでしょうか。

  • SourceTreeを使用せず、コマンドラインから git push でプッシュを行うと結果はどうなるでしょうか。
  • 現時点でリモート側のBitbucket ServerをホストしているWindowsにはcygwinがインストールされているのでしょうか。

以上よろしくお願いいたします。

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events