Bug 191207 - tomboy crashes when clicked on with gtk+ 2.9 installed
Summary: tomboy crashes when clicked on with gtk+ 2.9 installed
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: tomboy
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Ray Strode [halfline]
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-05-09 19:03 UTC by Jeremy Katz
Modified: 2007-11-30 22:11 UTC (History)
2 users (show)

Fixed In Version: gtk-2.9.2
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-06-06 18:17:36 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jeremy Katz 2006-05-09 19:03:34 UTC
Exception when clicking on the tomboy icon after upgrading to gtk+ 2.9 --

Unhandled Exception: System.Reflection.TargetInvocationException: Exception has
been thrown by the target of an invocation. ---> System.InvalidCastException:
Cannot cast from source type to destination type.
in <0x00055> Gtk.Widget:get_GdkWindow ()
in <0x00049> Tomboy.GuiUtils:GetMenuPosition (Gtk.Menu,int&,int&,bool&)
in <0x00063> (wrapper delegate-invoke)
System.MulticastDelegate:invoke_void_Menu_int&_int&_bool& (Gtk.Menu,int&,int&,bool&)
in <0x00068> GtkSharp.MenuPositionFuncWrapper:NativeCallback
(intptr,int&,int&,bool&,intptr)
in <0x00045> (wrapper native-to-managed)
GtkSharp.MenuPositionFuncWrapper:NativeCallback (intptr,int&,int&,bool&,intptr)
in (unmanaged) 0x1069963
in <0x00004> (wrapper managed-to-native) Gtk.Menu:gtk_menu_popup
(intptr,intptr,intptr,GtkSharp.MenuPositionFuncNative,intptr,uint,uint)
in <0x000de> Gtk.Menu:Popup
(Gtk.Widget,Gtk.Widget,Gtk.MenuPositionFunc,intptr,uint,uint)
in <0x001b4> Tomboy.GuiUtils:PopupMenu (Gtk.Menu,Gdk.EventButton)
in <0x00095> Tomboy.TomboyTray:ButtonPress (object,Gtk.ButtonPressEventArgs)
in (unmanaged) 0x80b4b8a
in <0x00004> (wrapper managed-to-native)
System.Reflection.MonoMethod:InternalInvoke (object,object[])
in <0x0008d> System.Reflection.MonoMethod:Invoke
(object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
--- End of inner exception stack trace ---

in <0x0010e> System.Reflection.MonoMethod:Invoke (System.Object obj,
BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[]
parameters, System.Globalization.CultureInfo culture)
in <0x0001a> System.Reflection.MethodBase:Invoke (System.Object obj,
System.Object[] parameters)
in <0x000ad> System.Delegate:DynamicInvokeImpl (System.Object[] args)
in <0x00028> System.MulticastDelegate:DynamicInvokeImpl (System.Object[] args)
in <0x0001a> System.MulticastDelegate:DynamicInvokeImpl (System.Object[] args)
in <0x0000e> System.Delegate:DynamicInvoke (System.Object[] args)
in <0x00175> GtkSharp.boolObjectEventButtonSignal:boolObjectEventButtonCallback
(IntPtr arg0, IntPtr arg1, Int32 key)
in (wrapper native-to-managed)
GtkSharp.boolObjectEventButtonSignal:boolObjectEventButtonCallback
(intptr,intptr,int)
in <0x00000> <unknown method>
in (wrapper managed-to-native) Gtk.Application:gtk_main ()
in <0x00007> Gtk.Application:Run ()
in <0x00007> Gnome.Program:Run ()
in <0x00044> Tomboy.Tomboy:StartTrayIcon ()
in <0x00152> Tomboy.Tomboy:Main (System.String[] args)


The obvious of "rebuild gtk-sharp" doesn't seem to have fixed it.

Comment 1 Matthias Clasen 2006-05-09 19:23:04 UTC
mono stackgraces are pretty useless to me. Please take this to the gtk# guys.

Comment 2 Tom London 2006-05-26 13:58:22 UTC
This is still broken with tomboy-0.3.5-5, gtk-sharp-1.0.10-5 and gtk-sharp2-2.8.2-1.

This has been filed against gtk-sharp:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=192820

but not much action.

Would any additional info be useful?




Comment 3 Bart Vanbrabant 2006-06-06 18:05:10 UTC
The problem lies in gtk-sharp2 so it was the wrong component, but all mono stuff
doesn't get much love.

Comment 4 Jeremy Katz 2006-06-06 18:17:36 UTC
gtk 2.9.2 actually fixes this.

Comment 5 Bart Vanbrabant 2006-06-06 18:20:45 UTC
Damn, I worked on updating gtk# to the svn version and posted this bugreport
with patches and stuff https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=194262
I updated gtk2 right before I started doing this, so I thought that the update
fixed this. Sorry for the spam :)


Note You need to log in before you can comment on or make changes to this bug.