Pokota
He/Him
Joined: 2/5/2014
Posts: 779
Partial replication. I was able to obtain this crash using Octoshock running Civilization II (USA) [D25D7ECA Civilization II [SLUS-00792].cue] by opening TAStudio only and unpausing. Virtual Pad had no bearing on the crash in separate tests. Attempting to frame-advance within TAStudio yielded an unhandled exception, followed by the aforementioned crash:
See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at BizHawk.Client.Common.TasMovie.RecordFrame(Int32 frame, IController source)
   at BizHawk.Client.Common.MovieSession.HandleFrameLoopForRecordMode()
   at BizHawk.Client.Common.MovieSession.HandleMovieOnFrameLoop()
   at BizHawk.Client.EmuHawk.MainForm.StepRunLoop_Core(Boolean force)
   at BizHawk.Client.EmuHawk.MainForm.FrameAdvance()
   at BizHawk.Client.EmuHawk.TAStudio.GoToFrame(Int32 frame)
   at BizHawk.Client.EmuHawk.TAStudio.GoToNextFrame()
   at BizHawk.Client.EmuHawk.PlaybackBox.FrameAdvanceButton_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at BizHawk.Client.EmuHawk.RepeatButton.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Also, I'm running into out of memory exceptions while attempting to test TAStudio within the context of crashing this within N64 while using Virtual Pad; checking with SM64 Chaos Edition shows 1013828K Private Bytes and 818108K Working Set as of frame 552. Disengaging TAStudio immediately resolves the memory issues (it drops to 444364K Private Bytes and 244180K Working Set). Majora's Mask crashes with an Out of Memory at Frame 479. Because of the crash I can't get a live number but pausing with TAStudio open and bringing it to frame 478 via frame advance shows 975260K Private Bytes and 786088K Working Set, and as soon as I try to advance out of 479 it crashes. Frame 479 every time, too. tl;dr: The issue seems to be with TAStudio, not with Virtual Pad. Partial replication under Octoshock. I've edited my bug reporting thread post to reflect this.
