unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: 1295@emacsbugs.donarmstrong.com
Subject: bug#1295: Segfault with `M-- M-r' when `scroll-margin' > 0
Date: Mon, 03 Nov 2008 08:16:49 +0100	[thread overview]
Message-ID: <490EA561.7@gmx.at> (raw)
In-Reply-To: <87fxm9lf7y.fsf@cyd.mit.edu>

 >> Emacs crashes with segmentation fault when I type command `M-- M-r'
 >> while variable `scroll-margin' has value 1 more more.
 >>
 >>  1. $ emacs -Q
 >>
 >>  2. C-h r
 >>
 >>  3. Don't move the cursor. Set the `scroll-margin' variable:
 >>
 >>         M-x set-variable RET scroll-margin RET 4 RET
 >>
 >>  4. M-- M-r
 >>
 >>         Fatal error (11)Segmentation fault
 >
 > Hi Martin,
 >
 > I think this may be a consequence of your 2008-11-02 checkin to src (I
 > didn't pinpoint the exact change that caused it, though).
 >
 > Could you check?

The report was for Emacsen built as

     GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11) of
     2008-10-17 on raven, modified by Debian

and development snapshot version

     GNU Emacs 23.0.60.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11) of
     2008-10-18 on elegiac, modified by Debian

and I verified here that it crashes with a negative argument for all
versions I keep personally.

BTW, Richard apparently once tried to make `move-to-window-line' handle
scroll margins but failed somehow.

martin







  reply	other threads:[~2008-11-03  7:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-03  2:23 bug#1295: Segfault with `M-- M-r' when `scroll-margin' > 0 Chong Yidong
2008-11-03  7:16 ` martin rudalics [this message]
2008-11-03 19:40   ` Chong Yidong
2008-11-03 19:54   ` Chong Yidong
2008-11-03 21:40     ` Teemu Likonen
2008-11-04  7:36     ` martin rudalics
2008-11-04 20:44       ` Richard M. Stallman
2008-11-05  7:22         ` martin rudalics

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=490EA561.7@gmx.at \
    --to=rudalics@gmx.at \
    --cc=1295@emacsbugs.donarmstrong.com \
    --cc=cyd@stupidchicken.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).