Bug 44909 - ASP.NET crash if there are CamelCased identifier with non ASCII chararters
Summary: ASP.NET crash if there are CamelCased identifier with non ASCII chararters
Status: NEW
Alias: None
Product: Class Libraries
Classification: Mono
Component: System.Web (show other bugs)
Version: 4.2.1 (C6SR0)
Hardware: PC Linux
: --- normal
Target Milestone: Community
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-09-30 07:34 UTC by kuzkok
Modified: 2016-11-10 13:37 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: Yes
Last known good build: 3.2.8


Attachments
testAsp (4.50 KB, application/x-compressed)
2016-09-30 07:34 UTC, kuzkok
Details
A C# code file generated from ASPX by Mono 4.0.30319.17020. (10.00 KB, text/plain)
2016-11-10 13:35 UTC, Alexander Elyseev
Details
A C# code file generated from ASPX by Mono 4.6.57.0. (10.19 KB, text/plain)
2016-11-10 13:37 UTC, Alexander Elyseev
Details


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 for Bug 44909 on GitHub or Developer Community if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: GitHub Markdown or Developer Community HTML
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
NEW

Description kuzkok 2016-09-30 07:34:54 UTC
Created attachment 17818 [details]
testAsp

In attached application when click on button:

Application Exception
System.NullReferenceException
Object reference not set to an instance of an object

Description: HTTP 500.Error processing request.

Details: Non-web exception. Exception origin (name of application or object): TestASP.NET.
Exception stack trace:
  at TestASP.NET.Default.button2Clicked (System.Object sender, System.EventArgs args) [0x0000c] in /home/al/projects/mono/TestASP.NET/TestASP.NET/Default.aspx.cs:12 
  at System.Web.UI.WebControls.Button.OnClick (System.EventArgs e) [0x00027] in <filename unknown>:0 
  at System.Web.UI.WebControls.Button.RaisePostBackEvent (System.String eventArgument) [0x00031] in <filename unknown>:0 
  at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent (System.String eventArgument) [0x00000] in <filename unknown>:0 
  at System.Web.UI.Page.RaisePostBackEvent (IPostBackEventHandler sourceControl, System.String eventArgument) [0x00000] in <filename unknown>:0 
  at System.Web.UI.Page.RaisePostBackEvents () [0x00024] in <filename unknown>:0 
  at System.Web.UI.Page.ProcessRaiseEvents () [0x0005b] in <filename unknown>:0 
  at System.Web.UI.Page.InternalProcessRequest () [0x001c5] in <filename unknown>:0 
  at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00062] in <filename unknown>:0 

Error in 4.2.1.102+dfsg2-7ubuntu4,
But in 3.2.8+dfsg-4ubuntu1.1 is not
Comment 1 kuzkok 2016-09-30 10:39:55 UTC
Also repeating in latest 4.6.1.3-0xamarin1
Comment 2 Alexander Elyseev 2016-11-10 13:35:04 UTC
Created attachment 18409 [details]
A C# code file generated from ASPX by Mono 4.0.30319.17020.

Field with cyrillic ID hasn't been generated (protected global::System.Web.UI.WebControls.Button buttonОдин).
It works correctly because the field exists in the base class (code behind class global::asp1.Default).
Comment 3 Alexander Elyseev 2016-11-10 13:37:37 UTC
Created attachment 18410 [details]
A C# code file generated from ASPX by Mono 4.6.57.0.

Field with cyrillic ID has been generated (protected global::System.Web.UI.WebControls.Button buttonОдин).
It doesn't work properly because the field overlap the filed from the base class (global::asp1.Default).