# Running parse cvs

4 messages from 2006-06-16 to 2006-06-16. Participants: Jon Smirl, Linus Torvalds, Johannes Schindelin.
Thread: https://gitlist.dev/t/4534

## Jon Smirl, 2006-06-16 18:47

Subject: Running parse cvs
Message-ID: <9e4733910606161147m403a3f36r6657bd7b620958f3@mail.gmail.com>
URL: https://gitlist.dev/e/9e4733910606161147m403a3f36r6657bd7b620958f3%40mail.gmail.com

```
I am running the latest parsecvs from your git tree. I am hitting a quick gpf.

oad: sible/src/html/nsHTMLLinkAccessible *....................   253 of 100111
Load: essible/src/html/nsHTMLLinkAccessib *....................   254 of 100111
Load: ble/src/html/nsHTMLSelectAccessible *....................   255 of 100111
*** glibc detected *** /home/jonsmirl/workspace/parsecvs/parsecvs:
munmap_chunk(): invalid pointer: 0x08fd1db0 ***

In the call stack I am in git_rev_list_pack line 619 doing a free.
Called from parsecvs.c at 776

-- 
Jon Smirl
jonsmirl@gmail.com

```

## Jon Smirl, 2006-06-16 19:10

Subject: Re: Running parse cvs
Message-ID: <9e4733910606161210r12306622g139b54eeb87dc68d@mail.gmail.com>
URL: https://gitlist.dev/e/9e4733910606161210r12306622g139b54eeb87dc68d%40mail.gmail.com
In-Reply-To: <9e4733910606161147m403a3f36r6657bd7b620958f3@mail.gmail.com>

```
On 6/16/06, Jon Smirl <jonsmirl@gmail.com> wrote:
> I am running the latest parsecvs from your git tree. I am hitting a quick gpf.
>
> oad: sible/src/html/nsHTMLLinkAccessible *....................   253 of 100111
> Load: essible/src/html/nsHTMLLinkAccessib *....................   254 of 100111
> Load: ble/src/html/nsHTMLSelectAccessible *....................   255 of 100111
> *** glibc detected *** /home/jonsmirl/workspace/parsecvs/parsecvs:
> munmap_chunk(): invalid pointer: 0x08fd1db0 ***
>
> In the call stack I am in git_rev_list_pack line 619 doing a free.
> Called from parsecvs.c at 776

The GPF is because git-Pack_directory is calling free(git_dir) when
git_dir is an atom.

>
> --
> Jon Smirl
> jonsmirl@gmail.com
>


-- 
Jon Smirl
jonsmirl@gmail.com

```

## Linus Torvalds, 2006-06-16 19:24

Subject: Re: Running parse cvs
Message-ID: <Pine.LNX.4.64.0606161220360.5498@g5.osdl.org>
URL: https://gitlist.dev/e/Pine.LNX.4.64.0606161220360.5498%40g5.osdl.org
In-Reply-To: <9e4733910606161147m403a3f36r6657bd7b620958f3@mail.gmail.com>

```


On Fri, 16 Jun 2006, Jon Smirl wrote:
>
> I am running the latest parsecvs from your git tree. I am hitting a quick gpf.

If it's really quick, run it under valgrind. It will slow down things 
enormously, but if it happens early on, you won't care, and it will 
generally give a much better reason for why the problem happened than the 
glibc malloc debugger will.

Ie just

	valgrind --tool=memcheck parsecvs ..

should do it.

Valgrind is da bomb.

		Linus

```

## Johannes Schindelin, 2006-06-16 19:56

Subject: Re: Running parse cvs
Message-ID: <Pine.LNX.4.63.0606162156140.17616@wbgn013.biozentrum.uni-wuerzburg.de>
URL: https://gitlist.dev/e/Pine.LNX.4.63.0606162156140.17616%40wbgn013.biozentrum.uni-wuerzburg.de
In-Reply-To: <Pine.LNX.4.64.0606161220360.5498@g5.osdl.org>

```
Hi,

On Fri, 16 Jun 2006, Linus Torvalds wrote:

> Valgrind is da bomb.

Now you are officially on the NSA black list.

```
