From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#9830: 23.3.50; y-or-n-p-with-timeout with GUI leaks memory Date: Sun, 6 Nov 2011 16:54:52 +0100 Message-ID: References: <6C4E53F1-E6F7-40AF-A28B-8A169EB28B0C@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1320594925 25151 80.91.229.12 (6 Nov 2011 15:55:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 6 Nov 2011 15:55:25 +0000 (UTC) Cc: 9830@debbugs.gnu.org To: YAMAMOTO Mitsuharu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 06 16:55:21 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RN544-00017e-Lj for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 Nov 2011 16:55:20 +0100 Original-Received: from localhost ([::1]:58430 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RN544-00063R-7Y for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 Nov 2011 10:55:20 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:59829) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RN541-000636-90 for bug-gnu-emacs@gnu.org; Sun, 06 Nov 2011 10:55:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RN540-0003jB-6S for bug-gnu-emacs@gnu.org; Sun, 06 Nov 2011 10:55:17 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56047) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RN540-0003j7-4w for bug-gnu-emacs@gnu.org; Sun, 06 Nov 2011 10:55:16 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RN56g-00070a-DC for bug-gnu-emacs@gnu.org; Sun, 06 Nov 2011 10:58:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Nov 2011 15:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9830 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9830-submit@debbugs.gnu.org id=B9830.132059506626902 (code B ref 9830); Sun, 06 Nov 2011 15:58:02 +0000 Original-Received: (at 9830) by debbugs.gnu.org; 6 Nov 2011 15:57: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 1RN56P-0006zr-M4 for submit@debbugs.gnu.org; Sun, 06 Nov 2011 10:57:45 -0500 Original-Received: from mailout.melmac.se ([62.20.26.67]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RN56M-0006zi-Tt for 9830@debbugs.gnu.org; Sun, 06 Nov 2011 10:57:43 -0500 Original-Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.melmac.se (Postfix) with ESMTP id 1FDD52CC79 for <9830@debbugs.gnu.org>; Sun, 6 Nov 2011 16:54:53 +0100 (CET) Original-Received: (qmail 4310 invoked by uid 89); 6 Nov 2011 15:54:53 -0000 Original-Received: from h-46-59-42-18.na.cust.bahnhof.se (HELO coolsville.localdomain) (boel.djarv@bdtv.se@46.59.42.18) by mail01.melmac.se with ESMTPA; 6 Nov 2011 15:54:53 -0000 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 8F9957FA058; Sun, 6 Nov 2011 16:54:52 +0100 (CET) In-Reply-To: X-Mailer: Apple Mail (2.1251.1) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 06 Nov 2011 10:58:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:53605 Archived-At: Hello. 31 okt 2011 kl. 04:21 skrev YAMAMOTO Mitsuharu: >>>>>> On Sun, 30 Oct 2011 18:41:40 +0100, Jan Dj=E4rv = said: >=20 >>> The patch below uses record_unwind_protect as usual for avoiding >>> this memory leak. I think xmenu_show has the same problem. I'm >>> not sure about the W32 case. >>>=20 >=20 >> You are correct. Can you install the patch? >=20 > Done. I see you checked in this in the emacs-23 tree. Is that still merged to = the trunk? >=20 >> As for xmenu_show, is there a case where a menu can be interrupted >> like this? >=20 > Yes. For example, >=20 > (with-timeout (3 'default) > (x-popup-menu t '("Title" ("foo" "nonselectable")))) >=20 > Actually, y-or-n-p-with-timeout is implemented using with-timeout. I'm waiting for your fix to show up in the trunk before fixing this. I = don't think it makes sense to use the emacs-23 tree anymore. Jan D.