[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 05:51:10 EST 2008
https://bugzilla.novell.com/show_bug.cgi?id=362951
User rothflorian at gmx.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=362951#c7
Florian Roth <rothflorian at gmx.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rothflorian at gmx.de
--- Comment #7 from Florian Roth <rothflorian at gmx.de> 2008-02-23 03:51:09 MST ---
Ah nice :D
I just realized one more thing:
Creating a Pixbuf with a PixbufDestroyNotify delegate causes the following
error for me with Mono 1.2.5 and 1.2.6:
Unhandled Exception: System.InvalidProgramException: Invalid IL code in
(wrapper
native-to-managed) GdkSharp.PixbufDestroyNotifyWrapper:NativeCallback
(intptr,i
ntptr): IL_0030: call 0x00000006
at (wrapper managed-to-native)
System.Object:__icall_wrapper_mono_delegate_to_
ftnptr (object)
at (wrapper managed-to-native) Gdk.Pixbuf:gdk_pixbuf_new_from_data
(byte[],int
,bool,int,int,int,int,GdkSharp.PixbufDestroyNotifyNative,intptr)
at Gdk.Pixbuf..ctor (System.Byte[] data, Colorspace colorspace, Boolean
has_al
pha, Int32 bits_per_sample, Int32 width, Int32 height, Int32 rowstride,
Gdk.Pixb
ufDestroyNotify destroy_fn) [0x00000]
at Gdk.Pixbuf..ctor (System.Byte[] data, Boolean has_alpha, Int32
bits_per_sam
ple, Int32 width, Int32 height, Int32 rowstride, Gdk.PixbufDestroyNotify
destroy
_fn) [0x00000]
I realized this when testing my app under Linux. Mono on Windows brings this
error as well. Can you verify this?
--
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