GNU bug report logs - #44326
27.1.50; busy loop in lisp_free_align

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Aaron Jensen <aaronjensen@HIDDEN>; dated Fri, 30 Oct 2020 11:19:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

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


Received: (at submit) by debbugs.gnu.org; 30 Oct 2020 14:34:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 30 10:34:13 2020
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>
Subject: Re: 27.1.50; busy loop in lisp_free_align
To: bug-gnu-emacs@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-Debbugs-Envelope-To: submit
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




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#44326; Package emacs. Full text available.

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


Received: (at submit) by debbugs.gnu.org; 30 Oct 2020 11:18:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 30 07:18:33 2020
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>
Subject: 27.1.50; busy loop in lisp_free_align
To: bug-gnu-emacs@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-Debbugs-Envelope-To: submit
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




Acknowledgement sent to Aaron Jensen <aaronjensen@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#44326; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 30 Oct 2020 14:45:01 UTC

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