GNU bug report logs - #35429
27.0.50; Arbitrary xdisp.c related crashes when working with overlay-using packages

Previous Next

Package: emacs;

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

Date: Thu, 25 Apr 2019 15:38:02 UTC

Severity: normal

Found in version 27.0.50

Done: Kaushal Modi <kaushal.modi <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #26 received at 35429 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Kaushal Modi <kaushal.modi <at> gmail.com>
Cc: 35429 <at> debbugs.gnu.org
Subject: Re: bug#35429: 27.0.50; Arbitrary xdisp.c related crashes when
 working with overlay-using packages
Date: Fri, 26 Apr 2019 21:32:26 +0300
> From: Kaushal Modi <kaushal.modi <at> gmail.com>
> Date: Fri, 26 Apr 2019 14:22:51 -0400
> Cc: 35429 <at> debbugs.gnu.org
> 
> (gdb) p current_buffer->name_
> $9 = XIL(0xc35be44)
> (gdb) xstring
> $10 = (struct Lisp_String *) 0xc35be40
> "ascii-art-to-unicode.el"
> (gdb) fr 2
> #2  0x0000000000456b44 in init_iterator (it=it <at> entry=0x7fffffff3040, w=w <at> entry=0x89da880, charpos=2874,
>     bytepos=<optimized out>, row=<optimized out>,
> base_face_id=base_face_id <at> entry=DEFAULT_FACE_ID)
>     at xdisp.c:3047
> 3047          eassert (charpos == BYTE_TO_CHAR (bytepos));
> (gdb) p w->contents
> $11 = XIL(0xc35be95)
> (gdb) xtype
> Lisp_Vectorlike
> PVEC_BUFFER
> (gdb) xbuffer
> $12 = (struct buffer *) 0xc35be90
> (unsigned char *) 0xb6e97a0 "ascii-art-to-unicode.el"
> (gdb) 
> 
> I hope this helps.

It does.

So now what do the following commands tell?

  (gdb) fr 2
  (gdb) p w->start
  (gdb) xmarker
  (gdb) p *$




This bug report was last modified 6 years and 18 days ago.

Previous Next


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