Subject: bug#24242: Emacs 25 segfaults with diff-hl-mode

From: Lars Ingebrigtsen <[email-masked]>
Date: Wed, 28 Aug 2019 22:07:47 +0200

Mohammed Sadik <[email-masked]> writes:

> This is my .emacs:
>
> (package-initialize)
> (when (fboundp 'set-fringe-mode)
>   (set-fringe-mode '(0 . 0))
>   (add-hook 'c-mode-common-hook
>             (lambda ()
>               (setq left-fringe-width 4
>                     right-fringe-width 0))))
>
> How to reproduce:
>
>     1. Open some .c file from some git repository (the file should
>        already be added, so 'git diff' shows the changes)
>     2. M-x diff-hl-mode (segfaults here if modified file is opened)
>     3. Modify the file (if diff-hl-flydiff-mode is enabled, GNU Emacs
>        segfaults here)
>     4. Saving the file segfaults Emacs

I tried this recipe in Emacs 27 (on Debian Stable), and it did not
segfault.

Are you still seeing this problem?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no