git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff King <peff@peff.net>
To: Bernhard Posselt <mail@bernhard-posselt.com>
Cc: git@vger.kernel.org
Subject: Re: Memory corruption when rebasing with git version 1.8.1.5 on arch
Date: Fri, 8 Mar 2013 16:28:31 -0500	[thread overview]
Message-ID: <20130308212831.GA9217@sigill.intra.peff.net> (raw)
In-Reply-To: <5139D76D.80703@bernhard-posselt.com>

On Fri, Mar 08, 2013 at 01:19:57PM +0100, Bernhard Posselt wrote:

> Using valgrind gives me:
> 
> $ valgrind /usr/bin/git pull --rebasehttps://github.com/PatrickHeller/core.git  master
> ==5995== Memcheck, a memory error detector
> ==5995== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.
> ==5995== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info
> ==5995== Command: /usr/bin/git pull --rebasehttps://github.com/PatrickHeller/core.git  master
> ==5995==
> remote: Counting objects: 5, done.
> remote: Compressing objects: 100% (1/1), done.
> remote: Total 3 (delta 2), reused 3 (delta 2)
> Unpacking objects: 100% (3/3), done.
>  Fromhttps://github.com/PatrickHeller/core
>   * branch            master     -> FETCH_HEAD
> First, rewinding head to replay your work on top of it...
> Applying: distinguish between touch and write
> Applying: remove debug output
> *** Error in `git': malloc(): memory corruption: 0x00000000027f14e0 ***

The problem is likely happening in a sub-command of git-pull, so
valgrind isn't reporting it. Can you try re-running with
"valgrind --trace-children=yes", or alternatively narrow down the
problematic command by setting GIT_TRACE=1 in the environment?

-Peff

  reply	other threads:[~2013-03-08 21:29 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-08 12:19 Memory corruption when rebasing with git version 1.8.1.5 on arch Bernhard Posselt
2013-03-08 21:28 ` Jeff King [this message]
2013-03-09  0:08   ` Bernhard Posselt
2013-03-09  4:48     ` Jeff King
2013-03-09 10:54       ` Bernhard Posselt
2013-03-10  7:05         ` Jeff King
2013-03-10 11:04           ` Bernhard Posselt
2013-03-10 11:45           ` Bernhard Posselt
2013-03-11  5:18             ` Jeff King
2013-03-19 10:42               ` Bernhard Posselt
2013-03-19 13:44                 ` Jeff King
2013-03-19 16:02                   ` Junio C Hamano
2013-03-22 18:08                     ` Junio C Hamano
2013-03-22 21:24                       ` Jeff King

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130308212831.GA9217@sigill.intra.peff.net \
    --to=peff@peff.net \
    --cc=git@vger.kernel.org \
    --cc=mail@bernhard-posselt.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).