Git for windows crashes if environment variables contains "ö" in the name

515 views
Skip to first unread message

Albin Sunnanbo

unread,
Apr 14, 2017, 7:50:40 AM4/14/17
to git-for-windows

Hi

It seems like sh.exe in git for windows crashes when environment variables contains the letter "ö".

Reproduced in Git for Windows 2.12.2 64 bit on Windows 10. (latest version)


The text from the screen shot:

Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.

C:\Users\[username]>"\Program Files\Git\bin\sh.exe"

[username]@[computer] MINGW64 ~
$ git --version
git version 2.12.2.windows.2

[username]@[computer] MINGW64 ~
$ exit

C:\Users\[username]>set ö=1

C:\Users\[username]>"\Program Files\Git\bin\sh.exe"
      1 [main] bash 4768 C:\Program Files\Git\bin\..\usr\bin\bash.exe: *** fatal error - internal error reading the windows environment - too many environment variables?
    709 [main] bash 4768 cygwin_exception::open_stackdumpfile: Dumping stack trace to bash.exe.stackdump

C:\Users\[username]>



This leads to all sorts of crashes when working with Git, including crashing when rebase from Git Extensions.

Just let me know if I can help by providing more information about the problem.

// Albin
Reply all
Reply to author
Forward
0 new messages