unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Leo <sdl.web@gmail.com>
Cc: bojohan@gnu.org, 9495@debbugs.gnu.org
Subject: bug#9495: 24.0.50; Segfault in try_cursor_movement
Date: Thu, 15 Sep 2011 00:41:32 -0400	[thread overview]
Message-ID: <E1R43lU-0007MA-4i@fencepost.gnu.org> (raw)
In-Reply-To: <m14o0e4hy7.fsf@gmail.com> (message from Leo on Thu, 15 Sep 2011 11:12:32 +0800)

> From: Leo <sdl.web@gmail.com>
> Cc: Eli Zaretskii <eliz@gnu.org>,  9495@debbugs.gnu.org
> Date: Thu, 15 Sep 2011 11:12:32 +0800
> 
> On 2011-09-15 03:50 +0800, Johan Bockgård wrote:
> > 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.)
> 
> Does this happen with emacs-23? FWIW, I cannot get emacs-23 to crash.

It cannot possibly happen with Emacs 23, because this code is part of
the changes introduced in Emacs 24 for supporting display of
bidirectional text.

IOW, it's my fault ;-)





  reply	other threads:[~2011-09-15  4:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-13 19:28 bug#9495: 24.0.50; Segfault in try_cursor_movement Johan Bockgård
2011-09-14  5:22 ` Eli Zaretskii
2011-09-14 19:50   ` Johan Bockgård
2011-09-15  3:12     ` Leo
2011-09-15  4:41       ` Eli Zaretskii [this message]
2011-09-15 16:05     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1R43lU-0007MA-4i@fencepost.gnu.org \
    --to=eliz@gnu.org \
    --cc=9495@debbugs.gnu.org \
    --cc=bojohan@gnu.org \
    --cc=sdl.web@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).