[Gtk-sharp-list] Stability with GTK# and repainting

Luke Usher luke at resonline.com.au
Wed Apr 19 03:00:33 EDT 2006


I'm still having these stability issues, sometimes it seems to be chronic, other times it will run perfectly. I attached a file that show a nice cross section of the errors.

There is also the issue of widget not repainting until the window receives mouse events. I've tried the following code (along with several other things) but this only slows down the repaint after mouse movement:

If Me.Allocation.Width > 1 Then
	Me.ParentWindow.InvalidateRect(Me.Allocation, True)
End If

Any ideas on either of these things?



-----Original Message-----
From: "Darío J. Cravero" [mailto:dario.cravero at gmail.com] 
Sent: Thursday, 13 April 2006 2:03 AM
To: Luke Usher
Subject: Re: [Gtk-sharp-list] Stability with GTK#

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Luke, did any of the crashes reported any exceptions that weren't
handled?

Luke Usher escribió:
> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal,
> div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:12.0pt;
> font-family:"Times New Roman";} a:link, span.MsoHyperlink
> {color:blue; text-decoration:underline;} a:visited,
> span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;}
> span.EmailStyle17 {mso-style-type:personal-compose;
> font-family:Arial; color:windowtext;} @page Section1 {size:595.3pt
> 841.9pt; margin:72.0pt 90.0pt 72.0pt 90.0pt;} div.Section1
> {page:Section1;} -->
>
> We?re currently developing an application in vb.net with GTK# and
> having a few problems with application stability so I wanted to see
> if there was something about our setup that could be causing these.
>
> 
>
> Most of the errors were getting are random access violation errors.
> This is as threaded app but even if we disable threading we get the
> same errors. We are currently using GTK# 2.8 (I believe this is the
> latest stable version??) with .net 2.0 on windows xp (32 bit) on amd
> 64 bit processors.
>
> 
>
> Does anyone have any ideas/suggestions on the root cause of the problem?


-------------- next part --------------
  at Gtk.Entry.gtk_entry_set_width_chars(IntPtr raw, Int32 n_chars)
   at Gtk.Entry.set_WidthChars(Int32 value)
   at ResDesktopGtk.LMMTable_Item..ctor() in C:\Documents and Settings\luke\My Documents\Visual Studio 2005\Projects\ResDesktopGtk\ResDesktopGtk\UI\LMMTable_Item.vb:line 35
   at ResDesktopGtk.LMMTable.init() in C:\Documents and Settings\luke\My Documents\Visual Studio 2005\Projects\ResDesktopGtk\ResDesktopGtk\UI\LMMTable.vb:line 52
   at ResDesktopGtk.LastMinuteManager..ctor() in C:\Documents and Settings\luke\My Documents\Visual Studio 2005\Projects\ResDesktopGtk\ResDesktopGtk\LastMinuteManager.vb:line 46
   at ResDesktopGtk.Main.Main() in C:\Documents and Settings\luke\My Documents\Visual Studio 2005\Projects\ResDesktopGtk\ResDesktopGtk\UI\Main.vb:line 84
   at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
   at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
   at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()

System.AccessViolationException was unhandled
  Message="Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
  Source="gtk-sharp"
  StackTrace:
       at Gtk.TextView.gtk_text_view_new_with_buffer(IntPtr buffer)
       at Gtk.TextView..ctor(TextBuffer buffer)
       at ResDesktopGtk.LMMTextView..ctor() in C:\Documents and Settings\luke\My Documents\Visual Studio 2005\Projects\ResDesktopGtk\ResDesktopGtk\UI\LMMTextView.vb:line 15
       at ResDesktopGtk.LMMTable_Item..ctor() in C:\Documents and Settings\luke\My Documents\Visual Studio 2005\Projects\ResDesktopGtk\ResDesktopGtk\UI\LMMTable_Item.vb:line 47
       at ResDesktopGtk.LMMTable.init() in C:\Documents and Settings\luke\My Documents\Visual Studio 2005\Projects\ResDesktopGtk\ResDesktopGtk\UI\LMMTable.vb:line 52
       at ResDesktopGtk.LastMinuteManager..ctor() in C:\Documents and Settings\luke\My Documents\Visual Studio 2005\Projects\ResDesktopGtk\ResDesktopGtk\LastMinuteManager.vb:line 46
       at ResDesktopGtk.Main.Main() in C:\Documents and Settings\luke\My Documents\Visual Studio 2005\Projects\ResDesktopGtk\ResDesktopGtk\UI\Main.vb:line 84
       at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()

