GNU logs - #71211, boring messages


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#71211: %guile-static-stripped crashes with a sigsegv (i.e. the guile used in the initrd (?))
Resent-From: Attila Lendvai <attila@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Sun, 26 May 2024 15:28:01 +0000
Resent-Message-ID: <handler.71211.B.171673722623069 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 71211
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 71211 <at> debbugs.gnu.org
X-Debbugs-Original-To: "bug-guix@HIDDEN" <bug-guix@HIDDEN>
Received: via spool by submit <at> debbugs.gnu.org id=B.171673722623069
          (code B ref -1); Sun, 26 May 2024 15:28:01 +0000
Received: (at submit) by debbugs.gnu.org; 26 May 2024 15:27:06 +0000
Received: from localhost ([127.0.0.1]:42281 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sBFm5-000601-Up
	for submit <at> debbugs.gnu.org; Sun, 26 May 2024 11:27:06 -0400
Received: from lists.gnu.org ([209.51.188.17]:58528)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <attila@HIDDEN>) id 1sBFm3-0005zq-In
 for submit <at> debbugs.gnu.org; Sun, 26 May 2024 11:27:04 -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 <attila@HIDDEN>)
 id 1sBFlv-0007A4-0Z
 for bug-guix@HIDDEN; Sun, 26 May 2024 11:26:55 -0400
Received: from mail-4317.proton.ch ([185.70.43.17])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <attila@HIDDEN>)
 id 1sBFlr-0002UH-KY
 for bug-guix@HIDDEN; Sun, 26 May 2024 11:26:54 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lendvai.name;
 s=protonmail; t=1716737208; x=1716996408;
 bh=pjMsYbLkNJAmAuirtSUb/V4XXd728oqTlSshYoRlzqQ=;
 h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date:
 Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector;
 b=dk74HoOw4TTuP2v8EAjyN2NTngbEOXoni/BVReMurjZaU3b3RC0k5VxO7buM8Scm2
 33tXLHo0WAjzpScj9VxD237hB5YnA4S2CjIfUj5EFTdtpXXRjNpCMfCD49oLJm0Bjt
 QRxRRFJViPl2OaQR8WjEcrJamhHXjxXo6wlgVEK9zBkSbSwCFi3e7Ru6ymcMkyuJcx
 gcFdXv19mrq6FowJ/uvCkw1hfRC+hX5N/FcPySXt6usYFNeUFKZOdnYwKQ8X/BqoK+
 vnVx2BUDSneK3hm2cAT21Zm5P4GimR/dvhfBkj67JGrIAHcAGyzA2KZN3MHK8ScJNp
 1dF8b/BTfIIOw==
Date: Sun, 26 May 2024 15:26:43 +0000
From: Attila Lendvai <attila@HIDDEN>
Message-ID: <aSL_8-HxtZW0rvbLbh7iyyoJ4I01TU5bXlI_NKx0wpDdq1FrvjGRXV-I28_qCCL9Iu9shxE_xZkG32FvvSHSfnLB0FDd117Ji_4GMkaZ1yc=@lendvai.name>
Feedback-ID: 28384833:user:proton
X-Pm-Message-ID: 69ad69fb86004bf39c04a7eef842dafc905acc71
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=185.70.43.17; envelope-from=attila@HIDDEN;
 helo=mail-4317.proton.ch
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_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
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 (--)

root symptom:
-------------

i think this is the guile binary that is used in initrd. it's been a while =
i noted this bug. but if it's so, then if error happens early in the boot, =
then it just dies with a sigsegv; i.e. it's a major hindrance to debuggabil=
ity.


reproducer:
-----------

guix shell -e '(begin (use-modules (gnu packages make-bootstrap)) %guile-st=
atic-stripped)'

and then start guile. or alternatively:

guile -c '(use-modules (ice-9 readline))'


analysis:
---------

make-guile-static-stripped calls (remove-store-references guile2) without c=
hecking the return code.

