[Mono-bugs] [Bug 686045] New: iPhoneOSGameView passes incorrect values to OpenTK.FrameEventArgs.set_Time

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Apr 7 16:47:27 EDT 2011


https://bugzilla.novell.com/show_bug.cgi?id=686045

https://bugzilla.novell.com/show_bug.cgi?id=686045#c0


           Summary: iPhoneOSGameView passes incorrect values to
                    OpenTK.FrameEventArgs.set_Time
    Classification: Mono
           Product: MonoTouch
           Version: SVN
          Platform: iPhone
        OS/Version: Apple iOS 4.2
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: Runtime
        AssignedTo: gnorton at novell.com
        ReportedBy: Dominique at SavageSoftware.com.au
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0)
Gecko/20100101 Firefox/4.0

iPhoneOSGameView passes incorrect values to OpenTK.FrameEventArgs.set_Time
which then causes an ArgumentOutOfBounds exception. 

The call trace is NSDispatcher -> iPhoneOSGameView.RunIteration ->
OpenTK.FrameEventArgs.set_Time (argument out of bounds)

This appears to happen when a server time update (NITZ) is received. If I turn
off time updates, it doesn't crash.  If I watch the console, crashes happen
when the phone starts getting time updates, otherwise everything is fine. 

Reproducible: Always

Steps to Reproduce:
1. Watch the values being set to OpenTK.FrameEventArgs.set_Time
2. When a (NITZ) server time update is received, an ArgumentOutOfBounds error
is thrown.
Actual Results:  
A crash may occur or any game using the time value will behave incorrectly.

Expected Results:  
Same as above.

-- 
Configure bugmail: https://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