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

Re: Bug: git push crashing

From
John Keeping <john@keeping.me.uk>
Date
Apr 12, 2013, 19:06 UTC
Message-ID
<20130412190630.GM2222@serenity.lan>
In-Reply-To
<201304122050.26471@pali>
On Fri, Apr 12, 2013 at 08:50:25PM +0200, Pali Rohár wrote:
Show 14 quoted lines
> when I'm trying to push one specific branch from my git repository
> to server, git push crashing. Pushing branch is rejected by server
> (because non fast forward), but local git app should not crash.
> 
> I'm using git from ubuntu apt repository (compiled myself for debug
> symbols), version git_1.7.10.4-1ubuntu1 on amd64 ubuntu system:
> http://packages.ubuntu.com/source/quantal/git
> 
> Here are gdb backtrace and valgrind outputs. I changed server, repo
> and branch strings from output. It looks like that git crashing in
> strcmp function because one of arguments is NULL.
> 
> If you need more info, I can send it. This crash occur always. I can
> reproduce it again and again...

This looks like the same issue that was fixed by commit 1d2c14d (push: fix segfault when HEAD points nowhere - 2013-01-31).

Can you try again with Git 1.8.2 and see if the crash still happens?
Previous: Pali RohárNext: Pali Rohár
Message 2 of 3 in “Bug: git push crashing”
  1. Pali RohárApr 12, 2013
  2. John KeepingApr 12, 2013
  3. Pali RohárApr 12, 2013

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.