Adventures in Lua When did I get a vest?
Joined: 7/17/2012
Posts: 543
Location: Switzerland
This Pokota?
My Citra 3DS rerecording movie files test repositery: https://cutt.ly/vdM0jzl Youtube playlist "Citra Tests": https://cutt.ly/AdM0wg9 http://www.youtube.com/user/phoenix1291
Pokota
He/Him
Joined: 2/5/2014
Posts: 779
Yep. That's the one that N64 was throwing.
Adventures in Lua When did I get a vest?
Joined: 10/23/2009
Posts: 545
Location: Where?
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown. at System.IO.BinaryReader.ReadBytes(Int32 count) at BizHawk.Client.Common.TasStateManager.Load(BinaryReader br) at BizHawk.Client.Common.TasMovie.<Load>b__41(BinaryReader br, Int64 length) at BizHawk.Client.Common.BinaryStateLoader.<>c__DisplayClass4.<GetLump>b__3(Stream s, Int64 length) at BizHawk.Client.Common.BinaryStateLoader.GetLump(BinaryStateLump lump, Boolean abort, Action`2 callback) at BizHawk.Client.Common.BinaryStateLoader.GetLump(BinaryStateLump lump, Boolean abort, Action`2 callback) at BizHawk.Client.Common.TasMovie.Load(Boolean preload) at BizHawk.Client.Common.MovieSession.QueueNewMovie(IMovie movie, Boolean record, IEmulator emulator) at BizHawk.Client.EmuHawk.MainForm.StartNewMovie(IMovie movie, Boolean record) at BizHawk.Client.EmuHawk.TAStudio.StartNewMovieWrapper(Boolean record, IMovie movie) at BizHawk.Client.EmuHawk.TAStudio.HandleMovieLoadStuff(TasMovie movie) at BizHawk.Client.EmuHawk.TAStudio.LoadFile(FileInfo file) at BizHawk.Client.EmuHawk.TAStudio.OpenTasMenuItem_Click(Object sender, EventArgs e) at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e) at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e) at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met) at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met) at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.ToolStrip.WndProc(Message& m) at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
I just occured this bug. What I did: -Open Bust-a-move 2: arcade edition(Good dump according to Bizhawk) -Record a movie using TAStudio -Save Movie(Save as) -Open other games + Close Bizhawk -Open Bust-a-move 2: Arcade edition ->Open TAStudio ->Attempt to load the movie created. Note that I did not follow exactly what things I shouldn't report, what things I should report.
Joined: 10/23/2009
Posts: 545
Location: Where?
Hello programmers, I have a small question, I'd like to know what is the current state of TAStudio concerning creating a TAS movie? Is it safe or not? I'm asking this because I got a bug recently with TAStudio while recording a N64 run. So I'm not sure if it's usable or not. Niamek
Site Admin, Skilled player (1254)
Joined: 4/17/2010
Posts: 11475
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
niamek wrote:
Hello programmers, I have a small question, I'd like to know what is the current state of TAStudio concerning creating a TAS movie? Is it safe or not? I'm asking this because I got a bug recently with TAStudio while recording a N64 run. So I'm not sure if it's usable or not. Niamek
It's mostly safe, but make backups often, in case you do something far from expected. And if you report bugs, figure and out exact and reliable reproduction steps to help fixing it properly.
Warning: When making decisions, I try to collect as much data as possible before actually deciding. I try to abstract away and see the principles behind real world events and people's opinions. I try to generalize them and turn into something clear and reusable. I hate depending on unpredictable and having to make lottery guesses. Any problem can be solved by systems thinking and acting.
Joined: 10/23/2009
Posts: 545
Location: Where?
Feos, Thank you for the quick answer. :) I did one report recently, I'm not sure if you saw it, it's this one: http://tasvideos.org/forum/viewtopic.php?p=421229#421229 I'd like to know if the steps are precise enough. Honestly, I didn't note exactly how I made it, but I know I did these steps + Changing the core(mentionned in the next post) EDIT: Remembered I didn't try to reproduce it. I'll try to reproduce it soon. REDIT: Sorry, can't reproduce it.
Joined: 10/23/2009
Posts: 545
Location: Where?
Hello, Somehow I made a TAStudio file that contain no movie system Id. I'd like to know if I can add it manually to try to recuperate what I did yesterday? I can't repro how I did it sadly. I just did my movie, then saved.
Editor, Emulator Coder
Joined: 8/7/2008
Posts: 1156
yes. but it bespeaks such badness that there may be more badness.
Site Admin, Skilled player (1254)
Joined: 4/17/2010
Posts: 11475
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
niamek wrote:
Hello, Somehow I made a TAStudio file that contain no movie system Id. I'd like to know if I can add it manually to try to recuperate what I did yesterday? I can't repro how I did it sadly. I just did my movie, then saved.
This error happens for me when when the project gets corrupted during saving, so you won't even be able to open it and change the id. But please try to reproduce, this is an annoying bug I don't understand.
Warning: When making decisions, I try to collect as much data as possible before actually deciding. I try to abstract away and see the principles behind real world events and people's opinions. I try to generalize them and turn into something clear and reusable. I hate depending on unpredictable and having to make lottery guesses. Any problem can be solved by systems thinking and acting.
Player (48)
Joined: 11/2/2015
Posts: 17
Hello, I'm a new BizHawk user. I recently started a TAS of a Genesis game. I saved my project (.tasproj), and opened it a couple of times already. Today I try to open it (TAStudio > File > Open), and I get an error, can't open the file. I use BizHawk v1.11.2. Here is the error message. I hope you will understand it even with the french D: Could you help me please ?
Consultez la fin de ce message pour plus de détails sur l'appel du débogage
juste-à-temps (JIT) à la place de cette boîte de dialogue.

