[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pnet-developers] [bug #20201] Xml Serializer throws exception on multi-
From: |
Nick Lee |
Subject: |
[Pnet-developers] [bug #20201] Xml Serializer throws exception on multi-processor systems |
Date: |
Mon, 18 Jun 2007 08:40:25 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4 |
URL:
<http://savannah.gnu.org/bugs/?20201>
Summary: Xml Serializer throws exception on multi-processor
systems
Project: DotGNU Portable.NET
Submitted by: nick_lee
Submitted on: Monday 18/06/07 at 08:40
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
Repeated use of XmlSerializer causes an exception to be thrown in a thread
not owned by calling code. Exception is thrown at different points in
execution each time, but an example output from the attached test case is as
follows:
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 System.FormatException: Value
must be formatted as an integer
at System.Private.NumberParser.ParseNumber(String, NumberStyles,
NumberFormatInfo, UInt64&, Boolean&) in ./System/Private/NumberParser.cs:418
at System.Private.NumberParser.ParseInt32(String, NumberStyles,
NumberFormatInfo, Int32) in ./System/Private/NumberParser.cs:621
at System.Int32.Parse(String, NumberStyles, IFormatProvider) in
./System/Int32.cs:78
at System.Int32.Parse(String) in ./System/Int32.cs:83
at
System.CodeDom.Compiler.CodeCompiler.ProcessCompilerOutputLine(String) in
./CodeDom/Compiler/CodeCompiler.cs:371
at
System.CodeDom.Compiler.CSharpCodeCompiler.ProcessCompilerOutputLine(CompilerResults,
String) in ./CodeDom/Compiler/CSharpCodeCompiler.cs:261
at
System.CodeDom.Compiler.CodeCompiler.FromFileBatch(CompilerParameters,
String[]) in ./CodeDom/Compiler/CodeCompiler.cs:173
at System.CodeDom.Compiler.CodeCompiler.FromFile(CompilerParameters,
String) in ./CodeDom/Compiler/CodeCompiler.cs:121
at
System.CodeDom.Compiler.CodeCompiler.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromFile(CompilerParameters,
String) in ./CodeDom/Compiler/CodeCompiler.cs:495
at
System.Xml.Serialization.XmlSerializer.RunSerializerGenerationAux(Object) in
./Serialization/XmlSerializer.cs:537
at
System.Xml.Serialization.XmlSerializer.RunSerializerGeneration(Object) in
./Serialization/XmlSerializer.cs:482
at System.Threading.WaitCallback.Invoke(Object)
at System.Threading.WorkItem.Execute() in
./System/Threading/ThreadPool.cs:576
at System.Threading.ThreadPool.Work() in
./System/Threading/ThreadPool.cs:320
This doesn't appear to happen on single processor machines.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Monday 18/06/07 at 08:40 Name: exception.txt Size: 2kB By: nick_lee
<http://savannah.gnu.org/bugs/download.php?file_id=13088>
-------------------------------------------------------
Date: Monday 18/06/07 at 08:40 Name: Class1.cs Size: 785B By: nick_lee
<http://savannah.gnu.org/bugs/download.php?file_id=13089>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?20201>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Pnet-developers] [bug #20201] Xml Serializer throws exception on multi-processor systems,
Nick Lee <=