System.AccessViolationException was unhandled
  Message="Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
  Source="gtk-sharp"
  StackTrace:
       at Gtk.Widget.gtk_widget_show_all(IntPtr raw)
       at Gtk.Widget.ShowAll()
       at ResDesktopGtk.LMMTable.init() in C:\Documents and Settings\luke\My Documents\Visual Studio 2005\Projects\ResDesktopGtk\ResDesktopGtk\UI\LMMTable.vb:line 86
       at ResDesktopGtk.LastMinuteManager..ctor() in C:\Documents and Settings\luke\My Documents\Visual Studio 2005\Projects\ResDesktopGtk\ResDesktopGtk\LastMinuteManager.vb:line 46
       at ResDesktopGtk.Main.Main() in C:\Documents and Settings\luke\My Documents\Visual Studio 2005\Projects\ResDesktopGtk\ResDesktopGtk\UI\Main.vb:line 84
       at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()

System.AccessViolationException was unhandled
  Message="Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
  Source="gtk-sharp"
  StackTrace:
       at Gtk.TextView.gtk_text_view_new_with_buffer(IntPtr buffer)
       at Gtk.TextView..ctor(TextBuffer buffer)
       at ResDesktopGtk.LMMTextView..ctor() in C:\Documents and Settings\luke\My Documents\Visual Studio 2005\Projects\ResDesktopGtk\ResDesktopGtk\UI\LMMTextView.vb:line 15
       at ResDesktopGtk.LMMTable_Item..ctor() in C:\Documents and Settings\luke\My Documents\Visual Studio 2005\Projects\ResDesktopGtk\ResDesktopGtk\UI\LMMTable_Item.vb:line 47
       at ResDesktopGtk.LMMTable.init() in C:\Documents and Settings\luke\My Documents\Visual Studio 2005\Projects\ResDesktopGtk\ResDesktopGtk\UI\LMMTable.vb:line 52
       at ResDesktopGtk.LastMinuteManager..ctor() in C:\Documents and Settings\luke\My Documents\Visual Studio 2005\Projects\ResDesktopGtk\ResDesktopGtk\LastMinuteManager.vb:line 46
       at ResDesktopGtk.Main.Main() in C:\Documents and Settings\luke\My Documents\Visual Studio 2005\Projects\ResDesktopGtk\ResDesktopGtk\UI\Main.vb:line 84
       at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()

System.AccessViolationException was unhandled
  Message="Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
  Source="gtk-sharp"
  StackTrace:
       at Gtk.Widget.gtk_widget_show_all(IntPtr raw)
       at Gtk.Widget.ShowAll()
       at ResDesktopGtk.LMMRowLabel..ctor(String text, Int32 row) in C:\Documents and Settings\luke\My Documents\Visual Studio 2005\Projects\ResDesktopGtk\ResDesktopGtk\UI\LMMRowLabel.vb:line 29
       at ResDesktopGtk.LMMTable.init() in C:\Documents and Settings\luke\My Documents\Visual Studio 2005\Projects\ResDesktopGtk\ResDesktopGtk\UI\LMMTable.vb:line 91
       at ResDesktopGtk.LastMinuteManager..ctor() in C:\Documents and Settings\luke\My Documents\Visual Studio 2005\Projects\ResDesktopGtk\ResDesktopGtk\LastMinuteManager.vb:line 46
       at ResDesktopGtk.Main.Main() in C:\Documents and Settings\luke\My Documents\Visual Studio 2005\Projects\ResDesktopGtk\ResDesktopGtk\UI\Main.vb:line 84
       at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()

