From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Raeburn Newsgroups: gmane.emacs.bugs Subject: bug#17975: 24.3.92; assertion failure deleting frames with varying names for the same display (and, using multiple X11 connections in that case too) Date: Fri, 11 Jul 2014 17:22:17 -0400 Message-ID: <6eoawv616e.fsf@just-testing.permabit.com> References: <6ea98jsjtd.fsf@just-testing.permabit.com> <53BCD52D.6090700@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1405113869 13287 80.91.229.3 (11 Jul 2014 21:24:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Jul 2014 21:24:29 +0000 (UTC) Cc: 17975@debbugs.gnu.org To: Dmitry Antipov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 11 23:24:24 2014 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 1X5iIo-0005KV-VD for geb-bug-gnu-emacs@m.gmane.org; Fri, 11 Jul 2014 23:24:23 +0200 Original-Received: from localhost ([::1]:46781 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5iIo-0006mr-H1 for geb-bug-gnu-emacs@m.gmane.org; Fri, 11 Jul 2014 17:24:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60124) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5iHc-0005Bo-IQ for bug-gnu-emacs@gnu.org; Fri, 11 Jul 2014 17:23:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X5iHW-0003Ea-Ux for bug-gnu-emacs@gnu.org; Fri, 11 Jul 2014 17:23:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38989) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5iHW-0003EU-QW for bug-gnu-emacs@gnu.org; Fri, 11 Jul 2014 17:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1X5iHW-0000c6-BC for bug-gnu-emacs@gnu.org; Fri, 11 Jul 2014 17:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ken Raeburn Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 11 Jul 2014 21:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17975 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17975-submit@debbugs.gnu.org id=B17975.14051137482300 (code B ref 17975); Fri, 11 Jul 2014 21:23:02 +0000 Original-Received: (at 17975) by debbugs.gnu.org; 11 Jul 2014 21:22:28 +0000 Original-Received: from localhost ([127.0.0.1]:53786 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X5iGy-0000b1-3l for submit@debbugs.gnu.org; Fri, 11 Jul 2014 17:22:28 -0400 Original-Received: from mail-qa0-f53.google.com ([209.85.216.53]:54269) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X5iGv-0000am-Kt for 17975@debbugs.gnu.org; Fri, 11 Jul 2014 17:22:26 -0400 Original-Received: by mail-qa0-f53.google.com with SMTP id v10so1356679qac.12 for <17975@debbugs.gnu.org>; Fri, 11 Jul 2014 14:22:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=permabit.com; s=google; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=fiVZ9Y13pUp64DUr8F2UIt4fbjxjC9barXoX0z/AJ1o=; b=J/4kVFrcJGn8ZpVwbUgXWrjRRt+QKrz/wJTgvcuVup61IqU6c6aA5d+lV80KHGcJBf Eza5ZOfEM0NK1si35FtE/CGdDVdCxXIweOvlt/Powt3EZvxJK6SxOFPOSKVqBPxtNmkG xj2u+Kj8vRvWdiXgDwce1tFhVzpnolLjd1YL4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=fiVZ9Y13pUp64DUr8F2UIt4fbjxjC9barXoX0z/AJ1o=; b=k2C3IgivKzZuO1Q9ZyP2ut2bIgcWC85pSTJQGwICGLxQ3En35lt879oDXbKcDYIVBr L+rWoyrwi3cUWABm2LKLbDkL4GrgJ+ylSJA0QQ681bQPCCgt9H1XYC6lIR/Lgh1YaqLV iWKSFb3goHW4X0jH/hzmJGYJAhH4FX44oLLl9NT0JitbDO4nvRzoBDxNeaCm6tEuWKTt CR8ONsPOXP0Pgjcba4b7Mv6cD/1QQ+yevQjN0Zmu0fRZY17NR8fZtcILc0tqPGZ45bpl 7I9O3zRiJp08zcIoQDE+y2iMnepD2iPrnG4di2vFXGxalaxCynGXF8CMZs6nRrP42pRx AmYw== X-Gm-Message-State: ALoCoQkWTgI8amzfF8SygD0QaPSjwuJddvenrUaG8pRV2SIOufTB0BQcXjdtZ+VGS/N/mZd3d8b7 X-Received: by 10.229.51.201 with SMTP id e9mr2930611qcg.2.1405113740165; Fri, 11 Jul 2014 14:22:20 -0700 (PDT) Original-Received: from just-testing.permabit.com (vpn.permabit.com. [66.202.84.2]) by mx.google.com with ESMTPSA id j97sm3421836qgd.37.2014.07.11.14.22.18 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 11 Jul 2014 14:22:19 -0700 (PDT) In-Reply-To: <53BCD52D.6090700@yandex.ru> (Dmitry Antipov's message of "Wed, 09 Jul 2014 09:37:49 +0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.92 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.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:91454 Archived-At: Dmitry Antipov writes: > Reproduced. The whole thing looks like a mystery (perhaps Xlib makes a > difference between :0 and :0.0 somewhere in its innards), but this > workaround works for me. Can you please try it too? It works for me too. Of course, my saved .emacs.desktop already has a mix of display names in it; I'll have to get them in sync. But of course it isn't going to address some reasonable uses of make-frame-on-display (including perhaps old scripts some of us may have lying around that invoke make-frame-on-display by way of emacsclient --eval). Perhaps a similar change can be made within the main Emacs code? I can reformulate the recipe in a form without emacsclient, for testing purposes: $ DISPLAY=:0 emacs -Q --eval \ '(let ((f (selected-frame))) (make-frame-on-display ":0.0") (delete-frame f))' If I use "(make-frame)" instead, or give make-frame-on-display the initial DISPLAY value, it works fine. It appears that mixing ":0" and "unix:0" can trigger the problem, too. At least in my X11 environment, ":0" or ":0.0" seem to be the preferred forms. So launching a non-daemon Emacs from xterm and then using the modified emacsclient with it could also be a problem, but I haven't tested it yet. Ken