[Gtk-sharp-list] AccessViolationException on StatusIcon.GetGeometry on Windows

Christian Hoff christian_hoff at gmx.net
Mon Jun 29 14:04:16 EDT 2009

rgladwell wrote:
> I'm calling StatusIcon.GetGeometry to place a pop-up notification. This works
> fine on my Linux/Mono, but is failing on Windows Mono/.NET with an
> AccessViolationException (please see attached 
> http://www.nabble.com/file/p24257005/stacktrace.log stacktrace.log ).
Uggh, this sounds like a bug. Are you using Windows Vista or a later 
version? We've had quite some trouble with AccessViolationExceptions 
lately. Please file a bug report at www.mono-project.com/Bugs together 
with a small repro and the complete console output (including any 
GLIB_CRITICALS or GLIB_WARNINGS you may get before the exception occurs).
> The call to StatusIcon.GetGeometry is being called during the
> Application.Run loop, using a delegate via Application.Invoke, so I'm not
> sure if it's a system resource allocation issue or whether it is a bug with
> the StatusIcon API.
> If anyone can shed some light I would be most grateful.

More information about the Gtk-sharp-list mailing list