From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: David Pirotte Newsgroups: gmane.lisp.guile.user Subject: Re: G-Golf - Callback segmentation fault Date: Thu, 5 Sep 2024 18:23:06 -0300 Message-ID: <20240905182306.77491907@tintin> References: <87msl6c4lf.fsf@posteo.net> <20240821212129.7647d035@tintin> <87a5gxybgm.fsf@posteo.net> <20240828211805.68f594a7@tintin> <87cylo8xc4.fsf@posteo.net> <20240902181854.2017f1fc@tintin> <20240902220154.54e2f1ac@tintin> <20240905010031.21a93f7f@tintin> <8734mer2ax.fsf@pelzflorian.de> <87frqe4kd2.fsf@pelzflorian.de> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/MIKRkngUuA0adxuxzdEcfUz"; protocol="application/pgp-signature"; micalg=pgp-sha512 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9917"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Matija Obid , guile-user@gnu.org To: "pelzflorian (Florian Pelz)" Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Thu Sep 05 23:24:06 2024 Return-path: Envelope-to: guile-user@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 1smJxV-0002W5-Lu for guile-user@m.gmane-mx.org; Thu, 05 Sep 2024 23:24:05 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1smJwo-0005OD-VG; Thu, 05 Sep 2024 17:23:22 -0400 Original-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 1smJwm-0005Nr-Uv for guile-user@gnu.org; Thu, 05 Sep 2024 17:23:20 -0400 Original-Received: from moses.all2all.org ([79.99.200.14]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1smJwl-0001Ki-9K for guile-user@gnu.org; Thu, 05 Sep 2024 17:23:20 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by moses.all2all.org (Postfix) with ESMTP id 0F7BA67C007A; Thu, 5 Sep 2024 23:23:15 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at moses.all2all.org Original-Received: from moses.all2all.org ([127.0.0.1]) by localhost (moses.all2all.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KrV2SMKOtpgG; Thu, 5 Sep 2024 23:23:14 +0200 (CEST) Original-Received: from tintin (unknown [168.227.184.146]) by moses.all2all.org (Postfix) with ESMTPSA id 4F5B867C0074; Thu, 5 Sep 2024 23:23:13 +0200 (CEST) In-Reply-To: <87frqe4kd2.fsf@pelzflorian.de> X-Mailer: Claws Mail 4.3.0 (GTK 3.24.43; x86_64-pc-linux-gnu) Received-SPF: pass client-ip=79.99.200.14; envelope-from=david@altosw.be; helo=moses.all2all.org X-Spam_score_int: 7 X-Spam_score: 0.7 X-Spam_bar: / X-Spam_report: (0.7 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_SBL_CSS=3.335, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.user:19785 Archived-At: --Sig_/MIKRkngUuA0adxuxzdEcfUz Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable > P.S. on Guix, I also no longer have to use --no-grafts, possibly > because Guix had major updates to core packages. Excellent! > G-golf really satisfies now. At last! Note that the above was not a g-golf problem [1]. Regards, David [1] And for that matter, nor is (a g-golf problem) the patch i just added to adapt to a GI/libffi api change that i was unaware of [2] - up to this upstream api change, g-golf has never failed to build and run an ffi-closure, ever since it implements callback and vfunc, all (the closure marshal machinery) entirely written in scheme by the way. [2] the gi doc tells us switch to call g-callable-info-create-closure when using gi >=3D 1.71.0, but fails to tells us that, starting with gi >=3D 1.72.0, the ffi-closure pointer we receive is no longer a 'native executable code pointer' ... --Sig_/MIKRkngUuA0adxuxzdEcfUz Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEhCJlRZtBM3furJHe83T9k6MFetcFAmbaIToACgkQ83T9k6MF etcFWQf9Fu3LEXbdT6r4GLs8qoagBdpDXg4jl2n9s25nmKQG++E2ubxuFgF6Ydfq zyHF8EI7FTg6OsSqCiox9Sb4TJ0cq7MYE8aE43EkhGrna2GwMIwouIbMCtb8yQQD 9ILF+NLfHcaF/Oz2mYjDkRDuRZF/aTOpq4brgVv24zCbjShJ2QiQ1Rczk3/8nS62 b71tf/kqcydm5rpgBzOQZ+QXLBjKGkFynLPlf0qVoIRekQRzjFU6RakMrTLPUSjS zs8Hsc9SM0TsG7fGW0mbxtBPo0PB1YoYQSqmubqP8PhzIFEu8146oezuSVcuxd69 uYKjDaAf1z72Rkwcg6eU4NuQVeiOQg== =HK+i -----END PGP SIGNATURE----- --Sig_/MIKRkngUuA0adxuxzdEcfUz--