From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#43389: 28.0.50; Emacs memory leaks Date: Tue, 10 Nov 2020 19:44:16 +0200 Message-ID: <83sg9h14zz.fsf@gnu.org> References: <87r1r5428d.fsf@web.de> <87mu1sry72.fsf@mail.linkov.net> <875z8fc224.fsf@web.de> <20200915175418.GV20869@maokai> <838sda98jm.fsf@gnu.org> <20200915211209.GW20869@maokai> <83pn6l7ozj.fsf@gnu.org> <20200917204704.GA20217@maokai> <83zh5n4hpd.fsf@gnu.org> <878sbagsx8.fsf@web.de> <87imaefck8.fsf@web.de> <87wnyudws1.fsf@web.de> <83pn4l3mts.fsf@gnu.org> <87v9edk4eb.fsf@igel.home> <87imadcqqk.fsf@web.de> <87h7pxjrh5.fsf@igel.home> <87eel1cq83.fsf@web.de> <4788A848-D51C-4A25-B023-BA029874DBE5@gnu.org> <87a6vpcphp.fsf@web.de> <87y2j9b85z.fsf@web.de> <83eel12ph8.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13166"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 43389@debbugs.gnu.org, RLAdams@AdamsInfoServ.Com, schwab@linux-m68k.org To: michael_heerdegen@web.de Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 10 18:46:00 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 1kcXiS-0003Hg-2g for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 10 Nov 2020 18:46:00 +0100 Original-Received: from localhost ([::1]:52146 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kcXiQ-0006Sy-Jt for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 10 Nov 2020 12:45:58 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57430) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kcXhW-0006RU-86 for bug-gnu-emacs@gnu.org; Tue, 10 Nov 2020 12:45:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55513) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kcXhV-0003y8-SF for bug-gnu-emacs@gnu.org; Tue, 10 Nov 2020 12:45:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kcXhV-0000so-Oz for bug-gnu-emacs@gnu.org; Tue, 10 Nov 2020 12:45:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 10 Nov 2020 17:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43389 X-GNU-PR-Package: emacs Original-Received: via spool by 43389-submit@debbugs.gnu.org id=B43389.16050302573317 (code B ref 43389); Tue, 10 Nov 2020 17:45:01 +0000 Original-Received: (at 43389) by debbugs.gnu.org; 10 Nov 2020 17:44:17 +0000 Original-Received: from localhost ([127.0.0.1]:38825 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kcXgm-0000rR-Ug for submit@debbugs.gnu.org; Tue, 10 Nov 2020 12:44:17 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57144) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kcXgl-0000rC-8n for 43389@debbugs.gnu.org; Tue, 10 Nov 2020 12:44:15 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:37322) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kcXge-0003fe-Gg; Tue, 10 Nov 2020 12:44:08 -0500 Original-Received: from [176.228.60.248] (port=4561 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kcXgd-0005AC-Qx; Tue, 10 Nov 2020 12:44:08 -0500 In-Reply-To: <83eel12ph8.fsf@gnu.org> (message from Eli Zaretskii on Tue, 10 Nov 2020 17:36:35 +0200) 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:193042 Archived-At: > Date: Tue, 10 Nov 2020 17:36:35 +0200 > From: Eli Zaretskii > Cc: 43389@debbugs.gnu.org, RLAdams@AdamsInfoServ.Com, schwab@linux-m68k.org > > > > (gdb) call malloc_info(0, stdout) > > > 'malloc_info' has unknown return type; cast the call to its declared > > > return type > > > > BTW, because I'm such a C noob, I can also offer to give me a (phone or > > Signal) call if you are interested, maybe that's more efficient. > > If the information proves to be useful, maybe we should provide a Lisp > command to call that function. It could be instrumental in asking > people who see this problem report their results. I've now added such a command to the master branch. Redirect stderr to a file, and then invoke "M-x malloc-info RET" when you want a memory report. The command doesn't display anything, it just writes the info to the redirected file. HTH