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)

See Also:
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

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).

Note You need to log in before you can comment on or make changes to this bug.