From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#63312: 29.0.90; set-frame-parameter sometimes called with dead frame when quitting ediff Date: Fri, 05 May 2023 20:50:16 +0300 Message-ID: <83zg6ihdlz.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37424"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 63312@debbugs.gnu.org To: Tobias Bading Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 05 19:50:30 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1puzZd-0009XP-PV for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 May 2023 19:50:29 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1puzZE-00037Y-3F; Fri, 05 May 2023 13:50:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1puzZC-00037M-UE for bug-gnu-emacs@gnu.org; Fri, 05 May 2023 13:50:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1puzZC-0002xE-Kv for bug-gnu-emacs@gnu.org; Fri, 05 May 2023 13:50:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1puzZC-0007zB-Ao for bug-gnu-emacs@gnu.org; Fri, 05 May 2023 13:50:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 May 2023 17:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63312 X-GNU-PR-Package: emacs Original-Received: via spool by 63312-submit@debbugs.gnu.org id=B63312.168330897030624 (code B ref 63312); Fri, 05 May 2023 17:50:02 +0000 Original-Received: (at 63312) by debbugs.gnu.org; 5 May 2023 17:49:30 +0000 Original-Received: from localhost ([127.0.0.1]:57390 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1puzYg-0007xr-9y for submit@debbugs.gnu.org; Fri, 05 May 2023 13:49:30 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:50118) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1puzYd-0007xe-Ur for 63312@debbugs.gnu.org; Fri, 05 May 2023 13:49:28 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1puzYY-0002ox-AS; Fri, 05 May 2023 13:49:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=/BR/Rw+f3FxgwJYRon8PVu5Yio0kgNdS1Wt16CpPo6Y=; b=UYvEq2yA8xmTCiknqGMk GyPRoLkNxX6fCv/cRAk7dsxa5oW+kUaZb+vPrz1nscrBy8c5pkTj/bppTZSju7XF9hKKqnm89vTc0 Cy+BlaJP8/L+vL+WxOgX7Y7kXtJPSwauezCN9XdVQ3N3hZjMTv5CeDU1mL7kGR6RR+6r7sTsb63Oh Pp4mFOtMH9UnQBGTn6qn3qBe3XMZzHvKG+TRuhd9gK6Z2iIRBNBdiRcwNViWpnHqsv61Z6xO5av+b Yes/xDBQv6PARmi7t4sHujt/7YqnWHru7LDNCo9I7uZOva1yhV1hfBYHdePNj+lH60yta3OZnufyW 2DZHQnS0Z7YJHw==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1puzYX-0000m8-Qe; Fri, 05 May 2023 13:49:22 -0400 In-Reply-To: (message from Tobias Bading on Fri, 5 May 2023 19:02:10 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:261130 Archived-At: > Date: Fri, 5 May 2023 19:02:10 +0200 > From: Tobias Bading > > 1. emacs -Q > > 2. Open a file under version control, e.g. lisp/vc/ediff-util.el > > 3. Selecting some text with the mouse seems to increase the chance of the >    error occurring, maybe even select some text in another application > > 4. M-x ediff-revision RET RET RET RET > > 5. q RET > > Sometimes this results in error > > set-frame-parameter: Wrong type argument: frame-live-p, # > > With > > (trace-function-background 'set-frame-parameter) > (trace-function-background 'x-dnd-after-move-frame) > (trace-function-background 'handle-move-frame) > > prior to quitting ediff, the error is logged as > > 1 -> (handle-move-frame (move-frame (#))) > | 2 -> (x-dnd-after-move-frame #) > | | 3 -> (set-frame-parameter # dnd-root-window-position nil) > | | 3 <- set-frame-parameter: !non-local\ exit! > | 2 <- x-dnd-after-move-frame: !non-local\ exit! > 1 <- handle-move-frame: !non-local\ exit! > Can you set debug-on-error non-nil, and post the full Lisp backtrace from the error? Thanks.