System.AccessViolationException was unhandled
  Message="Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
  Source="gtk-sharp"
  StackTrace:
       at Gtk.Application.gtk_main()
       at Gtk.Application.Run()
       at ResDesktopGtk.LastMinuteManager..ctor() in C:\Documents and Settings\luke\My Documents\Visual Studio 2005\Projects\ResDesktopGtk\ResDesktopGtk\LastMinuteManager.vb:line 66
       at ResDesktopGtk.Main.Main() in C:\Documents and Settings\luke\My Documents\Visual Studio 2005\Projects\ResDesktopGtk\ResDesktopGtk\UI\Main.vb:line 84
       at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()

System.AccessViolationException was unhandled
  Message="Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
  Source="gtk-sharp"
  StackTrace:
       at Gtk.Box.gtk_box_pack_start(IntPtr raw, IntPtr child, Boolean expand, Boolean fill, UInt32 padding)
       at Gtk.Box.PackStart(Widget child, Boolean expand, Boolean fill, UInt32 padding)
       at ResDesktopGtk.LMMWindow.addLMMTable(LMMTable table) in C:\Documents and Settings\luke\My Documents\Visual Studio 2005\Projects\ResDesktopGtk\ResDesktopGtk\UI\LMMWindow.vb:line 112
       at ResDesktopGtk.LastMinuteManager..ctor() in C:\Documents and Settings\luke\My Documents\Visual Studio 2005\Projects\ResDesktopGtk\ResDesktopGtk\LastMinuteManager.vb:line 50
       at ResDesktopGtk.Main.Main() in C:\Documents and Settings\luke\My Documents\Visual Studio 2005\Projects\ResDesktopGtk\ResDesktopGtk\UI\Main.vb:line 84
       at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()


System.NullReferenceException was unhandled
  Message="Object reference not set to an instance of an object."
  Source="gtk-sharp"
  StackTrace:
       at Gtk.Object.Dispose()
       at Gtk.Widget.Finalize()
       at Gtk.Container.Finalize()
       at Gtk.Table.Finalize()

System.AccessViolationException was unhandled
  Message="Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
  Source="gtk-sharp"
  StackTrace:
       at Gtk.Application.gtk_main()
       at Gtk.Application.Run()
       at ResDesktopGtk.LastMinuteManager..ctor() in C:\Documents and Settings\luke\My Documents\Visual Studio 2005\Projects\ResDesktopGtk\ResDesktopGtk\LastMinuteManager.vb:line 66
       at ResDesktopGtk.Main.Main() in C:\Documents and Settings\luke\My Documents\Visual Studio 2005\Projects\ResDesktopGtk\ResDesktopGtk\UI\Main.vb:line 84
       at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()


System.AccessViolationException was unhandled
  Message="Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
  Source="gtk-sharp"
  StackTrace:
       at Gtk.Application.gtk_main()
       at Gtk.Application.Run()
       at ResDesktopGtk.LastMinuteManager..ctor() in C:\Documents and Settings\luke\My Documents\Visual Studio 2005\Projects\ResDesktopGtk\ResDesktopGtk\LastMinuteManager.vb:line 66
       at ResDesktopGtk.Main.Main() in C:\Documents and Settings\luke\My Documents\Visual Studio 2005\Projects\ResDesktopGtk\ResDesktopGtk\UI\Main.vb:line 84
       at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()

System.NullReferenceException was unhandled
  Message="Object reference not set to an instance of an object."
  Source="glib-sharp"
  StackTrace:
       at GLib.Signal.OnNativeDestroy(IntPtr data, IntPtr obj)
       at GLib.Signal.g_object_set_data(IntPtr instance, IntPtr key, IntPtr data)
       at GLib.Signal.DisconnectObject()
       at GLib.Signal.RemoveDelegate(Delegate d)
       at Gtk.Object.Dispose()
       at Gtk.Misc.Finalize()
       at Gtk.Image.Finalize()

