GNU bug report logs - #9495
24.0.50; Segfault in try_cursor_movement

Previous Next

Package: emacs;

Reported by: Johan Bockgård <bojohan <at> gnu.org>

Date: Tue, 13 Sep 2011 19:33:02 UTC

Severity: normal

Found in version 24.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #22 received at 9495-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Johan Bockgård <bojohan <at> gnu.org>
Cc: 9495-done <at> debbugs.gnu.org
Subject: Re: bug#9495: 24.0.50; Segfault in try_cursor_movement
Date: Thu, 15 Sep 2011 19:05:20 +0300
> From: Johan Bockgård <bojohan <at> gnu.org>
> Cc: 9495 <at> debbugs.gnu.org
> Date: Wed, 14 Sep 2011 21:50:29 +0200
> 
> emacs -Q -eval '(setq line-move-visual nil truncate-lines t track-eol t)'
> 
> C-u 100 x RET
> y <up>
> 
> At this point, in try_cursor_movement, point is in the "x" line, the
> window has not yet hscrolled, and the value of hpos is just after the
> last valid element in glyphs[TEXT_AREA].
> 
> (It only actually crashes some of the time, of course.)

Thanks, I committed your patch with a minor variation.





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

Previous Next


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