if i remove that call, then building fails with: "... is not allowed to ref=
er to path `/gnu/store/3zl03prdg07ax4dny78hrzykillr6vcy-glibc-2.35'"
=20
i.e. there's some reference in the binary to glibc, which is corrupted by r=
emove-store-references.

i'm not sure this is the cause, but i suspect.

note that the `guile --version` test in make-guile-static-stripped runs fin=
e; i.e. it's an insufficient test.

--=20
=E2=80=A2 attila lendvai
=E2=80=A2 PGP: 963F 5D5F 45C7 DFCD 0A39
--
=E2=80=9CHow much truth can a spirit bear, how much truth can a spirit dare=
? [=E2=80=A6] that became for me more and more the real measure of value.=
=E2=80=9D
=09=E2=80=94 Friedrich Nietzsche (1844=E2=80=931900)





Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Attila Lendvai <attila@HIDDEN>
Subject: bug#71211: Acknowledgement (%guile-static-stripped crashes with a
 sigsegv (i.e. the guile used in the initrd (?)))
Message-ID: <handler.71211.B.171673722623069.ack <at> debbugs.gnu.org>
References: <aSL_8-HxtZW0rvbLbh7iyyoJ4I01TU5bXlI_NKx0wpDdq1FrvjGRXV-I28_qCCL9Iu9shxE_xZkG32FvvSHSfnLB0FDd117Ji_4GMkaZ1yc=@lendvai.name>
X-Gnu-PR-Message: ack 71211
X-Gnu-PR-Package: guix
Reply-To: 71211 <at> debbugs.gnu.org
Date: Sun, 26 May 2024 15:28:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-guix@HIDDEN

If you wish to submit further information on this problem, please
send it to 71211 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
71211: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D71211
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#71211: (No Subject)
References: <aSL_8-HxtZW0rvbLbh7iyyoJ4I01TU5bXlI_NKx0wpDdq1FrvjGRXV-I28_qCCL9Iu9shxE_xZkG32FvvSHSfnLB0FDd117Ji_4GMkaZ1yc=@lendvai.name>
In-Reply-To: <aSL_8-HxtZW0rvbLbh7iyyoJ4I01TU5bXlI_NKx0wpDdq1FrvjGRXV-I28_qCCL9Iu9shxE_xZkG32FvvSHSfnLB0FDd117Ji_4GMkaZ1yc=@lendvai.name>
Resent-From: Attila Lendvai <attila@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Wed, 29 May 2024 20:52:02 +0000
Resent-Message-ID: <handler.71211.B71211.171701588922163 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 71211
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: "71211 <at> debbugs.gnu.org" <71211 <at> debbugs.gnu.org>
Received: via spool by 71211-submit <at> debbugs.gnu.org id=B71211.171701588922163
          (code B ref 71211); Wed, 29 May 2024 20:52:02 +0000
Received: (at 71211) by debbugs.gnu.org; 29 May 2024 20:51:29 +0000
Received: from localhost ([127.0.0.1]:53848 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sCQGf-0005lP-Az
	for submit <at> debbugs.gnu.org; Wed, 29 May 2024 16:51:29 -0400
Received: from mail-4022.proton.ch ([185.70.40.22]:61493)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <attila@HIDDEN>) id 1sCQGd-0005l2-7A
 for 71211 <at> debbugs.gnu.org; Wed, 29 May 2024 16:51:28 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lendvai.name;
 s=protonmail2; t=1717015871; x=1717275071;
 bh=KqfIiv0pAm2WSiHCHfOagFccBa682Wq0I6f91UbCuk4=;
 h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date:
 Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector;
 b=KTPHkBbzJA5V3B/u71UyilG2fz0U3M9w6qMP/nTdbfLi0ovBSQK0ovenFfW2l/+z6
 D8+dtkh/hA8ZXmJDgrrYEN2EKI73Di5JYXS8SCsnZWWO5r340NVNVs1t8wUIkQjnSS
 PECORkcZ7tLmmkmHLRdLEJnZz6tBIWFJlh4xPOkZEVwhfJDhnLylvvntTJxSR/Xoig
 uCr8tIJfSNaD2vI9K/Uozy5xOiPlXuxT4CKIAlv5etUscBE1C5dW+z1sbZjmePV8WK
 vknj1Q8KQ8KpfUNd761ItQvy4N76taOcGYed5MOpmGIMO76RY7sWCEp0UpoA/OEQ7L
 3z+AZ6iHRjJUQ==
Date: Wed, 29 May 2024 20:51:06 +0000
From: Attila Lendvai <attila@HIDDEN>
Message-ID: <b-zIVxs2cjSTkgwiGqQUWmKtNtv1Euoo3-7-HwFuNt_k86gR_ccVC8dvq2mKRxzqrTtdwRLn8zidinXbIF8KsWO8WC-x6HyzDRrTE-l8Ous=@lendvai.name>
Feedback-ID: 28384833:user:proton
X-Pm-Message-ID: 1195c17c39b2f522a9a9f2c8f6bc9fec6cd403e9
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 2.0 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  the reproducer still crashes on a recent x86_64,
 but i originally
 noticed this long ago (maybe a year even). back then i investigated an early
 crash in the boot, and i reached %GUILE-STATIC-STRIPPED, [...] 
 Content analysis details:   (2.0 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 2.0 SLIGHTLY_BAD_SUBJECT   Subject contains something slightly spammy
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 -0.0 SPF_PASS               SPF: sender matches SPF record
 0.0 RCVD_IN_MSPIKE_H4      RBL: Very Good reputation (+4)
 [185.70.40.22 listed in wl.mailspike.net]
 0.0 RCVD_IN_MSPIKE_WL      Mailspike good senders
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: 1.0 (+)

the reproducer still crashes on a recent x86_64, but i originally noticed t=
his long ago (maybe a year even). back then i investigated an early crash i=
n the boot, and i reached %GUILE-STATIC-STRIPPED, and made a TODO note to f=
urther investigate. then i forgot most of what happened, and recently i ope=
ned this bug report based on my note.

since then EXPRESSION->INITRD may have changed, because it now uses %GUILE-=
STATIC-INITRD, but it's created with the same MAKE-GUILE-STATIC-STRIPPED th=
at produces the faulty %GUILE-STATIC-STRIPPED, so they're essentially the s=
ame.

in short: the reproducer crashes both %GUILE-STATIC-STRIPPED and %GUILE-STA=
TIC-INITRD on x86_64, and i believe that it crashes the same way in the ear=
ly phase of the boot when/if it tries to enter the debugger.

--=20
=E2=80=A2 attila lendvai
=E2=80=A2 PGP: 963F 5D5F 45C7 DFCD 0A39
--
=E2=80=9CIf instead of teaching other people what government should be and =
should do, you'd teach yourself what government actually is and does do, yo=
u'd be a libertarian.=E2=80=9D
=09=E2=80=94 Fran=C3=A7ois-Ren=C3=A9 Rideau





Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#71211: %guile-static-stripped crashes with a sigsegv (i.e. the guile used in the initrd (?))
Resent-From: jbranso@HIDDEN
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Thu, 30 May 2024 19:53:01 +0000
Resent-Message-ID: <handler.71211.B71211.171709875317428 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 71211
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: "Attila Lendvai" <attila@HIDDEN>, 71211 <at> debbugs.gnu.org
Received: via spool by 71211-submit <at> debbugs.gnu.org id=B71211.171709875317428
          (code B ref 71211); Thu, 30 May 2024 19:53:01 +0000
Received: (at 71211) by debbugs.gnu.org; 30 May 2024 19:52:33 +0000
Received: from localhost ([127.0.0.1]:52581 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sClpA-0004X2-MV
	for submit <at> debbugs.gnu.org; Thu, 30 May 2024 15:52:33 -0400
Received: from mx2.dismail.de ([159.69.191.136]:46021)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jbranso@HIDDEN>) id 1sClp6-0004Wm-MJ
 for 71211 <at> debbugs.gnu.org; Thu, 30 May 2024 15:52:31 -0400
Received: from mx2.dismail.de (localhost [127.0.0.1])
 by mx2.dismail.de (OpenSMTPD) with ESMTP id 21040dc5;
 Thu, 30 May 2024 21:52:11 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=
 mime-version:date:content-type:content-transfer-encoding:from
 :message-id:subject:to:in-reply-to:references; s=20190914; bh=7n
 XfFa1rfEUVNqsecksAMw9i5eHUznD5hhBeUcI4HMQ=; b=Z62OvRYKx/n+V79XKf
 WRuoPCGBmKUEIj/0v2EqePnglxSSYxo+6EbaFeaUGYFLdrZI3rgWhO7VmPvianTH
 KqiFof9tm8V6sY7OaVwgybVOFpqGTwlkt9SGSpBuRIMMqEe9YWmPUE3fuFPfZ1FH
 5TMOyyH++8DQQGzjLZx2+peZEpSV/iX6RA5+VamSWB4cbbVWDSZm+896K4ZgB2Zc
 jqqeZIQh3ebPptX7Z4fNK3NaV++07IyYsi47Glskzfz7tlVTtiFtW+VSgZJRqp3t
 uVlWWujAFRfWPPRSF4I5ZZkwEV0hlH8+wzVE7qRh5bxq0ZhpCCvDe9L+Uxz/lChw
 tAhw==
Received: from smtp2.dismail.de (<unknown> [10.240.26.12])
 by mx2.dismail.de (OpenSMTPD) with ESMTP id d2862b8e;
 Thu, 30 May 2024 21:52:11 +0200 (CEST)
Received: from smtp2.dismail.de (localhost [127.0.0.1])
 by smtp2.dismail.de (OpenSMTPD) with ESMTP id bb776e34;
 Thu, 30 May 2024 21:52:10 +0200 (CEST)
Received: by dismail.de (OpenSMTPD) with ESMTPSA id 62d7832e
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Thu, 30 May 2024 21:52:10 +0200 (CEST)
MIME-Version: 1.0
Date: Thu, 30 May 2024 19:52:09 +0000
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: jbranso@HIDDEN
Message-ID: <9b136882cb3dec8f306179b62cc95bf761197714@HIDDEN>
TLS-Required: No
In-Reply-To: <aSL_8-HxtZW0rvbLbh7iyyoJ4I01TU5bXlI_NKx0wpDdq1FrvjGRXV-I28_qCCL9Iu9shxE_xZkG32FvvSHSfnLB0FDd117Ji_4GMkaZ1yc=@lendvai.name>
References: <aSL_8-HxtZW0rvbLbh7iyyoJ4I01TU5bXlI_NKx0wpDdq1FrvjGRXV-I28_qCCL9Iu9shxE_xZkG32FvvSHSfnLB0FDd117Ji_4GMkaZ1yc=@lendvai.name>
X-Spam-Score: -2.3 (--)
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: -3.3 (---)

May 26, 2024 at 11:26 AM, "Attila Lendvai" <attila@HIDDEN> wrote:



>=20
>=20root symptom:
>=20
>=20-------------
>=20
>=20i think this is the guile binary that is used in initrd. it's been a =
while i noted this bug. but if it's so, then if error happens early in th=
e boot, then it just dies with a sigsegv; i.e. it's a major hindrance to =
debuggability.
>=20
>=20reproducer:
>=20
>=20-----------
>=20
>=20guix shell -e '(begin (use-modules (gnu packages make-bootstrap)) %gu=
ile-static-stripped)'
>=20
>=20and then start guile. or alternatively:
>=20
>=20guile -c '(use-modules (ice-9 readline))'
>=20
>=20analysis:
>=20
>=20---------

If it's that easy, to crash guile, then I'll try it on my T400.  I'll res=
ond if a few
if it crashes for me.

>=20
>=20make-guile-static-stripped calls (remove-store-references guile2) wit=
hout checking the return code.
>=20
>=20if i remove that call, then building fails with: "... is not allowed =
to refer to path `/gnu/store/3zl03prdg07ax4dny78hrzykillr6vcy-glibc-2.35'=
"
>=20
>=20=20
>=20
> i.e. there's some reference in the binary to glibc, which is corrupted =
by remove-store-references.
>=20
>=20i'm not sure this is the cause, but i suspect.
>=20
>=20note that the `guile --version` test in make-guile-static-stripped ru=
ns fine; i.e. it's an insufficient test.
>=20
>=20--=20
>=20
> =E2=80=A2 attila lendvai
>=20
>=20=E2=80=A2 PGP: 963F 5D5F 45C7 DFCD 0A39
>=20
>=20--
>=20
>=20=E2=80=9CHow much truth can a spirit bear, how much truth can a spiri=
t dare? [=E2=80=A6] that became for me more and more the real measure of =
value.=E2=80=9D
>=20
>=20 =E2=80=94 Friedrich Nietzsche (1844=E2=80=931900)
>




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#71211: %guile-static-stripped crashes with a sigsegv (i.e. the guile used in the initrd (?))
Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Mon, 22 Jul 2024 07:22:01 +0000
Resent-Message-ID: <handler.71211.B71211.17216328782762 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 71211
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Attila Lendvai <attila@HIDDEN>
Cc: 71211 <at> debbugs.gnu.org
Received: via spool by 71211-submit <at> debbugs.gnu.org id=B71211.17216328782762
          (code B ref 71211); Mon, 22 Jul 2024 07:22:01 +0000
