From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.bugs Subject: bug#42482: 27.0.91; emacs modules memory leak Date: Sat, 1 Aug 2020 16:47:18 +0200 Message-ID: References: <83365if7lz.fsf@gnu.org> <83zh7eczjf.fsf@gnu.org> <87zh7er0e2.fsf@petton.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10600"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 42482@debbugs.gnu.org, Milan =?UTF-8?Q?Stanojevi=C4=87?= To: Nicolas Petton Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 01 16:48: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 1k1sny-0002fz-Rd for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 01 Aug 2020 16:48:10 +0200 Original-Received: from localhost ([::1]:47730 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k1snx-0000yk-Bq for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 01 Aug 2020 10:48:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56280) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k1snp-0000yO-VG for bug-gnu-emacs@gnu.org; Sat, 01 Aug 2020 10:48:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57549) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k1snp-00064r-MD for bug-gnu-emacs@gnu.org; Sat, 01 Aug 2020 10:48:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k1snp-0003WA-Ks for bug-gnu-emacs@gnu.org; Sat, 01 Aug 2020 10:48:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Philipp Stephani Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 01 Aug 2020 14:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42482 X-GNU-PR-Package: emacs Original-Received: via spool by 42482-submit@debbugs.gnu.org id=B42482.159629325813491 (code B ref 42482); Sat, 01 Aug 2020 14:48:01 +0000 Original-Received: (at 42482) by debbugs.gnu.org; 1 Aug 2020 14:47:38 +0000 Original-Received: from localhost ([127.0.0.1]:40862 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k1snS-0003VX-7x for submit@debbugs.gnu.org; Sat, 01 Aug 2020 10:47:38 -0400 Original-Received: from mail-ot1-f49.google.com ([209.85.210.49]:41639) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k1snP-0003VH-6p for 42482@debbugs.gnu.org; Sat, 01 Aug 2020 10:47:37 -0400 Original-Received: by mail-ot1-f49.google.com with SMTP id a65so15642030otc.8 for <42482@debbugs.gnu.org>; Sat, 01 Aug 2020 07:47:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=X4GWn6nfvRPl6ZNO2d7wkjPwYFpRp22MuXdwd1f+TF4=; b=LPLRxHYss6i06jyZaUhFZNfhKhfShOCXw9lvpoBkOtHo1jKF3Zt5prgC7wkSSHl/HW VR3GJlu5fGEQU9lrQ8s7riw6Oz4OlNa6ggw19ogDYo2cHGU3iG8oRY2kTLDe95ojm0Ri xtfmAOjxrh1AAojLNEeEMmhtcb0z8ecVyJKsgqYLADuZYIvQIuN7OEBVLWaXOkRlXpMh LO+vHrOaqxCNUW7Vcb4f0l19CVCyJxvzrwnrN9ApMPNNZn6DYIg2MkPb8/wGhgxdq9qJ PfPITbJ844WzlyjerlbPH3uT2g/AdTmX6kHoUl7dXJeLkgVfed8IDQDvELovwjZqK5Hq Ut1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=X4GWn6nfvRPl6ZNO2d7wkjPwYFpRp22MuXdwd1f+TF4=; b=El7kpfHqx9iWQz0zcTBF/Rfq2z4OfYcrQP9q+twT179Jm63d0IM2U+DvXWOHSVTYTn O+sDj3WL2bnyvvnbJke80ziV0wP5PVq5/XoPdCdZxy9XcSOWsH0TpktyXYmXzuBR/HH/ 5lPLxnxvKmAG9d9he+gh49f3wg9LYwv71llEwgpi4BWD9dBNg9opERQSsUQrgNChh5u6 tWAhgjE23vCtkWL4liAM9g38+I7iwFH/wdhhg44rZ+6LYBEOwUxJq386uvUHIykTpVWp ZCrGwl9UYVlRmfRe8P80kVxIuZiEq31UYMk/u2nxnXjJ4VbbVRi35zJzNpllp3jQfkgh neTw== X-Gm-Message-State: AOAM532LLhi37f1LB6lMoJCgHfHmuvg1mXmyLjn6hm3IJi/sUyr7CMTi YwIWbVsRYhjXIDONdO80pJYQ3agujrDy/P7QRz0= X-Google-Smtp-Source: ABdhPJy7Bl1auE2RrBwiN0om9BnRoSZaE2+hxWIPT0usrIqrKMzeqvbMQ3W6sJgIKhWwQTAe4iKqNga07BcoaBAv7u4= X-Received: by 2002:a9d:2203:: with SMTP id o3mr6699458ota.149.1596293249228; Sat, 01 Aug 2020 07:47:29 -0700 (PDT) In-Reply-To: <87zh7er0e2.fsf@petton.fr> 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:183763 Archived-At: Am Sa., 1. Aug. 2020 um 14:55 Uhr schrieb Nicolas Petton : > > Eli Zaretskii writes: > > >> I've now added a few more tests and backported the fix to the release branch. > > > > I think it's too late for Emacs 27.1, sorry. The tarball is already > > made. > > If the bugfix is important enough, I can build a new RC tomorrow and set > the release date to the 8th of Aug. I don't feel strongly either way. My expectation for global references is that they should mainly be used for the module equivalent of defvar and friends, in which case the bug isn't that severe because nobody needs millions of defvars. OTOH, people might use global references for other means, including allocating them dynamically, in which case leaking them can become annoying.