-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Avoid access violations when running Bash with TERM=msys #222
Comments
ncurses don't have |
It does not crash when |
@Alexpux BTW why is |
Dependency of what? |
Package |
Whoops, sorry: |
bash is linked fully static, so it depends only from msys-2.0.dll |
Okay. I generally prefer the dependencies in a package management system to be set up correctly because it is as much documentation as it is necessary for proper process of Pacman. |
That explains it. |
I'm create |
JFYI we use |
A but that was recently introduced into the 6.x development branch of ncurses causes free()d data to be reused by mistake, leading to a crash. You can verify this by setting TERM to, say, `msys` and then running `bash.exe --login -i`. This fixes git-for-windows/git#222 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
@KindDragon good point. I recall that we fixed other, similar issues by setting |
Fixed with msys2/MSYS2-packages#275 |
…t-2.24.0 into vfs-2.24.0 The `features/sparse-checkout-*` branches were helpful to keep separate from the `vfs-*` branches while the sparse-checkout feature was getting feedback upstream. After the `v2.24.0` update, the feature branch has a clean history and can be merged. microsoft/VFSForGit#1582 confirmed that we get passing builds using the `-sc` builds. This is not surprising: the features are independent and use different config values.
We used to set the environment variable
TERM=msys
in Git for Windows 1.x, so we should handle it gracefully with Git for Windows 2.x, too. Certainly an access violation is the wrong thing to do, ideally we handlemsys
as a synonym tocygwin
.The text was updated successfully, but these errors were encountered: