« Return to Thread: Exception on closing a window.

Re: Exception on closing a window.

by Anders Rune Jensen-3 :: Rate this Message:

Reply to Author | View in Thread

Hi 

I this using mono 2.0? I had a similar problem and upgrading to mono 2.4 fixed the problem.

On Mon, Jun 15, 2009 at 10:39 AM, libin <libin.mohanan@...> wrote:
Dear All,
 
I am getting an exception while closing a child window using 'X' button of the window.
The whole application is crashing after giving the following messages.
Interestingly, this is only happening when running the application using .net framework and not when running the application using mono.
 
We suspected some 'Dispose()' code in the OnDeleteEvent, but it is happening even if I comment the whole code inside OnDeleteEvent.
 
Message: "Attempted to read or write protected memory. This is often an indication that other memory is corrupt." 
 
Source: glib-sharp
 
Stack Trace:
 
   at GLib.Object.PerformQueuedUnrefs()
   at GLib.Timeout.TimeoutProxy.Handler()
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at LmEdit.LmEdit.Main() in D:\Lm_Edit\src\common\LmEdit.cs:line 49
 
Any help  would be highly appreciated.
 
Many Thanks,
 
Libin


--
Anders Rune Jensen
http://people.iola.dk/arj/

_______________________________________________
Gtk-sharp-list maillist  -  Gtk-sharp-list@...
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

 « Return to Thread: Exception on closing a window.