GNU bug report logs - #9401
24.0.50; Crash during fontification

Previous Next

Package: emacs;

Reported by: Chong Yidong <cyd <at> stupidchicken.com>

Date: Mon, 29 Aug 2011 16:14:02 UTC

Severity: normal

Found in version 24.0.50

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


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

From: Chong Yidong <cyd <at> stupidchicken.com>
To: 9401 <at> debbugs.gnu.org
Subject: Re: bug#9401: 24.0.50; Crash during fontification
Date: Tue, 30 Aug 2011 18:45:34 -0400
Chong Yidong <cyd <at> stupidchicken.com> writes:

> I can trigger this crash about 50 percent of the time by doing
>
> emacs -q trunk/src/buffer.h
> C-s defvar
>
> Emacs then crashes with a segfault.
>
> The problem involves a call to scan_sexps_forward (frame#4) with
> from_byte larger than the byte size of the buffer.

I've found the bug, and committed a fix.  It was a problem with
find_defun_start not updating its cache variables consistently.  (Is
that optimization really necessary?  I guess we can re-examine it some
other time.)




This bug report was last modified 13 years and 327 days ago.

Previous Next


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