[BUG] Segfault with rev-list --bisect
- From
- Troy Moure <troy.moure@gmail.com>
- Date
- Mar 3, 2015, 14:19 UTC
- Message-ID
- <CAMo-WNYNeShbbhNfG455o7krGfY7_9zVU3dMpJ7b4Smh_AiATg@mail.gmail.com>
Hi,
I've found a case where git rev-list --bisect segfaults reproducibly (git version is 2.3.1). This is the commit topology (A2 is the first parent of M):
I - A1 - A2
\ \
- B1 -- M (HEAD)And this is an example of a command that segfaults:
git rev-list --bisect --first-parent --parents HEAD --not HEAD~1
I tried a couple of variations quickly: It does not segfault if a non-merge commit is made on top of M (so HEAD is no longer pointing directly to M). It also does not segfault if 'HEAD~1' is changed to 'HEAD~2'.
Thanks, Troy