Bug 14543 - xamarin crashes when there is a < symbol in a script element
Summary: xamarin crashes when there is a < symbol in a script element
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: ASP.Net ()
Version: 4.0.12
Hardware: Macintosh Mac OS
: Low normal
Target Milestone: master
Assignee: Bugzilla
Depends on:
Reported: 2013-09-09 03:51 UTC by david hay
Modified: 2015-09-17 09:48 UTC (History)
3 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description david hay 2013-09-09 03:51:04 UTC
In a view, I had a code segment like this:


function something() {

  ar = <some array>

  for (var i=0; i <= ar.length; i++) {
    <<do stuff here>>


when opening the file (or when scrolling the window) xamarin would completely crash. mono develop was ok.

changing the code to:

ar.forEach(function(w) {
  <<do stuff here>>

solved the problem.
Comment 1 Mikayla Hutchinson [MSFT] 2013-09-09 14:17:03 UTC
A script element in what? .html? .aspx? .cshtml?

Do you have the stack trace from the crash?
Comment 2 Matt Ward 2015-09-17 09:48:51 UTC
Unable to reproduce.