GNU bug report logs - #29031
25.3; Segmentation fault when starting emacs with my config

Previous Next

Package: emacs;

Reported by: Kaushal Modi <kaushal.modi <at> gmail.com>

Date: Fri, 27 Oct 2017 21:25:01 UTC

Severity: normal

Tags: moreinfo, unreproducible

Found in version 25.3

Done: Stefan Kangas <stefan <at> marxist.se>

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: Kaushal Modi <kaushal.modi <at> gmail.com>
Cc: 29031 <at> debbugs.gnu.org
Subject: bug#29031: 25.3; Segmentation fault when starting emacs with my config
Date: Mon, 30 Oct 2017 20:22:04 +0200
> From: Kaushal Modi <kaushal.modi <at> gmail.com>
> Date: Mon, 30 Oct 2017 14:17:57 +0000
> Cc: Eli Zaretskii <eliz <at> gnu.org>
> 
> Thread 1 "emacs" received signal SIGSEGV, Segmentation fault.
> 0x000000000043d101 in append_glyph (it=0x7fffffff2390) at xdisp.c:25880

Line 25880 of xdisp.c is this:

      glyph->charpos = CHARPOS (it->position);

So what is the problematic data here?  Is 'glyph' a NULL pointer or
something?  Or is 'it' a garbled pointer?  What do these commands
show:

  (gdb) p glyph
  (gdb) p glyph->charpos
  (gdb) p it->position

Basically, I need you to run this under a debugger and answer several
questions.  Bonus points for reproducing this in an unoptimized build
configured with --enable-checking='yes,glyphs', and then showing the
backtrace from the segfault.

IOW, this problem needs to be debugged, and for that we need data that
explains the crash.  Could you please help in collecting that data?

Thanks.




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

Previous Next


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