Yup. One of the most complex bug I ever fixed was caused by a race condition. It took me 2 weeks to investigate and fix it. The final result was a couple of lines (like 5).
On the race condition, that was actually pretty easy to diagnose and solve, replaced the static property with a local getter/setter using the request context to store the value (asp.net 2.0).