Wednesday, December 31, 2008

Frozen Zunes

The cause of the Zune freezes seems to be an infinite loop in the clock driver’s handling of leap years (via Greg Titus). This looks like the sort of bug that could be detected via static analysis.

Update (2009-01-05): More analysis of the bug and possible fixes.

2 Comments RSS · Twitter

Also seems like a good edge case that should be tested for with unit testing.

Does anyone expect one of these things to be operating in 4 years when the bug hits again?

Leave a Comment