From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Colascione Newsgroups: gmane.emacs.bugs Subject: bug#20220: severe memory leak on emacs 24.4.1 Date: Wed, 01 Apr 2015 09:01:13 -0700 Message-ID: <551C1649.4050200@dancol.org> References: <83mw2vzui9.fsf@gnu.org> <83fv8ltjvw.fsf@gnu.org> <551BA414.40209@dancol.org> <83h9szsz4g.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="XUEllWTCnWJjIslRCM8JgL1IQiw7SrPRk" X-Trace: ger.gmane.org 1427904146 11823 80.91.229.3 (1 Apr 2015 16:02:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 1 Apr 2015 16:02:26 +0000 (UTC) Cc: 20220@debbugs.gnu.org, mariovalspi@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 01 18:02:16 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 1YdL5o-0008Q7-4o for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Apr 2015 18:02:12 +0200 Original-Received: from localhost ([::1]:53756 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdL5n-0000mf-57 for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Apr 2015 12:02:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34845) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdL5i-0000iE-Cb for bug-gnu-emacs@gnu.org; Wed, 01 Apr 2015 12:02:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YdL5e-0002Wi-HL for bug-gnu-emacs@gnu.org; Wed, 01 Apr 2015 12:02:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52829) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdL5e-0002Wa-Cu for bug-gnu-emacs@gnu.org; Wed, 01 Apr 2015 12:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YdL5e-00043U-0K for bug-gnu-emacs@gnu.org; Wed, 01 Apr 2015 12:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Daniel Colascione Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Apr 2015 16:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20220 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20220-submit@debbugs.gnu.org id=B20220.142790408215534 (code B ref 20220); Wed, 01 Apr 2015 16:02:01 +0000 Original-Received: (at 20220) by debbugs.gnu.org; 1 Apr 2015 16:01:22 +0000 Original-Received: from localhost ([127.0.0.1]:42605 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YdL4z-00042T-9E for submit@debbugs.gnu.org; Wed, 01 Apr 2015 12:01:21 -0400 Original-Received: from dancol.org ([96.126.100.184]:55726) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YdL4w-00042K-8T for 20220@debbugs.gnu.org; Wed, 01 Apr 2015 12:01:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org; s=x; h=Content-Type:In-Reply-To:References:Subject:CC:To:MIME-Version:From:Date:Message-ID; bh=xJpj3+5SU2WzID3dqJFQRM+JTSTuKCXpYxvrOLbt8bk=; b=ggO/YF+tx/UzjqOlt6XjZW5UUlnzcDLr/5QZqukvI9tE/vTmMzSJYNOqjT8+suG4dxVFJWJMm8nIpbmFHj2KXM3tiPMnJpNPqgexwi+HYjolUa1wolr/CTd0thyjeu/eco1FaoD/u99vcpLS3Tcw5GXCayOqdDgEYzDg/JAy0JKcatdj3y5de0SNQ+1A+I867K16MSIYY72UeN4SsW/KTGUQJ9PaYYYgruShn+JgWM19dXW64AmmTOgTfBjSM4KEJORWkHB5lnUzwQXeK7DfSn24xumuX7VHdSorjiwJ6lzwdPQ6WbjuwlmQrAlU6Fz/Vjze6aDOc0dSeVpE779CLQ==; Original-Received: from [2601:8:b240:1c1::2b1] by dancol.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84) (envelope-from ) id 1YdL4t-00064d-G5; Wed, 01 Apr 2015 09:01:15 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 In-Reply-To: <83h9szsz4g.fsf@gnu.org> 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:101116 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --XUEllWTCnWJjIslRCM8JgL1IQiw7SrPRk Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 04/01/2015 07:26 AM, Eli Zaretskii wrote: >> Date: Wed, 01 Apr 2015 00:53:56 -0700 >> From: Daniel Colascione >> Cc: 20220@debbugs.gnu.org >> >> Whatever bit of code is starting a thread (or otherwise permanently >> consuming resources) on ShellExecute is broken, not Emacs. I don't thi= nk >> I've seen that behavior myself. >=20 > As I wrote, I only see something similar on one particular system out > of 4 I tried this on. And I'm not yet sure what I see there is what > happens on Mario's system. >=20 >> What's the thread start function on that new thread? >=20 > SHWLAPI.dll!IUnknown_QueryService+0x87 on my system where I see this. >=20 >> What's on its stack? >=20 > This: >=20 > wow64win.dll+0x3fe3a > wow64win.dll+0x1aeac > wow64.dll!Wow64SystemServiceEx+0xd7 > wow64cpu.dll!TurboDispatchJumpAddressEnd+0x2d > wow64.dll!Wow64SystemServiceEx+0x1ce > wow64.dll!Wow64LdrpInitialize+0x42a > ntdll.dll!RtlIsDosDeviceName_U+0x23a27 > ntdll.dll!LdrInitializeThunk+0xe > USER32.dll!DispatchMessageW+0x5c > SHLWAPI.dll!Ordinal173+0x287b > ntdll.dll!RtlInitializeExceptionChain+0x63 > ntdll.dll!RtlInitializeExceptionChain+0x36 >=20 > Mario, can you tell if you see similar things on your system? I > suggest you verify that you have the same issue, by installing the > Process Explorer and looking in the Properties for the Emacs process, > in the Threads tab. There you should see a new thread created each > time w32-shell-execute is invoked, and also the symbolic Start Address > of each such thread. On what OS version is that thread running? --XUEllWTCnWJjIslRCM8JgL1IQiw7SrPRk Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJVHBZJAAoJEN4WImmbpWBlcZMP/j7wkrbe2JRV7lNyP7Arm0M9 ZvJeUuV5cW82JerKy1kOjZvOVYpMLHcCza9vUhkBfRxksFuflOv/ba7g8scVAsmT MQz7zMcT/G0eyn1eANhoY1PXSz5ixD7nAQRgMnfRFL7m2bNMDAZxWnXoKlZXTqXS v3z4lV512A1Ax9ZP+hHPlk5+E9+XHTpgeeBVglRqJJQJzJiNe5RHXfCsHL+uWJyc N2o8Ia+jHuQqDQ2X9ybMTQxCnj2ysJ0Me1Sv+G76tanZdLYYw882K9rxceyGARZt 32C4i62OFSfOgzKuwUB9pZA+wrSTdM38lFNdi9vPIvwAefZAA/03H+nfea5n0rH2 dHe+Nx7eqW/gQyMAhdTHvr2qq7iDJ8EarYjX1L47JNR9X/KEstwhOP4CPU2AMGfY jbSPy9ZFyGW/HKCiNIBwyus6YWZMcS78eONHbg3TN+vAL+EKG4nsyMF9uGxTkmic OlbOQ2gwEi0nho0Z03OOiB1vNTf9N5ZqVcjwBX4kDO5r2Nmcllw5NXjWz9ityH3i GafGLDaY/mSXdz5zJN73ubGMXRwOd0DMpfCwPgKhOrmmUPYyBFNyMTDEJiKn1y4V V3aLUIuZ2auEXBMifeyBp4cWbtfxw85HpF9Brr803+MGLqfqWJTX/zDsIAZUds5V rNKurdwnNXh5YF7IkGgN =sCeM -----END PGP SIGNATURE----- --XUEllWTCnWJjIslRCM8JgL1IQiw7SrPRk--