rfht / fnaify

Run FNA/XNA games on OpenBSD - DEPRECATED! Check out the successor: https://github.com/IndieRunner/IndieRunner
https://www.PlayOnBSD.com
ISC License
36 stars 2 forks source link

mono 6.10: System.String.Remove: StartIndex cannot be less than zero #46

Open rfht opened 4 years ago

rfht commented 4 years ago

breaks Game Type:

Controller 0: XBox360 Controller
IGLDevice: OpenGLDevice
OpenGL Device: Mesa DRI Intel(R) UHD Graphics (Comet Lake 3x8 GT2) 
OpenGL Driver: 3.0 Mesa 19.2.8
OpenGL Vendor: Intel Open Source Technology Center
MojoShader Profile: glsl120
EXT_swap_control_tear unsupported. Fall back to standard VSync.
Audio loading. GCMem: 8784576

Audio finished loading. GCMem: 16251480

IGLDevice: OpenGLDevice
OpenGL Device: Mesa DRI Intel(R) UHD Graphics (Comet Lake 3x8 GT2) 
OpenGL Driver: 3.0 Mesa 19.2.8
OpenGL Vendor: Intel Open Source Technology Center
MojoShader Profile: glsl120
EXT_swap_control_tear unsupported. Fall back to standard VSync.

Unhandled Exception:
System.ArgumentOutOfRangeException: StartIndex cannot be less than zero.
Parameter name: startIndex
  at System.String.Remove (System.Int32 startIndex) [0x00004] in <2571c3bf945d467593e54e49d871d815>:0 
  at CrashDebugGame.Draw (Microsoft.Xna.Framework.GameTime gameTime) [0x00099] in <a969ce21ece14465a48ab55d3d6b5476>:0 
  at Microsoft.Xna.Framework.Game.Tick () [0x0028d] in <6199c9477cd64a7dbea28b924b7db101>:0 
  at Microsoft.Xna.Framework.SDL2_FNAPlatform.RunLoop (Microsoft.Xna.Framework.Game game) [0x00800] in <6199c9477cd64a7dbea28b924b7db101>:0 
  at Microsoft.Xna.Framework.Game.Run () [0x00037] in <6199c9477cd64a7dbea28b924b7db101>:0 
  at Program.Main (System.String[] args) [0x000b9] in <a969ce21ece14465a48ab55d3d6b5476>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentOutOfRangeException: StartIndex cannot be less than zero.
Parameter name: startIndex
  at System.String.Remove (System.Int32 startIndex) [0x00004] in <2571c3bf945d467593e54e49d871d815>:0 
  at CrashDebugGame.Draw (Microsoft.Xna.Framework.GameTime gameTime) [0x00099] in <a969ce21ece14465a48ab55d3d6b5476>:0 
  at Microsoft.Xna.Framework.Game.Tick () [0x0028d] in <6199c9477cd64a7dbea28b924b7db101>:0 
  at Microsoft.Xna.Framework.SDL2_FNAPlatform.RunLoop (Microsoft.Xna.Framework.Game game) [0x00800] in <6199c9477cd64a7dbea28b924b7db101>:0 
  at Microsoft.Xna.Framework.Game.Run () [0x00037] in <6199c9477cd64a7dbea28b924b7db101>:0 
  at Program.Main (System.String[] args) [0x000b9] in <a969ce21ece14465a48ab55d3d6b5476>:0 
rfht commented 4 years ago

breaks Explosionade:

NOTE: if game should unexpectedly fail to start, make sure datasize limit is high enough. AT LEAST 2G are recommended for most games. See ksh(1) for ulimit command documentation
Controller 0: XBox360 Controller
IGLDevice: OpenGLDevice
OpenGL Device: Mesa DRI Intel(R) UHD Graphics (Comet Lake 3x8 GT2) 
OpenGL Driver: 3.0 Mesa 19.2.8
OpenGL Vendor: Intel Open Source Technology Center
MojoShader Profile: glsl120
EXT_swap_control_tear unsupported. Fall back to standard VSync.
Audio loading. GCMem: 7603024

Audio finished loading. GCMem: 35234328

IGLDevice: OpenGLDevice
OpenGL Device: Mesa DRI Intel(R) UHD Graphics (Comet Lake 3x8 GT2) 
OpenGL Driver: 3.0 Mesa 19.2.8
OpenGL Vendor: Intel Open Source Technology Center
MojoShader Profile: glsl120
EXT_swap_control_tear unsupported. Fall back to standard VSync.

Unhandled Exception:
System.ArgumentOutOfRangeException: StartIndex cannot be less than zero.
Parameter name: startIndex
  at System.String.Remove (System.Int32 startIndex) [0x00004] in <2571c3bf945d467593e54e49d871d815>:0 
  at CrashDebugGame.Draw (Microsoft.Xna.Framework.GameTime gameTime) [0x00099] in <3b32f1c76a6b474798cb9449035f29e1>:0 
  at Microsoft.Xna.Framework.Game.Tick () [0x0028d] in <36e5a90e12ad49b3bfbbf66b82740466>:0 
  at Microsoft.Xna.Framework.SDL2_FNAPlatform.RunLoop (Microsoft.Xna.Framework.Game game) [0x00800] in <36e5a90e12ad49b3bfbbf66b82740466>:0 
  at Microsoft.Xna.Framework.Game.Run () [0x00037] in <36e5a90e12ad49b3bfbbf66b82740466>:0 
  at Program.Main (System.String[] args) [0x000b9] in <3b32f1c76a6b474798cb9449035f29e1>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentOutOfRangeException: StartIndex cannot be less than zero.
Parameter name: startIndex
  at System.String.Remove (System.Int32 startIndex) [0x00004] in <2571c3bf945d467593e54e49d871d815>:0 
  at CrashDebugGame.Draw (Microsoft.Xna.Framework.GameTime gameTime) [0x00099] in <3b32f1c76a6b474798cb9449035f29e1>:0 
  at Microsoft.Xna.Framework.Game.Tick () [0x0028d] in <36e5a90e12ad49b3bfbbf66b82740466>:0 
  at Microsoft.Xna.Framework.SDL2_FNAPlatform.RunLoop (Microsoft.Xna.Framework.Game game) [0x00800] in <36e5a90e12ad49b3bfbbf66b82740466>:0 
  at Microsoft.Xna.Framework.Game.Run () [0x00037] in <36e5a90e12ad49b3bfbbf66b82740466>:0 
  at Program.Main (System.String[] args) [0x000b9] in <3b32f1c76a6b474798cb9449035f29e1>:0 
rfht commented 4 years ago

The stack trace is identical. This may be an issue in Microsoft.Xna.Framework.Game.dll rather than the individual games.