Napotkałem pierwszy problem po uaktualnieniu - wysypuje się
autopanog.exe (z pakietu autopano-sift):

Unhandled Exception: System.NullReferenceException: Object reference not set to 
an instance of an object
in (unmanaged) 0xb612777c
in <0x00004> (wrapper managed-to-native) 
System.Drawing.GDIPlus:GdipGetImageGraphicsContext (intptr,intptr&)
in <0x00057> System.Drawing.Graphics:FromImage (System.Drawing.Image)
in <0x00186> DisplayImage:ScaleWithin (int)
in <0x0011f> Autopanog:GenerateKeypointForImage 
(Gtk.TreeModel,Gtk.TreePath,Gtk.TreeIter)
in <0x00086> (wrapper delegate-invoke) 
System.MulticastDelegate:invoke_bool_TreeModel_TreePath_TreeIter 
(Gtk.TreeModel,Gtk.TreePath,Gtk.TreeIter)
in <0x000f4> GtkSharp.TreeModelForeachFuncWrapper:NativeCallback 
(intptr,intptr,Gtk.TreeIter&,intptr)
in <0x00042> (wrapper native-to-managed) 
GtkSharp.TreeModelForeachFuncWrapper:NativeCallback 
(intptr,intptr,Gtk.TreeIter&,intptr)
in (unmanaged) 0xb6ffbcfa
in <0x00004> (wrapper managed-to-native) Gtk.TreeStore:gtk_tree_model_foreach 
(intptr,GtkSharp.TreeModelForeachFuncNative,intptr)
in <0x00046> Gtk.TreeStore:Foreach (Gtk.TreeModelForeachFunc)
in <0x002cb> Autopanog:OnComputeClicked (object,System.EventArgs)
in <0x00043> (wrapper delegate-invoke) 
System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
in <0x000bb> GtkSharp.voidObjectSignal:voidObjectCallback (intptr,int)
in <0x00035> (wrapper native-to-managed) 
GtkSharp.voidObjectSignal:voidObjectCallback (intptr,int)
in (unmanaged) 0xb6b938e5
in <0x00004> (wrapper managed-to-native) Gtk.Application:gtk_main ()
in <0x00007> Gtk.Application:Run ()
in <0x002f8> Autopanog:Main (string[])

W pierwszej kolejności podejrzewałem nowe mono, ale błąd okazał się
niezależny od wersji mono, natomiast pomogło cofnięcie gtk+2 do 2.6.10.
Najwyraźniej gtk+ 2.8.x przekazuje NULLa w jakimś callbacku, czego się
gtk-sharp lub libgdiplus nie spodziewa.


-- 
Jakub Bogusz    http://qboosh.cs.net.pl/
_______________________________________________
pld-devel-pl mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-devel-pl

Odpowiedź listem elektroniczym