[Mono-bugs] [Bug 511234] New: Crash on loading resources with cultureinfo generated by a windows tool

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jun 9 07:56:40 EDT 2009


           Summary: Crash on loading resources with cultureinfo generated
                    by a windows tool
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: x86
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: andreas.flucke at t-online.de
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

Created an attachment (id=296935)
 --> (http://bugzilla.novell.com/attachment.cgi?id=296935)
zipped .resources file, test.cs  and complete exception (exception.txt)

User-Agent:       Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;
Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR
3.0.4506.2152; .NET CLR 3.5.30729)

When attempting to load/access a .resources file via ResourceReader which has
cultureinfo in it (generated by a windows tool), the app crashes with

System.Runtime.Serialization.SerializationException: Field
"dateTimeOffsetPattern" not found in class

See attached file(s)

Reproducible: Always

Steps to Reproduce:
1. compile and run attached file
Actual Results:  

Expected Results:  
No Exception :-)

CultureInfo is located in mscorlib, but mscorlib is not in the list.
Maybe this crash doesn't happen if the resource is created by mono, but
it points to an incompatible structure and therefore i posted it here.
(And it should be compatible of course)

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