System.NullReferenceException was unhandled
  Message="Object reference not set to an instance of an object."
  Source="gtk-sharp"
  StackTrace:
       at Gtk.Object.Dispose()
       at Gtk.Widget.Finalize()
       at Gtk.Container.Finalize()
       at Gtk.Bin.Finalize()
       at Gtk.ScrolledWindow.Finalize()

System.NullReferenceException was unhandled
  Message="Object reference not set to an instance of an object."
  Source="gtk-sharp"
  StackTrace:
       at Gtk.Object.Dispose()
       at Gtk.Widget.Finalize()
       at Gtk.Container.Finalize()
       at Gtk.Bin.Finalize()
       at Gtk.ScrolledWindow.Finalize()

System.NullReferenceException was unhandled
  Message="Object reference not set to an instance of an object."
  Source="gtk-sharp"
  StackTrace:
       at Gtk.Object.Dispose()
       at Gtk.Widget.Finalize()
       at Gtk.Misc.Finalize()
       at Gtk.Image.Finalize()

System.AccessViolationException was unhandled
  Message="Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
  Source="gtk-sharp"
  StackTrace:
       at Gtk.Application.gtk_main()
       at Gtk.Application.Run()
       at ResDesktopGtk.LastMinuteManager..ctor() in C:\Documents and Settings\luke\My Documents\Visual Studio 2005\Projects\ResDesktopGtk\ResDesktopGtk\LastMinuteManager.vb:line 66
       at ResDesktopGtk.Main.Main() in C:\Documents and Settings\luke\My Documents\Visual Studio 2005\Projects\ResDesktopGtk\ResDesktopGtk\UI\Main.vb:line 84
       at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()


System.NullReferenceException was unhandled
  Message="Object reference not set to an instance of an object."
  Source="gtk-sharp"
  StackTrace:
       at Gtk.Object.Dispose()
       at Gtk.Object.Finalize()
       at Gtk.Widget.Finalize()
       at Gtk.Container.Finalize()
       at Gtk.Bin.Finalize()
       at Gtk.ScrolledWindow.Finalize()

System.AccessViolationException was unhandled
  Message="Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
  Source="glib-sharp"
  StackTrace:
       at GLib.Value.gtksharp_value_create_from_property(Value& val, IntPtr obj, IntPtr name)
       at GLib.Value..ctor(Object obj, String prop_name)
       at GLib.Object.GetProperty(String name)
       at Gtk.Widget.get_Sensitive()
       at ResDesktopGtk.LMMTable_Item.OnDataUpdated(Object sender, EventArgs args) in C:\Documents and Settings\luke\My Documents\Visual Studio 2005\Projects\ResDesktopGtk\ResDesktopGtk\UI\LMMTable_Item.vb:line 96
       at Gtk.Application.InvokeCB.Invoke()
       at GLib.Timeout.TimeoutProxy.Handler()
       at Gtk.Application.gtk_main()
       at Gtk.Application.Run()
       at ResDesktopGtk.LastMinuteManager..ctor() in C:\Documents and Settings\luke\My Documents\Visual Studio 2005\Projects\ResDesktopGtk\ResDesktopGtk\LastMinuteManager.vb:line 71
       at ResDesktopGtk.Main.Main() in C:\Documents and Settings\luke\My Documents\Visual Studio 2005\Projects\ResDesktopGtk\ResDesktopGtk\UI\Main.vb:line 84
       at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()

System.NullReferenceException was unhandled
  Message="Object reference not set to an instance of an object."
  Source="gtk-sharp"
  StackTrace:
       at Gtk.Object.Dispose()
       at Gtk.Widget.Finalize()
       at Gtk.Misc.Finalize()
       at Gtk.Image.Finalize()

System.AccessViolationException was unhandled
  Message="Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
  Source="gtk-sharp"
  StackTrace:
       at Gtk.Application.gtk_main()
       at Gtk.Application.Run()
       at ResDesktopGtk.LastMinuteManager..ctor() in C:\Documents and Settings\luke\My Documents\Visual Studio 2005\Projects\ResDesktopGtk\ResDesktopGtk\LastMinuteManager.vb:line 71
       at ResDesktopGtk.Main.Main() in C:\Documents and Settings\luke\My Documents\Visual Studio 2005\Projects\ResDesktopGtk\ResDesktopGtk\UI\Main.vb:line 84
       at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()

