[Mono-osx] Stackoverflow Exception when i call Application.Exit()

vinvinodk vinothkumar.s at jasmin-infotech.com
Wed Aug 28 13:04:51 UTC 2013


Dear All,

Its really strange for me when i call Application.Exit() when i close. I got
the below error.,

Warning: Degraded Allocation, Consider increasing nursery-size if warning
persists.
Stackoverflow in unmanaged IP..

Below lines executing many times continuosly and leads to Stack overflow...

Any help is much appreciated..

===============================================================================
at MyApp.MainWindows.MainWindows_FormClosing (System.Object sender,
System.Windows.Forms.FormClosingEventArgs e) 
 [0x00002] in 

/Users/uxteam/Documents/Workspace/PCTool/Tool-Timer/Tool/Tool/MainWindows.cs:756 
 
 at System.Windows.Forms.Form.OnFormClosing
(System.Windows.Forms.FormClosingEventArgs e) 
 [0x0001c] in 

/private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin-no-pcl/build-root/mono-3.2.0/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:3157 
 
 at System.Windows.Forms.Form.FireClosingEvents (CloseReason reason, Boolean
cancel) 
 [0x0001b] in 

/private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin-no-pcl/build-root/mono-3.2.0/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:152 
  
 at (wrapper remoting-invoke-with-check)
System.Windows.Forms.Form:FireClosingEvents
(System.Windows.Forms.CloseReason,bool)
 
 at System.Windows.Forms.Application.Exit
(System.ComponentModel.CancelEventArgs e) [0x00035] in
/private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin-no-pcl/build-root/mono-3.2.0/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:633 
 
 at System.Windows.Forms.Application.Exit () [0x00000] in
/private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin-no-pcl/build-root/mono-3.2.0/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:620 
 
 at MyApp.MainWindows.ExitApplication () [0x00011] in
/Users/uxteam/Documents/Workspace/PCTool/Tool-Timer/Tool/Tool/MainWindows.cs:744 
===============================================================================



--
View this message in context: http://mono.1490590.n4.nabble.com/Stackoverflow-Exception-when-i-call-Application-Exit-tp4660703.html
Sent from the Mono - OSX mailing list archive at Nabble.com.


More information about the Mono-osx mailing list