msys2.github.io
                                
                                 msys2.github.io copied to clipboard
                                
                                    msys2.github.io copied to clipboard
                            
                            
                            
                        Issues installing caused by Windows Security
Issuing installing Msys2 error 254
~~this is for SEO~~
Have you tried to exclude the installation directory in antivirus or antimalware software?
This issue was encountered here too https://github.com/appveyor/ci/issues/3777
Workaround
Script
See this link, it looks like it disables the required protections for only Msys2
Manual
Go-to Windows Security -> App and browser control -> Exploit protection
Need to keep the following disabled
- Force randomization ASLR
- Randomize memory allocations (Bottom-up ALSR)
- Validate exception chains (SEHOP)
- Validate heap intergrity
Notes
requiring systems to disable these settings could harm the adoption of Msys2.
AFAIK ASLR is not enabled by default on Windows.
AFAIK ASLR is not enabled by default on Windows.
This is correct, however with this "issue" the user base who require those features are being cut off imo.
This is correct, however with this "issue" the user base who require those features are being cut off imo.
We can do nothing about it, While MinGW-w64 (native Windows) packages were built with ASLR enabled https://www.msys2.org/news/#2021-01-31-aslr-enabled-by-default. but unfortunately CygWin (Which MSYS environment is based on) has some issues with it. There were some reports like yours before, like this https://github.com/msys2/MSYS2-packages/issues/3925 see also: https://cygwin.com/pipermail/cygwin/2020-March/244106.html https://cygwin.com/pipermail/cygwin/2020-August/245973.html
This is correct, however with this "issue" the user base who require those features are being cut off imo.
We can do nothing about it, While MinGW-w64 (native Windows) packages were built with ASLR enabled https://www.msys2.org/news/#2021-01-31-aslr-enabled-by-default. but unfortunately CygWin (Which MSYS environment is based on) has some issues with it. There were some reports like yours before, like this msys2/MSYS2-packages#3925 see also: https://cygwin.com/pipermail/cygwin/2020-March/244106.html https://cygwin.com/pipermail/cygwin/2020-August/245973.html
Hopefully someday it will be fixed :)