From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#20220: severe memory leak on emacs 24.4.1 Date: Thu, 23 Apr 2015 10:18:27 +0300 Message-ID: <834mo72tz0.fsf@gnu.org> References: <83mw2vzui9.fsf@gnu.org> <83fv8ltjvw.fsf@gnu.org> <551BA414.40209@dancol.org> <83h9szsz4g.fsf@gnu.org> <551C1649.4050200@dancol.org> <83sicjrfz2.fsf@gnu.org> <83a8ynoalw.fsf@gnu.org> <83mw2gtee5.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1429773561 1602 80.91.229.3 (23 Apr 2015 07:19:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Apr 2015 07:19:21 +0000 (UTC) Cc: 20220-done@debbugs.gnu.org To: mariovalspi@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 23 09:19:11 2015 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 1YlBPi-0004ZF-OB for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Apr 2015 09:19:10 +0200 Original-Received: from localhost ([::1]:38573 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlBPh-0000Oa-UZ for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Apr 2015 03:19:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43813) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlBPd-0000OM-Rk for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2015 03:19:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YlBPa-0002NB-LZ for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2015 03:19:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47288) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlBPa-0002N6-I5 for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2015 03:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YlBPa-0001W3-DT for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2015 03:19:02 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Thu, 23 Apr 2015 07:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 20220 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 20220@debbugs.gnu.org, eliz@gnu.org, mariovalspi@gmail.com Original-Received: via spool by 20220-done@debbugs.gnu.org id=D20220.14297735155741 (code D ref 20220); Thu, 23 Apr 2015 07:19:01 +0000 Original-Received: (at 20220-done) by debbugs.gnu.org; 23 Apr 2015 07:18:35 +0000 Original-Received: from localhost ([127.0.0.1]:37063 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YlBP9-0001UX-6X for submit@debbugs.gnu.org; Thu, 23 Apr 2015 03:18:35 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:36794) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YlBP7-0001U2-1u for 20220-done@debbugs.gnu.org; Thu, 23 Apr 2015 03:18:34 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NN900D0000DYB00@a-mtaout20.012.net.il> for 20220-done@debbugs.gnu.org; Thu, 23 Apr 2015 10:18:26 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NN900DMH0AQVU40@a-mtaout20.012.net.il>; Thu, 23 Apr 2015 10:18:26 +0300 (IDT) In-reply-to: <83mw2gtee5.fsf@gnu.org> X-012-Sender: halo1@inter.net.il 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:101906 Archived-At: > Date: Fri, 10 Apr 2015 14:24:18 +0300 > From: Eli Zaretskii > Cc: 20220@debbugs.gnu.org > > > Date: Fri, 10 Apr 2015 06:16:46 -0500 > > From: Mario Valencia > > Cc: Daniel Colascione , Stefan Monnier , 20220@debbugs.gnu.org > > > > You are correct; the problem only happens with a file:/// url. The following > > executes without problem and emacs memory stays constant: > > (dotimes (i 100) (w32-shell-execute "open" "c:/users/mario/desktop/x.html")) > > With a file:/// url it triggers the bug: > > (dotimes (i 100) (w32-shell-execute "open" > > "file:///c:/users/mario/desktop/x.html")) > > Thanks, that's good to know. > > So I think the solution is to change w32-shell-execute to convert > file:/// URLs into the normal file-name format internally, and use > that in the call to ShellExecute. Now done in the development sources for Emacs 25.1 (commit f2e2cd5). I'm closing this bug. Feel free to reopen if some new information emerges about this.