From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: phillip.lord@russet.org.uk (Phillip Lord) Newsgroups: gmane.emacs.bugs Subject: bug#23871: 25.1.50; Undo unexpectedly leads to blank buffer Date: Sun, 03 Jul 2016 13:55:48 +0100 Message-ID: <8760smricr.fsf@russet.org.uk> References: <83h9cavdgj.fsf@gnu.org> <87poqyy2tc.fsf@metalevel.at> <87vb0qqrkz.fsf@russet.org.uk> <87h9c9zx75.fsf@metalevel.at> <834m89vmyv.fsf@gnu.org> <878txlsbdb.fsf@russet.org.uk> <87furtccdv.fsf@metalevel.at> <877fd5q9te.fsf@russet.org.uk> <83bn2gtruk.fsf@gnu.org> <87k2h37pvb.fsf@russet.org.uk> <87zipz223y.fsf@metalevel.at> <87a8hzkqp2.fsf@russet.org.uk> <87d1mv9gqm.fsf@metalevel.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1467550603 5410 80.91.229.3 (3 Jul 2016 12:56:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 3 Jul 2016 12:56:43 +0000 (UTC) Cc: 23871@debbugs.gnu.org To: Markus Triska Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 03 14:56:31 2016 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 1bJgwn-0000HZ-NH for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Jul 2016 14:56:29 +0200 Original-Received: from localhost ([::1]:42588 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJgwm-0000S7-Sz for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Jul 2016 08:56:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35363) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJgwR-0000JJ-8m for bug-gnu-emacs@gnu.org; Sun, 03 Jul 2016 08:56:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bJgwM-0006RS-Bn for bug-gnu-emacs@gnu.org; Sun, 03 Jul 2016 08:56:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51240) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJgwM-0006RH-8U for bug-gnu-emacs@gnu.org; Sun, 03 Jul 2016 08:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bJgwM-0005Mi-0D for bug-gnu-emacs@gnu.org; Sun, 03 Jul 2016 08:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: phillip.lord@russet.org.uk (Phillip Lord) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 03 Jul 2016 12:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23871 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23871-submit@debbugs.gnu.org id=B23871.146755055820616 (code B ref 23871); Sun, 03 Jul 2016 12:56:01 +0000 Original-Received: (at 23871) by debbugs.gnu.org; 3 Jul 2016 12:55:58 +0000 Original-Received: from localhost ([127.0.0.1]:35344 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bJgwI-0005MR-KT for submit@debbugs.gnu.org; Sun, 03 Jul 2016 08:55:58 -0400 Original-Received: from cloud103.planethippo.com ([31.216.48.48]:44191) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bJgwF-0005MB-Ln for 23871@debbugs.gnu.org; Sun, 03 Jul 2016 08:55:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:Cc:To:From; bh=0V+YmnhCk4FJGCoDi/gqnZt06JHyBtWY11WL8AkvHe4=; b=akZmEEJbbdjUxoJMfGJuSCGGhz 68hgA63NIJ4P6E33jfR1OFrizoEtrj/GHEqQwVNaJ5YfaL6M55w2z/r+fZbAzziOTMPoq1lYZm3p6 1nbJ4zVMIv0XDIn0Xb+MgHSZL6ERn3mX7qNLlaTzO7s6tbiKchjG3sABmvvqpvyyqXaW8CfJwGGg4 tpbQLoI5R6RpbGzdkQ+1M3QPMJXJcV4rmujnOgVo96XwFlS6GNIYrKEmfTFJy24aIkVSFaS0LFVU2 eK82Uoq43a61s0flOpT1jdivIDUPq0t4kygtd3yVU2vt/FTnjsJTJUbIYKJr/H3hvcdMnxEtf7f1S bftCGXKQ==; Original-Received: from cpc1-benw10-2-0-cust373.gate.cable.virginm.net ([77.98.219.118]:55167 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.86_1) (envelope-from ) id 1bJgw9-0028ks-A0; Sun, 03 Jul 2016 13:55:49 +0100 In-Reply-To: <87d1mv9gqm.fsf@metalevel.at> (Markus Triska's message of "Sun, 03 Jul 2016 12:08:01 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.95 (gnu/linux) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud103.planethippo.com X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - russet.org.uk X-Get-Message-Sender-Via: cloud103.planethippo.com: authenticated_id: phillip.lord@russet.org.uk X-Authenticated-Sender: cloud103.planethippo.com: phillip.lord@russet.org.uk X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:120329 Archived-At: Markus Triska writes: > phillip.lord@russet.org.uk (Phillip Lord) writes: > >> I haven't started to look at 23871 yet, only 21722; I would rather deal >> with the simple case first. Can you tell me whether it fixes this >> case? > > The patch fixes the concrete case reported in #21722 but leads to a new > problem with undo that is not there without this patch. And is it there in Emacs-24.5? > I cannot regard this as a good fix for #21722. If you want to close > #21722 after applying your patch, I can file a new report for the new > problem. > > Please note that #23871 is the main problem for me and has been present > in Emacs for about a decade. The other issues I filed are only my > attempts to make the issue more easily reproducible, and may in fact > even be unrelated issues that I find while trying to find the root cause > of #23871. I first filed #1095, then adapted this to #21722, and now > also filed #23871 because redisplay may also be involved. > > I have tolerated the problems described in #1095 and #21722 for about a > decade and see no reason to delay Emacs 25: Neither Emacs 23 nor 24 were > delayed because of them although these issues were already reported! > #23871 was also present during this time but not yet reported. I've tried to reproduce #23871, but unfortunately, swiprolog crashes as shown below. The packaged version of swiprolog on my machine is 6.6.4, rather than > 7.2. I'm not keen on trying to update to 7.2. Is there a reproduction that will work on 6.6.4? Phil % 1 % 2 % 3 % 4 almost empty lines; next line is: line 15 %?- time(ceiled_square_root(2^10000, R)). %@ [Thread 1] pl-arith.c:1669: ar_pow: Assertion failed: 0 %@ C-stack trace labeled "crash": %@ [0] __assert_fail+0x41 %@ [1] PL_license+0x584a %@ [2] PL_license+0x3755 %@ [3] PL_license+0x3be0 %@ [4] PL_next_solution+0x5c3e %@ [5] pl_skip_list3_va+0x1629 %@ [6] pl_skip_list3_va+0x1da0 %@ [7] PL_toplevel+0x1d %@ [8] main+0x2d %@ [9] __libc_start_main+0xf5