GNU logs - #44326, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#44326: 27.1.50; busy loop in lisp_free_align
Resent-From: Aaron Jensen <aaronjensen@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 30 Oct 2020 11:19:02 +0000
Resent-Message-ID: <handler.44326.B.160405671325057 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 44326
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 44326 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.160405671325057
          (code B ref -1); Fri, 30 Oct 2020 11:19:02 +0000
Received: (at submit) by debbugs.gnu.org; 30 Oct 2020 11:18:33 +0000
Received: from localhost ([127.0.0.1]:56295 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kYSQT-0006W5-5I
	for submit <at> debbugs.gnu.org; Fri, 30 Oct 2020 07:18:33 -0400
Received: from lists.gnu.org ([209.51.188.17]:59832)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <aaronjensen@HIDDEN>) id 1kYSQR-0006Vx-I6
 for submit <at> debbugs.gnu.org; Fri, 30 Oct 2020 07:18:31 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:33390)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <aaronjensen@HIDDEN>)
 id 1kYSQP-00022w-Ru
 for bug-gnu-emacs@HIDDEN; Fri, 30 Oct 2020 07:18:31 -0400
Received: from mail-yb1-xb32.google.com ([2607:f8b0:4864:20::b32]:42035)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <aaronjensen@HIDDEN>)
 id 1kYSQN-00038q-F7
 for bug-gnu-emacs@HIDDEN; Fri, 30 Oct 2020 07:18:28 -0400
Received: by mail-yb1-xb32.google.com with SMTP id a12so4772784ybg.9
 for <bug-gnu-emacs@HIDDEN>; Fri, 30 Oct 2020 04:18:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:from:date:message-id:subject:to;
 bh=uO4Umo5XekTL8bpNGi2Ki3PBkIjZKz3jfYdt1T2EgQA=;
 b=bDGBYH4qAcK9a2wKVNIIj2eMvgxok+3YcOnt+VobzUYF6zcIvyYuSr5lEfOzyEUu3S
 cAFldRXLcfZiXmyBgWoWVfoJ3rh3+tg2eW2YFvPU9Dbs5EMX+ntSqo5oiNx5aCqWSv4R
 mE14SF5t4DgR596yV01B0zB47UJWcf8el+ewlQ9zzjsHxltddZ5Gr5H93+FlWif9J88/
 ZCIILg5OAUU29XS3hnsnbBtibiR+HwO87lAJaw3ckVW4THJlNPVbTnDiYEYOyDUC05NB
 Zm8N8ECrRV5BdyHhz3qisg0skoAa/s2AFZr04/U8zI+i9VkpILvQKEj8ruH5cKwUQ89o
 x6kA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=uO4Umo5XekTL8bpNGi2Ki3PBkIjZKz3jfYdt1T2EgQA=;
 b=Hwz5AyBizULaXwBPUHptvESnsKs4qZ0oKI5aUnnlXPMgjrys0gEZ7wU+w2aYh5sm+H
 52+irRquJ6N1pEyqRv3pYpVzwlK8stW0NhVE7Ar2pLOjrvd9scCDjwmexuwQPUU9hvYd
 2wS+mmsckta2Vde/RetOYHKXtdspfWPU8Hu7XimK4Yimh/otYmFgkCdbVPjVwO9s25+c
 eJyT2XdAq2+E5toaZSCaR6ngSfY4MJtsGa647OsSVRblpoyNgY9bfuELoRTLx8NL7XSt
 2TEG4ngZQqkRROtGbZzcpjHlhq0RqNAy0JM0Bitm4WHm2JwbuUHTNo5RLfQoFlmMRxvT
 bHrw==
X-Gm-Message-State: AOAM532dJF2tYS62c/VFrYfEZ5rhBvrWPpTNSJTlqOzuL41H+foQX0ST
 cQoKBT/hfwC5Sy2+1ZlsSAYtKKYJ9yc9cqdL8EA71ZkJXL+m7A==
X-Google-Smtp-Source: ABdhPJyEs0lrNlcPolE5aNO9ZvwHhOcUbqMKTg0VQ9psGsScZ0ORwNsxv5uigoFuElul77GiVtAv45LsesWLTwdZmF8=
X-Received: by 2002:a25:ac23:: with SMTP id w35mr2942567ybi.171.1604056704735; 
 Fri, 30 Oct 2020 04:18:24 -0700 (PDT)
