GNU bug report logs - #24242
Emacs 25 segfaults with diff-hl-mode

Previous Next

Package: emacs;

Reported by: Mohammed Sadik <sadiqpkp <at> gmail.com>

Date: Tue, 16 Aug 2016 13:36:02 UTC

Severity: normal

Tags: moreinfo

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Mohammed Sadik <sadiqpkp <at> gmail.com>
Cc: 24242 <at> debbugs.gnu.org
Subject: bug#24242: Emacs 25 segfaults with diff-hl-mode
Date: Wed, 28 Aug 2019 22:07:47 +0200
Mohammed Sadik <sadiqpkp <at> gmail.com> 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




This bug report was last modified 5 years and 226 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.