From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#1295: Segfault with `M-- M-r' when `scroll-margin' > 0 Date: Mon, 03 Nov 2008 08:16:49 +0100 Message-ID: <490EA561.7@gmx.at> References: <87fxm9lf7y.fsf@cyd.mit.edu> Reply-To: martin rudalics , 1295@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1225697442 1732 80.91.229.12 (3 Nov 2008 07:30:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Nov 2008 07:30:42 +0000 (UTC) Cc: 1295@emacsbugs.donarmstrong.com To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 03 08:31:42 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 1KwtuS-0007PC-JR for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Nov 2008 08:31:36 +0100 Original-Received: from localhost ([127.0.0.1]:50210 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KwttL-0008AA-3C for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Nov 2008 02:30:27 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kwtt6-00082F-NJ for bug-gnu-emacs@gnu.org; Mon, 03 Nov 2008 02:30:12 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kwtt5-00081f-Jb for bug-gnu-emacs@gnu.org; Mon, 03 Nov 2008 02:30:12 -0500 Original-Received: from [199.232.76.173] (port=42244 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kwtt5-00081M-ED for bug-gnu-emacs@gnu.org; Mon, 03 Nov 2008 02:30:11 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:54824) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kwtt4-0005Pf-ES for bug-gnu-emacs@gnu.org; Mon, 03 Nov 2008 02:30:10 -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 mA37U4AO023665; Sun, 2 Nov 2008 23:30:05 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mA37P6SN022596; Sun, 2 Nov 2008 23:25:07 -0800 X-Loop: don@donarmstrong.com Resent-From: martin rudalics Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 03 Nov 2008 07:25:06 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1295 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1295-submit@emacsbugs.donarmstrong.com id=B1295.122569680421103 (code B ref 1295); Mon, 03 Nov 2008 07:25:06 +0000 Original-Received: (at 1295) by emacsbugs.donarmstrong.com; 3 Nov 2008 07:20:04 +0000 Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id mA37JxZ9021037 for <1295@emacsbugs.donarmstrong.com>; Sun, 2 Nov 2008 23:20:00 -0800 Original-Received: (qmail invoked by alias); 03 Nov 2008 07:19:52 -0000 Original-Received: from 62-47-33-150.adsl.highway.telekom.at (EHLO [62.47.33.150]) [62.47.33.150] by mail.gmx.net (mp034) with SMTP; 03 Nov 2008 08:19:52 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18R4ocG1zYRKmnJB2tkC+BAm6B0qEkQhSP7EoERFb ODTAvqQV0KEKLS User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) In-Reply-To: <87fxm9lf7y.fsf@cyd.mit.edu> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.6 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Mon, 03 Nov 2008 02:30:11 -0500 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:22114 Archived-At: >> 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