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

Re: [Bug] Segfault in git status

From
Dane Jensen <careo@fastmail.fm>
Date
Feb 19, 2008, 23:18 UTC
Message-ID
<746D851F-CE49-4867-BB0B-D09615463244@fastmail.fm>
In-Reply-To
<7vfxvpn3da.fsf@gitster.siamese.dyndns.org>
On Feb 18, 2008, at 5:26 PM, Junio C Hamano wrote:
Show 9 quoted lines
> Dane Jensen <careo@fastmail.fm> writes:
>
>> This was in OS X 10.5.2 with git compiled from cf5c51e. Falling back
>> to 1.5.4.2 cleared it up, so with the help of git bisect I've  
>> narrowed
>> the bug down to cf55870.
>
> Do you have this issue only on OSX?  Do you have the issue on
> any commit, or a particular commit?

It's not with any particular commit. It occurs with a fresh clone or at any other point, regardless of any changes I've made, what branch I'm on, or anything else I could think of testing.

Show 5 quoted lines
> What does the change between HEAD, index and the work tree
> involve in the commit that causes the problem?  Can you make
> repository available to the public for diagnosis (if it is "Only
> on OSX", I may not be able to help much with, but never hurt to
> ask)?

Unfortunately not. I'll try to see if I can't cook up a test case that reproduces it however.

Show 5 quoted lines
> Just to double check, can you see if reverting the commit (and
> another commit that immediately follows) fixes the issue for
> you?
>
> A patch to do the revert for cf5c51e is attached.
The patch does indeed fix it.

Additionally, now that I see the output of a successful run right after a failed one, it appears that git-status is dying before listing untracked files. It will output the "Changed but not updated:" section, but then die before getting to "Untracked files:".

-Dane
Previous: Junio C HamanoNext: Jay Soffian
Message 3 of 9 in “[Bug] Segfault in git status”
  1. Dane JensenFeb 18, 2008
  2. Junio C HamanoFeb 19, 2008
  3. Dane JensenFeb 19, 2008
  4. Jay SoffianFeb 21, 2008
  5. Pieter de BieFeb 21, 2008
  6. Jeff KingFeb 21, 2008
  7. Jay SoffianFeb 21, 2008
  8. Pieter de BieFeb 21, 2008
  9. Dane JensenFeb 21, 2008

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.