From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.bugs Subject: bug#7044: 24.0.50; Emacs crashes after calling ediff-regions-linewise Date: Sun, 26 Sep 2010 01:41:39 +0200 Message-ID: References: <87lj71r415.fsf@escher.home> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1285459885 8392 80.91.229.12 (26 Sep 2010 00:11:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 26 Sep 2010 00:11:25 +0000 (UTC) Cc: 7044@debbugs.gnu.org To: Stephen Berman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 26 02:11:23 2010 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.69) (envelope-from ) id 1Ozepv-0001ut-1q for geb-bug-gnu-emacs@m.gmane.org; Sun, 26 Sep 2010 02:11:23 +0200 Original-Received: from localhost ([127.0.0.1]:58159 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ozept-0005Vp-TA for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 Sep 2010 20:11:21 -0400 Original-Received: from [140.186.70.92] (port=59038 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ozepm-0005Uu-75 for bug-gnu-emacs@gnu.org; Sat, 25 Sep 2010 20:11:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ozepj-0006hF-MQ for bug-gnu-emacs@gnu.org; Sat, 25 Sep 2010 20:11:14 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40565) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ozepj-0006hB-Jj for bug-gnu-emacs@gnu.org; Sat, 25 Sep 2010 20:11:11 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OzeLb-00058B-86; Sat, 25 Sep 2010 19:40:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juanma Barranquero Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 Sep 2010 23:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7044 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7044-submit@debbugs.gnu.org id=B7044.128545798619713 (code B ref 7044); Sat, 25 Sep 2010 23:40:02 +0000 Original-Received: (at 7044) by debbugs.gnu.org; 25 Sep 2010 23:39:46 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OzeLK-00057u-Ng for submit@debbugs.gnu.org; Sat, 25 Sep 2010 19:39:46 -0400 Original-Received: from mail-iw0-f172.google.com ([209.85.214.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OzeLI-00057o-Qk for 7044@debbugs.gnu.org; Sat, 25 Sep 2010 19:39:45 -0400 Original-Received: by iwn3 with SMTP id 3so3450883iwn.3 for <7044@debbugs.gnu.org>; Sat, 25 Sep 2010 16:42:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=Fyih2jno9lrMnISqrc3bMShbAHwHODhwFASXya/qyyc=; b=rrxopV2m0RIp0IRzgoCLbXM7VMHjC//g0iVxzjiXs62NkUilagHxVrLFeGb/lZ6Sia Z5Wet8iUuLp1iv6UX950Qxu/nD1nyQUGwjLJMu2zdyisHrv9ytvZxsuPrkxzX4b11cKr StGsz18plypGjBRi0oMJdgLhLGr25Lg2sWXo4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=A0HyP40B1qnc2q98dfKA4ddsWk59M6PuiDNhehIF56wBVg8X8L665mlYxpR9OIgmSh HbM06jVg7VFCKSK41nvhvhaMNhi2ysf0L5KGPGcLIqyPklJMEc3dLBsz784HhjuhxfhN AdZfznoQxlV7L8v9uHoS+ArA6xACSr0XG1kUQ= Original-Received: by 10.231.146.136 with SMTP id h8mr6606664ibv.0.1285458140003; Sat, 25 Sep 2010 16:42:20 -0700 (PDT) Original-Received: by 10.231.196.71 with HTTP; Sat, 25 Sep 2010 16:41:39 -0700 (PDT) In-Reply-To: <87lj71r415.fsf@escher.home> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 25 Sep 2010 19:40:03 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , 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:40444 Archived-At: > 1. emacs -Q > 2. M-x ediff-regions-linewise, type RET twice to use *scratch* for both > =C2=A0 Ediff buffers (it doesn't matter which buffers are used). > 3. Any attempt to mark a region, indeed it seems any further input at > =C2=A0 all, makes Emacs abort. =C2=A0This is completely reproducible. Ful= l > =C2=A0 backtrace attached. On keyboard.c:command_loop, line 1789, current_buffer->mark_active =3D> t Vtransient_mark_mode =3D> t Vdeactivate_mark =3D> nil Vselect_active_regions =3D> t When line 1814 is reached, current_buffer->mark contains a marker that points to no buffer (gdb) p current_buffer->mark $8 =3D 48498715 (gdb) pr # so Fmarker_position (current_buffer->mark) returns nil, and so beg is assigned XINT (nil), which is a bug. Now, shouldn't current_buffer->mark_active be nil if the mark points nowher= e? =C2=A0 =C2=A0 Juanma