From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arthur Miller Newsgroups: gmane.emacs.bugs Subject: bug#43389: 28.0.50; Emacs memory leaks using hard disk all time Date: Mon, 23 Nov 2020 20:49:48 +0100 Message-ID: References: <86y2j2brg2.fsf@protected.rcdrun.com> <83blfxth7c.fsf@gnu.org> <83y2j0qb2v.fsf@gnu.org> <831rgppg3w.fsf@gnu.org> <83zh3czbvz.fsf@gnu.org> <83k0udw3jb.fsf@gnu.org> <83v9dwufx4.fsf@gnu.org> <83mtz7vq8j.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8737"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: fweimer@redhat.com, 43389@debbugs.gnu.org, bugs@gnu.support, dj@redhat.com, michael_heerdegen@web.de, trevor@trevorbentley.com, carlos@redhat.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 23 21:22:01 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 1khILY-00026F-Te for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 23 Nov 2020 21:22:01 +0100 Original-Received: from localhost ([::1]:35306 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1khILX-0002y3-MX for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 23 Nov 2020 15:21:59 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59408) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1khHqc-0006n5-GK for bug-gnu-emacs@gnu.org; Mon, 23 Nov 2020 14:50:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39717) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1khHqc-00089M-8m for bug-gnu-emacs@gnu.org; Mon, 23 Nov 2020 14:50:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1khHqc-0004Oj-7R for bug-gnu-emacs@gnu.org; Mon, 23 Nov 2020 14:50:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Arthur Miller Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 Nov 2020 19:50:02 +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.160616099816890 (code B ref 43389); Mon, 23 Nov 2020 19:50:02 +0000 Original-Received: (at 43389) by debbugs.gnu.org; 23 Nov 2020 19:49:58 +0000 Original-Received: from localhost ([127.0.0.1]:51263 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1khHqX-0004OL-Q2 for submit@debbugs.gnu.org; Mon, 23 Nov 2020 14:49:58 -0500 Original-Received: from mail-vi1eur05olkn2018.outbound.protection.outlook.com ([40.92.90.18]:62689 helo=EUR05-VI1-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1khHqW-0004O9-8d for 43389@debbugs.gnu.org; Mon, 23 Nov 2020 14:49:56 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=O+AXlJzldMxS2ZVWh0Ph1wyY8rT2csIIp5Cf593aXAPre1jGnvGNXao5E+6sEPFofk44Tvm9WBXoq5HzVL/ihptNvYf2mx/KOq29MswGXM1/5xvnC/lhdtM6cLoKfw1d0zsUHgzMf1s8leyWX8tYFbNfejTPZ4JFjRHKjSQqHIP4BfU43IAFhr9li8EH7G2ESjpizNP62Rxbdp5oH8Y2Pr3moQm+HVuZ8euCSPE6Y1lvIej1vwXxYpaoMFc2H1Z2lWQMihfeH8QOAkbA/se5sq7K0WnE0sX3z+DEZ9O7GjO1JAU+zH9gYbX6wvokpRpr/XFzkITnEjZXhxQHzAOaKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5RDJ+il7JBJk94K3fLQ24bOAM5RUVMWUgc/mDSUG350=; b=lswmGHtcEj++It1ANqZgp17mBkBQWisMOVIjewCX+uvXlS/x5vutyPXLlXXObs/jGHE1deAo79lZPsIlnV52AXHCDdAOReKpQvDNQDwkX8stcyjk3w8RcuVOpdHdoGE1+nUB8pAkuMMPVFR9H8Z7CV6NEkC+YyQN0k2ifd7JUr+q6CvVliPTycDKkAE0HUyNdLM9KhQOKXbAx6fnkRYW1k9hadeIpeMiuYbDK7jXVHQGijRDCRlKEIW9tX8IBDia//Sr+dDIOdT64HKmA3KpcmFZ2okPMS32/J0tmZj8rsIlheP7Bsv/wvAjUrphUrGaMhMzCA9HVl3GCTDUjKIPNQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5RDJ+il7JBJk94K3fLQ24bOAM5RUVMWUgc/mDSUG350=; b=GTyTfhZfp3f0zlKtkFVDqUQodmrM6UiGwzSAxXPwhQ/m96/1ufzxsbou+QnpACrTNxB/NqCoi4lKuTbCVDPYAuXKe7JQBtIK4YRbuzVDaGluX9VHRtt20KjIwwa/+Eh82vdemVPVyCJyJYa7ofcOqY8djZWNG4DSqxo/GPTkI8drvaTTQhzXN3JEnPe+P9aZIOcZW2MBoEEMeu7ZG9TchxUwYSZeeeFofrh8RLDVmvevTDeO4FT+VvSByCCaZRb5KqnLBb9U8OgWJ1JO8WxDJOd2Caxm/9nN82eVtQTTQZoT1fQVqtpHQ9sjoW8HiWNPGESBFfPM0KCrG1K0Vm2e3Q== Original-Received: from AM6EUR05FT017.eop-eur05.prod.protection.outlook.com (2a01:111:e400:fc11::4d) by AM6EUR05HT118.eop-eur05.prod.protection.outlook.com (2a01:111:e400:fc11::344) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3589.20; Mon, 23 Nov 2020 19:49:49 +0000 Original-Received: from AM0PR06MB6577.eurprd06.prod.outlook.com (2a01:111:e400:fc11::4d) by AM6EUR05FT017.mail.protection.outlook.com (2a01:111:e400:fc11::309) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3589.20 via Frontend Transport; Mon, 23 Nov 2020 19:49:49 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:0FCD6DE85F096C9227E106D5C451649B398C3388085BD1C56302E584076285D6; UpperCasedChecksum:0AE89E7A817F2A2C5A8B99DC78F79DBFCFD3D4C2C19C147E09342308C8B2D6B5; SizeAsReceived:8143; Count:46 Original-Received: from AM0PR06MB6577.eurprd06.prod.outlook.com ([fe80::9487:8c7d:da00:4993]) by AM0PR06MB6577.eurprd06.prod.outlook.com ([fe80::9487:8c7d:da00:4993%7]) with mapi id 15.20.3589.030; Mon, 23 Nov 2020 19:49:49 +0000 In-Reply-To: <83mtz7vq8j.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 23 Nov 2020 21:15:56 +0200") X-TMN: [XnyWD5eGdiWX+dKUe4xI/5jC62rZh4xV] X-ClientProxiedBy: AM6P191CA0031.EURP191.PROD.OUTLOOK.COM (2603:10a6:209:8b::44) To AM0PR06MB6577.eurprd06.prod.outlook.com (2603:10a6:208:19a::23) X-Microsoft-Original-Message-ID: <87wnybam5f.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from pascal.homepc (90.230.29.56) by AM6P191CA0031.EURP191.PROD.OUTLOOK.COM (2603:10a6:209:8b::44) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3589.20 via Frontend Transport; Mon, 23 Nov 2020 19:49:49 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 46 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: ea69df7e-1b88-4318-6a22-08d88fe8efe9 X-MS-TrafficTypeDiagnostic: AM6EUR05HT118: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: bxFw16+WHaHjp+XJcGHQUg+u9pP3MB7YLUdFrxlWc3zcPD92vfoUBuK27C0+1qEu/QICbjc3dHHkPRuh0LY40MktlvXhGCPmmJ2AOUg9ZC1kB9WzwN+meZYOGQ9y4W7EuTyFRuDSDqEnjkS30WE1YIFQZxVhXxZ2jf7hDWrwqh/l01nnXycbFOAe1MKH/CBcuK9npXip1jesBzK7mXzWkQ== X-MS-Exchange-AntiSpam-MessageData: ypLHGvhE++8wDlRsJoRI7m3Y1f60Uj050utcHJWhvzDMnKR5BLR6kyx3hEDn4v5axZLLSTtVG6YFeTGhDayhu0CxLl5Brn/guZ4YPrzG88QsYiPAftHuzXEDIZrHqHUWDIdyLVS/T0xwJNNJ3a/f+A== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: ea69df7e-1b88-4318-6a22-08d88fe8efe9 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Nov 2020 19:49:49.6307 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: AM6EUR05FT017.eop-eur05.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6EUR05HT118 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:193969 Archived-At: Eli Zaretskii writes: >> From: Arthur Miller >> Cc: bugs@gnu.support, fweimer@redhat.com, 43389@debbugs.gnu.org, >> dj@redhat.com, michael_heerdegen@web.de, trevor@trevorbentley.com, >> carlos@redhat.com >> Date: Mon, 23 Nov 2020 19:34:26 +0100 >> >> >> This has to be something introduced fairly recently, right? >> > >> > Maybe, I'm not sure. Since we introduced the pdumper, we use malloc >> > somewhat differently, and OTOH glibc removed some of the malloc hooks >> > we used to use in versions of Emacs before 26. In addition, glibc is >> > also being developed, and maybe some change there somehow triggered >> > this. >> It has past long since v 26, and pdumber as well :-) You know I am >> rebuilding all the time and am on relatively latest master so I would >> have noticed it earlier, so it must be something since last month or so, > > Not necessarily. This problem seems to happen rarely, and not for > everyone. So it's entirely possible you didn't see it by sheer luck. Of course, but why would I suddently start to experience it? Neither my usage pattern not even Emacs or system configuration changed at that time.Can't be just shear luck, I haven'tdone anything differently that I wasn't doing 2 or 6 months before; same ol; just newer master & system updates. The only thing that changed regularly was of course system updates: kernel, gcc & co etc. So it maybe is as mentioned earlier in this thread by either you or somebody else is that glibc changed and that maybe triggers something in Emacs based on how Emacs use it. I don't know I am not expert in this. Isn't Valgrind good for this kind of problems? Can I run emacs as a systemd service in Valgrind?