From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Russell Adams Newsgroups: gmane.emacs.bugs Subject: bug#43389: 28.0.50; Emacs memory leaks Date: Wed, 18 Nov 2020 17:19:21 +0100 Message-ID: <20201118161921.GE23810@maokai> References: <83ft57raog.fsf@gnu.org> <871rgrk9g5.fsf@oldenburg2.str.redhat.com> <83d00br9xk.fsf@gnu.org> <87tutnitta.fsf@oldenburg2.str.redhat.com> <83a6vfr8p0.fsf@gnu.org> <4c760dd6-edb7-c6b1-f5de-f1bcae5ce63d@redhat.com> <873617hxpj.fsf@igel.home> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24776"; mail-complaints-to="usenet@ciao.gmane.io" To: 43389@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 18 17:20:10 2020 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 1kfQBl-0006Kl-Vk for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 18 Nov 2020 17:20:09 +0100 Original-Received: from localhost ([::1]:41456 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kfQBk-0006et-Um for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 18 Nov 2020 11:20:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50808) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kfQBf-0006ef-4h for bug-gnu-emacs@gnu.org; Wed, 18 Nov 2020 11:20:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52877) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kfQBe-00026r-QA for bug-gnu-emacs@gnu.org; Wed, 18 Nov 2020 11:20:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kfQBe-00009q-Kp for bug-gnu-emacs@gnu.org; Wed, 18 Nov 2020 11:20:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Russell Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 18 Nov 2020 16:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43389 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.1605716387581 (code B ref -1); Wed, 18 Nov 2020 16:20:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 18 Nov 2020 16:19:47 +0000 Original-Received: from localhost ([127.0.0.1]:36190 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kfQBO-00009J-Nk for submit@debbugs.gnu.org; Wed, 18 Nov 2020 11:19:47 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:58142) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kfQBJ-000096-T2 for submit@debbugs.gnu.org; Wed, 18 Nov 2020 11:19:45 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50762) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kfQBJ-0006RP-Nk for bug-gnu-emacs@gnu.org; Wed, 18 Nov 2020 11:19:41 -0500 Original-Received: from se15.route25.eu ([2a00:f10:402:781:1c00:45ff:fe00:24f8]:34288) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kfQBG-00024q-SW for bug-gnu-emacs@gnu.org; Wed, 18 Nov 2020 11:19:41 -0500 Mail-Followup-To: bug-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: X-Originating-IP: 2a00:f10:400:2:446:66ff:fe00:2ce X-SpamExperts-Domain: out.pcextreme.nl X-SpamExperts-Username: 2a00:f10:400:2:446:66ff:fe00:2ce Authentication-Results: route25.eu; auth=pass smtp.auth=2a00:f10:400:2:446:66ff:fe00:2ce@out.pcextreme.nl X-SpamExperts-Outgoing-Class: ham X-SpamExperts-Outgoing-Evidence: Combined (0.11) X-Recommended-Action: accept X-Filter-ID: Mvzo4OR0dZXEDF/gcnlw0eqVA/WXTLfz4EbZvfY3k3OpSDasLI4SayDByyq9LIhVESBt6QATKz8A dZfQIaNDGkTNWdUk1Ol2OGx3IfrIJKywOmJyM1qr8uRnWBrbSAGD0VsY0HzEkBzUTjuObUvkgtQ5 3pMmTXeVbblO3cSIiVCS7fAfhUHGNDOT4y3Kq7wFJODXbtOodkPED+RkHjVGH9gpfPe2lDQBFQc5 pWKjU8U1TnR+f0U9cu064nZcMieLAqdkk6hppCDsqsBwLjHur1XxB26GtR7aQdGQ3RxVousDFpkW mgyT/YeLVvI3HPYSaHwJ2eESrUp0Iw/gSJ3HqMuR600P9eQ3vodupN36MrkzGQZS068e3EYTgNAB jZkD8TzPF4eG61o+cxFZrUIXowfXJosMX5ZQSlYSVlCDu2na8Lc2iK0mXNgodhRh0E6+UMVFei1G 2PrSIU9EwioS70yFBF2moUWeHNDS4qZDIDBdjx85xQq9VD42UbTRudBo31/E3ahF5MMcDI7KdpjQ KULbtCr8aoTjHIUEuG3LCVsCW2UOyugPPaOGK1ZclZhyJ1oAKHx1qHjvOGXm6QB+mk6ZTzCPKsFf twxbkg5OTEJBSZDxFdMdjhWKQRs1y634iucKRTZNLEsithqHVyN9+hkdtWYX5nRoRrxsOqgOWUaa HHbqbJhh8ELrsll6w13+U34/WMvOa2MADyzbmruTAA2KTj4vNPNGVRbmE3txcoLBwxyPyHSqJVkB XxgxoavrR6NVjOweyWGOzLgT0nRBJCbnOWY3wUs0ORTLl1RD3zo0/x2Hb32c5ChNoMNbf6x3Uo4/ +EUytKrR9Md9I2Rs13IS4ZPThv2Cx X-Report-Abuse-To: spam@semaster01.route25.eu Received-SPF: pass client-ip=2a00:f10:402:781:1c00:45ff:fe00:24f8; envelope-from=rladams@adamsinfoserv.com; helo=se15.route25.eu X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/18 11:19:30 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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" Xref: news.gmane.io gmane.emacs.bugs:193628 Archived-At: I'd be happy to run my Emacs with debugging to try and troubleshoot this memory leak since it has happened twice to me. I can't yet consistently reproduce it though. I think it's somewhere between helm or org-caldav or slime, being in daemon mode. Can someone summarize what debug options I should run with, recompile with, etc to provide proper information for next time? I'd like to be able to make an effective report when it next occurs. On Wed, Nov 18, 2020 at 12:01:39PM +0300, Jean Louis wrote: > * Andreas Schwab [2020-11-18 11:32]: > > On Nov 18 2020, Jean Louis wrote: > > > > > Is it recommended to collect strace with this below? > > > > > > strace emacs > output 2>&1 > > > > It is preferable to use the -o option to decouple the strace output from > > the inferior output. > > Thank you, I have seen that in options and right now I am running it > with: > > #!/bin/bash > unset CDPATH > # ulimit -m 3145728 > #export MALLOC_ARENA_MAX=4 > date >> /home/data1/protected/tmp/emacs-debug > strace -o emacs.strace emacs >> /home/data1/protected/tmp/emacs-debug 2>&1 > > > ------------------------------------------------------------------ Russell Adams RLAdams@AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3