From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: don@donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#1296: marked as done (Segfault with `M-- M-r' when `scroll-margin' is higher than zero) Date: Thu, 6 Nov 2008 16:40:06 -0800 Message-ID: References: <87wsfgv0mj.fsf@cyd.mit.edu> <87skqaw7sw.fsf@iki.fi> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1226018405-29339-2" X-Trace: ger.gmane.org 1226022697 21710 80.91.229.12 (7 Nov 2008 01:51:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Nov 2008 01:51:37 +0000 (UTC) To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 07 02:52:39 2008 connect(): Connection refused Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KyGWc-0005QN-SH for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 Nov 2008 02:52:39 +0100 Original-Received: from localhost ([127.0.0.1]:51058 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KyGVV-0003Sa-JP for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Nov 2008 20:51:29 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KyGVO-0003P5-M7 for bug-gnu-emacs@gnu.org; Thu, 06 Nov 2008 20:51:22 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KyGVN-0003OR-Px for bug-gnu-emacs@gnu.org; Thu, 06 Nov 2008 20:51:22 -0500 Original-Received: from [199.232.76.173] (port=54258 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KyGVN-0003OA-D1 for bug-gnu-emacs@gnu.org; Thu, 06 Nov 2008 20:51:21 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:53703) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KyFY8-0008TF-Oj for bug-gnu-emacs@gnu.org; Thu, 06 Nov 2008 19:50:09 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mA70o5Rq031966; Thu, 6 Nov 2008 16:50:06 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mA70e6DJ029519; Thu, 6 Nov 2008 16:40:06 -0800 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com X-Emacs-PR-Message: closed 1296 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:22196 Archived-At: This is a multi-part message in MIME format... ------------=_1226018405-29339-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Thu, 06 Nov 2008 19:30:12 -0500 with message-id <87wsfgv0mj.fsf@cyd.mit.edu> and subject line Re: Segfault with `M-- M-r' when `scroll-margin' > 0 has caused the Emacs bug report #1295, regarding Segfault with `M-- M-r' when `scroll-margin' is higher than zero to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact don@donarmstrong.com immediately.) --=20 1295: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D1295 Emacs Bug Tracking System Contact don@donarmstrong.com with problems ------------=_1226018405-29339-2 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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 ------------=_1226018405-29339-2 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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=-4.0 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1295-done) by emacsbugs.donarmstrong.com; 7 Nov 2008 00:30:06 +0000 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mA70U2pj026985 for <1295-done@emacsbugs.donarmstrong.com>; Thu, 6 Nov 2008 16:30:04 -0800 Received: by cyd.mit.edu (Postfix, from userid 1000) id DDD0D57E0BE; Thu, 6 Nov 2008 19:30:12 -0500 (EST) From: Chong Yidong To: Teemu Likonen Cc: 1295-done@emacsbugs.donarmstrong.com Subject: Re: Segfault with `M-- M-r' when `scroll-margin' > 0 Date: Thu, 06 Nov 2008 19:30:12 -0500 Message-ID: <87wsfgv0mj.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > Emacs crashes with segmentation fault when I type command `M-- M-r' > while variable `scroll-margin' has value 1 more more. I've checked in a fix that should solve this problem. ------------=_1226018405-29339-2--