From unknown Mon Aug 18 17:59:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22438: 24.5; Orphaned tooltip kills daemon (Lucid) Resent-From: Nicole Edwards Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Jan 2016 22:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 22438 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 22438@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.145350127513103 (code B ref -1); Fri, 22 Jan 2016 22:22:01 +0000 Received: (at submit) by debbugs.gnu.org; 22 Jan 2016 22:21:15 +0000 Received: from localhost ([127.0.0.1]:58162 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aMk4w-0003PG-Sp for submit@debbugs.gnu.org; Fri, 22 Jan 2016 17:21:15 -0500 Received: from eggs.gnu.org ([208.118.235.92]:56205) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aMjp6-00031r-HH for submit@debbugs.gnu.org; Fri, 22 Jan 2016 17:04:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aMjp0-0002lB-Fz for submit@debbugs.gnu.org; Fri, 22 Jan 2016 17:04:47 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,HK_RANDOM_ENVFROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:35464) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMjp0-0002l7-DQ for submit@debbugs.gnu.org; Fri, 22 Jan 2016 17:04:46 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47175) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMjoz-00061h-Cl for bug-gnu-emacs@gnu.org; Fri, 22 Jan 2016 17:04:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aMjov-0002jQ-Bc for bug-gnu-emacs@gnu.org; Fri, 22 Jan 2016 17:04:45 -0500 Received: from mout01.posteo.de ([185.67.36.65]:35423) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMjov-0002iJ-1K for bug-gnu-emacs@gnu.org; Fri, 22 Jan 2016 17:04:41 -0500 Received: from dovecot03.posteo.de (dovecot03.posteo.de [172.16.0.13]) by mout01.posteo.de (Postfix) with ESMTPS id 1F85820933 for ; Fri, 22 Jan 2016 23:04:36 +0100 (CET) Received: from mail.posteo.de (localhost [127.0.0.1]) by dovecot03.posteo.de (Postfix) with ESMTPSA id 3pnF4N62Hlz5vNX for ; Fri, 22 Jan 2016 23:04:36 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 22 Jan 2016 17:04:36 -0500 From: Nicole Edwards Message-ID: X-Sender: nnnnnn@posteo.net User-Agent: Posteo Webmail X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.4 (---) X-Mailman-Approved-At: Fri, 22 Jan 2016 17:21:13 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.4 (---) If I call up (or dismiss all but) one frame, ask it to display a tooltip, then destroy it while the tooltip is open, the tooltip remains open, and unless I create a new frame within a few seconds, Emacs dies. (Mercifully, so does the tooltip.) This only happens as a daemon (as otherwise there's no way to delete the last frame) and only with the Lucid toolkit (with GTK+, the tooltip disappears with the frame). In recipe form: emacs --daemon -Q emacsclient -c In the resulting *scratch* buffer, type (if (sit-for 7) (delete-frame)) Now type C-j to evaluate and, while Emacs is sitting, hover your mouse pointer over the mode line until a tooltip appears. Leave the pointer where it is, so that the tooltip remains open, and wait for the frame to be deleted. The tooltip should persist. Wait a little longer -- five or six seconds? -- and the tooltip should disappear. Back at the terminal, confirm that Emacs is no longer running. $ pgrep emacs $ In GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scroll bars) of 2016-01-22 on tikva Windowing system distributor `The X.Org Foundation', version 11.0.11604000 System Description: Debian GNU/Linux 8.2 (jessie) Configured using: `configure --prefix=/home/n/.local/stow/emacs-24.5 --with-x-toolkit=lucid' Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: Starting Emacs daemon. When done with this frame, type C-x 5 0 Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils server time-date edmacro kmacro cl-loaddefs cl-lib ido tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting x-toolkit x multi-tty emacs) Memory information: ((conses 16 76439 3869) (symbols 48 18479 0) (miscs 40 53 99) (strings 32 11586 4813) (string-bytes 1 354764) (vectors 16 10065) (vector-slots 8 387163 6532) (floats 8 80 51) (intervals 56 169 1) (buffers 960 12) (heap 1024 24129 988)) From unknown Mon Aug 18 17:59:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22438: 24.5; Orphaned tooltip kills daemon (Lucid) Resent-From: =?UTF-8?Q?=C3=93scar?= Fuentes Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Jan 2016 23:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22438 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Nicole Edwards Cc: Eli Zaretskii , 22438@debbugs.gnu.org Received: via spool by 22438-submit@debbugs.gnu.org id=B22438.145350698121497 (code B ref 22438); Fri, 22 Jan 2016 23:57:01 +0000 Received: (at 22438) by debbugs.gnu.org; 22 Jan 2016 23:56:21 +0000 Received: from localhost ([127.0.0.1]:58179 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aMlYz-0005af-Jy for submit@debbugs.gnu.org; Fri, 22 Jan 2016 18:56:21 -0500 Received: from smtp10.acens.net ([86.109.99.134]:34459 helo=smtp.movistar.es) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aMlYw-0005aO-RB for 22438@debbugs.gnu.org; Fri, 22 Jan 2016 18:56:20 -0500 X-CTCH-RefID: str=0001.0A0B0204.56A2C195.0035, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown Received: from qcore (83.38.42.1) by smtp.movistar.es (8.6.122.03) (authenticated as 981711563$telefonica.net) id 56623BC803E2F768; Fri, 22 Jan 2016 23:56:05 +0000 From: =?UTF-8?Q?=C3=93scar?= Fuentes References: Date: Sat, 23 Jan 2016 00:56:03 +0100 In-Reply-To: (Nicole Edwards's message of "Fri, 22 Jan 2016 17:04:36 -0500") Message-ID: <87d1stkw30.fsf@wanadoo.es> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Nicole Edwards writes: > If I call up (or dismiss all but) one frame, ask it to display > a tooltip, then destroy it while the tooltip is open, the tooltip > remains open, and unless I create a new frame within a few seconds, > Emacs dies. (Mercifully, so does the tooltip.) [snip] The problem is in src/xfns.c:6087. Emacs explicitly redisplays the current frame's menu bar without testing that it is alive. The patch below solves the problem. Eli, ok to commit? diff --git a/src/xfns.c b/src/xfns.c index aad9680..9624ac5 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -6084,16 +6084,19 @@ Value is t if tooltip was open, nil otherwise. */) items is unmapped. Redisplay the menu manually... */ { Widget w; - struct frame *f = SELECTED_FRAME (); - w = f->output_data.x->menubar_widget; + struct frame *f = SELECTED_FRAME (); + if (FRAME_X_P (f) && FRAME_LIVE_P (f)) + { + w = f->output_data.x->menubar_widget; - if (!DoesSaveUnders (FRAME_DISPLAY_INFO (f)->screen) - && w != NULL) - { - block_input (); - xlwmenu_redisplay (w); - unblock_input (); - } + if (!DoesSaveUnders (FRAME_DISPLAY_INFO (f)->screen) + && w != NULL) + { + block_input (); + xlwmenu_redisplay (w); + unblock_input (); + } + } } #endif /* USE_LUCID */ } From unknown Mon Aug 18 17:59:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22438: 24.5; Orphaned tooltip kills daemon (Lucid) Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Jan 2016 06:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22438 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: =?UTF-8?Q?=C3=93scar?= Fuentes Cc: nnnnnn@posteo.net, 22438@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 22438-submit@debbugs.gnu.org id=B22438.145352965229184 (code B ref 22438); Sat, 23 Jan 2016 06:15:02 +0000 Received: (at 22438) by debbugs.gnu.org; 23 Jan 2016 06:14:12 +0000 Received: from localhost ([127.0.0.1]:58250 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aMrSe-0007ae-Eb for submit@debbugs.gnu.org; Sat, 23 Jan 2016 01:14:12 -0500 Received: from eggs.gnu.org ([208.118.235.92]:33892) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aMrSd-0007aS-Dn for 22438@debbugs.gnu.org; Sat, 23 Jan 2016 01:14:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aMrSU-0005Jg-UD for 22438@debbugs.gnu.org; Sat, 23 Jan 2016 01:14:06 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42634) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMrSU-0005JS-QV; Sat, 23 Jan 2016 01:14:02 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1699 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aMrSU-0000mL-4W; Sat, 23 Jan 2016 01:14:02 -0500 Date: Sat, 23 Jan 2016 08:14:21 +0200 Message-Id: <83si1o6cw2.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <87d1stkw30.fsf@wanadoo.es> (message from =?UTF-8?Q?=C3=93scar?= Fuentes on Sat, 23 Jan 2016 00:56:03 +0100) References: <87d1stkw30.fsf@wanadoo.es> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Óscar Fuentes > Cc: 22438@debbugs.gnu.org, Eli Zaretskii > Date: Sat, 23 Jan 2016 00:56:03 +0100 > > Nicole Edwards writes: > > > If I call up (or dismiss all but) one frame, ask it to display > > a tooltip, then destroy it while the tooltip is open, the tooltip > > remains open, and unless I create a new frame within a few seconds, > > Emacs dies. (Mercifully, so does the tooltip.) > > [snip] > > The problem is in src/xfns.c:6087. Emacs explicitly redisplays the > current frame's menu bar without testing that it is alive. The patch > below solves the problem. Eli, ok to commit? Yes, thanks. To the emacs-25 branch, please. From unknown Mon Aug 18 17:59:25 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Nicole Edwards Subject: bug#22438: closed (Re: bug#22438: 24.5; Orphaned tooltip kills daemon (Lucid)) Message-ID: References: <871t98mnvv.fsf@wanadoo.es> X-Gnu-PR-Message: they-closed 22438 X-Gnu-PR-Package: emacs Reply-To: 22438@debbugs.gnu.org Date: Sat, 23 Jan 2016 13:23:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1453555381-9606-1" This is a multi-part message in MIME format... ------------=_1453555381-9606-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #22438: 24.5; Orphaned tooltip kills daemon (Lucid) which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 22438@debbugs.gnu.org. --=20 22438: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D22438 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1453555381-9606-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 22438-done) by debbugs.gnu.org; 23 Jan 2016 13:22:38 +0000 Received: from localhost ([127.0.0.1]:58395 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aMy9F-0002UJ-W2 for submit@debbugs.gnu.org; Sat, 23 Jan 2016 08:22:38 -0500 Received: from smtp09.acens.net ([86.109.99.133]:42661 helo=smtp.movistar.es) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aMy9D-0002U6-RY for 22438-done@debbugs.gnu.org; Sat, 23 Jan 2016 08:22:36 -0500 X-CTCH-RefID: str=0001.0A0B0202.56A37E95.00F3, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown Received: from qcore (83.38.42.1) by smtp.movistar.es (8.6.122.03) (authenticated as 981711563$telefonica.net) id 5698E070009BD714 for 22438-done@debbugs.gnu.org; Sat, 23 Jan 2016 13:22:29 +0000 From: =?utf-8?Q?=C3=93scar_Fuentes?= To: 22438-done@debbugs.gnu.org Subject: Re: bug#22438: 24.5; Orphaned tooltip kills daemon (Lucid) References: <87d1stkw30.fsf@wanadoo.es> <83si1o6cw2.fsf@gnu.org> Date: Sat, 23 Jan 2016 14:22:28 +0100 In-Reply-To: <83si1o6cw2.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 23 Jan 2016 08:14:21 +0200") Message-ID: <871t98mnvv.fsf@wanadoo.es> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 22438-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Fixed on 76045f7d6f654ea20e09412e5054f9159d1bb142 (emacs-25). ------------=_1453555381-9606-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 22 Jan 2016 22:21:15 +0000 Received: from localhost ([127.0.0.1]:58162 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aMk4w-0003PG-Sp for submit@debbugs.gnu.org; Fri, 22 Jan 2016 17:21:15 -0500 Received: from eggs.gnu.org ([208.118.235.92]:56205) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aMjp6-00031r-HH for submit@debbugs.gnu.org; Fri, 22 Jan 2016 17:04:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aMjp0-0002lB-Fz for submit@debbugs.gnu.org; Fri, 22 Jan 2016 17:04:47 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,HK_RANDOM_ENVFROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:35464) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMjp0-0002l7-DQ for submit@debbugs.gnu.org; Fri, 22 Jan 2016 17:04:46 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47175) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMjoz-00061h-Cl for bug-gnu-emacs@gnu.org; Fri, 22 Jan 2016 17:04:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aMjov-0002jQ-Bc for bug-gnu-emacs@gnu.org; Fri, 22 Jan 2016 17:04:45 -0500 Received: from mout01.posteo.de ([185.67.36.65]:35423) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMjov-0002iJ-1K for bug-gnu-emacs@gnu.org; Fri, 22 Jan 2016 17:04:41 -0500 Received: from dovecot03.posteo.de (dovecot03.posteo.de [172.16.0.13]) by mout01.posteo.de (Postfix) with ESMTPS id 1F85820933 for ; Fri, 22 Jan 2016 23:04:36 +0100 (CET) Received: from mail.posteo.de (localhost [127.0.0.1]) by dovecot03.posteo.de (Postfix) with ESMTPSA id 3pnF4N62Hlz5vNX for ; Fri, 22 Jan 2016 23:04:36 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 22 Jan 2016 17:04:36 -0500 From: Nicole Edwards To: bug-gnu-emacs@gnu.org Subject: 24.5; Orphaned tooltip kills daemon (Lucid) Message-ID: X-Sender: nnnnnn@posteo.net User-Agent: Posteo Webmail X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.4 (---) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 22 Jan 2016 17:21:13 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.4 (---) If I call up (or dismiss all but) one frame, ask it to display a tooltip, then destroy it while the tooltip is open, the tooltip remains open, and unless I create a new frame within a few seconds, Emacs dies. (Mercifully, so does the tooltip.) This only happens as a daemon (as otherwise there's no way to delete the last frame) and only with the Lucid toolkit (with GTK+, the tooltip disappears with the frame). In recipe form: emacs --daemon -Q emacsclient -c In the resulting *scratch* buffer, type (if (sit-for 7) (delete-frame)) Now type C-j to evaluate and, while Emacs is sitting, hover your mouse pointer over the mode line until a tooltip appears. Leave the pointer where it is, so that the tooltip remains open, and wait for the frame to be deleted. The tooltip should persist. Wait a little longer -- five or six seconds? -- and the tooltip should disappear. Back at the terminal, confirm that Emacs is no longer running. $ pgrep emacs $ In GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scroll bars) of 2016-01-22 on tikva Windowing system distributor `The X.Org Foundation', version 11.0.11604000 System Description: Debian GNU/Linux 8.2 (jessie) Configured using: `configure --prefix=/home/n/.local/stow/emacs-24.5 --with-x-toolkit=lucid' Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: Starting Emacs daemon. When done with this frame, type C-x 5 0 Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils server time-date edmacro kmacro cl-loaddefs cl-lib ido tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting x-toolkit x multi-tty emacs) Memory information: ((conses 16 76439 3869) (symbols 48 18479 0) (miscs 40 53 99) (strings 32 11586 4813) (string-bytes 1 354764) (vectors 16 10065) (vector-slots 8 387163 6532) (floats 8 80 51) (intervals 56 169 1) (buffers 960 12) (heap 1024 24129 988)) ------------=_1453555381-9606-1--