GNU bug report logs - #27504
25.1; segfault when org-ellipsis is empty

Previous Next

Package: emacs;

Reported by: Michael Ax <michaelax <at> gmail.com>

Date: Tue, 27 Jun 2017 05:35:02 UTC

Severity: normal

Tags: confirmed, fixed

Found in version 25.1

Fixed in version 26.1

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: npostavs <at> users.sourceforge.net
Cc: michaelax <at> gmail.com, 27504 <at> debbugs.gnu.org
Subject: bug#27504: 25.1; segfault when org-ellipsis is empty
Date: Tue, 27 Jun 2017 18:49:13 +0300
> From: npostavs <at> users.sourceforge.net
> Date: Tue, 27 Jun 2017 08:10:58 -0400
> Cc: 27504 <at> debbugs.gnu.org
> 
> > (setq org-ellipsis "") C-x C-e
> > (org-mode)  C-x C-e
> > * asd
> > ** def C-p tab  < and boom
> 
> I can confirm also with emacs-master.  Below is some debug info, it
> looks like next_element_from_display_vector assumes a non-empty ellipsis
> display string.
> 
> Thread 1 "emacs" received signal SIGSEGV, Segmentation fault.
> 0x00000000005823a3 in GLYPH_CODE_P (gc=XIL(0x3)) at ../../emacs-master/src/dispextern.h:1872
> 1872		  ? (CHARACTERP (XCAR (gc))
> (gdb) bt
> #0  0x00000000005823a3 in GLYPH_CODE_P (gc=XIL(0x3)) at ../../emacs-master/src/dispextern.h:1872
> #1  0x00000000004552b0 in next_element_from_display_vector (it=0x7fffffff8dc0) at ../../emacs-master/src/xdisp.c:7760

Thanks, should be fixed now.




This bug report was last modified 7 years and 334 days ago.

Previous Next


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