GovanifY / bizhawk

Automatically exported from code.google.com/p/bizhawk
0 stars 0 forks source link

Malformed Movie Input will Crash EmuHawk #298

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open Gun.Smoke (NES)
2. Open the Movie File I attached.
3. Watch the crash

What is the expected output? What do you see instead?
Error appears around 70 Frames.

System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at BizHawk.Client.Common.Bk2ControllerAdapter.SetControllersAsMnemonic(String mnemonic)
   at BizHawk.Client.Common.Bk2Movie.GetInputState(Int32 frame)
   at BizHawk.Client.Common.MovieSession.LatchInputFromLog()
   at BizHawk.Client.Common.MovieSession.HandleMovieOnFrameLoop()
   at BizHawk.Client.EmuHawk.MainForm.StepRunLoop_Core(Boolean force)
   at BizHawk.Client.EmuHawk.MainForm.ProgramRunLoop()
   at BizHawk.Client.EmuHawk.Program.SubMain(String[] args)

StackTrace:
   at BizHawk.Client.Common.Bk2ControllerAdapter.SetControllersAsMnemonic(String mnemonic)
   at BizHawk.Client.Common.Bk2Movie.GetInputState(Int32 frame)
   at BizHawk.Client.Common.MovieSession.LatchInputFromLog()
   at BizHawk.Client.Common.MovieSession.HandleMovieOnFrameLoop()
   at BizHawk.Client.EmuHawk.MainForm.StepRunLoop_Core(Boolean force)
   at BizHawk.Client.EmuHawk.MainForm.ProgramRunLoop()
   at BizHawk.Client.EmuHawk.Program.SubMain(String[] args)

What version of the product are you using? On what operating system?
r8093

Please provide any additional information below.
I did this intentionally.  This should NOT and will not happen normally.

Original issue reported on code.google.com by hegyak on 21 Oct 2014 at 4:22

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by andres.d...@gmail.com on 21 Oct 2014 at 4:34