guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: G-Golf - Callback segmentation fault


From: pelzflorian (Florian Pelz)
Subject: Re: G-Golf - Callback segmentation fault
Date: Fri, 06 Sep 2024 11:44:51 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

David Pirotte <david@altosw.be> writes:
> Could you both kindly grab the latest devel branch, you need this
> commit 5d72bfcdae85bb4a5b0254dc9f22fb8c676db69d, and try
> both the animated-paintable.scm and peg-solitaire.scm ex. ... let me
> know.

animated-paintable and peg-solitaire I had not tried last time and
they are the ones that crash.

Yes, they had not worked previously, and now with your long-name fix,
they work.

> all of a sudden it stops and raises an exception - could you also try
> that and let me know, thanks

Yes, after 5 minutes animated-paintable.scm crashes.  Hmm.

florian@florianhp ~/src/g-golf/examples/gtk-4 [env]$ ./animated-paintable.scm 
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /home/florian/src/g-golf/examples/gtk-4/./animated-paintable.scm
Warning: Missing /etc/X11/rgb.txt, using a fallback.
;;; compiling /home/florian/src/g-golf/examples/gtk-4/nuclear-icon.scm
;;; compiled 
/home/florian/.cache/guile/ccache/3.0-LE-8-4.6/home/florian/src/g-golf/examples/gtk-4/nuclear-icon.scm.go
;;; compiled 
/home/florian/.cache/guile/ccache/3.0-LE-8-4.6/home/florian/src/g-golf/examples/gtk-4/animated-paintable.scm.go

(animated-paintable.scm:2): Gtk-WARNING **: 09:12:26.679: Unable to acquire 
session bus: Could not connect: No such file or directory
Backtrace:
In ice-9/boot-9.scm:
  1752:10 13 (with-exception-handler _ _ #:unwind? _ # _)
In unknown file:
          12 (apply-smob/0 #<thunk 7f836056f300>)
In ice-9/boot-9.scm:
    724:2 11 (call-with-prompt _ _ #<procedure default-prompt-handle?>)
In ice-9/eval.scm:
    619:8 10 (_ #(#(#<directory (guile-user) 7f8360572c80>)))
In /home/florian/src/g-golf/examples/gtk-4/./animated-paintable.scm:
   147:18  9 (main _)
In g-golf/hl-api/function.scm:
    90:19  8 (_ . _)
In unknown file:
Exception thrown while printing backtrace:
In procedure primitive-call-ip: Wrong type argument in position 1 (expecting 
PRIMITIVE_P): #<procedure 7f835a080940 (_ _ _ _ _ _ _)>

oop/goops.scm:1585:2: No applicable method for #<<accessor> !callback (2)> in 
call (!callback #<procedure 7f8351c53540 at system/vm/frame.scm:134:22 
(target)>)

David Pirotte <david@altosw.be> writes:
>> Except for small warnings like
>> Warning: Missing /etc/X11/rgb.txt, using a fallback.
>> that probably should be fixed on the Guix side.
>
> You may as well safely ignore the warning ofc - i am not sure how to
> handle this, yet ... this is in the newly added (g-golf support color)
> module ... [1]

Probably I would just patch out the warning for Guix?

David Pirotte <david@altosw.be> writes:
>> G-golf really satisfies now.
>
> At last! Note that the above was not a g-golf problem [1].

Yes, but still it is much better that I can now soon rewrite my
trivial Kodi launcher to use g-golf instead of C.  Having to
use a virtual machine meant I could not reasonably put g-golf to use
there.

Regards,
Florian



reply via email to

[Prev in Thread] Current Thread [Next in Thread]