[Mono-dev] Strange GdkSharp.PixbufDestroyNotifyWrapper error..

buhochileno at gmail.com buhochileno at gmail.com
Sun Jun 1 17:17:16 EDT 2008


> On Sat, 2008-05-31 at 21:50 -0400, buhochileno at gmail.com wrote:
>   
>>> On Fri, 2008-05-30 at 17:00 -0400, buhochileno at gmail.com wrote:
>>>
>>>   
>>>       
>>>> ExcObject: System.InvalidProgramException: Invalid IL code in (wrapper 
>>>> native-to-managed) GdkSharp.PixbufDestroyNotifyWrapper:NativeCallback 
>>>> (intptr,intptr): IL_0030: call      0x00000006
>>>>         
>
> Actually, I guess this IL problem required a fix in mono, according to
> Zoltan on:
>
> https://bugzilla.novell.com/show_bug.cgi?id=362951
>
> The patch I committed yesterday fixes an exception that would have come
> out if you had his fix.
>
>   
>> any alternatives?? (build the object in other way, use a temporary 
>> object to do..something..), I really need to fix this and checkout+patch 
>> and recompile all mono or gtk-sharp sources don't seems to be a easy 
>> solution :-S, also wait to next rpm released is kind of long time ;-) , 
>> sugestions?, may be is posible to use a compiled version from you? I 
>> would really apreciate if that is posible and fix the problem..
>>     
>
> PibxbufLoader may have some alternatives.  
>
>   
PixbufLoader seems to be an option, but when I try to usit whit:
    Gdk.PixbufLoader pbL = new PixbufLoader(buffer, 800, 340); //buffer 
of byte[] type...

I allways get:
 ExcObject: GLib.GException: Image has zero width
...same trying to use a stream for the constructor of the pixbufloader..

any idea?
thanks Mike

Mauricio

> Wade is building snapshot builds for gtk-sharp trunk if you are running
> openSUSE:
>
> http://mono.ximian.com/monobuild/snapshot/download-trunk/
>
> Based on the rpm version for gtk-sharp2, it looks like the latest
> snapshot is for r100145 though.
>
> Mike
>
>
>   



More information about the Mono-devel-list mailing list