MIME-Version: 1.0
From: Aaron Jensen <aaronjensen@HIDDEN>
Date: Fri, 30 Oct 2020 06:18:13 -0500
Message-ID: <CAHyO48ygs8sH-HKcuXBWvesJv1+ZEBUTGk+tbZC03tYLDcKhkg@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=2607:f8b0:4864:20::b32;
 envelope-from=aaronjensen@HIDDEN; helo=mail-yb1-xb32.google.com
X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache.
 That's all we know.
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

This should probably be merged into a reopened #30322

I'm seeing a busy loop in lisp_free_align often on Emacs 27. It does
eventually recover, but it takes a minute or more.

* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
    frame #0: 0x000000010021c692
emacs`lisp_align_free(block=0x0000000291d2d400) at alloc.c:1245:7
   1242       struct ablock **tem = &free_ablock;
   1243       struct ablock *atop = &abase->blocks[aligned ?
ABLOCKS_SIZE : ABLOCKS_SIZE - 1];
   1244
-> 1245       while (*tem)
   1246         {
   1247           if (*tem >= (struct ablock *) abase && *tem < atop)
   1248             {

I'm running gcmh-mode, and the last time it hung it was a gcmh-mode
idle collection. Not sure if that makes any difference.

Aaron




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Aaron Jensen <aaronjensen@HIDDEN>
Subject: bug#44326: Acknowledgement (27.1.50; busy loop in lisp_free_align)
Message-ID: <handler.44326.B.160405671325057.ack <at> debbugs.gnu.org>
References: <CAHyO48ygs8sH-HKcuXBWvesJv1+ZEBUTGk+tbZC03tYLDcKhkg@HIDDEN>
X-Gnu-PR-Message: ack 44326
X-Gnu-PR-Package: emacs
Reply-To: 44326 <at> debbugs.gnu.org
Date: Fri, 30 Oct 2020 11:19:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 44326 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
44326: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D44326
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#44326: 27.1.50; busy loop in lisp_free_align
Resent-From: Aaron Jensen <aaronjensen@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 30 Oct 2020 14:35:01 +0000
Resent-Message-ID: <handler.44326.B.160406845314907 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 44326
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 44326 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.160406845314907
          (code B ref -1); Fri, 30 Oct 2020 14:35:01 +0000
Received: (at submit) by debbugs.gnu.org; 30 Oct 2020 14:34:13 +0000
Received: from localhost ([127.0.0.1]:59184 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kYVTo-0003sN-Mg
	for submit <at> debbugs.gnu.org; Fri, 30 Oct 2020 10:34:13 -0400
Received: from lists.gnu.org ([209.51.188.17]:37930)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <aaronjensen@HIDDEN>) id 1kYVTn-0003sG-LK
 for submit <at> debbugs.gnu.org; Fri, 30 Oct 2020 10:34:12 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:50970)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <aaronjensen@HIDDEN>)
 id 1kYVTk-0002uI-Ag
 for bug-gnu-emacs@HIDDEN; Fri, 30 Oct 2020 10:34:11 -0400
Received: from mail-yb1-xb30.google.com ([2607:f8b0:4864:20::b30]:38866)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <aaronjensen@HIDDEN>)
 id 1kYVTh-0001ha-ES
 for bug-gnu-emacs@HIDDEN; Fri, 30 Oct 2020 10:34:08 -0400
Received: by mail-yb1-xb30.google.com with SMTP id b138so5278296yba.5
 for <bug-gnu-emacs@HIDDEN>; Fri, 30 Oct 2020 07:34:04 -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
 :content-transfer-encoding;
 bh=+/d1wmFdBaqBk+llpYO09HFsT0BqT5QfszNVmUszz4k=;
 b=StwZN7k3vYg/bepnZxNQJ8jEVzyGAAfTJ+SJRw8aOw5ABJBvtvTTag/7UKqha8Ux49
 EkoLx1Ps8V8V9C1WxFG5q2HG5I9ODLnCxKHRiYFyutkMUyBJN7wiljSZqz2HMt2Ad0nK
 QztkVbPOCFYBKanAQ8aNPSk736gr8BmcLqvKqWIwhQdb/Do/973OVgGeT/WFKdWq0THf
 of21ol+VXDdkjFzUFgAcUVTU0ja/h87T7FPBqnqRIwtkhhiVNfnidwbUou4VwL1sZv9B
 y8Bf2tUI4PfWVL7b8RVOEVl08rS+t9TKRiabUNvhmHFO5qMn65jQkQc7RGPMo8UVlxfZ
 ArVQ==
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:content-transfer-encoding;
 bh=+/d1wmFdBaqBk+llpYO09HFsT0BqT5QfszNVmUszz4k=;
 b=R7p9TVsqxzBqqVEvqHAnrfMnv+KGEDHAE6xh0jk4xCVXT6UWRzLdlO0+h4o9sPLGBI
 caKw7I+HHteWQEHIqSqoDAfwwI7pz/YBTEgh0ThdKUp5xvJX8dS/ckgut+IEuNu9MmUC
 ZPi538FrqDFpU+fnMmURi+pL/HpTjoxDZP+a33J9EFFIFbYLdbEBhJBuPHPjUiFoB/VZ
 TPpSCpsE5Zm+LB8L15/ZXfkP940AhrKqInwqZretzspy5iIt6X8Y30Ub4djipaOz66a/
 tnYnmJBiN878zCRq3xKXcnOUFrCyYtjswCEPwLO95x1eR7kk0dxE53LQhB6bNYj65IcU
 HrhQ==
X-Gm-Message-State: AOAM530gEBuCi/OyJBTLhuGFlyRZV8VAsRaLJcR9ItdmRFseg7U1JcXp
 TgYrFUpWqIcPnOq4o+sHYwlIYjvrnUvMpfpB4MwC3b/n5ZaJcg==
X-Google-Smtp-Source: ABdhPJzNy1uKrJzSmEQS9K/Flkg/lylbMrEvqTRMwq3pDLhm9HQpSBkh/+bKxSiIt7ffstGoz4Yf5+Oj+HoxiXlmOjg=
X-Received: by 2002:a25:686:: with SMTP id 128mr4034796ybg.175.1604068443129; 
 Fri, 30 Oct 2020 07:34:03 -0700 (PDT)
MIME-Version: 1.0
References: <CAHyO48ygs8sH-HKcuXBWvesJv1+ZEBUTGk+tbZC03tYLDcKhkg@HIDDEN>
In-Reply-To: <CAHyO48ygs8sH-HKcuXBWvesJv1+ZEBUTGk+tbZC03tYLDcKhkg@HIDDEN>
From: Aaron Jensen <aaronjensen@HIDDEN>
Date: Fri, 30 Oct 2020 09:33:52 -0500
Message-ID: <CAHyO48ypadHNYvcBdUJZS_XNFpEv2xJcp+aDme19DQLY=MdjCg@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=2607:f8b0:4864:20::b30;
 envelope-from=aaronjensen@HIDDEN; helo=mail-yb1-xb30.google.com
X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache.
 That's all we know.
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

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-handler=E2=
=80=9D
(unsigned char *) $3 =3D 0x00000001003f074c =E2=80=9Capply=E2=80=9D
(unsigned char *) $4 =3D 0x00000001191ba690 =E2=80=9Cgcmh-idle-garbage-coll=
ect=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.

(lldb) p num_used
(object_ct) $8 =3D 2924
(lldb) p num_free
(object_ct) $9 =3D 13506

Here is a macOS sample from activity monitor:

Physical footprint:         2.5G
Physical footprint (peak):  3.2G
----

Call graph:
    2102 Thread_6786366   DispatchQueue_1: com.apple.main-thread  (serial)
    + 2102 start  (in libdyld.dylib) + 1  [0x7fff6a33dcc9]
    +   2102 main  (in emacs) + 6980  [0x100161764]  emacs.c:2066
    +     2102 Frecursive_edit  (in emacs) + 313  [0x100164299]  keyboard.c=
:786
    +       2102 recursive_edit_1  (in emacs) + 192  [0x100163f50]
keyboard.c:714
    +         2102 command_loop  (in emacs) + 202  [0x1001640ca]
keyboard.c:1070
    +           2102 internal_catch  (in emacs) + 74  [0x1002614ba]  eval.c=
:1117
    +             2102 command_loop_2  (in emacs) + 44  [0x10017ce8c]
keyboard.c:1091
    +               2102 internal_condition_case  (in emacs) + 127
[0x100261b4f]  eval.c:1356
    +                 2102 command_loop_1  (in emacs) + 1449
[0x100165139]  keyboard.c:1350
    +                   2102 read_key_sequence  (in emacs) + 1897
[0x100166719]  keyboard.c:9554
    +                     2102 read_char  (in emacs) + 5298
[0x10016b5e2]  keyboard.c:2738
    +                       2102 sit_for  (in emacs) + 750
[0x100008f8e]  dispnew.c:6056
    +                         2102 wait_reading_process_output  (in
emacs) + 5631  [0x1002edbaf]  process.c:5707
    +                           2102 detect_input_pending_run_timers
(in emacs) + 54  [0x10016d056]  keyboard.c:10368
    +                             2102 get_input_pending  (in emacs) +
64  [0x100170960]  keyboard.c:6807
    +                               2102 readable_events  (in emacs) +
31  [0x10016e44f]  keyboard.c:3397
    +                                 2102 timer_check  (in emacs) +
168  [0x100170aa8]  keyboard.c:4398
    +                                   2102 timer_check_2  (in emacs)
+ 1695  [0x1001711bf]  keyboard.c:4336
    +                                     2102 call1  (in emacs) + 63
[0x100268d2f]  eval.c:2655
    +                                       2102 Ffuncall  (in emacs)
+ 542  [0x10026824e]  eval.c:2797
    +                                         2102 funcall_lambda  (in
emacs) + 508  [0x10026985c]  eval.c:2990
    +                                           2102 exec_byte_code
(in emacs) + 8766  [0x1002d951e]  bytecode.c:633
    +                                             2102 Ffuncall  (in
emacs) + 468  [0x100268204]  eval.c:2795
    +                                               2102 funcall_subr
(in emacs) + 267  [0x10026930b]  eval.c:2848
    +                                                 2102 Fapply  (in
emacs) + 138  [0x1002649ca]  eval.c:2378
    +                                                   2102 Ffuncall
(in emacs) + 542  [0x10026824e]  eval.c:2797
    +                                                     2102
funcall_lambda  (in emacs) + 508  [0x10026985c]  eval.c:2990
    +                                                       2102
exec_byte_code  (in emacs) + 8766  [0x1002d951e]  bytecode.c:633
    +                                                         2102
Ffuncall  (in emacs) + 468  [0x100268204]  eval.c:2795
    +                                                           2102
funcall_subr  (in emacs) + 454  [0x1002693c6]  eval.c:2866
    +                                                             2102
Fgarbage_collect  (in emacs) + 60  [0x10021f7ec]  alloc.c:6056
    +
2102 garbage_collect  (in emacs) + 867  [0x10021e623]  alloc.c:5984
    +
2102 gc_sweep  (in emacs) + 14  [0x10021f58e]  alloc.c:7013
    +
 2090 sweep_conses  (in emacs) + 652  [0x10022424c]  alloc.c:6786
    +
 ! 2034 lisp_align_free  (in emacs) + 274,270,...
[0x10021c692,0x10021c68e,...]  alloc.c:1245
    +
 ! 32 lisp_align_free  (in emacs) + 300,280,...
[0x10021c6ac,0x10021c698,...]  alloc.c:1247
    +
 ! 9 lisp_align_free  (in emacs) + 376  [0x10021c6f8]  alloc.c:1260
    +
 ! : 7 free_small  (in libsystem_malloc.dylib) + 1464
[0x7fff6a4f7d9e]
    +
 ! : | 6 mvm_madvise_free  (in libsystem_malloc.dylib) + 87
[0x7fff6a4fe93e]
    +
 ! : | + 6 madvise  (in libsystem_kernel.dylib) + 10  [0x7fff6a48104a]
    +
 ! : | 1 mvm_madvise_free  (in libsystem_malloc.dylib) + 8
[0x7fff6a4fe8ef]
    +
 ! : 1 free  (in libsystem_malloc.dylib) + 107  [0x7fff6a4f4a1c]
    +
 ! : | 1 szone_size  (in libsystem_malloc.dylib) + 73
[0x7fff6a4f73a1]
    +
 ! : |   1 small_size  (in libsystem_malloc.dylib) + 144
[0x7fff6a4f7636]
    +
 ! : 1 free_small  (in libsystem_malloc.dylib) + 2090
[0x7fff6a4f8010]
    +
 ! :   1 small_free_scan_madvise_free  (in libsystem_malloc.dylib) +
451  [0x7fff6a501e54]
    +
 ! :     1 mvm_madvise_free  (in libsystem_malloc.dylib) + 87
[0x7fff6a4fe93e]
    +
 ! :       1 madvise  (in libsystem_kernel.dylib) + 10
[0x7fff6a48104a]
    +
 ! 7 lisp_align_free  (in emacs) + 348,352  [0x10021c6dc,0x10021c6e0]
alloc.c:1253
    +
 ! 5 lisp_align_free  (in emacs) + 86  [0x10021c5d6]  alloc.c:1228
    +
 ! : 5 mem_find  (in emacs) + 109  [0x10021ceed]  alloc.c:3960
    +
 ! 3 lisp_align_free  (in emacs) + 94  [0x10021c5de]  alloc.c:1228
    +
 !   3 mem_delete  (in emacs) + 399  [0x10022200f]  alloc.c:4220
    +
 !     2 xfree  (in emacs) + 64  [0x100210a70]  alloc.c:768
    +
 !     | 1 free_tiny  (in libsystem_malloc.dylib) + 459
[0x7fff6a4f8d8b]
    +
 !     | + 1 tiny_free_no_lock  (in libsystem_malloc.dylib) + 1111
[0x7fff6a4f92d6]
    +
 !     | +   1 tiny_free_list_add_ptr  (in libsystem_malloc.dylib) +
478  [0x7fff6a4f9ac8]
    +
 !     | 1 free_tiny  (in libsystem_malloc.dylib) + 479
[0x7fff6a4f8d9f]
    +
 !     1 xfree  (in emacs) + 37  [0x100210a55]  alloc.c:765
    +
 !       1 pdumper_object_p  (in emacs) + 59  [0x100210abb]
pdumper.h:148
    +
 3 sweep_conses  (in emacs) + 294,339,...
[0x1002240e6,0x100224113,...]  alloc.c:6761
    +
 2 sweep_conses  (in emacs) + 146  [0x100224052]  alloc.c:6739
    +
 2 sweep_conses  (in emacs) + 389  [0x100224145]  alloc.c:6764
    +
 2 sweep_conses  (in emacs) + 420  [0x100224164]  alloc.c:6766
    +
 ! 2 dead_object  (in emacs) + 18  [0x10021aa32]  lisp.h:1304
    +
 !   2 make_lisp_ptr  (in emacs) + 0,8  [0x100219e90,0x100219e98]
lisp.h:1284
    +
 1 sweep_conses  (in emacs) + 276  [0x1002240d4]  alloc.c:6759
    +
 1 sweep_conses  (in emacs) + 261  [0x1002240c5]  alloc.c:6760
    +
 1 sweep_conses  (in emacs) + 401  [0x100224151]  alloc.c:6765


Aaron

On Fri, Oct 30, 2020 at 6:18 AM Aaron Jensen <aaronjensen@HIDDEN> wrote:
>
> This should probably be merged into a reopened #30322
>
> I'm seeing a busy loop in lisp_free_align often on Emacs 27. It does
> eventually recover, but it takes a minute or more.
>
> * thread #1, queue =3D 'com.apple.main-thread', stop reason =3D signal SI=
GSTOP
>     frame #0: 0x000000010021c692
> emacs`lisp_align_free(block=3D0x0000000291d2d400) at alloc.c:1245:7
>    1242       struct ablock **tem =3D &free_ablock;
>    1243       struct ablock *atop =3D &abase->blocks[aligned ?
> ABLOCKS_SIZE : ABLOCKS_SIZE - 1];
>    1244
> -> 1245       while (*tem)
>    1246         {
>    1247           if (*tem >=3D (struct ablock *) abase && *tem < atop)
>    1248             {
>
> I'm running gcmh-mode, and the last time it hung it was a gcmh-mode
> idle collection. Not sure if that makes any difference.
>
> Aaron




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#44326: 27.1.50; busy loop in lisp_free_align
Resent-From: Lars Ingebrigtsen <larsi@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 27 Jan 2021 04:29:02 +0000
Resent-Message-ID: <handler.44326.B44326.16117217004318 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 44326
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Aaron Jensen <aaronjensen@HIDDEN>
Cc: 44326 <at> debbugs.gnu.org
Received: via spool by 44326-submit <at> debbugs.gnu.org id=B44326.16117217004318
          (code B ref 44326); Wed, 27 Jan 2021 04:29:02 +0000
Received: (at 44326) by debbugs.gnu.org; 27 Jan 2021 04:28:20 +0000
Received: from localhost ([127.0.0.1]:43336 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1l4cRH-00017a-UH
	for submit <at> debbugs.gnu.org; Tue, 26 Jan 2021 23:28:20 -0500
Received: from quimby.gnus.org ([95.216.78.240]:36086)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1l4cRG-00017I-41
 for 44326 <at> debbugs.gnu.org; Tue, 26 Jan 2021 23:28:18 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID
 :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
 List-Post:List-Owner:List-Archive;
 bh=6IjXoO3xdfJOQ+1HcsKzoIz+j6GAqQnv7/OMsgUO6nk=; b=mKLhswBkJGxM2UB/Lhg6N04jsY
 BbT1PnSsYVXJK98+8ugKV3WAKYfZilBw3+52npSK9zLAVrkcf4pFoOSWAEWTF0dWnmU9Yy45prN+p
 EyjRVl6yVbjenmkhxR1pCsssZ98htmaCoy2flNdn7/UfcxGYDOidA968jPgCGVAm8jPU=;
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1l4cR7-0001By-Rj; Wed, 27 Jan 2021 05:28:12 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
References: <CAHyO48ygs8sH-HKcuXBWvesJv1+ZEBUTGk+tbZC03tYLDcKhkg@HIDDEN>
 <CAHyO48ypadHNYvcBdUJZS_XNFpEv2xJcp+aDme19DQLY=MdjCg@HIDDEN>
X-Now-Playing: Current 93's _The Light Is Leaving Us All_: "The Policeman is
 Dead"
Date: Wed, 27 Jan 2021 05:28:08 +0100
In-Reply-To: <CAHyO48ypadHNYvcBdUJZS_XNFpEv2xJcp+aDme19DQLY=MdjCg@HIDDEN>
 (Aaron Jensen's message of "Fri, 30 Oct 2020 09:33:52 -0500")
Message-ID: <87pn1ratrb.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 
 Content preview:  Aaron Jensen <aaronjensen@HIDDEN> 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 = 0x00000001003f48c6
    =?UTF-8?Q?=E2=80=9Ctimer-even?= [...] 
 
 Content analysis details:   (-2.9 points, 5.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
                             [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Aaron Jensen <aaronjensen@HIDDEN> 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-handler=
=E2=80=9D
> (unsigned char *) $3 =3D 0x00000001003f074c =E2=80=9Capply=E2=80=9D
> (unsigned char *) $4 =3D 0x00000001191ba690 =E2=80=9Cgcmh-idle-garbage-co=
llect=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'?  Can you
reproduce this problem without using that package?

Also, could you include the output from `M-x report-emacs-bug',
especially the bit that describes your Emacs version and OS version?

--=20
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 27 Jan 2021 04:28:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 26 23:28:24 2021
Received: from localhost ([127.0.0.1]:43339 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1l4cRM-00017q-7y
	for submit <at> debbugs.gnu.org; Tue, 26 Jan 2021 23:28:24 -0500
Received: from quimby.gnus.org ([95.216.78.240]:36100)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1l4cRK-00017P-T0
 for control <at> debbugs.gnu.org; Tue, 26 Jan 2021 23:28:23 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc:
 MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=wNd1BODPIgpKt1cGLqDxI2xEiSNjv1i9IzKp9nLRcfI=; b=VIkBCFNy1Y9jkhGhAMORRkc2op
 SExYh5RjVmxYXlHI+uW/ipMfzaY6yuVnOI+7byrZdjD1XKDSqTC2MfnV3LtVk5O95M0WlPthxfqFj
 nIMuzW5s+nsmo+M2bJ8Vyu+MYV/7BJH9SOSbDkUmvyMp9zjGIrHbsJtB8Wto4PwAXmgQ=;
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1l4cRD-0001C7-CW
 for control <at> debbugs.gnu.org; Wed, 27 Jan 2021 05:28:17 +0100
Date: Wed, 27 Jan 2021 05:28:14 +0100
Message-Id: <87o8hbatr5.fsf@HIDDEN>
To: control <at> debbugs.gnu.org
From: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: control message for bug #44326
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  tags 44326 + moreinfo quit 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

tags 44326 + moreinfo
quit





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#44326: 27.1.50; busy loop in lisp_free_align
Resent-From: Aaron Jensen <aaronjensen@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 27 Jan 2021 04:37:02 +0000
Resent-Message-ID: <handler.44326.B44326.161172217313126 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 44326
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: moreinfo
To: Lars Ingebrigtsen <larsi@HIDDEN>
Cc: 44326 <at> debbugs.gnu.org
Received: via spool by 44326-submit <at> debbugs.gnu.org id=B44326.161172217313126
          (code B ref 44326); Wed, 27 Jan 2021 04:37:02 +0000
Received: (at 44326) by debbugs.gnu.org; 27 Jan 2021 04:36:13 +0000
Received: from localhost ([127.0.0.1]:43346 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1l4cYv-0003Pe-74
	for submit <at> debbugs.gnu.org; Tue, 26 Jan 2021 23:36:13 -0500
Received: from mail-yb1-f169.google.com ([209.85.219.169]:42039)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <aaronjensen@HIDDEN>) id 1l4cYt-0003PN-K6
 for 44326 <at> debbugs.gnu.org; Tue, 26 Jan 2021 23:36:12 -0500
Received: by mail-yb1-f169.google.com with SMTP id b11so802590ybj.9
 for <44326 <at> 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)
MIME-Version: 1.0
References: <CAHyO48ygs8sH-HKcuXBWvesJv1+ZEBUTGk+tbZC03tYLDcKhkg@HIDDEN>
 <CAHyO48ypadHNYvcBdUJZS_XNFpEv2xJcp+aDme19DQLY=MdjCg@HIDDEN>
 <87pn1ratrb.fsf@HIDDEN>
In-Reply-To: <87pn1ratrb.fsf@HIDDEN>
From: Aaron Jensen <aaronjensen@HIDDEN>
Date: Tue, 26 Jan 2021 22:35:54 -0600
Message-ID: <CAHyO48wjXkzPRCENcumBBXbuoFVRRzL3MskTvx-zvjk=K7=_=A@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On Tue, Jan 26, 2021 at 10:28 PM Lars Ingebrigtsen <larsi@HIDDEN> wrote:
>
> Aaron Jensen <aaronjensen@HIDDEN> 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




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 1 Mar 2021 15:19:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 01 10:19:26 2021
Received: from localhost ([127.0.0.1]:50382 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lGkKT-0004df-Te
	for submit <at> debbugs.gnu.org; Mon, 01 Mar 2021 10:19:26 -0500
Received: from quimby.gnus.org ([95.216.78.240]:43910)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1lGkKS-0004dP-8k
 for control <at> debbugs.gnu.org; Mon, 01 Mar 2021 10:19:24 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc:
 MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=sVu8YSnGhMDmXtrP6nOY87fhAh7lVRR6Ur6ehSETw6c=; b=oPWouU0TLLwciaBQuuBMKikn1m
 JIOcL9sA1LC/w+slkZvmi43kJ98PXu4vHbT/Ch40L3yTjCF2kKAB4Yqz/ij6asKkp9mgxtCLVXPkM
 qsgTtYgT70IyUZSp1InvIfAD+q5RoMFAWN4lPxtMRTcCDOjL7zH7hVXUHvF7TiINl7+Q=;
Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1lGkKK-00034b-OP
 for control <at> debbugs.gnu.org; Mon, 01 Mar 2021 16:19:18 +0100
Date: Mon, 01 Mar 2021 16:19:15 +0100
Message-Id: <87sg5e6gwc.fsf@HIDDEN>
To: control <at> debbugs.gnu.org
From: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: control message for bug #44326
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  tags 44326 - moreinfo quit 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

tags 44326 - moreinfo
quit






Last modified: Mon, 1 Mar 2021 15:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.