From unknown Fri Sep 19 20:43:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#62623: (backtrace) hangs and causes excessive memory usage Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Sun, 02 Apr 2023 17:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62623 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: 62623@debbugs.gnu.org X-Debbugs-Original-To: bug-guile@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168045817613342 (code B ref -1); Sun, 02 Apr 2023 17:57:02 +0000 Received: (at submit) by debbugs.gnu.org; 2 Apr 2023 17:56:16 +0000 Received: from localhost ([127.0.0.1]:42605 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pj1w8-0003T8-1H for submit@debbugs.gnu.org; Sun, 02 Apr 2023 13:56:16 -0400 Received: from lists.gnu.org ([209.51.188.17]:37246) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pj1w3-0003Su-CW for submit@debbugs.gnu.org; Sun, 02 Apr 2023 13:56:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pj1w2-0006ip-Vr for bug-guile@gnu.org; Sun, 02 Apr 2023 13:56:10 -0400 Received: from mira.cbaines.net ([2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pj1vw-0003zt-2e for bug-guile@gnu.org; Sun, 02 Apr 2023 13:56:08 -0400 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:3a91:a0a4:ecee:f157]) by mira.cbaines.net (Postfix) with ESMTPSA id 098CF17183 for ; Sun, 2 Apr 2023 18:55:59 +0100 (BST) Received: from felis (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 091e58ec for ; Sun, 2 Apr 2023 17:55:57 +0000 (UTC) User-agent: mu4e 1.8.13; emacs 28.2 From: Christopher Baines Date: Sun, 02 Apr 2023 18:38:26 +0100 Message-ID: <878rfamamq.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27; envelope-from=mail@cbaines.net; helo=mira.cbaines.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) I've got this problem in the guix-build-coordinator, but I've been so far unable to reproduce it in a standalone manor. When (backtrace) is called, the output seems to start, but then stops as seen below. The memory usage also seems to then start increasing with increasingly large jumps over a period of hours. I've seen calling (backtrace) crash before, but this behaviour where it seems to get stuck is new. I can't tell for sure whether the excessive memory usage is directly related, or a consequence of the problem. I've included some output from (backtrace) where this problem occurs below. Backtrace: In ice-9/boot-9.scm: 1752:10 13 (with-exception-handler _ _ #:unwind? _ # _) In guix-build-coordinator/coordinator.scm: 900:9 12 (_) In prometheus.scm: 429:4 11 (call-with-duration-metric _ _ _ #:buckets _ #:docstring =E2= =80=A6) In ice-9/boot-9.scm: 1747:15 10 (with-exception-handler # =E2=80=A6) In guix-build-coordinator/coordinator.scm: 913:15 9 (_) In ice-9/boot-9.scm: 1752:10 8 (with-exception-handler _ _ #:unwind? _ # _) In guix-build-coordinator/coordinator.scm: 915:19 7 (_) 858:10 6=20 Backtrace: In guix-build-coordinator/utils.scm: 1179:6 13 (_) In ice-9/boot-9.scm: 1747:15 12 (with-exception-handler # =E2=80=A6) 1747:15 11 (with-exception-handler # =E2=80=A6) In guix-build-coordinator/coordinator.scm: 1011:8 10 (_) In ice-9/boot-9.scm: 1752:10 9 (with-exception-handler _ _ #:unwind? _ # _) In prometheus.scm: 429:4 8 (call-with-duration-metric _ _ _ #:buckets _ #:docstring =E2= =80=A6) In ice-9/eval.scm: 619:8 7 From unknown Fri Sep 19 20:43:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#62623: (backtrace) hangs and causes excessive memory usage Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Wed, 19 Apr 2023 10:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62623 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: 62623@debbugs.gnu.org Received: via spool by 62623-submit@debbugs.gnu.org id=B62623.16819017771989 (code B ref 62623); Wed, 19 Apr 2023 10:57:02 +0000 Received: (at 62623) by debbugs.gnu.org; 19 Apr 2023 10:56:17 +0000 Received: from localhost ([127.0.0.1]:32848 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pp5U1-0000W1-Fz for submit@debbugs.gnu.org; Wed, 19 Apr 2023 06:56:17 -0400 Received: from mira.cbaines.net ([212.71.252.8]:42484) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pp5Tz-0000Vs-Rr for 62623@debbugs.gnu.org; Wed, 19 Apr 2023 06:56:16 -0400 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:54d1:d5d4:280e:f699]) by mira.cbaines.net (Postfix) with ESMTPSA id ECD1E17A48 for <62623@debbugs.gnu.org>; Wed, 19 Apr 2023 11:56:14 +0100 (BST) Received: from felis (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id aefd85b2 for <62623@debbugs.gnu.org>; Wed, 19 Apr 2023 10:56:14 +0000 (UTC) References: <878rfamamq.fsf@cbaines.net> User-agent: mu4e 1.8.13; emacs 28.2 From: Christopher Baines Date: Wed, 19 Apr 2023 11:54:27 +0100 In-reply-to: <878rfamamq.fsf@cbaines.net> Message-ID: <87ilds5eep.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Someone else has this problem, which makes me feel a bit better since I had no idea what's going on here. I'm assuming that (backtrace) causing issues is still a problem with Guile itself, but it seems like there's some involvement of guile-fibers (which fits with my experience): https://github.com/wingo/fibers/issues/76 From unknown Fri Sep 19 20:43:34 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Christopher Baines Subject: bug#62623: closed (Re: bug#62623: (backtrace) hangs and causes excessive memory usage) Message-ID: References: <87lduajh5r.fsf@cbaines.net> <878rfamamq.fsf@cbaines.net> X-Gnu-PR-Message: they-closed 62623 X-Gnu-PR-Package: guile Reply-To: 62623@debbugs.gnu.org Date: Thu, 13 Feb 2025 10:04:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1739441043-8126-1" This is a multi-part message in MIME format... ------------=_1739441043-8126-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #62623: (backtrace) hangs and causes excessive memory usage which was filed against the guile package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 62623@debbugs.gnu.org. --=20 62623: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D62623 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1739441043-8126-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 62623-done) by debbugs.gnu.org; 13 Feb 2025 10:03:20 +0000 Received: from localhost ([127.0.0.1]:40640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tiW40-00024v-2j for submit@debbugs.gnu.org; Thu, 13 Feb 2025 05:03:20 -0500 Received: from mira.cbaines.net ([2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27]:45171) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tiW3x-00024k-4z for 62623-done@debbugs.gnu.org; Thu, 13 Feb 2025 05:03:17 -0500 Received: from localhost (unknown [IPv6:2a02:6b67:e390:8b00::1ce5]) by mira.cbaines.net (Postfix) with ESMTPSA id DCC9127BBE2 for <62623-done@debbugs.gnu.org>; Thu, 13 Feb 2025 10:03:14 +0000 (GMT) Received: from fang (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 84d2fe65 for <62623-done@debbugs.gnu.org>; Thu, 13 Feb 2025 10:03:14 +0000 (UTC) From: Christopher Baines To: 62623-done@debbugs.gnu.org Subject: Re: bug#62623: (backtrace) hangs and causes excessive memory usage In-Reply-To: <87ilds5eep.fsf@cbaines.net> (Christopher Baines's message of "Wed, 19 Apr 2023 11:54:27 +0100") References: <878rfamamq.fsf@cbaines.net> <87ilds5eep.fsf@cbaines.net> Date: Thu, 13 Feb 2025 10:03:12 +0000 Message-ID: <87lduajh5r.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 62623-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Christopher Baines writes: > Someone else has this problem, which makes me feel a bit better since I > had no idea what's going on here. > > I'm assuming that (backtrace) causing issues is still a problem with > Guile itself, but it seems like there's some involvement of > guile-fibers (which fits with my experience): > > https://github.com/wingo/fibers/issues/76 I'm not sure, but I think this is fixed now. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmetw2BfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XdO2g/+P2wNAw+wgNQM97OMuc+Hg8Nj03Ee5/cf ngf9oHIEY7X/6vmGx+cor9mMFKEmUHGKci1sBFjmCVVBX/dv3Mswag//PbHWrU0F sjhzGBCmdpvNpRtUR9RUpn9HgEyClmYFQZ3cGGu0sFDgyIL+JxofhAAoULVhA4U2 060pI2LclHH8yywX2k074iapVezE5qEKOXBp4Upi6WEdH0R3iIZM9iwvUOYOGyy4 kGqaR1FFIfDFyeXMmBnpVAIrSoiVZQdSiJlS1Fje2PIGs6ZhT9Zhxhoe6yClaMGS 4NRJHcAcZFXBWfGBS0QkfICvpdHS4WXekZ3OZPK7kUTuZRu7bpGOiGHziMKV27/8 iV/t6F7kdqkxDQvxgsGcRNUs6QqgxEOJHJRuTR4yKuFxj6dQkMAN/RXzzT6Hq/M6 oWjoGzkdZzLhrBINb0urz9kla1uQJJvTwp76/pDm4Iu+3s8pvlU5l+Axy+U8LK3n p2QwMXzso/eOjxKwthZS4EQ8Tw/cMTG6dzf+ChME/VW2bqtWCzOoOlgwGI1d0e8e SkTjW+zyKPs2fIDcIW5SaRh1tW8TbZyCiyAwUk6x+zAvnpoCcCqpSGPz81VnHhhV VsqlzhDA4H0Z9Mh27S01aIi72KzVJR8rGt3HMGLjB/61U8RCesOh4+hrpB21OZvn Wqa9IE1vTnI= =H+/5 -----END PGP SIGNATURE----- --=-=-=-- ------------=_1739441043-8126-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 2 Apr 2023 17:56:16 +0000 Received: from localhost ([127.0.0.1]:42605 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pj1w8-0003T8-1H for submit@debbugs.gnu.org; Sun, 02 Apr 2023 13:56:16 -0400 Received: from lists.gnu.org ([209.51.188.17]:37246) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pj1w3-0003Su-CW for submit@debbugs.gnu.org; Sun, 02 Apr 2023 13:56:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pj1w2-0006ip-Vr for bug-guile@gnu.org; Sun, 02 Apr 2023 13:56:10 -0400 Received: from mira.cbaines.net ([2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pj1vw-0003zt-2e for bug-guile@gnu.org; Sun, 02 Apr 2023 13:56:08 -0400 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:3a91:a0a4:ecee:f157]) by mira.cbaines.net (Postfix) with ESMTPSA id 098CF17183 for ; Sun, 2 Apr 2023 18:55:59 +0100 (BST) Received: from felis (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 091e58ec for ; Sun, 2 Apr 2023 17:55:57 +0000 (UTC) User-agent: mu4e 1.8.13; emacs 28.2 From: Christopher Baines To: bug-guile@gnu.org Subject: (backtrace) hangs and causes excessive memory usage Date: Sun, 02 Apr 2023 18:38:26 +0100 Message-ID: <878rfamamq.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27; envelope-from=mail@cbaines.net; helo=mira.cbaines.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) I've got this problem in the guix-build-coordinator, but I've been so far unable to reproduce it in a standalone manor. When (backtrace) is called, the output seems to start, but then stops as seen below. The memory usage also seems to then start increasing with increasingly large jumps over a period of hours. I've seen calling (backtrace) crash before, but this behaviour where it seems to get stuck is new. I can't tell for sure whether the excessive memory usage is directly related, or a consequence of the problem. I've included some output from (backtrace) where this problem occurs below. Backtrace: In ice-9/boot-9.scm: 1752:10 13 (with-exception-handler _ _ #:unwind? _ # _) In guix-build-coordinator/coordinator.scm: 900:9 12 (_) In prometheus.scm: 429:4 11 (call-with-duration-metric _ _ _ #:buckets _ #:docstring =E2= =80=A6) In ice-9/boot-9.scm: 1747:15 10 (with-exception-handler # =E2=80=A6) In guix-build-coordinator/coordinator.scm: 913:15 9 (_) In ice-9/boot-9.scm: 1752:10 8 (with-exception-handler _ _ #:unwind? _ # _) In guix-build-coordinator/coordinator.scm: 915:19 7 (_) 858:10 6=20 Backtrace: In guix-build-coordinator/utils.scm: 1179:6 13 (_) In ice-9/boot-9.scm: 1747:15 12 (with-exception-handler # =E2=80=A6) 1747:15 11 (with-exception-handler # =E2=80=A6) In guix-build-coordinator/coordinator.scm: 1011:8 10 (_) In ice-9/boot-9.scm: 1752:10 9 (with-exception-handler _ _ #:unwind? _ # _) In prometheus.scm: 429:4 8 (call-with-duration-metric _ _ _ #:buckets _ #:docstring =E2= =80=A6) In ice-9/eval.scm: 619:8 7 ------------=_1739441043-8126-1--