What was the worst bug you've ever solved ?
sdave: most embrarrasing:" #define INTERVAL 10 * 86400 "read the above 'C' statement. 
Yeah, there are no brackets surrounding the '10*86400', INTERVAL was being used in some calculations.i wasted a lot of time debugging this crap.