Re: G-Golf - Callback segmentation fault

David Pirotte <[email protected]>
Newsgroups gmane.lisp.guile.user
Message-ID <20240902220154.54e2f1ac@tintin>
Hi again,

> ...

> > I still wonder where is the problem, in Guile, G-Golf or
> > gobject-introspection (which according to [2] should not be a
> > problem).  

> Definitely not a g-golf bug.

Unless the code used by g-golf to make the ffi-cif would need to be
adapted, i don't know, but one thing is for sure though, the g-golf
made cif is checked, calling ffi_prep_cif [1], and that procedure would
raise a exception unless the returned status is 0.

Cheers,
David

Fwiw, this is in
	
	libg-golf/gg-ffi.c
		gg_ffi_prep_cif

the scheme call in

	(g-golf support ffi)
		ffi-prep-cif

which when preparing a callback is used in

	(g-golf hl-api callback)
		callback-ffi-cif
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEhCJlRZtBM3furJHe83T9k6MFetcFAmbWYAIACgkQ83T9k6MF
etfqdQf/cvJoNp5cgm0InY3ASxOj4pfDi/vLyqbmF96ab/hrYHV6ubwq1SQGm3Jh
NBAXQJJ6PG9OSl8aDYoGU/QeJjGGlxDGMdRc2fk3npwkueJ5WeuTWlBmdzn2HyG+
5F6rWK5UuGxlL/AwIJFCA0SpXfnZoiY8ypmpq4Lhbd+A7qi9MDOppyGsL1RBHOYX
stY+g8zlCj3c1tmAtbx6Y52Y/QVuyZjUlzmNwuqGLnCDZdtEegz75D7PH9dYYZAT
uBFvH2ckBmWoZa0tB/VltlPJphu65gRGZ9S3pEpkQZoxjTHwc4MbS9tuzn6J/9QP
tijNtT3YBTxvEWGSC2MvrAGB2nuZLQ==
=xMGF
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.