************** Texte de l'exception **************
System.IO.EndOfStreamException: Impossible de lire au-delà de la fin du flux.
   à System.IO.BinaryReader.FillBuffer(Int32 numBytes)
   à System.IO.BinaryReader.ReadInt32()
   à BizHawk.Client.Common.TasStateManager.Load(BinaryReader br)
   à BizHawk.Client.Common.TasMovie.<Load>b__41(BinaryReader br, Int64 length)
   à BizHawk.Client.Common.BinaryStateLoader.<>c__DisplayClass4.<GetLump>b__3(Stream s, Int64 length)
   à BizHawk.Client.Common.BinaryStateLoader.GetLump(BinaryStateLump lump, Boolean abort, Action`2 callback)
   à BizHawk.Client.Common.BinaryStateLoader.GetLump(BinaryStateLump lump, Boolean abort, Action`2 callback)
   à BizHawk.Client.Common.TasMovie.Load(Boolean preload)
   à BizHawk.Client.Common.MovieSession.QueueNewMovie(IMovie movie, Boolean record, IEmulator emulator)
   à BizHawk.Client.EmuHawk.MainForm.StartNewMovie(IMovie movie, Boolean record)
   à BizHawk.Client.EmuHawk.TAStudio.StartNewMovieWrapper(Boolean record, IMovie movie)
   à BizHawk.Client.EmuHawk.TAStudio.HandleMovieLoadStuff(TasMovie movie)
   à BizHawk.Client.EmuHawk.TAStudio.LoadFile(FileInfo file)
   à BizHawk.Client.EmuHawk.TAStudio.OpenTasMenuItem_Click(Object sender, EventArgs e)
   à System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   à System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   à System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   à System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   à System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   à System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   à System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   à System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   à System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   à System.Windows.Forms.Control.WndProc(Message& m)
   à System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   à System.Windows.Forms.ToolStrip.WndProc(Message& m)
   à System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   à System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   à System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Twitch : itsme_baruch speedrun.com : itsme_baruch YouTube : Baruch785
