From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Moritz =?UTF-8?Q?Sch=C3=A4fer?= Newsgroups: gmane.emacs.bugs Subject: bug#30387: Emacs 27.1 on NixOS; emacs freezes as previously described Date: Wed, 11 Nov 2020 01:13:53 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000009ba65605b3c9ac4c" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22445"; mail-complaints-to="usenet@ciao.gmane.io" To: <30387@debbugs.gnu.org> Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 11 01:15:12 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 1kcdn6-0005hZ-KW for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 11 Nov 2020 01:15:12 +0100 Original-Received: from localhost ([::1]:58642 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kcdn5-0000vF-3d for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 10 Nov 2020 19:15:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:32992) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kcdmw-0000uq-92 for bug-gnu-emacs@gnu.org; Tue, 10 Nov 2020 19:15:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56194) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kcdmv-0001Zw-VC for bug-gnu-emacs@gnu.org; Tue, 10 Nov 2020 19:15:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kcdmv-0004ZN-Q3 for bug-gnu-emacs@gnu.org; Tue, 10 Nov 2020 19:15:01 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Moritz =?UTF-8?Q?Sch=C3=A4fer?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 Nov 2020 00:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30387 X-GNU-PR-Package: emacs Original-Received: via spool by 30387-submit@debbugs.gnu.org id=B30387.160505365917501 (code B ref 30387); Wed, 11 Nov 2020 00:15:01 +0000 Original-Received: (at 30387) by debbugs.gnu.org; 11 Nov 2020 00:14:19 +0000 Original-Received: from localhost ([127.0.0.1]:39507 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kcdmF-0004YD-GI for submit@debbugs.gnu.org; Tue, 10 Nov 2020 19:14:19 -0500 Original-Received: from mailg110.ethz.ch ([129.132.162.66]:41377) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kcdmC-0004Xx-Ik for 30387@debbugs.gnu.org; Tue, 10 Nov 2020 19:14:18 -0500 Original-Received: from mailm210.d.ethz.ch (2001:67c:10ec:5603::24) by mailg110.ethz.ch (2001:67c:10ec:5605::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Wed, 11 Nov 2020 01:14:05 +0100 Original-Received: from mail-ej1-f50.google.com (209.85.218.50) by mailm210.d.ethz.ch (2001:67c:10ec:5603::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Wed, 11 Nov 2020 01:14:09 +0100 Original-Received: by mail-ej1-f50.google.com with SMTP id w13so254811eju.13 for <30387@debbugs.gnu.org>; Tue, 10 Nov 2020 16:14:09 -0800 (PST) X-Gm-Message-State: AOAM533xf8bCn0QpAyU+IQypzxQsZPRVEzPM8OZ3UnRj54pOgcXPGDy2 AMksVHqMXA/8i6/n+1f8lcDlO1xGP5Mj1e61bqA= X-Google-Smtp-Source: ABdhPJxG8IhBXLFK8Zez8EM2R1BT+Q7cw/GoAjMCc3Og7BrJBUKHFO6TO5ck6+SOeqgz3MGsvZrsGmtBaViuWzVqvqc= X-Received: by 2002:a17:906:b110:: with SMTP id u16mr22319780ejy.55.1605053649231; Tue, 10 Nov 2020 16:14:09 -0800 (PST) X-Gmail-Original-Message-ID: X-Originating-IP: [209.85.218.50] X-ClientProxiedBy: mailm110.d.ethz.ch (2001:67c:10ec:5602::22) To mailm210.d.ethz.ch (2001:67c:10ec:5603::24) X-TM-SNTS-SMTP: E5DE0A91D7CE278BB60DD7D21FD9052936C66CF8A6B57212503E67338EA995FD2000:8 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:193061 Archived-At: --0000000000009ba65605b3c9ac4c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I face the same issue as described previously by John Wiegley. After several hours (sometimes even less than an hour), emacs freezes completely without the option to recover it. A backtrace also leads to lisp_align_free: #0 0x000000000055aa0e in lisp_align_free () #1 0x000000000055acd9 in sweep_floats () #2 0x00000000005603ac in garbage_collect () #3 0x00000000005607e7 in Fgarbage_collect () ... This is especially cumbersome since I am running EXWM and have to therefore recover my session in a tty by restarting my desktop manager. I will add a timer to run the garbage collector every few (5) seconds so I can hopefully track which event changes the state in a way that leads it to the observed freezing behavior. I report back back if I find out anything new. In the meanwhile, I am happy for any suggestions on how to debug this issue. --=20 Moritz Sch=C3=A4fer* * --0000000000009ba65605b3c9ac4c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I face the same issue as described previously by John= Wiegley. After several hours (sometimes even less than an hour), emacs fre= ezes completely without the option to recover it.
A backtrac= e also leads to lisp_align_free:

#0 =C2=A00x000000= 000055aa0e in lisp_align_free ()
#1 =C2=A00x000000000055acd9 in sweep_fl= oats ()
#2 =C2=A00x00000000005603ac in garbage_collect ()
#3 =C2=A00x= 00000000005607e7 in Fgarbage_collect ()
...

This is especially cumbersome since I am running EXWM and have to t= herefore recover my session in a tty by restarting my desktop manager.

I will add a timer to run the garbage collector every = few (5) seconds so I can hopefully track which event changes the state in a= way that leads it to the observed freezing behavior.

<= div>I report back back if I find out anything new. In the meanwhile, I am h= appy for any suggestions on how to debug this issue.
--

Moritz Sch=C3=A4fe= r

--0000000000009ba65605b3c9ac4c--