Re: G-Golf - Callback segmentation fault

2024-09-07 Thread Matija Obid
David Pirotte writes: > Hello Florian, > Matija, > >> > > 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. > >> Ok, thanks for trying - This is going to be quite a lot

Re: G-Golf - Callback segmentation fault

2024-09-05 Thread Matija Obid
Hello David, > Could you both kindly grab the latest devel branch, you need this > commit bbfee04922bf2a22db397e2f429ae606df940265, and run the > make/install danse on your respective distro, then check if the > 'problematic' examples work fine _even when_ run against a modern libffi > that was co

Re: G-Golf - Callback segmentation fault

2024-08-31 Thread Matija Obid
Hello David, > So your patch seems to point to a problem in the upstream definition of > the (most recent) g-callable-info-create-closure, which is the one > everybody who's using GI >= 1.71.0 should use ... I see. The comment in deprecated function made me thinking and I found notice in LFS [1]:

Re: G-Golf - Callback segmentation fault

2024-08-27 Thread Matija Obid
1.80.1. >From 4bec7836f17dfd453b877f65d5e91aa29c082d70 Mon Sep 17 00:00:00 2001 From: Matija Obid Date: Tue, 27 Aug 2024 21:34:50 +0200 Subject: [PATCH] Fixing callbacks segfaults --- g-golf/hl-api/callback.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/g-golf/hl-api/callback.s

G-Golf - Callback segmentation fault

2024-08-21 Thread Matija Obid
Hello, I'm facing the problem mentioned in [1]. Problematic are all examples with virtual methods. I have tried simpler example (attached) with same result. There is no problem, when try same thing with guile-gi library. Somehow, callbacks are not callable back from C code. Any clue? I'm using N