[Mono-bugs] [Bug 527414] New: String.Normalize throws a SystemException

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Aug 2 08:12:00 EDT 2009


           Summary: String.Normalize throws a SystemException
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.0.x
          Platform: x86-64
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: alexander at kojevnikov.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:
Gecko/2009070811 Ubuntu/9.04 (jaunty) Firefox/3.0.12 GTB5

Downstream bug: http://bugzilla.gnome.org/show_bug.cgi?id=590478

Some strings found in the wild cause String.Normalize(NormalizationForm.FormKC)
to throw an exception.

Reproducible: Always

Steps to Reproduce:
1. Run attached solution.
Actual Results:  
System.SystemException: Internal error: should not happen.
  at Mono.Globalization.Unicode.Normalization.Combine
(System.Text.StringBuilder sb, Int32 start, Int32 checkType) [0x00000] 
  at Mono.Globalization.Unicode.Normalization.Combine (System.String source,
Int32 start, Int32 checkType) [0x00000] 
  at Mono.Globalization.Unicode.Normalization.Compose (System.String source,
Int32 checkType) [0x00000] 
  at Mono.Globalization.Unicode.Normalization.Normalize (System.String source,
Int32 type) [0x00000] 
  at System.String.Normalize (NormalizationForm form) [0x00000] 
  at normalize.MainClass.Main () [0x0006b] in /tmp/normalize/Main.cs:25 

Expected Results:  
I have no idea, but at least it shouldn't throw exceptions, or the exceptions
should be documented.

The same programme doesn't crash on .NET 3.5sp1

Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list