[Gtk-sharp-list] Exception on closing a window.

libin libin.mohanan at wipro.com
Mon Jun 15 06:37:00 EDT 2009

Hi jensen, 
Thanks for the input. 
I am using mono 2.0.1
But the problem is only happening when running without mono 
1. when I am running from visual studio with or without debugging 
2. When using the application installed using MSI on windows 
Using mono the application is working fine. 

From: anders.rune.jensen at gmail.com [mailto:anders.rune.jensen at gmail.com] On
Behalf Of Anders Rune Jensen
Sent: Monday, June 15, 2009 2:28 PM
To: libin
Cc: gtk-sharp-list at lists.ximian.com
Subject: Re: [Gtk-sharp-list] Exception on closing a window.


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 at wipro.com> 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,

Anders Rune Jensen

Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20090615/d9738c5c/attachment.html 

More information about the Gtk-sharp-list mailing list