From unknown Fri Jun 13 10:30:36 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#46447 <46447@debbugs.gnu.org> To: bug#46447 <46447@debbugs.gnu.org> Subject: Status: segfault with bugnum Reply-To: bug#46447 <46447@debbugs.gnu.org> Date: Fri, 13 Jun 2025 17:30:36 +0000 retitle 46447 segfault with bugnum reassign 46447 guile submitter 46447 Ricardo Wurmus severity 46447 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 11 15:54:59 2021 Received: (at submit) by debbugs.gnu.org; 11 Feb 2021 20:54:59 +0000 Received: from localhost ([127.0.0.1]:59416 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lAIzG-000654-3y for submit@debbugs.gnu.org; Thu, 11 Feb 2021 15:54:59 -0500 Received: from lists.gnu.org ([209.51.188.17]:35966) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lAIzC-00064t-B7 for submit@debbugs.gnu.org; Thu, 11 Feb 2021 15:54:52 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45234) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAIzA-0006qe-5U for bug-guile@gnu.org; Thu, 11 Feb 2021 15:54:50 -0500 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21133) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAIz7-00007c-R4 for bug-guile@gnu.org; Thu, 11 Feb 2021 15:54:47 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1613076883; cv=none; d=zohomail.com; s=zohoarc; b=NdACce7zu+fvvrkWv9zcKvXL4lo0l4X3lWVvTM9s+ZgLwFY+XQ+VcVZC2X46fOUzgD14MpXqknO8n6NXavEYFMhEIHsvHF1s36bYFNfRXsqolD+AdiOtveMSLbCeNfrCJ/jsgcBJ61rNoZgktoRGKhEbSGmYqHEu6/9bjhFKpfo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1613076883; h=Content-Type:Content-Transfer-Encoding:Date:From:MIME-Version:Message-ID:Subject:To; bh=A8s+5J6OBLiU/0jB2qXPTkQv6kMhF9mpOZBc4FjlDLA=; b=EJEvcmSlJinU4TbVJQa6VlDF/ngZnYqZqrKh0qgY5YIJyVwh2SPlrkfHW1Knkt3MvNzgrSGTb4Mt1MMLbVsTpK/DCdnekh63ky+dtMKx5Roswz1BuBq6q8goTnsa3gffCRFVKDaDwJ3ScNajcpDTvtfQOUXT/Ddv+14TRG9sY7g= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1613076883; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=A8s+5J6OBLiU/0jB2qXPTkQv6kMhF9mpOZBc4FjlDLA=; b=Va4Bg7KjAp1IsPSC9Jh72XAJpTe51/54nrbg6kygyOCmM+pA8grZ1grO7l1JVfCF tWoKYvsOgHu+8+hBl1ZdG6BYWS90J1ghHxzPqwXPdQHj4ywWlcgxUzwlXMuYLC30+1A P54eqndOlGHoHIDmMNNCz1B6OZHtDxJLUuAcULts= Received: from localhost (p54ad4ab3.dip0.t-ipconnect.de [84.173.74.179]) by mx.zohomail.com with SMTPS id 161307688119914.882312040463148; Thu, 11 Feb 2021 12:54:41 -0800 (PST) User-agent: mu4e 1.4.14; emacs 27.1 From: Ricardo Wurmus To: bug-guile@gnu.org Subject: segfault with bugnum X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Thu, 11 Feb 2021 21:54:38 +0100 Message-ID: <874kiiqq9d.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.51; envelope-from=rekado@elephly.net; helo=sender4-of-o51.zoho.com 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, 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@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: -0.0 (/) This program sometimes causes Guile 3.0.5 to segfault: (define a (expt 2 (expt 3 (expt 4 2)))) (display (remainder a 1000000000)) (display "\n") And sometimes this program doesn=E2=80=99t terminate. Here=E2=80=99s an ex= ample session with the program saved to foo.scm: --8<---------------cut here---------------start------------->8--- $ guile -s foo.scm ;;; note: source file /home/rekado/dev/gx/branches/master/foo.scm ;;; newer than compiled /home/rekado/.cache/guile/ccache/3.0-LE-8-4.4= /home/rekado/dev/gx/branches/master/foo.scm.go ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=3D0 ;;; or pass the --no-auto-compile argument to disable. ;;; compiling /home/rekado/dev/gx/branches/master/foo.scm ;;; compiled /home/rekado/.cache/guile/ccache/3.0-LE-8-4.4/home/rekado/dev/= gx/branches/master/foo.scm.go 176561152 $ [env] guile -s foo.scm 176561152 $ [env] guile -s foo.scm Segmentation fault $ [env] guile -s foo.scm C-c C-c # after more than 6 seconds $ [env] C-c C-c $ [env] guile -s foo.scm Segmentation fault $ [env] guile -s foo.scm 176561152 $ [env] guile -s foo.scm C-c C-c $ [env] guile -s foo.scm 176561152 --8<---------------cut here---------------end--------------->8--- --=20 Ricardo From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 11 16:03:09 2021 Received: (at 46447) by debbugs.gnu.org; 11 Feb 2021 21:03:09 +0000 Received: from localhost ([127.0.0.1]:59421 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lAJ7F-0006JA-8s for submit@debbugs.gnu.org; Thu, 11 Feb 2021 16:03:09 -0500 Received: from mail.tuxteam.de ([5.199.139.25]:55684) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lAJ7A-0006Iz-W4 for 46447@debbugs.gnu.org; Thu, 11 Feb 2021 16:03:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=From:In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:Date; bh=n7U3NnLQzJI8bx0kjRJPCN+d8m9SgXTRbOeyNPp9lt4=; b=PpPoUO/PO6+iLv3CQJrkAgkr29OB7uUSphUShFfcBI45SUOqNgTABO3oyi7Sw/AOBs/e/GNWQDgzSxkQr6x8CIdkbLz/DrC6UFRt1/X5V/2laSDit18+XNfGUK4pN2x5hdrip8w+YE9UCwQQ+NAJ1uRBk8lO7MAei2O9GjBEYg5G6uv3LVw+6PG+P9LkJLpDdEgSBvTpdUeR2mgMkNr5MigrP1LjB8Fos6m1CwkTB2ypJhU6H6qrfsKfmDWUt9HPYHIvkAEPnGZkBzT5Z+3ZRw++zxYm+FhjwS7pBO2KTUISjVP6SVJT0XQPvd5ju7lRLbOMOK59WgvGQ3OhBR214w==; Received: from tomas by mail.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1lAJ78-0002IC-PI; Thu, 11 Feb 2021 22:03:02 +0100 Date: Thu, 11 Feb 2021 22:03:02 +0100 To: Ricardo Wurmus Subject: Re: bug#46447: segfault with bugnum Message-ID: <20210211210302.GB5951@tuxteam.de> References: <874kiiqq9d.fsf@elephly.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="O5XBE6gyVG5Rl6Rj" Content-Disposition: inline In-Reply-To: <874kiiqq9d.fsf@elephly.net> User-Agent: Mutt/1.5.21 (2010-09-15) From: X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 46447 Cc: 46447@debbugs.gnu.org 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 (-) --O5XBE6gyVG5Rl6Rj Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 11, 2021 at 09:54:38PM +0100, Ricardo Wurmus wrote: > This program sometimes causes Guile 3.0.5 to segfault: >=20 > (define a (expt 2 (expt 3 (expt 4 2)))) > (display (remainder a 1000000000)) > (display "\n") >=20 > And sometimes this program doesn=E2=80=99t terminate. Here=E2=80=99s an = example > session with the program saved to foo.scm: The first expr alone seems to segfault for me (Guile 3.0.4.38-64c894-dirty) repeatably (well, that means 5 times in a row ;) Cheers - t --O5XBE6gyVG5Rl6Rj Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAmAlm4YACgkQBcgs9XrR2kbfXgCfdjqNoPO72zm9loDLVsQoaiTd p5sAn23lANpHXXMU536etbemVz9pMxbz =O4zm -----END PGP SIGNATURE----- --O5XBE6gyVG5Rl6Rj--