Received: (at 71211) by debbugs.gnu.org; 22 Jul 2024 07:21:18 +0000
Received: from localhost ([127.0.0.1]:56745 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sVnME-0000iU-AT
	for submit <at> debbugs.gnu.org; Mon, 22 Jul 2024 03:21:18 -0400
Received: from hera.aquilenet.fr ([185.233.100.1]:41764)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1sVnMC-0000iF-5f
 for 71211 <at> debbugs.gnu.org; Mon, 22 Jul 2024 03:21:17 -0400
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id BAD9D292;
 Mon, 22 Jul 2024 09:20:37 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id cSHdna9rfc-v; Mon, 22 Jul 2024 09:20:37 +0200 (CEST)
Received: from ribbon (unknown [193.50.110.239])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id 2A1061F0;
 Mon, 22 Jul 2024 09:20:37 +0200 (CEST)
From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
In-Reply-To: <aSL_8-HxtZW0rvbLbh7iyyoJ4I01TU5bXlI_NKx0wpDdq1FrvjGRXV-I28_qCCL9Iu9shxE_xZkG32FvvSHSfnLB0FDd117Ji_4GMkaZ1yc=@lendvai.name>
 (Attila Lendvai's message of "Sun, 26 May 2024 15:26:43 +0000")
References: <aSL_8-HxtZW0rvbLbh7iyyoJ4I01TU5bXlI_NKx0wpDdq1FrvjGRXV-I28_qCCL9Iu9shxE_xZkG32FvvSHSfnLB0FDd117Ji_4GMkaZ1yc=@lendvai.name>
Date: Mon, 22 Jul 2024 09:20:35 +0200
Message-ID: <87r0blki4c.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 1.0 (+)
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: -0.0 (/)

Hi,

Attila Lendvai <attila@HIDDEN> skribis:

> guix shell -e '(begin (use-modules (gnu packages make-bootstrap)) %guile-=
static-stripped)'
>
> and then start guile. or alternatively:
>
> guile -c '(use-modules (ice-9 readline))'

Indeed:

--8<---------------cut here---------------start------------->8---
$ guix shell guile-static-stripped -- guile -c '(use-modules (ice-9 readlin=
e))'
$ echo $?
139
--8<---------------cut here---------------end--------------->8---

