[Gtk-sharp-list] Debugging binding issues (managed-unmanaged interface problems)

Peter Johanson latexer@gentoo.org
Mon, 17 May 2004 15:04:16 -0400


--YS7t75H5cNTCpbja
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, May 17, 2004 at 11:41:26AM -0500, Mike Kestner wrote:
>=20
> Define "earliest point possible."  Did you insert C.WLs in
> voidObjectCallback?

Yup, here's a snippet from the start of that method:

private static void voidObjectCallback(IntPtr arg0, int key)
{      =20
	Console.WriteLine("We've entered the callback!");
	if (!_Instances.Contains(key))
		throw new Exception("..

and here's what happens when running my small test program:

peter@gonzo src $ mono test-gst-backend.exe
~/audio/emoish/modest_mouse/modest_mouse-01-horn_intro.ogg
Trying to LinkMany!
Succeeded to LinkMany!
setting the file?
Setting the location to
/home/peter/audio/emoish/modest_mouse/modest_mouse-01-horn_intro.ogg!
Playing!
Segmentation fault

The segfault happens right when the song ends.

-pete

--=20
Peter Johanson
<latexer@gentoo.org>

Key ID =3D 0x6EFA3917
Key fingerprint =3D A90A 2518 57B1 9D20 9B71  A2FF 8649 439B 6EFA 3917

--YS7t75H5cNTCpbja
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAqQywhklDm276ORcRAvx6AJ9Wv7aKsZKly3drHO2C9jLpsDun1QCguSL8
c7SxeYy6N7yUVbMfU6XO/S4=
=a4Yf
-----END PGP SIGNATURE-----

--YS7t75H5cNTCpbja--