DotGNU Portable.NET - Bugs: bug #19950, DateTime.UtcNow exceptions.
You are not allowed to post comments on this tracker with your current authentication level.
bug #19950: DateTime.UtcNow exceptions.
Submitter: | Nick Lee <nick_lee> | ||
Submitted: | Thu 24 May 2007 08:38:03 AM UTC | ||
Category: | None | Severity: | 3 - Normal |
Item Group: | None | Status: | None |
Privacy: | Public | Assigned to: | None |
Open/Closed: | Open |
Attached Files
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follows 1 latest change.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2007-05-24 | nick_lee | Attached File | - | Added DateTimeBug.cs, #12847 |
Powered by Savane 3.13-f8d8.
Corresponding source code
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.