-
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
Nondescriptive "bad address" error #303
Comments
Obviously I cannot reproduce that... Any more details on your setup? Like: did you install as admin, but run as non-admin? Or do you have a virus scanner that quarantines files first? Also: where do you install the portable Git? The default location? If so, is your home directory in an unmapped Windows share? |
Portable install, non admin, in my C:/Users/Michael folder. It's just a
|
Disabling Windows defender didn't help. |
Do you have a |
Works fine from cmd. Seems to be limited to bash, and not just git:
|
You mean, all MinGW programs fail with said "Bad address"? Are there maybe some entries in the system logs? |
They don't always fail, sometimes they work. Nothing useful in the system logs. |
|
Stackdump seems useless:
|
Seems changing dirs makes the issue a lot more prevelant, ie: just changing to |
Hmm. This is funny. It works without problems here... How did you install portable Git BTW? Did you unpack it with 7-Zip, or did you run it as self-extracting installer? |
Or maybe you have an application running in the background which is in Cygwin's Big List Of Dodgy Applications? |
Self extracting installer.
|
I asked because sometimes similar problems occur when the executables and DLLs have not been rebased (see https://github.com/git-for-windows/git/wiki/32-bit-issues for details). In those cases, closing all Git for Windows terminals and running the following from cd \path\to\Git\usr\bin
dash rebaseall But I really would suggest comparing the list of running applications/services against Cygwin's Big List Of Dodgy Applications. |
@md-5 could you do that, please? |
Already did.
|
You do not happen to have a Logitech webcam running, do you? Running out of ideas... |
Nope. I haven't tried the rebase stuff yet, so I'm gonna give that a shot. The only issue with that is the article claims it only affects 32bit, but I'm 64bit. Heck I might try safe mode just to see what happens. Really I just need a more descriptive error than "bad address". |
That makes two of us. If you're in a 64-bit setup, could you try the 32-bit portable Git? |
Woops, I meant the 32-bit installer? |
And another stab in the dark: where do you install your portable Git? On a network drive? |
I'll try the 32bit installer, as mentioned above, portable doesn't work. No it's just on C;\ |
The real odd thing is that it is intermittent. Otherwise I would have suggested a Any chance to resolve this via Skype or some such? |
Just reproduced it via safe mode, so yeah... |
@md-5 Just tried to ping you, but you seem to be in UTC+? Could you ping me here when you are available (not this weekend, but I will be online for a couple more hours today, and of course again on Monday)? |
@dscho Melbourne, so UTC+10 at the moment. How about Monday morning? |
@dscho
You will notice that the path length is 65 characters, and removing it by one stops the crash. I'm guessing the cygwin / bash code somewhere flips out on a 64byte array overflow. |
I just tried that, on Windows Server 2012 R2 and it does not crash... |
If we were to handle only single paths, the buffer really would only need to fit a single one, but arg_heuristic is also used to convert e.g. INFO_PATH and MAN_PATH (which can contain multiple absolute POSIX-style paths that need to be converted to Windows-style paths). This is only really relevant if the POSIX root directory's path is already pretty long. Such a beast has been spotted in the wild, in the Git for Windows project: git-for-windows/git#303 Of course, this patch is only a work-around that helps in many, but not all cases. Obviously this patch will wait patiently until a real fix comes around the corner, and then readily retire. Signed-off-by: Johannes Schindelin <[email protected]>
If we were to handle only single paths, the buffer really would only need to fit a single one, but arg_heuristic is also used to convert e.g. INFO_PATH and MAN_PATH (which can contain multiple absolute POSIX-style paths that need to be converted to Windows-style paths). This is only really relevant if the POSIX root directory's path is already pretty long. Such a beast has been spotted in the wild, in the Git for Windows project: git-for-windows/git#303 Of course, this patch is only a work-around that helps in many, but not all cases. Obviously this patch will wait patiently until a real fix comes around the corner, and then readily retire. Signed-off-by: Johannes Schindelin <[email protected]>
If we were to handle only single paths, the buffer really would only need to fit a single one, but arg_heuristic is also used to convert e.g. INFO_PATH and MAN_PATH (which can contain multiple absolute POSIX-style paths that need to be converted to Windows-style paths). This is only really relevant if the POSIX root directory's path is already pretty long. Such a beast has been spotted in the wild, in the Git for Windows project: git-for-windows/git#303 Of course, this patch is only a work-around that helps in many, but not all cases. Obviously this patch will wait patiently until a real fix comes around the corner, and then readily retire. Signed-off-by: Johannes Schindelin <[email protected]>
If we were to handle only single paths, the buffer really would only need to fit a single one, but arg_heuristic is also used to convert e.g. INFO_PATH and MAN_PATH (which can contain multiple absolute POSIX-style paths that need to be converted to Windows-style paths). This is only really relevant if the POSIX root directory's path is already pretty long. Such a beast has been spotted in the wild, in the Git for Windows project: git-for-windows/git#303 Of course, this patch is only a work-around that helps in many, but not all cases. Obviously this patch will wait patiently until a real fix comes around the corner, and then readily retire. Signed-off-by: Johannes Schindelin <[email protected]>
If we were to handle only single paths, the buffer really would only need to fit a single one, but arg_heuristic is also used to convert e.g. INFO_PATH and MAN_PATH (which can contain multiple absolute POSIX-style paths that need to be converted to Windows-style paths). This is only really relevant if the POSIX root directory's path is already pretty long. Such a beast has been spotted in the wild, in the Git for Windows project: git-for-windows/git#303 Of course, this patch is only a work-around that helps in many, but not all cases. Obviously this patch will wait patiently until a real fix comes around the corner, and then readily retire. Signed-off-by: Johannes Schindelin <[email protected]>
If we were to handle only single paths, the buffer really would only need to fit a single one, but arg_heuristic is also used to convert e.g. INFO_PATH and MAN_PATH (which can contain multiple absolute POSIX-style paths that need to be converted to Windows-style paths). This is only really relevant if the POSIX root directory's path is already pretty long. Such a beast has been spotted in the wild, in the Git for Windows project: git-for-windows/git#303 Of course, this patch is only a work-around that helps in many, but not all cases. Obviously this patch will wait patiently until a real fix comes around the corner, and then readily retire. Signed-off-by: Johannes Schindelin <[email protected]>
If we were to handle only single paths, the buffer really would only need to fit a single one, but arg_heuristic is also used to convert e.g. INFO_PATH and MAN_PATH (which can contain multiple absolute POSIX-style paths that need to be converted to Windows-style paths). This is only really relevant if the POSIX root directory's path is already pretty long. Such a beast has been spotted in the wild, in the Git for Windows project: git-for-windows/git#303 Of course, this patch is only a work-around that helps in many, but not all cases. Obviously this patch will wait patiently until a real fix comes around the corner, and then readily retire. Signed-off-by: Johannes Schindelin <[email protected]>
If we were to handle only single paths, the buffer really would only need to fit a single one, but arg_heuristic is also used to convert e.g. INFO_PATH and MAN_PATH (which can contain multiple absolute POSIX-style paths that need to be converted to Windows-style paths). This is only really relevant if the POSIX root directory's path is already pretty long. Such a beast has been spotted in the wild, in the Git for Windows project: git-for-windows/git#303 Of course, this patch is only a work-around that helps in many, but not all cases. Obviously this patch will wait patiently until a real fix comes around the corner, and then readily retire. Signed-off-by: Johannes Schindelin <[email protected]>
If we were to handle only single paths, the buffer really would only need to fit a single one, but arg_heuristic is also used to convert e.g. INFO_PATH and MAN_PATH (which can contain multiple absolute POSIX-style paths that need to be converted to Windows-style paths). This is only really relevant if the POSIX root directory's path is already pretty long. Such a beast has been spotted in the wild, in the Git for Windows project: git-for-windows/git#303 Of course, this patch is only a work-around that helps in many, but not all cases. Obviously this patch will wait patiently until a real fix comes around the corner, and then readily retire. Signed-off-by: Johannes Schindelin <[email protected]>
If we were to handle only single paths, the buffer really would only need to fit a single one, but arg_heuristic is also used to convert e.g. INFO_PATH and MAN_PATH (which can contain multiple absolute POSIX-style paths that need to be converted to Windows-style paths). This is only really relevant if the POSIX root directory's path is already pretty long. Such a beast has been spotted in the wild, in the Git for Windows project: git-for-windows/git#303 Of course, this patch is only a work-around that helps in many, but not all cases. Obviously this patch will wait patiently until a real fix comes around the corner, and then readily retire. Signed-off-by: Johannes Schindelin <[email protected]>
If we were to handle only single paths, the buffer really would only need to fit a single one, but arg_heuristic is also used to convert e.g. INFO_PATH and MAN_PATH (which can contain multiple absolute POSIX-style paths that need to be converted to Windows-style paths). This is only really relevant if the POSIX root directory's path is already pretty long. Such a beast has been spotted in the wild, in the Git for Windows project: git-for-windows/git#303 Of course, this patch is only a work-around that helps in many, but not all cases. Obviously this patch will wait patiently until a real fix comes around the corner, and then readily retire. Signed-off-by: Johannes Schindelin <[email protected]>
If we were to handle only single paths, the buffer really would only need to fit a single one, but arg_heuristic is also used to convert e.g. INFO_PATH and MAN_PATH (which can contain multiple absolute POSIX-style paths that need to be converted to Windows-style paths). This is only really relevant if the POSIX root directory's path is already pretty long. Such a beast has been spotted in the wild, in the Git for Windows project: git-for-windows/git#303 Of course, this patch is only a work-around that helps in many, but not all cases. Obviously this patch will wait patiently until a real fix comes around the corner, and then readily retire. Signed-off-by: Johannes Schindelin <[email protected]>
If we were to handle only single paths, the buffer really would only need to fit a single one, but arg_heuristic is also used to convert e.g. INFO_PATH and MAN_PATH (which can contain multiple absolute POSIX-style paths that need to be converted to Windows-style paths). This is only really relevant if the POSIX root directory's path is already pretty long. Such a beast has been spotted in the wild, in the Git for Windows project: git-for-windows/git#303 Of course, this patch is only a work-around that helps in many, but not all cases. Obviously this patch will wait patiently until a real fix comes around the corner, and then readily retire. Signed-off-by: Johannes Schindelin <[email protected]>
If we were to handle only single paths, the buffer really would only need to fit a single one, but arg_heuristic is also used to convert e.g. INFO_PATH and MAN_PATH (which can contain multiple absolute POSIX-style paths that need to be converted to Windows-style paths). This is only really relevant if the POSIX root directory's path is already pretty long. Such a beast has been spotted in the wild, in the Git for Windows project: git-for-windows/git#303 Of course, this patch is only a work-around that helps in many, but not all cases. Obviously this patch will wait patiently until a real fix comes around the corner, and then readily retire. Signed-off-by: Johannes Schindelin <[email protected]>
If we were to handle only single paths, the buffer really would only need to fit a single one, but arg_heuristic is also used to convert e.g. INFO_PATH and MAN_PATH (which can contain multiple absolute POSIX-style paths that need to be converted to Windows-style paths). This is only really relevant if the POSIX root directory's path is already pretty long. Such a beast has been spotted in the wild, in the Git for Windows project: git-for-windows/git#303 Of course, this patch is only a work-around that helps in many, but not all cases. Obviously this patch will wait patiently until a real fix comes around the corner, and then readily retire. Signed-off-by: Johannes Schindelin <[email protected]>
If we were to handle only single paths, the buffer really would only need to fit a single one, but arg_heuristic is also used to convert e.g. INFO_PATH and MAN_PATH (which can contain multiple absolute POSIX-style paths that need to be converted to Windows-style paths). This is only really relevant if the POSIX root directory's path is already pretty long. Such a beast has been spotted in the wild, in the Git for Windows project: git-for-windows/git#303 Of course, this patch is only a work-around that helps in many, but not all cases. Obviously this patch will wait patiently until a real fix comes around the corner, and then readily retire. Signed-off-by: Johannes Schindelin <[email protected]>
If we were to handle only single paths, the buffer really would only need to fit a single one, but arg_heuristic is also used to convert e.g. INFO_PATH and MAN_PATH (which can contain multiple absolute POSIX-style paths that need to be converted to Windows-style paths). This is only really relevant if the POSIX root directory's path is already pretty long. Such a beast has been spotted in the wild, in the Git for Windows project: git-for-windows/git#303 Of course, this patch is only a work-around that helps in many, but not all cases. Obviously this patch will wait patiently until a real fix comes around the corner, and then readily retire. Signed-off-by: Johannes Schindelin <[email protected]>
If we were to handle only single paths, the buffer really would only need to fit a single one, but arg_heuristic is also used to convert e.g. INFO_PATH and MAN_PATH (which can contain multiple absolute POSIX-style paths that need to be converted to Windows-style paths). This is only really relevant if the POSIX root directory's path is already pretty long. Such a beast has been spotted in the wild, in the Git for Windows project: git-for-windows/git#303 Of course, this patch is only a work-around that helps in many, but not all cases. Obviously this patch will wait patiently until a real fix comes around the corner, and then readily retire. Signed-off-by: Johannes Schindelin <[email protected]>
If we were to handle only single paths, the buffer really would only need to fit a single one, but arg_heuristic is also used to convert e.g. INFO_PATH and MAN_PATH (which can contain multiple absolute POSIX-style paths that need to be converted to Windows-style paths). This is only really relevant if the POSIX root directory's path is already pretty long. Such a beast has been spotted in the wild, in the Git for Windows project: git-for-windows/git#303 Of course, this patch is only a work-around that helps in many, but not all cases. Obviously this patch will wait patiently until a real fix comes around the corner, and then readily retire. Signed-off-by: Johannes Schindelin <[email protected]>
If we were to handle only single paths, the buffer really would only need to fit a single one, but arg_heuristic is also used to convert e.g. INFO_PATH and MAN_PATH (which can contain multiple absolute POSIX-style paths that need to be converted to Windows-style paths). This is only really relevant if the POSIX root directory's path is already pretty long. Such a beast has been spotted in the wild, in the Git for Windows project: git-for-windows/git#303 Of course, this patch is only a work-around that helps in many, but not all cases. Obviously this patch will wait patiently until a real fix comes around the corner, and then readily retire. Signed-off-by: Johannes Schindelin <[email protected]>
If we were to handle only single paths, the buffer really would only need to fit a single one, but arg_heuristic is also used to convert e.g. INFO_PATH and MAN_PATH (which can contain multiple absolute POSIX-style paths that need to be converted to Windows-style paths). This is only really relevant if the POSIX root directory's path is already pretty long. Such a beast has been spotted in the wild, in the Git for Windows project: git-for-windows/git#303 Of course, this patch is only a work-around that helps in many, but not all cases. Obviously this patch will wait patiently until a real fix comes around the corner, and then readily retire. Signed-off-by: Johannes Schindelin <[email protected]>
If we were to handle only single paths, the buffer really would only need to fit a single one, but arg_heuristic is also used to convert e.g. INFO_PATH and MAN_PATH (which can contain multiple absolute POSIX-style paths that need to be converted to Windows-style paths). This is only really relevant if the POSIX root directory's path is already pretty long. Such a beast has been spotted in the wild, in the Git for Windows project: git-for-windows/git#303 Of course, this patch is only a work-around that helps in many, but not all cases. Obviously this patch will wait patiently until a real fix comes around the corner, and then readily retire. Signed-off-by: Johannes Schindelin <[email protected]>
If we were to handle only single paths, the buffer really would only need to fit a single one, but arg_heuristic is also used to convert e.g. INFO_PATH and MAN_PATH (which can contain multiple absolute POSIX-style paths that need to be converted to Windows-style paths). This is only really relevant if the POSIX root directory's path is already pretty long. Such a beast has been spotted in the wild, in the Git for Windows project: git-for-windows/git#303 Of course, this patch is only a work-around that helps in many, but not all cases. Obviously this patch will wait patiently until a real fix comes around the corner, and then readily retire. Signed-off-by: Johannes Schindelin <[email protected]>
If we were to handle only single paths, the buffer really would only need to fit a single one, but arg_heuristic is also used to convert e.g. INFO_PATH and MAN_PATH (which can contain multiple absolute POSIX-style paths that need to be converted to Windows-style paths). This is only really relevant if the POSIX root directory's path is already pretty long. Such a beast has been spotted in the wild, in the Git for Windows project: git-for-windows/git#303 Of course, this patch is only a work-around that helps in many, but not all cases. Obviously this patch will wait patiently until a real fix comes around the corner, and then readily retire. Signed-off-by: Johannes Schindelin <[email protected]>
If we were to handle only single paths, the buffer really would only need to fit a single one, but arg_heuristic is also used to convert e.g. INFO_PATH and MAN_PATH (which can contain multiple absolute POSIX-style paths that need to be converted to Windows-style paths). This is only really relevant if the POSIX root directory's path is already pretty long. Such a beast has been spotted in the wild, in the Git for Windows project: git-for-windows/git#303 Of course, this patch is only a work-around that helps in many, but not all cases. Obviously this patch will wait patiently until a real fix comes around the corner, and then readily retire. Signed-off-by: Johannes Schindelin <[email protected]>
If we were to handle only single paths, the buffer really would only need to fit a single one, but arg_heuristic is also used to convert e.g. INFO_PATH and MAN_PATH (which can contain multiple absolute POSIX-style paths that need to be converted to Windows-style paths). This is only really relevant if the POSIX root directory's path is already pretty long. Such a beast has been spotted in the wild, in the Git for Windows project: git-for-windows/git#303 Of course, this patch is only a work-around that helps in many, but not all cases. Obviously this patch will wait patiently until a real fix comes around the corner, and then readily retire. Signed-off-by: Johannes Schindelin <[email protected]>
If we were to handle only single paths, the buffer really would only need to fit a single one, but arg_heuristic is also used to convert e.g. INFO_PATH and MAN_PATH (which can contain multiple absolute POSIX-style paths that need to be converted to Windows-style paths). This is only really relevant if the POSIX root directory's path is already pretty long. Such a beast has been spotted in the wild, in the Git for Windows project: git-for-windows/git#303 Of course, this patch is only a work-around that helps in many, but not all cases. Obviously this patch will wait patiently until a real fix comes around the corner, and then readily retire. Signed-off-by: Johannes Schindelin <[email protected]>
If we were to handle only single paths, the buffer really would only need to fit a single one, but arg_heuristic is also used to convert e.g. INFO_PATH and MAN_PATH (which can contain multiple absolute POSIX-style paths that need to be converted to Windows-style paths). This is only really relevant if the POSIX root directory's path is already pretty long. Such a beast has been spotted in the wild, in the Git for Windows project: git-for-windows/git#303 Of course, this patch is only a work-around that helps in many, but not all cases. Obviously this patch will wait patiently until a real fix comes around the corner, and then readily retire. Signed-off-by: Johannes Schindelin <[email protected]>
If we were to handle only single paths, the buffer really would only need to fit a single one, but arg_heuristic is also used to convert e.g. INFO_PATH and MAN_PATH (which can contain multiple absolute POSIX-style paths that need to be converted to Windows-style paths). This is only really relevant if the POSIX root directory's path is already pretty long. Such a beast has been spotted in the wild, in the Git for Windows project: git-for-windows/git#303 Of course, this patch is only a work-around that helps in many, but not all cases. Obviously this patch will wait patiently until a real fix comes around the corner, and then readily retire. Signed-off-by: Johannes Schindelin <[email protected]>
If we were to handle only single paths, the buffer really would only need to fit a single one, but arg_heuristic is also used to convert e.g. INFO_PATH and MAN_PATH (which can contain multiple absolute POSIX-style paths that need to be converted to Windows-style paths). This is only really relevant if the POSIX root directory's path is already pretty long. Such a beast has been spotted in the wild, in the Git for Windows project: git-for-windows/git#303 Of course, this patch is only a work-around that helps in many, but not all cases. Obviously this patch will wait patiently until a real fix comes around the corner, and then readily retire. Signed-off-by: Johannes Schindelin <[email protected]>
Using both the 32 bit and 64bit 2.5.0 portable installs on Windows 7:
Not sure how to debug further
The text was updated successfully, but these errors were encountered: