git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Crash when clone includes magic filenames on Windows

From
Torsten Bögershausen <tboegi@web.de>
Date
Feb 10, 2018, 09:31 UTC
Message-ID
<20180210093140.GA11525@tor.lan>
In-Reply-To
<CAH8yC8nodewYm-J3ye5Lnq-Zf9JziejL8L3TxTEwVoq8hD--HA@mail.gmail.com>
On Sat, Feb 10, 2018 at 03:55:58AM -0500, Jeffrey Walton wrote:
Show 15 quoted lines
> Hi Everyone,
> 
> I'm seeing this issue on Windows: https://pastebin.com/YfB25E4T . It
> seems the filename AUX is the culprit. Also see
> https://blogs.msdn.microsoft.com/oldnewthing/20031022-00/?p=42073 .
> (Thanks to Milleneumbug on Stack Overflow).
> 
> I did not name the file, someone else did. I doubt the filename will be changed.
> 
> Searching is not turning up much information:
> https://www.google.com/search?q=git+"magic+filenames"+windows
> 
> Does anyone know how to sidestep the issue on Windows?
> 
> Jeff
Thanks for the report.
(Typically nobody (tm) here on the list opens a web-browser to look at external
 material, so here is a shortened version of the pastebin:)

error: unable to create file crypto_stream/lexv2/e/v2/schwabe/sparc-2/e/aux.c: No such file or directory error: unable to create file crypto_stream/lexv2/e/v2/schwabe/sparc-2/e/aux.s: No such file or directory Segmentation fault: 99% (26526/26793)

There are actually 2 problems:
- The filenames named aux.c
  It could be that git -c core.longpaths=true clone xxx
  works, but I don't have a Windows box to test at the moment-
- The crash
  Which Git version do you use?
  It may be a good idea to report it here
  https://github.com/git-for-windows/git
Previous: Jeffrey WaltonNext: Jeffrey Walton
Message 2 of 5 in “Crash when clone includes magic filenames on Windows”
  1. Jeffrey WaltonFeb 10, 2018
  2. Torsten BögershausenFeb 10, 2018
  3. Jeffrey WaltonFeb 10, 2018
  4. Philip OakleyFeb 10, 2018
  5. Philip OakleyFeb 10, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.