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: Fri, 23 Aug 2024 20:57:12 -0300 Message-ID: <20240823205712.2599d0a3@tintin> References: <87msl6c4lf.fsf@posteo.net> <871q2h3nur.fsf@pelzflorian.de> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/9EhW8ENLm/6Xf6lkLyDtIwm"; protocol="application/pgp-signature"; micalg=pgp-sha512 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33912"; 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 Sat Aug 24 01:58:12 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 1sheAV-0008br-Py for guile-user@m.gmane-mx.org; Sat, 24 Aug 2024 01:58:11 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sheA0-0002ER-Tw; Fri, 23 Aug 2024 19:57:40 -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 1she9s-0002E3-QP for guile-user@gnu.org; Fri, 23 Aug 2024 19:57:33 -0400 Original-Received: from pop.all2all.org ([79.99.200.14] helo=moses.all2all.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1she9q-00065A-QH for guile-user@gnu.org; Fri, 23 Aug 2024 19:57:32 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by moses.all2all.org (Postfix) with ESMTP id AF7C767C007A; Sat, 24 Aug 2024 01:57:24 +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 qpGtQUC7fBKk; Sat, 24 Aug 2024 01:57:23 +0200 (CEST) Original-Received: from tintin (unknown [168.227.187.142]) by moses.all2all.org (Postfix) with ESMTPSA id 23D8C67C0074; Sat, 24 Aug 2024 01:57:21 +0200 (CEST) In-Reply-To: <871q2h3nur.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: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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:19766 Archived-At: --Sig_/9EhW8ENLm/6Xf6lkLyDtIwm Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Florian, is your debian host g-golf experience ok? i know it is a temporary solution, till we find a solution for nix/guix, but i am curious - also, is the app you are working on free s/w, any public repo we could look at? > Hello, Yes, the same issue still plagues me. Never tried guile-gi > and I do not know the difference regarding vfuncs. Is it like > pygobject that guile-gi does not use Guile as much and more C? I just made a comment about guile-gi because Matija did mention it ... and wanted to make sure they understand guile-gi does not support virtual function ... but yes, guile-gi is nearly entirely written in C, and as a matter of fact, largely inspired by pygobject. > My only progress: >=20 > > I'm using Nix. =20 >=20 > Interesting. Guix and Nix have their own settings to load libraries > according to a sideline comment in [1], but I have no clue otherwise. As i did suggest already, you should ask for some guix highly knowledgeable designer/developer (and who deeply knows the other involved domains, C, guile's ffi implementation, dynamic libs linking ...) - I'd happily stand corrected, and happily patch g-golf if ... but till proved wrong, i don't think it is a g-golf problem. > Intermittently I once saw a different error: > ... I can't make sense of this error, but so you know, vfunc-checks checks that the (upstream lib) virtual function you are trying to define in g-golf exists in the class you are 'altering', and also checks that the scheme virtual function name is correct [1] So it disappeared and you can't reproduce it, let's concentrate on the (g-golf) virtual function definition bug in Nix/Guix ... Thanks, David [1] https://www.gnu.org/software/g-golf/manual/g-golf.html#define_002dvfunc --Sig_/9EhW8ENLm/6Xf6lkLyDtIwm Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEhCJlRZtBM3furJHe83T9k6MFetcFAmbJIdgACgkQ83T9k6MF etcriggA0qN5f6TbUDfpfjtB3tzsw2b5mWnhTD0U88HnizwSMUGOFnxhmMxvJ8me zdME+Y9dIbGEUXPM9itixfALHSWU67XJYDdOgOmpadMi8G88XX+KBIxhcyFCczPj RzWv99byOxxVBuL1rGDFVxsBvS+opYUZq9kAPcv2nRJtWDr652hZ5ceRK9W69DOY pry27renM/s97f0DMTEydkHfTPN0hFzy4zIaBXZ7u+K+A6tWMPXnJuJj6HJeKGcG /BVueMyTdlDl0nhqwV3iRDqA2Jow47C8efjz2fVEtsEuVXaPoQkGHMZ0WohMIj/p 8UTy1o1VYeWA15tAVxNECWyfs4dHrA== =eqw8 -----END PGP SIGNATURE----- --Sig_/9EhW8ENLm/6Xf6lkLyDtIwm--