From tlikonen@iki.fi Sun Nov 2 05:56:23 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-7.9 required=4.0 tests=BAYES_00,FOURLA, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 2 Nov 2008 13:56:23 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mA2DuJVH018189 for ; Sun, 2 Nov 2008 05:56:21 -0800 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KwdRD-0006Zc-JS for bug-gnu-emacs@gnu.org; Sun, 02 Nov 2008 08:56:19 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KwdRC-0006ZA-Ir for bug-gnu-emacs@gnu.org; Sun, 02 Nov 2008 08:56:19 -0500 Received: from [199.232.76.173] (port=41608 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KwdRC-0006Z5-D2 for bug-gnu-emacs@gnu.org; Sun, 02 Nov 2008 08:56:18 -0500 Received: from mta-out.inet.fi ([195.156.147.13]:47809 helo=jenni1.inet.fi) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KwdRB-00014N-Vr for bug-gnu-emacs@gnu.org; Sun, 02 Nov 2008 08:56:18 -0500 Received: from mithlond.arda.local (80.220.180.181) by jenni1.inet.fi (8.5.014) id 48FC59C700AF4414 for bug-gnu-emacs@gnu.org; Sun, 2 Nov 2008 15:56:16 +0200 To: bug-gnu-emacs@gnu.org Subject: Segfault with `M-- M-r' when `scroll-margin' is higher than zero From: Teemu Likonen Date: Sun, 02 Nov 2008 15:56:15 +0200 Message-ID: <87skqaw7sw.fsf@iki.fi> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Emacs crashes with segmentation fault when I type command `M-- M-r' while variable `scroll-margin' has value 1 more more. Steps to reproduce: 1. Start Emacs from text terminal: $ emacs -Q 2. Move to Emacs reference manual buffer: 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. Run command `move-to-window-line' with negative argument: M-- M-r 5. You should see the Emacs frame disappearing and the following error message in terminal: Fatal error (11)Segmentation fault I have tried with Emacs version 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 (I'm writing this bug report with 22.2.1 as you can see from the following automatically inserted information.) In GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11) of 2008-10-17 on raven, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.10402000 configured using `configure '--build=i486-linux-gnu' '--host=i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs22:/etc/emacs:/usr/local/share/emacs/22.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/22.2/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/22.2/leim' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS='' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: en_US.UTF-8 value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: fi_FI.UTF-8 locale-coding-system: utf-8 default-enable-multibyte-characters: t Major mode: Info Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-h r C-s r e p o u u M-x m e m a c s - v e r s i o n M-x C-g C-x 5 2 M-x r e p o r t - b u e m a Recent messages: Loading info...done Loading jka-compr...done uncompressing emacs.gz...done uncompressing emacs-1.gz...done Mark saved where search started uncompressing emacs-5.gz...done byte-code: Beginning of buffer [6 times] GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11) of 2008-10-17 on raven, modified by Debian Quit Loading emacsbug...done From rgm@gnu.org Sun Nov 2 23:29:18 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-9.7 required=4.0 tests=AWL,BAYES_00,MISSING_SUBJECT, NOSUBJECT,RCVD_IN_DNSWL_MED,VALID_BTS_CONTROL,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at control) by emacsbugs.donarmstrong.com; 3 Nov 2008 07:29:18 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mA37TFGC023456 for ; Sun, 2 Nov 2008 23:29:16 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1KwtpJ-00009s-2m; Mon, 03 Nov 2008 02:26:17 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18702.42905.10233.630223@fencepost.gnu.org> Date: Mon, 3 Nov 2008 02:26:17 -0500 From: Glenn Morris To: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: cyan X-Ran: HZuJ@*x[4t$sT:r~rM5PvACF7-HsR"Ln[VlQq8.ViFTJ;&(\ X-Debbugs-No-Ack: yes merge 1295 1296 From unknown Sun Jun 22 22:43:26 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Fri, 05 Dec 2008 15:24:03 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator