unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: David Pirotte <david@altosw.be>
To: "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de>
Cc: guile-user <guile-user@gnu.org>
Subject: Re: GNU G-Golf 0.8.0-rc-3 available for testing
Date: Sat, 4 May 2024 18:39:44 -0300	[thread overview]
Message-ID: <20240504183944.79f547cc@tintin> (raw)
In-Reply-To: <878r0plkc2.fsf@pelzflorian.de>

[-- Attachment #1: Type: text/plain, Size: 2852 bytes --]

Hi Florian,

> Hi David, thank you for your continuing responses.

No problem. I am also interested in fixing this bug

> I will try to get a backtrace with GTK debug symbols by patching
> Guix to add a debug output to GTK, in the hope that I patch the right
> GTK.

It is definitely not a GLib/GObject nor a Gtk/Gdk/Gsk bug - i need the
full backtrace to look at the calls, from the one that segfault, a LIFO
backtrace of all calls, so i can try to see where it goes wrong ...

> However, my believe is that the error is in G-Golf

Yes, we are trying to find it, it's actually annoying that it works
fine in debian :), but we'll get there ...

> closures/callbacks/vfuncs (even though the hl-api tests do pass

there is no vfunc test in the test-suite - the tests are all those
examples that use them ... which is fine, but once i find the source of
this bug, i might add a more specific test to the test-suite.

> when run by Guix build or manually), specifically when I run valgrind
> on guile where I load and run drawing-widget.scm ...

I don't think it's a guile error either - definitely a g-golf error
that appears in guix and unfortunately not in debian ...

> it only shows errors from Boehm GC (at least mostly false-positive)

I'll double check that those snapshot vfunc (closure pointers) do not
become unreachable, i think i did check that but ... that would
definitely segfault the example if not ... it could be that i miss
checked how those are cached.

> I cannot tell you my host distro because there is none (there could
> be a foreign distro, but I have none).  It is Guix System, that is
> Guix all the way down.

Oh, ok -

> To build G-Golf manually, I can and had patched the its
> g-golf/init.scm to use /gnu/store/xxxxxxx/lib/libgirepository-1.0.so
> file names like the guile-g-golf package at
> <https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/guile-xyz.scm>
> does, but it will not be useful.

Imo, you should locally patch your guix image so it has one gdk-pixbuf
lib installed  keep the one that has the debug symbols - then comment
guile-g-golf in the guile-xyz module, create a g-golf module that you
can 'play with', and 'at will.constantly' make it point to the latest as
we a re working on tracking those bugs -

> Setting the GTK_A11Y env var does not make a difference (except the
> warning is gone) and on my x86_64 GNOME setup there never is a warning
> (although GTK_A11Y is unset, but d-bus is there).

I never thought in any moment that this warning was in any way 'linked'
to the problem, i did say and re-state here, that guix should be fixed
so it does not complain it can't find d-bus - terrible imo, it can lead
to other problems - till then, locally define the env var so we get
this annoying warning out of the way

David

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  parent reply	other threads:[~2024-05-04 21:39 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-17  5:56 GNU G-Golf 0.8.0-rc-3 available for testing David Pirotte
2024-04-17 22:30 ` pelzflorian (Florian Pelz)
2024-04-18 22:21   ` David Pirotte
2024-04-19 17:00     ` pelzflorian (Florian Pelz)
2024-04-20  4:51       ` David Pirotte
2024-04-20  8:35         ` pelzflorian (Florian Pelz)
2024-04-30 17:51         ` pelzflorian (Florian Pelz)
2024-05-01  0:51           ` David Pirotte
2024-05-01  8:17             ` pelzflorian (Florian Pelz)
2024-05-07  1:39               ` David Pirotte
2024-05-07  9:36                 ` pelzflorian (Florian Pelz)
2024-05-07 23:53                   ` David Pirotte
2024-05-08 10:49                     ` pelzflorian (Florian Pelz)
2024-05-08 21:51                       ` David Pirotte
2024-05-02 18:50             ` pelzflorian (Florian Pelz)
2024-05-02 21:57               ` David Pirotte
2024-05-03  5:00                 ` David Pirotte
2024-05-03 11:35                 ` pelzflorian (Florian Pelz)
2024-05-04  5:59                   ` David Pirotte
2024-05-04 14:31                     ` pelzflorian (Florian Pelz)
2024-05-04 18:08                       ` pelzflorian (Florian Pelz)
2024-05-04 22:11                         ` David Pirotte
2024-05-04 22:23                         ` David Pirotte
2024-05-04 21:39                       ` David Pirotte [this message]
2024-05-05  1:43                         ` pelzflorian (Florian Pelz)
2024-05-05 21:30                           ` David Pirotte
2024-05-06  9:45                             ` pelzflorian (Florian Pelz)
2024-05-06  9:53                         ` Basile Starynkevitch
2024-05-06 13:08                           ` pelzflorian (Florian Pelz)
2024-05-03  0:17           ` David Pirotte

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240504183944.79f547cc@tintin \
    --to=david@altosw.be \
    --cc=guile-user@gnu.org \
    --cc=pelzflorian@pelzflorian.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).