Check for missing causes crash

Deathwish

24-11-2008 01:23:09

Hi,

Version 2.1.0b5 when I use the "Check" button under Missing it prompts for Ignore/Create/Retry etc, if I choose Ignore Always I get a JIT debug crash.


************** Exception Text **************
System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Enumerator.MoveNext()
at TVRename.TVDoc.UpToDateCheck(ShowItem si)
at TVRename.TVDoc.DoMissingCheck(ProgressBar pbProgress)
at TVRename.UI.bnDoMissingCheck_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.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)


This only seems to happen when it is scanning for Season 4 for CSI: Crime Scene Investigation ! If I create the Season 4 folder and re-scan it passes no problem.

Very strange!

sstteevvee

24-11-2008 10:59:47

Hi.. Thanks for letting me know.

I'll have it fixed for the next release, which will be out in a few days. In the meantime, workarounds to try are:
- Check to see if the show has a base folder set. If not, either set one, or turn off the "automatic folder" option.
- Manually add the season(s) to the list to ignore.
- Unchecking the checkbox that tells it to do either a missing or rename check for the show.

In this case, when you get the JIT crash, you can hit "Continue" and it will carry on ok.

sstteevvee

28-11-2008 01:16:52

Well, it turned out to be nothing related to what I suggested as workarounds. The latest version should fix it, though.