Uploaded image for project: 'Bitbucket Server'
  1. Bitbucket Server
  2. BSERV-3570

Pushing a .mailmap file crashes Git for Windows

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Low
    • Resolution: Handled by Support
    • 2.5.0
    • None
    • None
    • Windows Server 2008 R2
      Git 1.8.3
      Java 1.7 U21

    Description

      I've added a .mailmap to my repository containing one line:

      User Name <user.name@mail.domain>

      As soon as this commit is pushed to stash it will crash Git on the Stash server:

      com.atlassian.stash.exception.ServerException: An error occurred while executing an external process: 'C:\Program Files (x86)\Git\cmd\git.exe rev-list --format=%H%x02%h%x02%P%x02%p%x02%aN%x02%aE%x02%at%n%B%n%x03 --ignore-missing --stdin --' exited with code -1073741819
      at com.atlassian.stash.internal.scm.git.GitCommandExitHandler.evaluateThrowable(GitCommandExitHandler.java:120) ~[na:na]
      at com.atlassian.stash.internal.scm.git.GitCommandExitHandler.onError(GitCommandExitHandler.java:163) ~[na:na]
      at com.atlassian.stash.scm.DefaultCommandExitHandler.onExit(DefaultCommandExitHandler.java:35) ~[stash-spi-2.5.0.jar:na]
      at com.atlassian.stash.scm.BaseCommand.callExitHandler(BaseCommand.java:141) ~[stash-spi-2.5.0.jar:na]
      at com.atlassian.stash.scm.BaseCommand$CommandFuture.internalGet(BaseCommand.java:257) ~[stash-spi-2.5.0.jar:na]
      at com.atlassian.stash.scm.BaseCommand$CommandFuture.get(BaseCommand.java:238) ~[stash-spi-2.5.0.jar:na]
      at ...

      We are using Stash on Windows. This will also crash Git when listing the commits or basically every time you navigate in the repository

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              a13c86f64cb2 Christoph Keller
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: