-
Notifications
You must be signed in to change notification settings - Fork 3k
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
fatal error - cygheap base mismatch detected #594
Comments
After understanding things better, there are three causes for this problem:
The bug on the pacman installer cause this because when
For closing this issue, I would suggest just to not install |
Thank you for the investigation and provided details. We have a plan to pre-install MSYS2 to images and get rid of mingw in future. But no ETA for now. |
I did that, but give up because choco is a too dawn slow tool for everything it does, including uninstalling something as mingw (taking several minutes). Instead, I just just maniputale the system path, completely removing the choco bin directories from it. For now, I am installing pacman directly on the msys2 environment which comes on C:\Program Files\Git (#596 (comment)). The installation of pacman takes about 50 seconds. And instead of using choco, I am using https://scoop.sh/, which takes about 12 seconds to install itself, including the gettext and ripgrep packages I need (https://github.com/evandroforks/anki/runs/528013790?check_suite_focus=true#step:8:29). |
Thank you for the provided workaround and investigation, it can be very usefull for other customers. |
Attempts to work around actions/runner-images#594. See this for details: actions/runner-images#594 (comment)
Attempts to work around actions/runner-images#594. See this for details: actions/runner-images#594 (comment)
Attempts to work around actions/runner-images#594. See this for details: actions/runner-images#594 (comment)
Describe the bug
I am trying to install
msys2
withchoco install msys2
, but it is not working because in the middle of the installation I have these: https://github.com/evandroforks/anki/runs/522578741#step:6:224 (the installation is not failing because of this, but it is breaking the installation on future use)Someone somewhere is already putting a
cygwin1.dll
file on the system path or loading some process which uses it. After searching, I could find that git for windows has its own mingw installation and that mingw is installed by chocolatey: https://github.com/actions/virtual-environments/blob/master/images/win/scripts/Installers/Install-MinGW.ps1Question, Bug, or Feature?:
Choose "Bug"
Virtual environments affected
Expected behavior
It would be very appreciated if no one else started putting/loading cygwin process/dlls on the virtual environment.
I am installing
msys2
because eithermingw
fromchocolatey
orgit for windows
have a package manager, so I cannot install my packages in them. That is whay I am installingmsys2
. Because it has a package manager and I can install new packages asgettext
,rsync
,wget
, etc.Actual behavior
Create a workflow:
The installation will not fail, but you will get several errors in the middle of it:
Later the processes are not working to work correctly.
I am well aware of https://github.com/numworks/setup-msys2 the problem is that they work with a completely isolated installation of
msys2
which had to be used withmsys2do <command>
instead of justcommand
. Making the project harder to run on both linux and windows. The point is not the alternative tools I could use, but GitHub Actions environment being shipped by default with something which breaks new tools installations.This problem is quite hard to figure out why it is happening and from where is this coming from. It could be due
choco install mingw
orgit for windows
oropenssl
installation, etc, or all of them together.The text was updated successfully, but these errors were encountered: