GNU bug report logs -
#9401
24.0.50; Crash during fontification
Previous Next
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
View this message in rfc822 format
> 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.
[...]
> #4 0x00000000006300a5 in scan_sexps_forward (stateptr=0x7fffffff30b0,
> from=26298, from_byte=48082, end=38471, targetdepth=-10000, stopbefore=0,
> oldstate=12552834, commentstop=0) at syntax.c:3133
> #5 0x000000000061e721 in back_comment (from=38165, from_byte=38165, stop=1,
> comnested=0, comstyle=0, charpos_ptr=0x7fffffff3418,
> bytepos_ptr=0x7fffffff3420) at syntax.c:733
There's something pretty fishy going on, indeed, since we end going
"back" from 38165/38165 to 26298/38471, i.e. the char position is
smaller but the byte position is larger.
Stefan
This bug report was last modified 13 years and 326 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.