From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Aaron Jensen Newsgroups: gmane.emacs.bugs Subject: bug#44326: 27.1.50; busy loop in lisp_free_align Date: Tue, 26 Jan 2021 22:35:54 -0600 Message-ID: References: <87pn1ratrb.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21843"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 44326@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 27 05:37:17 2021 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 1l4cZx-0005Zq-M2 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 27 Jan 2021 05:37:17 +0100 Original-Received: from localhost ([::1]:56126 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l4cZw-0002gM-8h for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 26 Jan 2021 23:37:16 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60890) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l4cZi-0002g8-HF for bug-gnu-emacs@gnu.org; Tue, 26 Jan 2021 23:37:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60033) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l4cZi-0003cK-9e for bug-gnu-emacs@gnu.org; Tue, 26 Jan 2021 23:37:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l4cZi-0003Qm-7O for bug-gnu-emacs@gnu.org; Tue, 26 Jan 2021 23:37:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Aaron Jensen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 27 Jan 2021 04:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44326 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 44326-submit@debbugs.gnu.org id=B44326.161172217313126 (code B ref 44326); Wed, 27 Jan 2021 04:37:02 +0000 Original-Received: (at 44326) by debbugs.gnu.org; 27 Jan 2021 04:36:13 +0000 Original-Received: from localhost ([127.0.0.1]:43346 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l4cYv-0003Pe-74 for submit@debbugs.gnu.org; Tue, 26 Jan 2021 23:36:13 -0500 Original-Received: from mail-yb1-f169.google.com ([209.85.219.169]:42039) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l4cYt-0003PN-K6 for 44326@debbugs.gnu.org; Tue, 26 Jan 2021 23:36:12 -0500 Original-Received: by mail-yb1-f169.google.com with SMTP id b11so802590ybj.9 for <44326@debbugs.gnu.org>; Tue, 26 Jan 2021 20:36:11 -0800 (PST) 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:content-transfer-encoding; bh=gesImF9rT62nKeAupyk2YK+9mHKv6fHM1f6BzL6RV8I=; b=Wmp/VKBzNh8kdKz7xBm2+h7MnI5C3DxCS8JsUKEpfwhCXR3L4eAwYXVmI2+lfZ9sx1 5ydHl5PhwL6R4LeF2NI8OJzXnGccM9cnL8jDlcttQO6HRkNXE+Xh1/BBXPFLMvOUMlEx n8Gl3o8euswg/BHlypDklqKPQ6JoymjlsuojrtlE7GzmU1yuRK8p29Jz44KPMfIJD3/G Edv8bsPDzPb0863Y/WWXLFbZOggzZk0mrYqxPw37qdCfBtdnhqqwopmdTlf9rVTzjJrl BaOvH3MWLbfpstUtgLyWtdh8K0cV7MjeoFL9QyXRSxAfrnYr7B6JIMKIEpdNSR5xMv96 4nTw== 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:content-transfer-encoding; bh=gesImF9rT62nKeAupyk2YK+9mHKv6fHM1f6BzL6RV8I=; b=B+hNpZl+6LfYpajDVp1OALLSnuW4mplJ+oEAVDa99M1fZ5gZkyEjkj27qib4nu4dP2 y2hqNU2KEvDFqdkfzdVMM44r7e38W+pU1Ase4l0DABV6BK6NZNbRTve9RSJ9PCcqINgQ nUL3liY9fLH3VJmQSiU6q/5XCT33umaV4P5WP1mhi4iy/S8TwljpjJWrbGwQPnqY9oZg BfBp+0qQjzrROKtmnVoFD0jexrlrCpGeOALk0tgHKKbfBmKcn304MFuEcy1/S4WCBgAZ 6rq+WCrpzhKvQkh/wYdcggX5YPfGFJ2JA4ozPI1xozwv+xyd9cjAqcyL7Lj79zD9v+4v WljQ== X-Gm-Message-State: AOAM531S+VFIkGz1fGBoyKhdHCH3EFtUDfWbtSTjE0GZ1Y2O0Ce+gCgw 0V8FqdfBx3WNJxDF8mW7M/AhO0D/HS2aCROG0nB5MwcYImrboA== X-Google-Smtp-Source: ABdhPJwbSa/vP3di4P9ecfD7pcrAFVsoENWEb7KuMbCbb2tbc2ppZvqm2xtAalslw/kp/7u0i3+Cg1fkm3uxK8cT6Bk= X-Received: by 2002:a25:a541:: with SMTP id h59mr14054061ybi.203.1611722166015; Tue, 26 Jan 2021 20:36:06 -0800 (PST) In-Reply-To: <87pn1ratrb.fsf@gnus.org> 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:198662 Archived-At: On Tue, Jan 26, 2021 at 10:28 PM Lars Ingebrigtsen wrote: > > Aaron Jensen writes: > > > Some more information that is hopefully helpful. > > > > My Emacs memory usage is currently around 2.5GB. > > > > Lisp Stack trace from busy loop: > > > > (unsigned char *) $2 =3D 0x00000001003f48c6 =E2=80=9Ctimer-event-handle= r=E2=80=9D > > (unsigned char *) $3 =3D 0x00000001003f074c =E2=80=9Capply=E2=80=9D > > (unsigned char *) $4 =3D 0x00000001191ba690 =E2=80=9Cgcmh-idle-garbage-= collect=E2=80=9D > > (unsigned char *) $5 =3D 0x00000001003ee2fe =E2=80=9Cgarbage-collect=E2= =80=9D > > > > GC Stats during busy loop. These don't seem to increase, it stays busy > > in lisp_align_free, though with different blocks over time. > > Is it always hanging in a `gcmh-idle-garbage-collect'? Yes, though since reducing my high cons threshold to 16mb, it hasn't reocur= red. > Can you > reproduce this problem without using that package? No, I don't believe so. > > Also, could you include the output from `M-x report-emacs-bug', > especially the bit that describes your Emacs version and OS version? Sure, though it's a different build by now and I'm using native-comp now, but wasn't before. In GNU Emacs 28.0.50 (build 1, x86_64-apple-darwin19.6.0, NS appkit-1894.60 Version 10.15.7 (Build 19H114)) of 2021-01-24 built on aaron-sub.local Repository revision: 0ffb3dfaa483b0c5cf1f7f367efcb5e9c041ab53 Repository branch: feature/native-comp Windowing system distributor 'Apple', version 10.3.1894 System Description: Mac OS X 10.15.7 Configured using: 'configure --disable-dependency-tracking --disable-silent-rules --enable-locallisppath=3D/usr/local/share/emacs/site-lisp --infodir=3D/usr/local/Cellar/emacs-plus@28/28.0.50/share/info/emacs --prefix=3D/usr/local/Cellar/emacs-plus@28/28.0.50 --with-xml2 --with-gnutls --with-nativecomp --without-dbus --with-imagemagick --with-modules --with-rsvg --with-ns --disable-ns-self-contained 'CFLAGS=3D-I/usr/local/opt/gcc/include -I/usr/local/opt/libgccjit/include -I/usr/local/opt/gmp/include -I/usr/local/opt/jpeg/include' 'LDFLAGS=3D-L/usr/local/lib/gcc/10 -I/usr/local/opt/gcc/include -I/usr/local/opt/libgccjit/include -I/usr/local/opt/gmp/include -I/usr/local/opt/jpeg/include'' Configured features: ACL GLIB GMP GNUTLS IMAGEMAGICK JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY KQUEUE NS PDUMPER PNG RSVG THREADS TIFF TOOLKIT_SCROLL_BARS ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Aaron