Site Admin, Skilled player (1254)
Joined: 4/17/2010
Posts: 11475
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
Were you able to open it recently with the same version of bizhawk, or it was a different version?
Warning: When making decisions, I try to collect as much data as possible before actually deciding. I try to abstract away and see the principles behind real world events and people's opinions. I try to generalize them and turn into something clear and reusable. I hate depending on unpredictable and having to make lottery guesses. Any problem can be solved by systems thinking and acting.
Player (48)
Joined: 11/2/2015
Posts: 17
I've always used this version, opened the project yesterday with it
Twitch : itsme_baruch speedrun.com : itsme_baruch YouTube : Baruch785
Site Admin, Skilled player (1254)
Joined: 4/17/2010
Posts: 11475
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
Upload the project somewhere. Or just unzip it and remove the Greenzone file.
Warning: When making decisions, I try to collect as much data as possible before actually deciding. I try to abstract away and see the principles behind real world events and people's opinions. I try to generalize them and turn into something clear and reusable. I hate depending on unpredictable and having to make lottery guesses. Any problem can be solved by systems thinking and acting.
Player (48)
Joined: 11/2/2015
Posts: 17
Here's the file (100 Mo) : https://www.dropbox.com/s/51btglq3v4ypk15/smurfs_wip.tasproj?dl=0 Sorry I'm a TAS beginner, how am I supposed to unzip the project ? EDIT : Nevermind, I found, let me try
Twitch : itsme_baruch speedrun.com : itsme_baruch YouTube : Baruch785
Player (48)
Joined: 11/2/2015
Posts: 17
Here is the file without the Greenzone : https://www.dropbox.com/s/m6iq2niwi8p7p7c/smurfs_wip.zip?dl=0 I don't understand what the Greenzone file is :o
Twitch : itsme_baruch speedrun.com : itsme_baruch YouTube : Baruch785
Player (48)
Joined: 11/2/2015
Posts: 17
I guess you're asking me to unzip the project, remove the greenzone file, then zip it, and try to load it with TAStudio ? I don't know how to zip it again, what format is it ?
Twitch : itsme_baruch speedrun.com : itsme_baruch YouTube : Baruch785
Site Admin, Skilled player (1254)
Joined: 4/17/2010
Posts: 11475
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
Well, I meant you need to just open it as an archive and remove the Greenzone, no need to unpack and pack again. And yes, you should try loading it to tastudio then.
Warning: When making decisions, I try to collect as much data as possible before actually deciding. I try to abstract away and see the principles behind real world events and people's opinions. I try to generalize them and turn into something clear and reusable. I hate depending on unpredictable and having to make lottery guesses. Any problem can be solved by systems thinking and acting.
Player (48)
Joined: 11/2/2015
Posts: 17
Yes it works ! Thank you so much :) Could you explain me what information is stored in the greenzone file please ?
Twitch : itsme_baruch speedrun.com : itsme_baruch YouTube : Baruch785
Site Admin, Skilled player (1254)
Joined: 4/17/2010
Posts: 11475
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
Usually it holds your savestates, but after some version branch states and current branch were added in the end. And then they were moved to different files. But I have no idea what went wrong for you, since you used the same version, and don't know what steps have caused the bug.
Warning: When making decisions, I try to collect as much data as possible before actually deciding. I try to abstract away and see the principles behind real world events and people's opinions. I try to generalize them and turn into something clear and reusable. I hate depending on unpredictable and having to make lottery guesses. Any problem can be solved by systems thinking and acting.
Player (48)
Joined: 11/2/2015
Posts: 17
Ok, thank you :)
Twitch : itsme_baruch speedrun.com : itsme_baruch YouTube : Baruch785
Site Admin, Skilled player (1254)
Joined: 4/17/2010
Posts: 11475
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
In future, drop everything after the "Texte de l'exception" paragraph from your paste.
Warning: When making decisions, I try to collect as much data as possible before actually deciding. I try to abstract away and see the principles behind real world events and people's opinions. I try to generalize them and turn into something clear and reusable. I hate depending on unpredictable and having to make lottery guesses. Any problem can be solved by systems thinking and acting.
Joined: 11/20/2015
Posts: 6
EDIT: Removed Loaded Assemblies. I try to open TASStudio and there's wierd crash thingy. BizHawk is still there though:
See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at BizHawk.Client.EmuHawk.TAStudio.BranchesMarkersSplit_SplitterMoved(Object sender, SplitterEventArgs e)
   at System.Windows.Forms.SplitContainer.OnSplitterMoved(SplitterEventArgs e)
   at System.Windows.Forms.SplitContainer.set_SplitterDistance(Int32 value)
   at System.Windows.Forms.SplitContainer.ApplySplitterDistance()
   at System.Windows.Forms.SplitContainer.ResizeSplitContainer()
   at System.Windows.Forms.SplitContainer.OnLayout(LayoutEventArgs e)
   at System.Windows.Forms.Control.PerformLayout(LayoutEventArgs args)
   at System.Windows.Forms.Control.System.Windows.Forms.Layout.IArrangedElement.PerformLayout(IArrangedElement affectedElement, String affectedProperty)
   at System.Windows.Forms.Control.Scale(SizeF includedFactor, SizeF excludedFactor, Control requestingControl)
   at System.Windows.Forms.ContainerControl.Scale(SizeF includedFactor, SizeF excludedFactor, Control requestingControl)
   at System.Windows.Forms.Control.ScaleChildControls(SizeF includedFactor, SizeF excludedFactor, Control requestingControl)
   at System.Windows.Forms.Control.Scale(SizeF includedFactor, SizeF excludedFactor, Control requestingControl)
   at System.Windows.Forms.ContainerControl.OnChildLayoutResuming(Control child, Boolean performLayout)
   at System.Windows.Forms.ContainerControl.OnChildLayoutResuming(Control child, Boolean performLayout)
   at System.Windows.Forms.Control.OnLayoutResuming(Boolean performLayout)
   at System.Windows.Forms.Control.ResumeLayout(Boolean performLayout)
   at BizHawk.Client.EmuHawk.TAStudio.InitializeComponent()
   at BizHawk.Client.EmuHawk.TAStudio..ctor()
   --- End of inner exception stack trace ---
   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at System.Activator.CreateInstance(Type type)
   at BizHawk.Client.EmuHawk.ToolManager.CreateInstance(Type toolType)
   at BizHawk.Client.EmuHawk.ToolManager.Load(Type toolType, Boolean focus)
   at BizHawk.Client.EmuHawk.ToolManager.Load[T](Boolean focus)
   at BizHawk.Client.EmuHawk.MainForm.TAStudioMenuItem_Click(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Site Admin, Skilled player (1254)
Joined: 4/17/2010
Posts: 11475
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
Exact reproduction steps? Also, "Loaded Assemblies" aren't needed.
Warning: When making decisions, I try to collect as much data as possible before actually deciding. I try to abstract away and see the principles behind real world events and people's opinions. I try to generalize them and turn into something clear and reusable. I hate depending on unpredictable and having to make lottery guesses. Any problem can be solved by systems thinking and acting.
Joined: 11/20/2015
Posts: 6
Just load an unedited American SMW rom and open TASStudio. You get a weird error text box crash thing instead of a massive table of inputs (what I think TASStudio looks like).