[MonoDevelop] SIGSEGV on string concat

Dan Winslow DWinslow at aiminstitute.org
Tue Apr 28 13:38:44 EDT 2009


Is there an issue with string concat in MD? The following code gets a SIGSEGV when run in the IDE, but when run from command line it does not. It seems to happen at around y=95.

	protected virtual void OnGobuttonClicked (object sender, System.EventArgs e)
	{
          String output="";
          for(int y=0;y<3000;y++)
          {
            for(int x=0;x<300;x++)
            {
              output=output+"hiyas";
              output=output+"whassup";
            }
            output="";
          }
       }

I do have the debugger addin loaded, but it happens whether I build for release or for debug.

Thanks



More information about the Monodevelop-list mailing list