Re: Bug: git diagnose crashes with Segmentation fault outside of git repository
- From
Christian Couder <christian.couder@gmail.com>
- Date
- Oct 14, 2023, 17:22 UTC
- Message-ID
- <CAP8UFD3z5xKfvao2Q87tK7y5P+2LSKW_Hv-dBvFb=J3gm7-Arg@mail.gmail.com>
- In-Reply-To
- <CAKFQ_Q9WjF9i-Rx2jdCw-adPVQrWNfNKrDY-em8Rpa5RNLXz4A@mail.gmail.com>
On Sat, Oct 14, 2023 at 2:00 PM ks1322 ks1322 <ks1322@gmail.com> wrote:
Show 25 quoted lines
> > Thank you for filling out a Git bug report! > Please answer the following questions to help us understand your issue. > > What did you do before the bug happened? (Steps to reproduce your issue) > Run `git diagnose` outside of any git repository > > What did you expect to happen? (Expected behavior) > No crash, reasonable diagnose output > > What happened instead? (Actual behavior) > `git diagnose` crashed with Segmentation fault > > $ git diagnose > Collecting diagnostic info > > git version 2.41.0 > cpu: x86_64 > no commit associated with this build > sizeof-long: 8 > sizeof-size_t: 8 > shell-path: /bin/sh > Repository root: (null) > Available space on '/tmp': 7.75 GiB (mount flags 0x6) > Segmentation fault (core dumped)
Yeah, this is a valid bug report that I can reproduce. It looks like such bugs have existed in this command since it was created last year.
Best, Christian.