[Mono-bugs] [Bug 464221] The mojoPortal CSS is not getting sent to the client sometimes

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jun 10 03:48:22 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=464221

User mhabersack at novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=464221#c25





--- Comment #25 from Marek Habersack <mhabersack at novell.com>  2009-06-10 01:48:19 MDT ---
(In reply to comment #24)
> This is happening again with mojoportal-2.2.7.9-8.2 running on opensuse 11.1
> x86_64 with mono-2.4.2p1.  Reopening.
I can't reproduce it - tried for around 30 minutes, not happening here. Marc,
could you try to get the stack trace (if any) the way you did in comment 14? It
might be that we're still getting similar error to what was fixed in comment
11.

The code in question (assuming it's the same spot shown in the comment 14 stack
trace) is:

if (it.SlidingExpiration != NoSlidingExpiration) {
 it.AbsoluteExpiration = DateTime.Now + it.SlidingExpiration;
  // Cast to long is ok since we know that sliding expiration
  // is less than 365 days (31536000000ms)
 it.Timer.Change ((long)it.SlidingExpiration.TotalMilliseconds,
Timeout.Infinite);
}

TimeSpan.TotalMilliseconds being a double, it can result in dueTime parameter
to Timer.Change (http://msdn.microsoft.com/en-us/library/7hs7492w.aspx) being <
1 if TotalMilliseconds value is > 9223372036854775807 for some weird reason. If
that is the case, the fix will be easy.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list