From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "pelzflorian (Florian Pelz)" Newsgroups: gmane.lisp.guile.user Subject: Re: GNU G-Golf 0.8.0-rc-3 available for testing Date: Fri, 03 May 2024 13:35:41 +0200 Message-ID: <87h6ffgmb6.fsf@pelzflorian.de> 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: 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="40241"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: guile-user To: David Pirotte Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Fri May 03 13:36:44 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 1s2rDW-000AAR-RS for guile-user@m.gmane-mx.org; Fri, 03 May 2024 13:36:43 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s2rCp-00006A-Id; Fri, 03 May 2024 07:35:59 -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 1s2rCn-00005y-6e for guile-user@gnu.org; Fri, 03 May 2024 07:35:57 -0400 Original-Received: from relay.yourmailgateway.de ([188.68.61.103]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s2rCj-0006Ct-Ba for guile-user@gnu.org; Fri, 03 May 2024 07:35:56 -0400 Original-Received: from mors-relay-8403.netcup.net (localhost [127.0.0.1]) by mors-relay-8403.netcup.net (Postfix) with ESMTPS id 4VW7z82frWz83lp; Fri, 3 May 2024 13:35:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pelzflorian.de; s=key2; t=1714736148; bh=0SEhMDQVg2180BTZUQqEBl8C5T+DKF8Z7d/GHGqKGGo=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=CPRoVKDADjE8Cb/HpwEPtd7E3mUPAjnV/c7s9o7iSiMkayZojkA16er9qGMkcM1H4 P+615Zdj+IbQV39hUrKF6eyaTT0zEi2/R2WgkUskb+d2p+TxumaPpvbSphaJnsgBm5 DCAQZeOLjtck7PxBFfpAq2dnbNW5rvLjErbvdjJyb0Xaatf8eo6ecFJ8HJUlWFqGdj ZOkY1s6Z85eJerINv+Mhkn8sbY2b9aRioh2Bz1+0g+vJUNeAVepM5akRQmpVfs+dtR LWbN3nJ6u+g8IMuh9nzZ1hHnzluAXhiYOA7UXceWYz5hmJubHuuhBRQrqSIJYnbmSe Y8rxrY63eDZ3w== Original-Received: from policy02-mors.netcup.net (unknown [46.38.225.35]) by mors-relay-8403.netcup.net (Postfix) with ESMTPS id 4VW7z82GVZz81yP; Fri, 3 May 2024 13:35:48 +0200 (CEST) Original-Received: from mxe217.netcup.net (unknown [10.243.12.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by policy02-mors.netcup.net (Postfix) with ESMTPS id 4VW7z80ZMdz8scM; Fri, 3 May 2024 13:35:48 +0200 (CEST) Original-Received: from florianrock64 (ipb2186896.dynamic.kabel-deutschland.de [178.24.104.150]) by mxe217.netcup.net (Postfix) with ESMTPSA id A903383BE0; Fri, 3 May 2024 13:35:42 +0200 (CEST) In-Reply-To: <20240502185724.29c65892@tintin> (David Pirotte's message of "Thu, 2 May 2024 18:57:24 -0300") X-Rspamd-Queue-Id: A903383BE0 X-Rspamd-Server: rspamd-worker-8404 X-NC-CID: VR9PRYNRcjZKLaarzbh8pOCT5n2vRP8arPfTgN1WBTcA4Fnu3kTI+eAV Received-SPF: pass client-ip=188.68.61.103; envelope-from=pelzflorian@pelzflorian.de; helo=relay.yourmailgateway.de 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, SPF_HELO_PASS=-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:19579 Archived-At: David Pirotte writes: >> Hi David. I=E2=80=99m trying to find the true error location. > > The true error location was given by the gdb backtrace, the > gtk-widget-snapshot-child call, presumably with a bad pointer or so ... Hmm my assumption was that all callbacks are broken, not vfuncs specifically, which is why I tried in my e-mail yesterday to tracepoint g-closure-marshal in Guile and was surprised by that it once said =E2=80=9C= Trap 0: (g-closure-marshal # # 1 # ?)=E2=80=9D before the crash just said =E2=80=9CTrap 0: no values=E2=80=9D. The GTK_A11Y warning I can easily fix by exporting GTK_A11Y=3Dnone, but it was interesting that the crash happens two function calls away from where the warning is printed. > Could you please upload a full gdb backtrace somewhere tor-friendly > (and zero javascript), so i can look at it, thanks. On a x86_64 GNOME laptop on the distro Guix System on the g-golf devel branch with (main '("guile" "--debug")): #0 0x00007fce2f0022d0 in ?? () #1 0x00007fce22e7c3dc in ?? () from /gnu/store/s0bzhwa0n6kvlsfzd6z8nxmm39g= 39gck-gtk-4.12.3/lib/libgtk-4.so.1 #2 0x00007fce22e7efa4 in ?? () from /gnu/store/s0bzhwa0n6kvlsfzd6z8nxmm39g= 39gck-gtk-4.12.3/lib/libgtk-4.so.1 #3 0x00007fce22e8ae13 in gtk_widget_snapshot_child () from /gnu/store/s0bz= hwa0n6kvlsfzd6z8nxmm39g39gck-gtk-4.12.3/lib/libgtk-4.so.1 #4 0x00007fce22e8ae9e in ?? () from /gnu/store/s0bzhwa0n6kvlsfzd6z8nxmm39g= 39gck-gtk-4.12.3/lib/libgtk-4.so.1 #5 0x00007fce22e7c79e in ?? () from /gnu/store/s0bzhwa0n6kvlsfzd6z8nxmm39g= 39gck-gtk-4.12.3/lib/libgtk-4.so.1 #6 0x00007fce22e7efa4 in ?? () from /gnu/store/s0bzhwa0n6kvlsfzd6z8nxmm39g= 39gck-gtk-4.12.3/lib/libgtk-4.so.1 #7 0x00007fce22e8a6eb in ?? () from /gnu/store/s0bzhwa0n6kvlsfzd6z8nxmm39g= 39gck-gtk-4.12.3/lib/libgtk-4.so.1 #8 0x00007fce22e918c5 in ?? () from /gnu/store/s0bzhwa0n6kvlsfzd6z8nxmm39g= 39gck-gtk-4.12.3/lib/libgtk-4.so.1 #9 0x00007fce22ffde94 in ?? () from /gnu/store/s0bzhwa0n6kvlsfzd6z8nxmm39g= 39gck-gtk-4.12.3/lib/libgtk-4.so.1 #10 0x00007fce293e75b9 in _g_closure_invoke_va (closure=3Dclosure@entry=3D0= x38c9de0, return_value=3Dreturn_value@entry=3D0x7ffca25ce230, instance=3Din= stance@entry=3D0x179ef90, args=3Dargs@entry=3D0x7ffca25ce3b8, n_params=3Dn_= params@entry=3D1, param_types=3Dparam_types@entry=3D0x1763e30) at ../glib-2= .78.0/gobject/gclosure.c:895 #11 0x00007fce293fa52e in signal_emit_valist_unlocked (instance=3Dinstance@= entry=3D0x179ef90, signal_id=3Dsignal_id@entry=3D38, detail=3Ddetail@entry= =3D0, var_args=3Dvar_args@entry=3D0x7ffca25ce3b8) at ../glib-2.78.0/gobject= /gsignal.c:3516 #12 0x00007fce294003c5 in g_signal_emit_valist (instance=3D0x179ef90, signa= l_id=3D38, detail=3D0, var_args=3Dvar_args@entry=3D0x7ffca25ce3b8) at ../gl= ib-2.78.0/gobject/gsignal.c:3355 #13 0x00007fce29400472 in g_signal_emit (instance=3D, signal= _id=3D, detail=3D) at ../glib-2.78.0/gobject/= gsignal.c:3675 #14 0x00007fce230746ca in ?? () from /gnu/store/s0bzhwa0n6kvlsfzd6z8nxmm39g= 39gck-gtk-4.12.3/lib/libgtk-4.so.1 #15 0x00007fce293e75b9 in _g_closure_invoke_va (closure=3Dclosure@entry=3D0= x191b470, return_value=3Dreturn_value@entry=3D0x0, instance=3Dinstance@entr= y=3D0x191b240, args=3Dargs@entry=3D0x7ffca25ce738, n_params=3Dn_params@entr= y=3D0, param_types=3Dparam_types@entry=3D0x0) at ../glib-2.78.0/gobject/gcl= osure.c:895 #16 0x00007fce293fb17b in signal_emit_valist_unlocked (instance=3Dinstance@= entry=3D0x191b240, signal_id=3Dsignal_id@entry=3D55, detail=3Ddetail@entry= =3D0, var_args=3Dvar_args@entry=3D0x7ffca25ce738) at ../glib-2.78.0/gobject= /gsignal.c:3516 #17 0x00007fce294003c5 in g_signal_emit_valist (instance=3D0x191b240, signa= l_id=3D55, detail=3D0, var_args=3Dvar_args@entry=3D0x7ffca25ce738) at ../gl= ib-2.78.0/gobject/gsignal.c:3355 #18 0x00007fce29400472 in g_signal_emit (instance=3D, signal= _id=3D, detail=3D) at ../glib-2.78.0/gobject/= gsignal.c:3675 #19 0x00007fce230639e0 in ?? () from /gnu/store/s0bzhwa0n6kvlsfzd6z8nxmm39g= 39gck-gtk-4.12.3/lib/libgtk-4.so.1 #20 0x00007fce2948e8eb in g_timeout_dispatch (user_data=3D, = callback=3D, source=3D0x3935fe0) at ../glib-2.78.0/glib/gmai= n.c:5121 #21 g_timeout_dispatch (source=3D0x3935fe0, callback=3D, use= r_data=3D) at ../glib-2.78.0/glib/gmain.c:5099 #22 0x00007fce2948acf3 in g_main_dispatch (context=3Dcontext@entry=3D0x1816= 860) at ../glib-2.78.0/glib/gmain.c:3476 #23 0x00007fce2948dc17 in g_main_context_dispatch_unlocked (context=3D0x181= 6860) at ../glib-2.78.0/glib/gmain.c:4284 #24 g_main_context_iterate_unlocked (context=3Dcontext@entry=3D0x1816860, b= lock=3Dblock@entry=3D1, dispatch=3Ddispatch@entry=3D1, self=3D) at ../glib-2.78.0/glib/gmain.c:4349 #25 0x00007fce2948e1ff in g_main_context_iteration (context=3Dcontext@entry= =3D0x1816860, may_block=3Dmay_block@entry=3D1) at ../glib-2.78.0/glib/gmain= .c:4414 #26 0x00007fce292c964d in g_application_run (application=3D0x1815250, argc= =3D, argv=3D) at ../glib-2.78.0/gio/gapplicat= ion.c:2577 #27 0x00007fce30811052 in ffi_call_unix64 () from /gnu/store/w8b0l8hk6g0fah= j4fvmc4qqm3cvaxnmv-libffi-3.4.4/lib/libffi.so.8 #28 0x00007fce3080fc85 in ffi_call_int () from /gnu/store/w8b0l8hk6g0fahj4f= vmc4qqm3cvaxnmv-libffi-3.4.4/lib/libffi.so.8 #29 0x00007fce3081068e in ffi_call () from /gnu/store/w8b0l8hk6g0fahj4fvmc4= qqm3cvaxnmv-libffi-3.4.4/lib/libffi.so.8 #30 0x00007fce295849c7 in g_callable_info_invoke () from /gnu/store/vycyjb0= 0dcqwjpn45as8jhrw4apv4r5n-gobject-introspection-1.73.1/lib/libgirepository-= 1.0.so #31 0x00007fce29585f62 in g_function_info_invoke () from /gnu/store/vycyjb0= 0dcqwjpn45as8jhrw4apv4r5n-gobject-introspection-1.73.1/lib/libgirepository-= 1.0.so #32 0x00007fce30811052 in ffi_call_unix64 () from /gnu/store/w8b0l8hk6g0fah= j4fvmc4qqm3cvaxnmv-libffi-3.4.4/lib/libffi.so.8 #33 0x00007fce3080fc85 in ffi_call_int () from /gnu/store/w8b0l8hk6g0fahj4f= vmc4qqm3cvaxnmv-libffi-3.4.4/lib/libffi.so.8 #34 0x00007fce3081068e in ffi_call () from /gnu/store/w8b0l8hk6g0fahj4fvmc4= qqm3cvaxnmv-libffi-3.4.4/lib/libffi.so.8 #35 0x00007fce3096dd37 in ?? () from /gnu/store/4gvgcfdiz67wv04ihqfa8pqwzsb= 0qpv5-guile-3.0.9/lib/libguile-3.0.so.1 #36 0x00007fce3095df55 in ?? () from /gnu/store/4gvgcfdiz67wv04ihqfa8pqwzsb= 0qpv5-guile-3.0.9/lib/libguile-3.0.so.1 #37 0x00007fce30952b9d in ?? () from /gnu/store/4gvgcfdiz67wv04ihqfa8pqwzsb= 0qpv5-guile-3.0.9/lib/libguile-3.0.so.1 #38 0x00007fce3095ddb5 in scm_call_n () from /gnu/store/4gvgcfdiz67wv04ihqf= a8pqwzsb0qpv5-guile-3.0.9/lib/libguile-3.0.so.1 #39 0x00007fce308c8977 in scm_primitive_eval () from /gnu/store/4gvgcfdiz67= wv04ihqfa8pqwzsb0qpv5-guile-3.0.9/lib/libguile-3.0.so.1 #40 0x00007fce308ce846 in scm_eval () from /gnu/store/4gvgcfdiz67wv04ihqfa8= pqwzsb0qpv5-guile-3.0.9/lib/libguile-3.0.so.1 #41 0x00007fce3092d3e6 in scm_shell () from /gnu/store/4gvgcfdiz67wv04ihqfa= 8pqwzsb0qpv5-guile-3.0.9/lib/libguile-3.0.so.1 #42 0x00007fce308df8cc in ?? () from /gnu/store/4gvgcfdiz67wv04ihqfa8pqwzsb= 0qpv5-guile-3.0.9/lib/libguile-3.0.so.1 #43 0x00007fce308c6e1a in ?? () from /gnu/store/4gvgcfdiz67wv04ihqfa8pqwzsb= 0qpv5-guile-3.0.9/lib/libguile-3.0.so.1 #44 0x00007fce30950390 in ?? () from /gnu/store/4gvgcfdiz67wv04ihqfa8pqwzsb= 0qpv5-guile-3.0.9/lib/libguile-3.0.so.1 #45 0x00007fce3095ddb5 in scm_call_n () from /gnu/store/4gvgcfdiz67wv04ihqf= a8pqwzsb0qpv5-guile-3.0.9/lib/libguile-3.0.so.1 #46 0x00007fce308c85ca in scm_call_2 () from /gnu/store/4gvgcfdiz67wv04ihqf= a8pqwzsb0qpv5-guile-3.0.9/lib/libguile-3.0.so.1 #47 0x00007fce3096f092 in ?? () from /gnu/store/4gvgcfdiz67wv04ihqfa8pqwzsb= 0qpv5-guile-3.0.9/lib/libguile-3.0.so.1 #48 0x00007fce3094ae1f in scm_c_catch () from /gnu/store/4gvgcfdiz67wv04ihq= fa8pqwzsb0qpv5-guile-3.0.9/lib/libguile-3.0.so.1 #49 0x00007fce308c9396 in scm_c_with_continuation_barrier () from /gnu/stor= e/4gvgcfdiz67wv04ihqfa8pqwzsb0qpv5-guile-3.0.9/lib/libguile-3.0.so.1 #50 0x00007fce3094a049 in ?? () from /gnu/store/4gvgcfdiz67wv04ihqfa8pqwzsb= 0qpv5-guile-3.0.9/lib/libguile-3.0.so.1 #51 0x00007fce3082d7fa in GC_call_with_stack_base () from /gnu/store/1w1r6r= 56z9lhg8ghcb7lxss6mkn7d5l1-libgc-8.2.2/lib/libgc.so.1 #52 0x00007fce309443f8 in scm_with_guile () from /gnu/store/4gvgcfdiz67wv04= ihqfa8pqwzsb0qpv5-guile-3.0.9/lib/libguile-3.0.so.1 #53 0x00007fce308e88e5 in scm_boot_guile () from /gnu/store/4gvgcfdiz67wv04= ihqfa8pqwzsb0qpv5-guile-3.0.9/lib/libguile-3.0.so.1 #54 0x00000000004010f7 in ?? () #55 0x00007fce303551f7 in __libc_start_call_main () from /gnu/store/gsjczqi= r1wbz8p770zndrpw4rnppmxi3-glibc-2.35/lib/libc.so.6 #56 0x00007fce303552ac in __libc_start_main_impl () from /gnu/store/gsjczqi= r1wbz8p770zndrpw4rnppmxi3-glibc-2.35/lib/libc.so.6 #57 0x0000000000401171 in ?? () (I do not understand why it does not see GTK debug info.) On my aarch64 rock64 the complete backtrace is useless: (gdb) bt #0 0x0000ffff8066e278 in ?? () #1 0x000000001b976640 in ?? () Backtrace stopped: not enough registers or memory available to unwind further Your next e-mail: David Pirotte writes: > 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 .... >[=E2=80=A6] > 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 >[=E2=80=A6] I get only scheme@(guile-user)> (main '("guile" "--debug")) ;; g-application-run=20 ;; application: #< 7fce23e673b0>=20 ;; argc: 0=20 ;; argv: ()=20 ;; gtk-window-set-child=20 ;; window: #< 7fce23e730c0>=20 ;; child: #< 7fce23e7bd10>=20 ;; gtk-window-present=20 ;; window: #< 7fce23e730c0>=20 There it stops for me. This is similar to what I get with patch diff --git a/g-golf/init.scm b/g-golf/init.scm index 5f64297..f1774b8 100644 --- a/g-golf/init.scm +++ b/g-golf/init.scm @@ -47,8 +47,8 @@ =20 (define %libg-golf (dynamic-link "libg-golf")) =20 -(define %debug (make-parameter #f)) -(define %iface-vfunc-warnings (make-parameter #f)) +(define %debug (make-parameter #t)) +(define %iface-vfunc-warnings (make-parameter #t)) =20 ;; The AdwMessageDialog class offers two ways to capture the user ;; response: (1) the traditional dialog 'response signal callback and base-commit: 482c0693160fba5f4a29214028dc3e9c276693da --=20 2.41.0 Next e-mail: David Pirotte writes: > Hi Florian, > >> ... >> examples/gtk-4/simple-paintable.scm fails at (add-to-load-path >> (dirname (current-filename)). I have not yet spent time to debug >> this one further. > > So we can make progress, till you find why (current-filename) fails - > note that it is a syntax, not a procedure, and the doc clearly state > that it returns #f "... when this information is not available." - but > i wonder why "this information" is available in other distro and not > in guix, for the same example code i mean? Without updating: scheme@(guile-user)> (load "adw1-demo.scm") ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=3D0 ;;; or pass the --no-auto-compile argument to disable. ;;; compiling /home/florian/src/g-golf/examples/adw-1/adw1-demo.scm ;;; compiling /home/florian/src/g-golf/examples/adw-1/adw1-demo/window.scm ;;; WARNING: compilation of /home/florian/src/g-golf/examples/adw-1/adw1-de= mo/window.scm failed: ;;; In procedure scm_to_utf8_stringn: Wrong type argument in position 1 (ex= pecting string): #f ;;; WARNING: compilation of /home/florian/src/g-golf/examples/adw-1/adw1-de= mo.scm failed: ;;; In procedure scm_to_utf8_stringn: Wrong type argument in position 1 (ex= pecting string): #f scheme@(guile-user)> (main '("guile")) ice-9/boot-9.scm:1685:16: In procedure raise-exception: Unbound variable: show-window Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue. scheme@(guile-user) [1]>=20 > > Meanwhile, so we can make progress, could you manually patch this > example to set the path and try again: > > 1- you need a patched version of guile-cairo > > "... G-Golf actually requires a patched version of guile-cairo > that contains the following new interface (which is not in > guile-cairo 1.11.2): cairo-pointer->context." > > see if you have or update your guile-cairo to > commit 30da459d7a4380174ff243b1560d5512a4bca86e > I did update to this commit now. > It should then segfault as well, since it defines two vfunc > methods, let's see ... Yes, although in gtk_image_set_from_paintable: Thread 1 "guile" received signal SIGSEGV, Segmentation fault. 0x00007f9aeb6052d0 in ?? () (gdb) bt #0 0x00007f9aeb6052d0 in ?? () #1 0x00007f9ae4d8b8f0 in gtk_image_set_from_paintable () from /gnu/store/s= q092kyxpn30dp16i85bgxrx18km3cq1-gtk-4.12.3/lib/libgtk-4.so.1 #2 0x00007f9aed8f9052 in ffi_call_unix64 () from /gnu/store/w8b0l8hk6g0fah= j4fvmc4qqm3cvaxnmv-libffi-3.4.4/lib/libffi.so.8 #3 0x00007f9aed8f7c85 in ffi_call_int () from /gnu/store/w8b0l8hk6g0fahj4f= vmc4qqm3cvaxnmv-libffi-3.4.4/lib/libffi.so.8 #4 0x00007f9aed8f868e in ffi_call () from /gnu/store/w8b0l8hk6g0fahj4fvmc4= qqm3cvaxnmv-libffi-3.4.4/lib/libffi.so.8 #5 0x00007f9ae66c89c7 in g_callable_info_invoke () from /gnu/store/vycyjb0= 0dcqwjpn45as8jhrw4apv4r5n-gobject-introspection-1.73.1/lib/libgirepository-= 1.0.so #6 0x00007f9ae66c9f62 in g_function_info_invoke () from /gnu/store/vycyjb0= 0dcqwjpn45as8jhrw4apv4r5n-gobject-introspection-1.73.1/lib/libgirepository-= 1.0.so #7 0x00007f9aed8f9052 in ffi_call_unix64 () from /gnu/store/w8b0l8hk6g0fah= j4fvmc4qqm3cvaxnmv-libffi-3.4.4/lib/libffi.so.8 #8 0x00007f9aed8f7c85 in ffi_call_int () from /gnu/store/w8b0l8hk6g0fahj4f= vmc4qqm3cvaxnmv-libffi-3.4.4/lib/libffi.so.8 #9 0x00007f9aed8f868e in ffi_call () from /gnu/store/w8b0l8hk6g0fahj4fvmc4= qqm3cvaxnmv-libffi-3.4.4/lib/libffi.so.8 #10 0x00007f9aeda55d37 in ?? () from /gnu/store/4gvgcfdiz67wv04ihqfa8pqwzsb= 0qpv5-guile-3.0.9/lib/libguile-3.0.so.1 #11 0x00007f9aeda45f55 in ?? () from /gnu/store/4gvgcfdiz67wv04ihqfa8pqwzsb= 0qpv5-guile-3.0.9/lib/libguile-3.0.so.1 #12 0x00007f9aeda3ab9d in ?? () from /gnu/store/4gvgcfdiz67wv04ihqfa8pqwzsb= 0qpv5-guile-3.0.9/lib/libguile-3.0.so.1 #13 0x00007f9aeda45db5 in scm_call_n () from /gnu/store/4gvgcfdiz67wv04ihqf= a8pqwzsb0qpv5-guile-3.0.9/lib/libguile-3.0.so.1 #14 0x00007f9aed9c3e5a in ?? () from /gnu/store/4gvgcfdiz67wv04ihqfa8pqwzsb= 0qpv5-guile-3.0.9/lib/libguile-3.0.so.1 #15 0x00007f9aed8f8931 in ffi_closure_unix64_inner () from /gnu/store/w8b0l= 8hk6g0fahj4fvmc4qqm3cvaxnmv-libffi-3.4.4/lib/libffi.so.8 #16 0x00007f9aed8f91e8 in ffi_closure_unix64 () from /gnu/store/w8b0l8hk6g0= fahj4fvmc4qqm3cvaxnmv-libffi-3.4.4/lib/libffi.so.8 #17 0x00007f9ae652b38f in g_closure_invoke (closure=3D0x8c9200, return_valu= e=3Dreturn_value@entry=3D0x0, n_param_values=3Dn_param_values@entry=3D1, pa= ram_values=3Dparam_values@entry=3D0x7ffc87fa3790, invocation_hint=3Dinvocat= ion_hint@entry=3D0x7ffc87fa3730) at ../glib-2.78.0/gobject/gclosure.c:832 #18 0x00007f9ae653db17 in signal_emit_unlocked_R (node=3Dnode@entry=3D0x7ff= c87fa38c0, detail=3Ddetail@entry=3D0, instance=3Dinstance@entry=3D0x8c7e20,= emission_return=3Demission_return@entry=3D0x0, instance_and_params=3Dinsta= nce_and_params@entry=3D0x7ffc87fa3790) at ../glib-2.78.0/gobject/gsignal.c:= 3980 #19 0x00007f9ae653f109 in signal_emit_valist_unlocked (instance=3Dinstance@= entry=3D0x8c7e20, signal_id=3Dsignal_id@entry=3D8, detail=3Ddetail@entry=3D= 0, var_args=3Dvar_args@entry=3D0x7ffc87fa3998) at ../glib-2.78.0/gobject/gs= ignal.c:3612 #20 0x00007f9ae65443c5 in g_signal_emit_valist (instance=3D0x8c7e20, signal= _id=3D8, detail=3D0, var_args=3Dvar_args@entry=3D0x7ffc87fa3998) at ../glib= -2.78.0/gobject/gsignal.c:3355 #21 0x00007f9ae6544472 in g_signal_emit (instance=3Dinstance@entry=3D0x8c7e= 20, signal_id=3D, detail=3Ddetail@entry=3D0) at ../glib-2.78= .0/gobject/gsignal.c:3675 #22 0x00007f9ae640d113 in g_application_activate (application=3Dapplication= @entry=3D0x8c7e20) at ../glib-2.78.0/gio/gapplication.c:2316 #23 0x00007f9ae640d488 in g_application_real_local_command_line (applicatio= n=3D0x8c7e20, arguments=3D0x7ffc87fa3ae0, exit_status=3D0x7ffc87fa3adc) at = ../glib-2.78.0/gio/gapplication.c:1152 #24 0x00007f9ae640d5de in g_application_run (application=3D0x8c7e20, argc= =3D, argv=3D) at ../glib-2.78.0/gio/gapplicat= ion.c:2546 #25 0x00007f9aed8f9052 in ffi_call_unix64 () from /gnu/store/w8b0l8hk6g0fah= j4fvmc4qqm3cvaxnmv-libffi-3.4.4/lib/libffi.so.8 #26 0x00007f9aed8f7c85 in ffi_call_int () from /gnu/store/w8b0l8hk6g0fahj4f= vmc4qqm3cvaxnmv-libffi-3.4.4/lib/libffi.so.8 #27 0x00007f9aed8f868e in ffi_call () from /gnu/store/w8b0l8hk6g0fahj4fvmc4= qqm3cvaxnmv-libffi-3.4.4/lib/libffi.so.8 #28 0x00007f9ae66c89c7 in g_callable_info_invoke () from /gnu/store/vycyjb0= 0dcqwjpn45as8jhrw4apv4r5n-gobject-introspection-1.73.1/lib/libgirepository-= 1.0.so #29 0x00007f9ae66c9f62 in g_function_info_invoke () from /gnu/store/vycyjb0= 0dcqwjpn45as8jhrw4apv4r5n-gobject-introspection-1.73.1/lib/libgirepository-= 1.0.so #30 0x00007f9aed8f9052 in ffi_call_unix64 () from /gnu/store/w8b0l8hk6g0fah= j4fvmc4qqm3cvaxnmv-libffi-3.4.4/lib/libffi.so.8 #31 0x00007f9aed8f7c85 in ffi_call_int () from /gnu/store/w8b0l8hk6g0fahj4f= vmc4qqm3cvaxnmv-libffi-3.4.4/lib/libffi.so.8 #32 0x00007f9aed8f868e in ffi_call () from /gnu/store/w8b0l8hk6g0fahj4fvmc4= qqm3cvaxnmv-libffi-3.4.4/lib/libffi.so.8 #33 0x00007f9aeda55d37 in ?? () from /gnu/store/4gvgcfdiz67wv04ihqfa8pqwzsb= 0qpv5-guile-3.0.9/lib/libguile-3.0.so.1 #34 0x00007f9aeda45f55 in ?? () from /gnu/store/4gvgcfdiz67wv04ihqfa8pqwzsb= 0qpv5-guile-3.0.9/lib/libguile-3.0.so.1 #35 0x00007f9aeda3ab9d in ?? () from /gnu/store/4gvgcfdiz67wv04ihqfa8pqwzsb= 0qpv5-guile-3.0.9/lib/libguile-3.0.so.1 #36 0x00007f9aeda45db5 in scm_call_n () from /gnu/store/4gvgcfdiz67wv04ihqf= a8pqwzsb0qpv5-guile-3.0.9/lib/libguile-3.0.so.1 #37 0x00007f9aed9b0977 in scm_primitive_eval () from /gnu/store/4gvgcfdiz67= wv04ihqfa8pqwzsb0qpv5-guile-3.0.9/lib/libguile-3.0.so.1 #38 0x00007f9aed9b6846 in scm_eval () from /gnu/store/4gvgcfdiz67wv04ihqfa8= pqwzsb0qpv5-guile-3.0.9/lib/libguile-3.0.so.1 #39 0x00007f9aeda153e6 in scm_shell () from /gnu/store/4gvgcfdiz67wv04ihqfa= 8pqwzsb0qpv5-guile-3.0.9/lib/libguile-3.0.so.1 #40 0x00007f9aed9c78cc in ?? () from /gnu/store/4gvgcfdiz67wv04ihqfa8pqwzsb= 0qpv5-guile-3.0.9/lib/libguile-3.0.so.1 #41 0x00007f9aed9aee1a in ?? () from /gnu/store/4gvgcfdiz67wv04ihqfa8pqwzsb= 0qpv5-guile-3.0.9/lib/libguile-3.0.so.1 #42 0x00007f9aeda38390 in ?? () from /gnu/store/4gvgcfdiz67wv04ihqfa8pqwzsb= 0qpv5-guile-3.0.9/lib/libguile-3.0.so.1 #43 0x00007f9aeda45db5 in scm_call_n () from /gnu/store/4gvgcfdiz67wv04ihqf= a8pqwzsb0qpv5-guile-3.0.9/lib/libguile-3.0.so.1 #44 0x00007f9aed9b05ca in scm_call_2 () from /gnu/store/4gvgcfdiz67wv04ihqf= a8pqwzsb0qpv5-guile-3.0.9/lib/libguile-3.0.so.1 #45 0x00007f9aeda57092 in ?? () from /gnu/store/4gvgcfdiz67wv04ihqfa8pqwzsb= 0qpv5-guile-3.0.9/lib/libguile-3.0.so.1 #46 0x00007f9aeda32e1f in scm_c_catch () from /gnu/store/4gvgcfdiz67wv04ihq= fa8pqwzsb0qpv5-guile-3.0.9/lib/libguile-3.0.so.1 #47 0x00007f9aed9b1396 in scm_c_with_continuation_barrier () from /gnu/stor= e/4gvgcfdiz67wv04ihqfa8pqwzsb0qpv5-guile-3.0.9/lib/libguile-3.0.so.1 #48 0x00007f9aeda32049 in ?? () from /gnu/store/4gvgcfdiz67wv04ihqfa8pqwzsb= 0qpv5-guile-3.0.9/lib/libguile-3.0.so.1 #49 0x00007f9aed9157fa in GC_call_with_stack_base () from /gnu/store/1w1r6r= 56z9lhg8ghcb7lxss6mkn7d5l1-libgc-8.2.2/lib/libgc.so.1 #50 0x00007f9aeda2c3f8 in scm_with_guile () from /gnu/store/4gvgcfdiz67wv04= ihqfa8pqwzsb0qpv5-guile-3.0.9/lib/libguile-3.0.so.1 #51 0x00007f9aed9d08e5 in scm_boot_guile () from /gnu/store/4gvgcfdiz67wv04= ihqfa8pqwzsb0qpv5-guile-3.0.9/lib/libguile-3.0.so.1 #52 0x00000000004010f7 in ?? () #53 0x00007f9aed43d1f7 in __libc_start_call_main () from /gnu/store/gsjczqi= r1wbz8p770zndrpw4rnppmxi3-glibc-2.35/lib/libc.so.6 #54 0x00007f9aed43d2ac in __libc_start_main_impl () from /gnu/store/gsjczqi= r1wbz8p770zndrpw4rnppmxi3-glibc-2.35/lib/libc.so.6 #55 0x0000000000401171 in ?? () > Ideally, you'd do that automatically ofc, using the guix machinery > to achieve those little but fundamental changes. > > While at it :), let me add the ideally as well, Guix should define a > (separate) g-golf.scm module/file and this module should contain the > following pkg defs: > > g-golf > [ g-golf-doc - possibly a separate pkg as well > g-golf-gtk4-examples > g-golf-adw1-examples > ... - other examples to come > > It is very important, in distros, that g-golf be separate from its > examples, because g-golf itself only depends on automake, makeinfo, > glib-2.0, gobject-2.0, gobject-introspection-1.0, a C compiler and guile = ofc. > > G-Golf can indeed import typelibs that do not depend on gtk4, adwaita > ...and allow to perform many other things then 'just' GUI ... > > Cheers, > David Oh yes, it would be good to package examples for developers to look at their package definitions. And without downloading the g-golf source. Then again, the g-golf source can be downloaded via Guix too. florian@florianrock64 ~$ cd $(guix build -S guile-g-golf)=20 florian@florianrock64 /gnu/store/3jwn5cxp3j39i0rf8cjwvrk6rynbk743-guile-g-g= olf-0.8.0-a.1-checkout$=20 For pygobject trying examples is intricate too: $ cd src/ $ tar xvf $(guix build -S python-pygobject) $ guix shell python python-gobject gtk+ gtksourceview@4 python-pycairo -- p= ython3 examples/demo/demo.py=20 Regards, Florian