System.NullReferenceException was unhandled
  Message="Object reference not set to an instance of an object."
  Source="gtk-sharp"
  StackTrace:
       at Gtk.Object.Dispose()
       at Gtk.Object.Finalize()
       at Gtk.Widget.Finalize()
       at Gtk.Container.Finalize()
       at Gtk.Bin.Finalize()
       at Gtk.EventBox.Finalize()

System.AccessViolationException was unhandled
  Message="Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
  Source="glib-sharp"
  StackTrace:
       at GLib.Object.PerformQueuedUnrefs()
       at GLib.Timeout.TimeoutProxy.Handler()
       at Gtk.Application.gtk_main()
       at Gtk.Application.Run()
       at ResDesktopGtk.LastMinuteManager..ctor() in C:\Documents and Settings\luke\My Documents\Visual Studio 2005\Projects\ResDesktopGtk\ResDesktopGtk\LastMinuteManager.vb:line 71
       at ResDesktopGtk.Main.Main() in C:\Documents and Settings\luke\My Documents\Visual Studio 2005\Projects\ResDesktopGtk\ResDesktopGtk\UI\Main.vb:line 84
       at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()

System.AccessViolationException was unhandled
  Message="Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
  Source="gtk-sharp"
  StackTrace:
       at Gtk.Application.gtk_main()
       at Gtk.Application.Run()
       at ResDesktopGtk.LastMinuteManager..ctor() in C:\Documents and Settings\luke\My Documents\Visual Studio 2005\Projects\ResDesktopGtk\ResDesktopGtk\LastMinuteManager.vb:line 44
       at ResDesktopGtk.Main.Main() in C:\Documents and Settings\luke\My Documents\Visual Studio 2005\Projects\ResDesktopGtk\ResDesktopGtk\UI\Main.vb:line 84
       at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()


System.AccessViolationException was unhandled
  Message="Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
  Source="glib-sharp"
  StackTrace:
       at GLib.Object.gtksharp_object_newv(IntPtr gtype, Int32 n_params, IntPtr[] names, Value[] vals)
       at GLib.Object.CreateNativeObject(String[] names, Value[] vals)
       at Gtk.Widget.CreateNativeObject(String[] names, Value[] vals)
       at Gtk.Container..ctor()
       at ResDesktopGtk.LMMWindow..ctor() in C:\Documents and Settings\luke\My Documents\Visual Studio 2005\Projects\ResDesktopGtk\ResDesktopGtk\UI\LMMWindow.vb:line 16
       at ResDesktopGtk.LastMinuteManager..ctor() in C:\Documents and Settings\luke\My Documents\Visual Studio 2005\Projects\ResDesktopGtk\ResDesktopGtk\LastMinuteManager.vb:line 21
       at ResDesktopGtk.Main.Main() in C:\Documents and Settings\luke\My Documents\Visual Studio 2005\Projects\ResDesktopGtk\ResDesktopGtk\UI\Main.vb:line 84
       at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()


System.NullReferenceException was unhandled
  Message="Object reference not set to an instance of an object."
  Source="glib-sharp"
  StackTrace:
       at GLib.Signal.OnNativeDestroy(IntPtr data, IntPtr obj)
       at GLib.Signal.g_object_set_data(IntPtr instance, IntPtr key, IntPtr data)
       at GLib.Signal.DisconnectObject()
       at GLib.Signal.RemoveDelegate(Delegate d)
       at Gtk.Object.Dispose()
       at Gtk.Bin.Finalize()
       at Gtk.ScrolledWindow.Finalize()