It=E2=80=99s hard to see exactly where it segfaults, but it=E2=80=99s not s=
urprising:
it=E2=80=99s built with a different libc than the =E2=80=98guile-readline=
=E2=80=99 package I=E2=80=99ve
installed, and it=E2=80=99s not capable of dlopening things.  That=E2=80=99=
s a
restriction we have to be aware of, but that=E2=80=99s ok.

Thanks,
Ludo=E2=80=99.




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


Received: (at control) by debbugs.gnu.org; 22 Jul 2024 07:21:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 22 03:21:24 2024
Received: from localhost ([127.0.0.1]:56748 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sVnMK-0000il-LX
	for submit <at> debbugs.gnu.org; Mon, 22 Jul 2024 03:21:24 -0400
Received: from hera.aquilenet.fr ([185.233.100.1]:41238)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1sVnMJ-0000iS-AK
 for control <at> debbugs.gnu.org; Mon, 22 Jul 2024 03:21:23 -0400
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id 0F67D2FB
 for <control <at> debbugs.gnu.org>; Mon, 22 Jul 2024 09:20:45 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id ZyvK5ubxbDj2 for <control <at> debbugs.gnu.org>;
 Mon, 22 Jul 2024 09:20:44 +0200 (CEST)
Received: from ribbon (unknown [IPv6:2001:660:6102:320:e120:2c8f:8909:cdfe])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id 9CF151F0
 for <control <at> debbugs.gnu.org>; Mon, 22 Jul 2024 09:20:44 +0200 (CEST)
Date: Mon, 22 Jul 2024 09:20:42 +0200
Message-Id: <87plr5ki45.fsf@HIDDEN>
To: control <at> debbugs.gnu.org
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
Subject: control message for bug #71211
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: control
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: -0.0 (/)

tags 71211 notabug
close 71211
quit





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


Received: (at control) by debbugs.gnu.org; 22 Jul 2024 07:21:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 22 03:21:24 2024
Received: from localhost ([127.0.0.1]:56748 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sVnMK-0000il-LX
	for submit <at> debbugs.gnu.org; Mon, 22 Jul 2024 03:21:24 -0400
Received: from hera.aquilenet.fr ([185.233.100.1]:41238)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1sVnMJ-0000iS-AK
 for control <at> debbugs.gnu.org; Mon, 22 Jul 2024 03:21:23 -0400
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id 0F67D2FB
 for <control <at> debbugs.gnu.org>; Mon, 22 Jul 2024 09:20:45 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id ZyvK5ubxbDj2 for <control <at> debbugs.gnu.org>;
 Mon, 22 Jul 2024 09:20:44 +0200 (CEST)
Received: from ribbon (unknown [IPv6:2001:660:6102:320:e120:2c8f:8909:cdfe])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id 9CF151F0
 for <control <at> debbugs.gnu.org>; Mon, 22 Jul 2024 09:20:44 +0200 (CEST)
Date: Mon, 22 Jul 2024 09:20:42 +0200
Message-Id: <87plr5ki45.fsf@HIDDEN>
To: control <at> debbugs.gnu.org
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
Subject: control message for bug #71211
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: control
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: -0.0 (/)

tags 71211 notabug
close 71211
quit






Last modified: Mon, 22 Jul 2024 07:30:02 UTC

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