Bug 2422 - OpenTK.FrameEventArgs.set_Time crash
Summary: OpenTK.FrameEventArgs.set_Time crash
Status: RESOLVED FIXED
Alias: None
Product: Android
Classification: Xamarin
Component: Mono runtime / AOT Compiler ()
Version: 4.0
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2011-12-08 12:01 UTC by Warren Burch
Modified: 2012-04-25 12:05 UTC (History)
4 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Warren Burch 2011-12-08 12:01:41 UTC
NOTE: Originally Bug 1366 for iOS, also reproduces in Android.



This is happening in MonoDroid too (latest 4.0 version included)

here is my log

12-04 19:26:13.527: DEBUG/AlarmManagerService(1241): Kernel timezone updated
to 480 minutes west of GMT
12-04 19:26:13.528: ERROR/mono(10469): Unhandled Exception:
System.ArgumentOutOfRangeException: Argument is out of range.
12-04 19:26:13.528: ERROR/mono(10469):   at OpenTK.FrameEventArgs.set_Time
(Double value) [0x00000] in <filename unknown>:0 
12-04 19:26:13.528: ERROR/mono(10469):   at
OpenTK.Platform.Android.AndroidGameView.RunIteration () [0x00000] in
<filename unknown>:0 
12-04 19:26:13.528: ERROR/mono(10469):   at
OpenTK.Platform.Android.RepeatTimerTask.Run () [0x00000] in <filename
unknown>:0 
12-04 19:26:13.528: ERROR/mono(10469):   at Java.Util.TimerTask.n_Run
(IntPtr jnienv, IntPtr native__this) [0x00000] in <filename unknown>:0 
12-04 19:26:13.528: ERROR/mono(10469):   at (wrapper dynamic-method)
object:471a68b4-99d6-4090-9cfd-02875fff5ba9 (intptr,intptr)
12-04 19:26:13.534: DEBUG/SystemClock(1334): Setting time of day to
sec=1323055573
12-04 19:26:13.645: DEBUG/AudioHardwareMot(1138):
AudioStreamOutMot::setParameters() fm_attenuate=0;fm_mute=0
12-04 19:26:13.653: WARN/Parcel(1138): **** enforceInterface() expected
'android.media.IAudioTrack' but read '䂀^'

Can I get a rebuilt OpenTK for Android with this bug addressed? It is
preventing me from releasing my application.
Thanks
Comment 1 Timo 2012-01-03 12:30:57 UTC
I have the same problem. But it only happens on my low end device with bad framerate (Huawei X3). It never happened on my Sony Xperia Play.
Comment 2 Nikita Kareev 2012-02-29 03:42:30 UTC
Also having the same issue:

02-28 20:28:05.530: I/MonoDroid(18402): <!>opentk.platform.android.RepeatTimerTask -2<!> UNHANDLED EXCEPTION: System.ArgumentOutOfRangeException: Argument is out of range.
02-28 20:28:05.530: I/MonoDroid(18402): at OpenTK.FrameEventArgs.set_Time (double) <0x0003c>
02-28 20:28:05.530: I/MonoDroid(18402): at OpenTK.Platform.Android.AndroidGameView.RunIteration () <0x00443>
02-28 20:28:05.530: I/MonoDroid(18402): at OpenTK.Platform.Android.RepeatTimerTask.Run () <0x00023>
02-28 20:28:05.530: I/MonoDroid(18402): at Java.Util.TimerTask.n_Run (intptr,intptr) <0x00037>
02-28 20:28:05.530: I/MonoDroid(18402): at (wrapper dynamic-method) object.fd1579f6-6265-4c25-b500-5b9f8c2a586d (intptr,intptr) <0x0002b>
02-28 20:28:05.590: E/mono(18402): Unhandled Exception: System.ArgumentOutOfRangeException: Argument is out of range.
02-28 20:28:05.590: E/mono(18402):   at OpenTK.FrameEventArgs.set_Time (Double value) [0x00000] in <filename unknown>:0 
02-28 20:28:05.590: E/mono(18402):   at OpenTK.Platform.Android.AndroidGameView.RunIteration () [0x00000] in <filename unknown>:0 
02-28 20:28:05.590: E/mono(18402):   at OpenTK.Platform.Android.RepeatTimerTask.Run () [0x00000] in <filename unknown>:0 
02-28 20:28:05.590: E/mono(18402):   at Java.Util.TimerTask.n_Run (IntPtr jnienv, IntPtr native__this) [0x00000] in <filename unknown>:0 
02-28 20:28:05.590: E/mono(18402):   at (wrapper dynamic-method) object:fd1579f6-6265-4c25-b500-5b9f8c2a586d (intptr,intptr)

Can we hope for a fix in the next release?
Comment 3 Nikita Kareev 2012-02-29 03:47:20 UTC
I'm using MfA 4.0.3, phone model is LG-P500, Android 2.3.3
Comment 4 Andreia Gaita 2012-04-25 12:05:04 UTC
Fixed on mfa/a88db420 , will be included in the next releases