System.NullReferenceException was unhandled
  Message="Object reference not set to an instance of an object."
  Source="glib-sharp"
  StackTrace:
       at GLib.Signal.OnNativeDestroy(IntPtr data, IntPtr obj)
       at GLib.Signal.g_object_set_data(IntPtr instance, IntPtr key, IntPtr data)
       at GLib.Signal.DisconnectObject()
       at GLib.Signal.RemoveDelegate(Delegate d)
       at Gtk.Object.Dispose()
       at Gtk.Object.Finalize()
       at Gtk.Widget.Finalize()
       at Gtk.Container.Finalize()
       at Gtk.Bin.Finalize()
       at Gtk.ScrolledWindow.Finalize()

System.AccessViolationException was unhandled
  Message="Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
  Source="gtk-sharp"
  StackTrace:
       at Gtk.Application.gtk_main()
       at Gtk.Application.Run()
       at ResDesktopGtk.LastMinuteManager..ctor() in C:\Documents and Settings\luke\My Documents\Visual Studio 2005\Projects\ResDesktopGtk\ResDesktopGtk\LastMinuteManager.vb:line 44
       at ResDesktopGtk.Main.Main() in C:\Documents and Settings\luke\My Documents\Visual Studio 2005\Projects\ResDesktopGtk\ResDesktopGtk\UI\Main.vb:line 84
       at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()


System.NullReferenceException was unhandled
  Message="Object reference not set to an instance of an object."
  Source="glib-sharp"
  StackTrace:
       at GLib.Signal.OnNativeDestroy(IntPtr data, IntPtr obj)
       at GLib.Signal.g_object_set_data(IntPtr instance, IntPtr key, IntPtr data)
       at GLib.Signal.DisconnectObject()
       at GLib.Signal.RemoveDelegate(Delegate d)
       at Gtk.Object.Dispose()
       at Gtk.Object.Finalize()
       at Gtk.Widget.Finalize()
       at Gtk.Misc.Finalize()
       at Gtk.Label.Finalize()

System.AccessViolationException was unhandled
  Message="Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
  Source="gtk-sharp"
  StackTrace:
       at Gtk.Application.gtk_main()
       at Gtk.Application.Run()
       at ResDesktopGtk.LastMinuteManager..ctor() in C:\Documents and Settings\luke\My Documents\Visual Studio 2005\Projects\ResDesktopGtk\ResDesktopGtk\LastMinuteManager.vb:line 44
       at ResDesktopGtk.Main.Main() in C:\Documents and Settings\luke\My Documents\Visual Studio 2005\Projects\ResDesktopGtk\ResDesktopGtk\UI\Main.vb:line 84
       at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()

System.AccessViolationException was unhandled
  Message="Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
  Source="gtk-sharp"
  StackTrace:
       at Gtk.Application.gtk_main()
       at Gtk.Application.Run()
       at ResDesktopGtk.LastMinuteManager..ctor() in C:\Documents and Settings\luke\My Documents\Visual Studio 2005\Projects\ResDesktopGtk\ResDesktopGtk\LastMinuteManager.vb:line 44
       at ResDesktopGtk.Main.Main() in C:\Documents and Settings\luke\My Documents\Visual Studio 2005\Projects\ResDesktopGtk\ResDesktopGtk\UI\Main.vb:line 84
       at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()

FatalExecutionEngineError was detected
Message: The runtime has encountered a fatal error. The address of the error was at 0x7a0a4511, on thread 0x1e8. The error code is 0xc0000005. This error may be a bug in the CLR or in the unsafe or non-verifiable portions of user code. Common sources of this bug include user marshaling errors for COM-interop or PInvoke, which may corrupt the stack.


System.NullReferenceException was unhandled
  Message="Object reference not set to an instance of an object."
  Source="glib-sharp"
  StackTrace:
       at GLib.Signal.OnNativeDestroy(IntPtr data, IntPtr obj)
       at GLib.Signal.g_object_set_data(IntPtr instance, IntPtr key, IntPtr data)
       at GLib.Signal.DisconnectObject()
       at GLib.Signal.RemoveDelegate(Delegate d)
       at Gtk.Object.Dispose()
       at Gtk.Misc.Finalize()
       at Gtk.Label.Finalize()



More information about the Gtk-sharp-list mailing list