[Mono-bugs] [Bug 362951] GC moves data of Gdk.Pixbuf when creating it with RGB buffer

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Feb 23 11:30:54 EST 2008


User vargaz at gmail.com added comment

Zoltan Varga <vargaz at gmail.com> changed:

           What    |Removed                                         |Added
                 CC|                                                |vargaz at gmail.com

--- Comment #8 from Zoltan Varga <vargaz at gmail.com>  2008-02-23 09:30:53 MST ---
The Invalid IL code error is now fixed in SVN, but there is a problem in
gtk# as well:
        internal delegate void PixbufDestroyNotifyNative(byte[] pixels, IntPtr

is missing a MarshalAs attribute on the 'pixels' parameter, so when the
is called from gdk, the runtime will throw an exception:

System.Runtime.InteropServices.MarshalDirectiveException: [MarshalAs] attribute
required to marshal arrays to managed code.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list