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

Re: Bug: git push crashing

From
PRPali Rohár <pali.rohar@gmail.com>
Date
Apr 12, 2013, 19:32 UTC
Message-ID
<201304122132.59464@pali>
In-Reply-To
<20130412190630.GM2222@serenity.lan>
On Friday 12 April 2013 21:06:31 John Keeping wrote:
Show 25 quoted lines
> On Fri, Apr 12, 2013 at 08:50:25PM +0200, Pali Rohár wrote:
> > 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?

Hello, now I tried version 1.8.2.1 and git push not crashing :-) I also tried version 1.8.1 and as expected it crashed.

So thanks for quick reply, seems that this problem is already fixed in 1.8.2.

-- 
Pali Rohár
pali.rohar@gmail.com
Previous: John Keeping
Message 3 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.