Re: [msysGit] Msysgit crashes running 'git tag --contains ...'

416 views
Skip to first unread message

Pat Thoyts

unread,
Nov 6, 2012, 5:30:05 AM11/6/12
to morg...@gmail.com, msy...@googlegroups.com
On 6 November 2012 01:53, <morg...@gmail.com> wrote:
> I'm running msysgit 1.8.0 (I have also tried and received the same issue on
> 1.7.10), and I have a git repository that was recently converted from a CVS
> repository. When I try and get the list of tags that contain a comit,
> msysgit crashes. Here's a sample command being run:
>
> git tag --contains 34d11116
>
> And it pretty well immediately crashes with the following detailed info
>
> Problem signature:
> Problem Event Name: APPCRASH
> Application Name: git.exe
> Application Version: 1.8.0.0
> Application Timestamp: 5085c472
> Fault Module Name: git.exe
> Fault Module Version: 1.8.0.0
> Fault Module Timestamp: 5085c472
> Exception Code: c00000fd
> Exception Offset: 0010a057
> OS Version: 6.1.7601.2.1.0.256.4
> Locale ID: 1033
> Additional Information 1: b1fa
> Additional Information 2: b1fa216d0b66fa1fa5d724f492c22e62
> Additional Information 3: db31
> Additional Information 4: db314db087d587aa0d48b4833989a833
>
> Can anyone help?

You probably have a tag object with some invalid property or name in
it. Possibly just examining each tag (git cat-file tag TAGNAME) may
show which one is causing the problem and you could then delete or
rename it as a work around.
More usefully to everyone else, you can debug it. You will need to
build git which you can do by downloading and installing the msysgit
netinstaller (see
https://github.com/msysgit/msysgit/wiki/InstallMSysGit) which once it
has finished will have built msysgit on your system. At that point you
can use gdb with your new executable and start to get some more
information on just why it has crashed.

Jean-Jacques Lafay

unread,
Nov 10, 2012, 3:51:37 PM11/10/12
to msy...@googlegroups.com, morg...@gmail.com


Le mardi 6 novembre 2012 02:53:34 UTC+1, morg...@gmail.com a écrit :
I'm running msysgit 1.8.0 (I have also tried and received the same issue on 1.7.10), and I have a git repository that was recently converted from a CVS repository.  When I try and get the list of tags that contain a comit, msysgit crashes.  Here's a sample command being run:

   git tag --contains 34d11116

And it pretty well immediately crashes

I just saw your message as I was sending a patch for this very issue :
1) you're not alone
2) there is hope :-)
 

Neal Haggard

unread,
Nov 10, 2012, 4:02:28 PM11/10/12
to Jean-Jacques Lafay, msy...@googlegroups.com
Excellent news!  Thank you!

Neal Haggard

Pat Thoyts

unread,
Nov 10, 2012, 4:13:01 PM11/10/12
to Jean-Jacques Lafay, msy...@googlegroups.com, morg...@gmail.com
On 10 November 2012 20:51, Jean-Jacques Lafay
Not much hope unless someone that has this issue spends some time
looking at the stack trace and provides a patch. Or at the very least
provides sufficient information to reproduce this issue. Its not
commonplace:

C:\src\msysgit>git tag --contains Git-1.7.11-preview20120712
Git-1.7.11-preview20120712
Git-1.7.12-preview20121004
Git-1.8.0-preview20121022
Git-1.8.0-preview20121024

Didn't crash. You get a "Works for me."

Pat Thoyts

unread,
Nov 10, 2012, 4:18:07 PM11/10/12
to Jean-Jacques Lafay, msy...@googlegroups.com, morg...@gmail.com
Ah - I take it you were meaning to refer to another recent post:
"[PATCH] git tag --contains : avoid stack overflow". Looks like there
may well be hope then.
Reply all
Reply to author
Forward
0 new messages