[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNU G-Golf 0.8.0-rc-3 available for testing
From: |
David Pirotte |
Subject: |
Re: GNU G-Golf 0.8.0-rc-3 available for testing |
Date: |
Fri, 3 May 2024 02:00:16 -0300 |
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:
> 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 example
https://git.savannah.gnu.org/cgit/g-golf.git/tree/examples/gtk-4/drawing-widget.scm?h=devel
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
;; application: #<<gtk-application> 7efed470ab10>
;; argc: 0
;; argv: ()
;; gtk-window-set-child
;; window: #<<gtk-application-window> 7efed470e270>
;; child: #<<drawing-widget> 7efed470e020>
;; gtk-window-present
;; window: #<<gtk-application-window> 7efed470e270>
;; g-golf-callback-closure-marshal
;; snapshot
;; widget: #<<drawing-widget> 7efed470e020>
;; snapshot: #<<gtk-snapshot> 7efed471b1f0>
;; gtk-widget-get-width
;; widget: #<<drawing-widget> 7efed470e020>
;; gtk-widget-get-height
;; widget: #<<drawing-widget> 7efed470e020>
;; graphene-rect-alloc
;; graphene-rect-init
;; rect: #<pointer 0x5633517e0080>
;; x: 0
;; y: 0
;; width: 160
;; height: 283/2
;; gtk-snapshot-append-color
;; snapshot: #<<gtk-snapshot> 7efed471b1f0>
;; color: (0.93 0.08 0.08 1.0)
;; bounds: #<pointer 0x5633517e0080>
;; graphene-rect-alloc
;; graphene-rect-init
;; rect: #<pointer 0x5633517d8ae0>
;; x: 160
;; y: 0
;; width: 160
;; height: 283/2
;; gtk-snapshot-append-color
;; snapshot: #<<gtk-snapshot> 7efed471b1f0>
;; color: (0.18 0.8 0.44 1.0)
;; bounds: #<pointer 0x5633517d8ae0>
;; graphene-rect-alloc
;; graphene-rect-init
;; rect: #<pointer 0x563351803ec0>
;; x: 0
;; y: 283/2
;; width: 160
;; height: 283/2
;; gtk-snapshot-append-color
;; snapshot: #<<gtk-snapshot> 7efed471b1f0>
;; color: (0.99 0.74 0.29 1.0)
;; bounds: #<pointer 0x563351803ec0>
;; graphene-rect-alloc
;; graphene-rect-init
;; rect: #<pointer 0x563351804520>
;; x: 160
;; y: 283/2
;; width: 160
;; height: 283/2
;; gtk-snapshot-append-color
;; snapshot: #<<gtk-snapshot> 7efed471b1f0>
;; color: (0.16 0.5 0.73 1.0)
;; bounds: #<pointer 0x563351804520>
;; status 0
$5 = 0
scheme@(guile-user)>
pgpmsqHnWfSUQ.pgp
Description: OpenPGP digital signature
- Re: GNU G-Golf 0.8.0-rc-3 available for testing, pelzflorian (Florian Pelz), 2024/05/02
- Re: GNU G-Golf 0.8.0-rc-3 available for testing, David Pirotte, 2024/05/02
- Re: GNU G-Golf 0.8.0-rc-3 available for testing,
David Pirotte <=
- Re: GNU G-Golf 0.8.0-rc-3 available for testing, pelzflorian (Florian Pelz), 2024/05/03
- Re: GNU G-Golf 0.8.0-rc-3 available for testing, David Pirotte, 2024/05/04
- Re: GNU G-Golf 0.8.0-rc-3 available for testing, pelzflorian (Florian Pelz), 2024/05/04
- Re: GNU G-Golf 0.8.0-rc-3 available for testing, pelzflorian (Florian Pelz), 2024/05/04
- Re: GNU G-Golf 0.8.0-rc-3 available for testing, David Pirotte, 2024/05/04
- Re: GNU G-Golf 0.8.0-rc-3 available for testing, David Pirotte, 2024/05/04
- Re: GNU G-Golf 0.8.0-rc-3 available for testing, David Pirotte, 2024/05/04
- Re: GNU G-Golf 0.8.0-rc-3 available for testing, pelzflorian (Florian Pelz), 2024/05/04
- Re: GNU G-Golf 0.8.0-rc-3 available for testing, David Pirotte, 2024/05/05
- Re: GNU G-Golf 0.8.0-rc-3 available for testing, pelzflorian (Florian Pelz), 2024/05/06