-
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
Too many args give fatal cmalloc error #1917
Comments
So the issue isn't with a Git / Git for Windows command. Rather it is with the MSYS2 minimal system and terminal that provides the shim between Git and the OS. I also note that this is If you do the commands in reverse order, what happens then? Does the success move to the end, or it it just the second command that fails? Maybe see if you can test on a plain vanilla MSYS2? |
The order of the commands do not matter: The failing commands fails and the command with success succeeds. This looks like a buffer overflow - possibly in the bash binary included with https://git-scm.com/download/win Can you confirm that you can not reproduce the error when running the above? |
If this is reproducible in msys2 and perhaps even cygwin, it may be related to the upper limit of this issue. Edit: I can't reproduce it with |
@ole-tange you have been oddly silent on this issue, almost as if you were no longer interested in it (maybe because it magically works on your side now)? Please do engage with the community, otherwise I will have to close this ticket, writing it off as yet another loss of time and effort. |
@ole-tange also note that this might be related to the buffer settings of your console, or something specific to your particular system (you indicated that there is nothing interesting about your setup, but the mere fact that there is no |
I am constantly amazed how many people report bugs that seem to be critical to them, and then just fall off the wagon at some stage. I hope @ole-tange is well, because this here ticket is not. In any case, it is probably addressed via git-for-windows/MSYS2-packages#29 (and I just verified that v2.21.0 does not have any problem with the MCVE). |
Setup
defaults?
to the issue you're seeing?
Nope.
Details
Bash.
Minimal, Complete, and Verifiable example
this will help us understand the issue.
Nothing; nothing; output of 1 2 3 ... 100000;
wc
run on files;cat
run on files.Nothing in the first example. The rest give output similar to this:
This issue is not present on Ubuntu.
URL to that repository to help us with testing?
Not a repository issue.
The text was updated successfully, but these errors were encountered: