Git development
 help / color / mirror / Atom feed
* git-core: try_to_follow_renames(): git killed by SIGSEGV
@ 2020-02-27 12:56 Ondrej Pohorelsky
  2020-03-06 14:44 ` Alexandr Miloslavskiy
  0 siblings, 1 reply; 6+ messages in thread
From: Ondrej Pohorelsky @ 2020-02-27 12:56 UTC (permalink / raw)
  To: git

Hi,

there is a SIGSEGV appearing in Fedora[0] with Git 2.24.1

This bug started to appear after update to Git 2.24.1.
Bug reporter said that Git crashed on him while running VS Code with
Git Lens extension[1]
I have tried to reproduce this bug with my own compiled Git with debug
flags, but sadly SIGSEGV never appeared.

To me it seems like there is a problem in commit a2bb801f6a[2] which
changes move_diff_queue() function. This function calls
diff_tree_oid() that calls try_to_follow_renames(). In the last two
functions there are no arguments checks.

Best regards,
Ondřej Pohořelský

[0] https://retrace.fedoraproject.org/faf/problems/bthash/?bth=25aa7d7267ab5de548ffca337115cb68f7b65105
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1791810
[2] https://git.kernel.org/pub/scm/git/git.git/commit/?id=a2bb801f6a430f6049e5c9729a8f3bf9097d9b34


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-03-10 17:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-27 12:56 git-core: try_to_follow_renames(): git killed by SIGSEGV Ondrej Pohorelsky
2020-03-06 14:44 ` Alexandr Miloslavskiy
2020-03-10 12:07   ` Ondrej Pohorelsky
2020-03-10 16:57   ` SZEDER Gábor
2020-03-10 17:30     ` Konstantin Tokarev
2020-03-10 17:35     ` Alexandr Miloslavskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox