From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ricardo Wurmus Newsgroups: gmane.lisp.guile.bugs Subject: bug#46447: segfault with bugnum 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 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28423"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.4.14; emacs 27.1 To: 46447@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Thu Feb 11 21:57:02 2021 Return-path: Envelope-to: guile-bugs@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 1lAJ1J-0007FQ-BL for guile-bugs@m.gmane-mx.org; Thu, 11 Feb 2021 21:57:01 +0100 Original-Received: from localhost ([::1]:38392 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lAJ1I-0000Dl-DJ for guile-bugs@m.gmane-mx.org; Thu, 11 Feb 2021 15:57:00 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45314) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAIzO-0007B1-Md for bug-guile@gnu.org; Thu, 11 Feb 2021 15:55:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47870) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lAIzO-0000At-Eb for bug-guile@gnu.org; Thu, 11 Feb 2021 15:55:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lAIzO-00065W-Bi for bug-guile@gnu.org; Thu, 11 Feb 2021 15:55:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Thu, 11 Feb 2021 20:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46447 X-GNU-PR-Package: guile X-Debbugs-Original-To: bug-guile@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.161307689923388 (code B ref -1); Thu, 11 Feb 2021 20:55:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 11 Feb 2021 20:54:59 +0000 Original-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 Original-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 Original-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 Original-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= Original-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) 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 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.io gmane.lisp.guile.bugs:9982 Archived-At: 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