URL:
<http://savann
ah.gnu.org/bugs/?19950>
Summary: DateTime.UtcNow exceptions.
Project: DotGNU Portable.NET
Submitted by: nick_lee
Submitted on: Thursday 24/05/07 at 08:38
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
When running on a multi processor system, calls to
DateTime.UtcNow can result
in the following exception:
System.ArgumentOutOfRangeException: Ticks value for DateTime
is out of range
Parameter name: Ticks
at System.DateTime..ctor(Int64) in
./System/DateTime.cs:136
at System.DateTime.get_UtcNow() in
./System/DateTime.cs:788
at PortabilityProblems.DateTimeBug.Run()
Attached code reproduces problem, but not always. Running
it repeatedly
tends to cause it to fail about 30% of the time.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Thursday 24/05/07 at 08:38 Name: DateTimeBug.cs
Size: 573B By:
nick_lee
<http://savannah.gnu.org/bugs/download.php?file_id=128
47>
_______________________________________________________
Reply to this item at:
<http://savann
ah.gnu.org/bugs/?19950>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Pnet-developers mailing list
Pnet-developers dotgnu.org
ht
tp://dotgnu.org/mailman/listinfo/pnet-developers
|