From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#13743: 24.2.93; Segmentation fault when trying to [s]teal a file opened elsewhere Date: Tue, 26 Feb 2013 05:39:28 +0200 Message-ID: <83obf7iw0f.fsf@gnu.org> References: <5125ADA9.3070603@cs.ucla.edu> <51283965.2020107@yandex.ru> <837glzkqvc.fsf@gnu.org> <83621ilvk9.fsf@gnu.org> <512A31A0.4040804@yandex.ru> <83ehg5k8xe.fsf@gnu.org> <512AFC18.4090504@yandex.ru> <83y5ecic2p.fsf@gnu.org> <83sj4ki5nw.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1361850025 2811 80.91.229.3 (26 Feb 2013 03:40:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 Feb 2013 03:40:25 +0000 (UTC) Cc: dgutov@yandex.ru, 13743@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 26 04:40:48 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UABPK-0000Q6-Vg for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Feb 2013 04:40:47 +0100 Original-Received: from localhost ([::1]:43071 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UABP0-0003yY-2V for geb-bug-gnu-emacs@m.gmane.org; Mon, 25 Feb 2013 22:40:26 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:36279) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UABOv-0003yK-Kf for bug-gnu-emacs@gnu.org; Mon, 25 Feb 2013 22:40:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UABOu-0005Od-Dg for bug-gnu-emacs@gnu.org; Mon, 25 Feb 2013 22:40:21 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44800) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UABOu-0005OZ-Ag for bug-gnu-emacs@gnu.org; Mon, 25 Feb 2013 22:40:20 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UABQY-0005KS-CO for bug-gnu-emacs@gnu.org; Mon, 25 Feb 2013 22:42:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 26 Feb 2013 03:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13743 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13743-submit@debbugs.gnu.org id=B13743.136185012020476 (code B ref 13743); Tue, 26 Feb 2013 03:42:02 +0000 Original-Received: (at 13743) by debbugs.gnu.org; 26 Feb 2013 03:42:00 +0000 Original-Received: from localhost ([127.0.0.1]:50264 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UABQV-0005KD-Mi for submit@debbugs.gnu.org; Mon, 25 Feb 2013 22:41:59 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:58273) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UABQS-0005K1-HI for 13743@debbugs.gnu.org; Mon, 25 Feb 2013 22:41:58 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MIT00D0064VX800@a-mtaout22.012.net.il> for 13743@debbugs.gnu.org; Tue, 26 Feb 2013 05:39:34 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MIT00DQ165XWR10@a-mtaout22.012.net.il>; Tue, 26 Feb 2013 05:39:33 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:71821 Archived-At: > From: Stefan Monnier > Cc: dgutov@yandex.ru, 13743@debbugs.gnu.org > Date: Mon, 25 Feb 2013 15:28:36 -0500 > > >> I suspect it only works around the crash by optimizing away the call > >> to modify_region in the particular case you're testing. > > So you think I should install the followup I showed earlier? > > I'd leaning towards yes, although it's sufficiently ugly (and dangerous > since there's no reason to assume that it won't inf-loop) that I'd > rather not. No, the patch I posted a few messages ago cannot infloop, it only retries once (because another call to modify_region is clearly unnecessary). I will install it, then.