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: GNU G-Golf 0.8.0-rc-3 available for testing Date: Fri, 3 May 2024 02:00:16 -0300 Message-ID: <20240503020016.74cbc9eb@tintin> References: <20240417025615.0b6c50f5@tintin> <871q73vcz4.fsf@pelzflorian.de> <20240418192132.245200a9@tintin> <87cyql1e56.fsf@pelzflorian.de> <20240420015158.50031f08@tintin> <877cgepwm1.fsf@pelzflorian.de> <20240430215102.2f6f74b7@tintin> <87ikzwdp5e.fsf@pelzflorian.de> <20240502185724.29c65892@tintin> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/Z8HSpBpfRqSDfSv/eMVkkGr"; protocol="application/pgp-signature"; micalg=pgp-sha512 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6334"; mail-complaints-to="usenet@ciao.gmane.io" Cc: guile-user To: "pelzflorian (Florian Pelz)" Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Fri May 03 07:01:13 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 1s2l2n-0001UK-C4 for guile-user@m.gmane-mx.org; Fri, 03 May 2024 07:01:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s2l2F-0007Xd-KR; Fri, 03 May 2024 01:00: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 1s2l2C-0007Wz-9e for guile-user@gnu.org; Fri, 03 May 2024 01:00:36 -0400 Original-Received: from smtp.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 1s2l29-0000WE-1N for guile-user@gnu.org; Fri, 03 May 2024 01:00:35 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by moses.all2all.org (Postfix) with ESMTP id 3EA4467C007A; Fri, 3 May 2024 07:00:25 +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 AQkPD-qx52NV; Fri, 3 May 2024 07:00:24 +0200 (CEST) Original-Received: from tintin (unknown [168.227.184.177]) by moses.all2all.org (Postfix) with ESMTPSA id A53D467C0074; Fri, 3 May 2024 07:00:23 +0200 (CEST) In-Reply-To: <20240502185724.29c65892@tintin> X-Mailer: Claws Mail 4.2.0 (GTK 3.24.41; 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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:19577 Archived-At: --Sig_/Z8HSpBpfRqSDfSv/eMVkkGr Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Florian, > > Could you tell me if, when you run such commands in guile in your > > Debian setup, you get similar output? First with tracepoint: =20 > With all due respect, this will get you nowhere, please upload the > full gdb backtrace ... thanks I patched the drawing-widget example so users may pass a -d or --debug option, which triggers the setting of the %debug parameter. This will track (some of the) g-golf (engine) calls 'only', so in this particular situation that it segfault (in guix) upon a gtk snapshot engine call, i probably will still very much need you to upload the full gdb backtrace. But it will at least give you some useful info on what's going on 'internally' - and who knows, might also give me some idea to further investigate the problem ... tracking those calls is also a nice way to learn about some g-golf internals .... I pushed the patch to the devel branch, commit 8fbc8c27774986b4b5ad09a6545698b3e3ee1812, so, could either grab the latest devel branch version, or simply grab the latest version of the examp= le=20 https://git.savannah.gnu.org/cgit/g-golf.git/tree/examples/gtk-4/drawing-w= idget.scm?h=3Ddevel then try (as shown below) and post the result here ... Thanks, David Here is a debian session, passing the option at start-up, till i close the window: GNU Guile 3.0.9.179-8cabb Copyright (C) 1995-2024 Free Software Foundation, Inc. ... [ given your guile session is in the appropriate directory scheme@(guile-user)> (load "drawing-widget.scm") scheme@(guile-user)> (main '("-d")) ;; g-application-run=20 ;; application: #< 7efed470ab10>=20 ;; argc: 0=20 ;; argv: ()=20 ;; gtk-window-set-child=20 ;; window: #< 7efed470e270>=20 ;; child: #< 7efed470e020>=20 ;; gtk-window-present=20 ;; window: #< 7efed470e270>=20 ;; g-golf-callback-closure-marshal=20 ;; snapshot=20 ;; widget: #< 7efed470e020>=20 ;; snapshot: #< 7efed471b1f0>=20 ;; gtk-widget-get-width=20 ;; widget: #< 7efed470e020>=20 ;; gtk-widget-get-height=20 ;; widget: #< 7efed470e020>=20 ;; graphene-rect-alloc=20 ;; graphene-rect-init=20 ;; rect: #=20 ;; x: 0=20 ;; y: 0=20 ;; width: 160=20 ;; height: 283/2=20 ;; gtk-snapshot-append-color=20 ;; snapshot: #< 7efed471b1f0>=20 ;; color: (0.93 0.08 0.08 1.0)=20 ;; bounds: #=20 ;; graphene-rect-alloc=20 ;; graphene-rect-init=20 ;; rect: #=20 ;; x: 160=20 ;; y: 0=20 ;; width: 160=20 ;; height: 283/2=20 ;; gtk-snapshot-append-color=20 ;; snapshot: #< 7efed471b1f0>=20 ;; color: (0.18 0.8 0.44 1.0)=20 ;; bounds: #=20 ;; graphene-rect-alloc=20 ;; graphene-rect-init=20 ;; rect: #=20 ;; x: 0=20 ;; y: 283/2=20 ;; width: 160=20 ;; height: 283/2=20 ;; gtk-snapshot-append-color=20 ;; snapshot: #< 7efed471b1f0>=20 ;; color: (0.99 0.74 0.29 1.0)=20 ;; bounds: #=20 ;; graphene-rect-alloc=20 ;; graphene-rect-init=20 ;; rect: #=20 ;; x: 160=20 ;; y: 283/2=20 ;; width: 160=20 ;; height: 283/2=20 ;; gtk-snapshot-append-color=20 ;; snapshot: #< 7efed471b1f0>=20 ;; color: (0.16 0.5 0.73 1.0)=20 ;; bounds: #=20 ;; status 0=20 $5 =3D 0 scheme@(guile-user)>=20 --Sig_/Z8HSpBpfRqSDfSv/eMVkkGr Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEhCJlRZtBM3furJHe83T9k6MFetcFAmY0b2AACgkQ83T9k6MF etcpigf/UDI9Qtc5s7xi6+/tImo2Ok9joDTeZ/XXw6GNl2Y48bjeZZ8SVTrfnMex T51VUBrJzrJuxI4Xil/Q6iv3qif1Tc1R0WCw7py+98YacntVXHbOQxGx+BlVj6Qx udhXtlzW0NLSLj5msxsgKf8xMHEirCplzoHZJousVucIDaU3Ru4TaNWMNcWuGdv/ A9Hae7meic+16FHDxkvq9+sCxJ0AGUp7zxgF5tTAdivB2xpOjbVqZ04IgMnpojfx T0cTqjFXYDrrctgMxHYr7LqwU+Aw19IJJ5NLb2xc6bCgprBXlv2wva9OfQCSUWsO A2P5NGVqNMypn8xl5x1+LBt1ksR/jA== =BunR -----END PGP SIGNATURE----- --Sig_/Z8HSpBpfRqSDfSv/eMVkkGr--