reassign 430027 gtk-sharp2-gapi 2.10.1-1 thanks I built gmime2.2 inside a current pbuilder, and I can reproduce this problem now. The problem is that gtk-sharp2-gapi 2.10.1 (of gtk#2) generates C# code that is not valid:
public void NativeCallback (IntPtr session, IntPtr item, out IntPtr err) { try { GMime.Session _arg0 = GLib.Object.GetObject(session) as GMime.Session; string _arg1 = GLib.Marshaller.Utf8PtrToString (item); err = IntPtr.Zero; managed ( _arg0, _arg1); if (release_on_call) gch.Free (); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } In the exception case "err" might not be initialized, the C# detects this case. With the older version (2.10.0) of gtk-sharp2-gapi the code looked like this: public void NativeCallback (IntPtr session, IntPtr item, out IntPtr err) { GMime.Session _arg0 = GLib.Object.GetObject(session) as GMime.Session; string _arg1 = GLib.Marshaller.Utf8PtrToString (item); err = IntPtr.Zero; managed ( _arg0, _arg1); } as you can see the try/catch handling was added and causes this corner case... -- Regards, Mirco 'meebey' Bauer PGP-Key ID: 0xEEF946C8 FOSS Developer [EMAIL PROTECTED] http://www.meebey.net/ PEAR Developer [EMAIL PROTECTED] http://pear.php.net/ Debian Developer [EMAIL PROTECTED] http://www.debian.org/
signature.asc
Description: This is a digitally signed message part