a65090482 / bizhawk

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

Forcing playback of an invalid movie to play causes crash #246

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open a ROM.  I chose Sega CD.
2. Attempt to play a movie file for another game and system.  I chose M.U.L.E. 
for NES.
3. Press OK.
3. Error message appears.
4. Press continue on the Error exception.
5. Press cancel on the Load Movie dialog.
6. EmuHawk crashes.

What is the expected output? What do you see instead?
I get a message box with the message:
"System.NullReferenceException: Object reference not set to an instance of an 
object.
   at BizHawk.Client.Common.MovieSession.HandleMovieOnFrameLoop()
   at BizHawk.Client.EmuHawk.MainForm.StepRunLoop_Core()
   at BizHawk.Client.EmuHawk.MainForm.ProgramRunLoop()
   at BizHawk.Client.EmuHawk.Program.SubMain(String[] args)

StackTrace:
   at BizHawk.Client.Common.MovieSession.HandleMovieOnFrameLoop()
   at BizHawk.Client.EmuHawk.MainForm.StepRunLoop_Core()
   at BizHawk.Client.EmuHawk.MainForm.ProgramRunLoop()
   at BizHawk.Client.EmuHawk.Program.SubMain(String[] args)"

EmuHawk crashes after the error message.

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

Original issue reported on code.google.com by hegyak on 13 Aug 2014 at 12:28

GoogleCodeExporter commented 9 years ago
Behavior changed in r7602.  I'm not sure what we can do "better" here, but at 
least now you know why it crashed.

Original comment by goyu...@gmail.com on 15 Aug 2014 at 5:51

GoogleCodeExporter commented 9 years ago

Original comment by goyu...@gmail.com on 15 Aug 2014 at 6:22