[Mono-bugs] [Bug 81183][Nor] New - Modified assembly(Windows Application) crashes after using Cecil.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Mar 19 08:54:49 EDT 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by ta-ishida at jp.fujitsu.com.

http://bugzilla.ximian.com/show_bug.cgi?id=81183

--- shadow/81183	2007-03-19 07:54:49.000000000 -0500
+++ shadow/81183.tmp.26883	2007-03-19 07:54:49.000000000 -0500
@@ -0,0 +1,62 @@
+Bug#: 81183
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: Windows XP SP2
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Mono.Cecil
+AssignedTo: mono at evain.net                            
+ReportedBy: ta-ishida at jp.fujitsu.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Modified assembly(Windows Application) crashes after using Cecil.
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+
+Description of Problem:
+[PROBLEM]
+When we load an exisiting assembly using Cecil and save the modified
+assembly (renaming it) 
+for the Windows application described below, the application crashes when
+executed.
+
+[WINDOWS APPLICATION]
+The Form contains a DataGridView(Category:Common).
+For the property named "HeaderText" on the DataGridView, we used character
+strings that begin with the following characters:
+(E980A2 or E98791 or E98A80 in UTF-8).
+
+Steps to reproduce the problem:
+1. Create a Windows Application as described above.
+2. Load existing assembly(The exe file of the WindowsApplication(We used
+D:\test\WindowsAppli.exe)) from its filepath using
+Mono.Cecil.AssemblyFactory.GetAssembly(string).
+3. Save the modified, renamed assembly using
+AssmeblyFactory.SaveAssembly(AssemblyDefinition, string).
+(We used D:\test\WindowsApplication.exe)
+4. Execute the newly created WindowsApplication.exe.
+
+Actual Results:
+The Windows Application crashes when executed.
+The application seems to crash at the place where we set values to the
+HeaderText property in the Designer.cs class.
+
+Expected Results:
+The Windows Application is executed properly and does not crash.
+
+How often does this happen? 
+Every time.
+
+Additional Information:
+
+[OPERATING ENVIRONMENT]
+Windows XP SP2
+Microsoft Visual C# 2005 Express Edition
+.NetFramework2.0
+Cecil 0.4.3


More information about the mono-bugs mailing list