ruisantos / bizhawk

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

Error trying to play a movie, after recording and stopping one #242

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
1.7.4

Got this error when I tried to play back a movie, after I had just stopped 
recording one:

    Informationen über das Aufrufen von JIT-Debuggen
    anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.

    ************** Ausnahmetext **************
    System.AggregateException: Mindestens ein Fehler ist aufgetreten. ---> System.IndexOutOfRangeException: Der Index war außerhalb des Arraybereichs.
       bei System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
       bei SevenZip.SevenZipLibraryManager.InitUserInFormat(Object user, InArchiveFormat format)
       bei SevenZip.SevenZipLibraryManager.LoadLibrary(Object user, Enum format)
       bei SevenZip.SevenZipExtractor.Init(String archiveFullName)
       bei SevenZip.SevenZipExtractor..ctor(String archiveFullName)
       bei BizHawk.Client.Common.SevenZipSharpArchiveHandler.Construct(String path)
       bei BizHawk.Common.HawkFile.AnalyzeArchive(String path)
       bei BizHawk.Common.HawkFile.Open(String path)
       bei BizHawk.Client.EmuHawk.PlayMovie.AddMovieToList(String filename, Boolean force)
       bei BizHawk.Client.EmuHawk.PlayMovie.<>c__DisplayClass7.<ScanFiles>b__5(Int32 i)
       bei System.Threading.Tasks.Parallel.<>c__DisplayClassf`1.<ForWorker>b__c()
       bei System.Threading.Tasks.Task.InnerInvoke()
       bei System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
       bei System.Threading.Tasks.Task.<>c__DisplayClass11.<ExecuteSelfReplicating>b__10(Object param0)
       --- Ende der internen Ausnahmestapelüberwachung ---
       bei System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
       bei System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
       bei System.Threading.Tasks.Task.Wait()
       bei System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)
       bei System.Threading.Tasks.Parallel.For(Int32 fromInclusive, Int32 toExclusive, Action`1 body)
       bei BizHawk.Client.EmuHawk.PlayMovie.ScanFiles()
       bei BizHawk.Client.EmuHawk.PlayMovie.MatchHashCheckBox_CheckedChanged(Object sender, EventArgs e)
       bei System.Windows.Forms.CheckBox.OnCheckedChanged(EventArgs e)
       bei System.Windows.Forms.CheckBox.set_CheckState(CheckState value)
       bei System.Windows.Forms.CheckBox.set_Checked(Boolean value)
       bei BizHawk.Client.EmuHawk.PlayMovie.PlayMovie_Load(Object sender, EventArgs e)
       bei System.Windows.Forms.Form.OnLoad(EventArgs e)
       bei System.Windows.Forms.Form.OnCreateControl()
       bei System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       bei System.Windows.Forms.Control.CreateControl()
       bei System.Windows.Forms.Control.WmShowWindow(Message& m)
       bei System.Windows.Forms.Control.WndProc(Message& m)
       bei System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       bei System.Windows.Forms.ContainerControl.WndProc(Message& m)
       bei System.Windows.Forms.Form.WmShowWindow(Message& m)
       bei System.Windows.Forms.Form.WndProc(Message& m)
       bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    ---> (Interne Ausnahme #0) System.IndexOutOfRangeException: Der Index war außerhalb des Arraybereichs.
       bei System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
       bei SevenZip.SevenZipLibraryManager.InitUserInFormat(Object user, InArchiveFormat format)
       bei SevenZip.SevenZipLibraryManager.LoadLibrary(Object user, Enum format)
       bei SevenZip.SevenZipExtractor.Init(String archiveFullName)
       bei SevenZip.SevenZipExtractor..ctor(String archiveFullName)
       bei BizHawk.Client.Common.SevenZipSharpArchiveHandler.Construct(String path)
       bei BizHawk.Common.HawkFile.AnalyzeArchive(String path)
       bei BizHawk.Common.HawkFile.Open(String path)
       bei BizHawk.Client.EmuHawk.PlayMovie.AddMovieToList(String filename, Boolean force)
       bei BizHawk.Client.EmuHawk.PlayMovie.<>c__DisplayClass7.<ScanFiles>b__5(Int32 i)
       bei System.Threading.Tasks.Parallel.<>c__DisplayClassf`1.<ForWorker>b__c()
       bei System.Threading.Tasks.Task.InnerInvoke()
       bei System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
       bei System.Threading.Tasks.Task.<>c__DisplayClass11.<ExecuteSelfReplicating>b__10(Object param0)<---

    ************** Geladene Assemblys **************
    mscorlib
        Assembly-Version: 4.0.0.0.
        Win32-Version: 4.0.30319.34014 built by: FX45W81RTMGDR.
        CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll.
    ----------------------------------------
    EmuHawk
        Assembly-Version: 1.7.4.7501.
        Win32-Version: 1.7.4.7501.
        CodeBase: file:///D:/Programme/bizhawk%20174/EmuHawk.exe.
    ----------------------------------------
    System
        Assembly-Version: 4.0.0.0.
        Win32-Version: 4.0.30319.34003 built by: FX45W81RTMGDR.
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll.
    ----------------------------------------
    System.Windows.Forms
        Assembly-Version: 4.0.0.0.
        Win32-Version: 4.0.30319.33440 built by: FX45W81RTMREL.
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll.
    ----------------------------------------
    System.Drawing
        Assembly-Version: 4.0.0.0.
        Win32-Version: 4.0.30319.33440 built by: FX45W81RTMREL.
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.
    ----------------------------------------
    BizHawk.Client.Common
        Assembly-Version: 1.7.4.7501.
        Win32-Version: 1.7.4.7501.
        CodeBase: file:///D:/Programme/bizhawk%20174/dll/BizHawk.Client.Common.dll.
    ----------------------------------------
    BizHawk.Emulation.Common
        Assembly-Version: 1.7.4.7501.
        Win32-Version: 1.7.4.7501.
        CodeBase: file:///D:/Programme/bizhawk%20174/dll/BizHawk.Emulation.Common.dll.
    ----------------------------------------
    BizHawk.Emulation.DiscSystem
        Assembly-Version: 1.7.4.7501.
        Win32-Version: 1.7.4.7501.
        CodeBase: file:///D:/Programme/bizhawk%20174/dll/BizHawk.Emulation.DiscSystem.dll.
    ----------------------------------------
    BizHawk.Common
        Assembly-Version: 1.7.4.7501.
        Win32-Version: 1.7.4.7501.
        CodeBase: file:///D:/Programme/bizhawk%20174/dll/BizHawk.Common.dll.
    ----------------------------------------
    System.Core
        Assembly-Version: 4.0.0.0.
        Win32-Version: 4.0.30319.33440 built by: FX45W81RTMREL.
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll.
    ----------------------------------------
    SlimDX
        Assembly-Version: 4.0.10.43.
        Win32-Version: .
        CodeBase: file:///D:/Programme/bizhawk%20174/dll/SlimDX.dll.
    ----------------------------------------
    BizHawk.Bizware.BizwareGL.OpenTK
        Assembly-Version: 0.0.0.0.
        Win32-Version: 0.0.0.0.
        CodeBase: file:///D:/Programme/bizhawk%20174/dll/BizHawk.Bizware.BizwareGL.OpenTK.dll.
    ----------------------------------------
    BizHawk.Bizware.BizwareGL
        Assembly-Version: 0.0.0.0.
        Win32-Version: 0.0.0.0.
        CodeBase: file:///D:/Programme/bizhawk%20174/dll/BizHawk.Bizware.BizwareGL.dll.
    ----------------------------------------
    OpenTK
        Assembly-Version: 1.1.0.0.
        Win32-Version: 1.1.1475.5656.
        CodeBase: file:///D:/Programme/bizhawk%20174/dll/OpenTK.dll.
    ----------------------------------------
    Microsoft.VisualBasic
        Assembly-Version: 10.0.0.0.
        Win32-Version: 12.0.20806.33440 built by: FX45W81RTMREL.
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll.
    ----------------------------------------
    BizHawk.Emulation.Cores
        Assembly-Version: 1.7.4.7501.
        Win32-Version: 1.7.4.7501.
        CodeBase: file:///D:/Programme/bizhawk%20174/dll/Bizhawk.Emulation.Cores.dll.
    ----------------------------------------
    Newtonsoft.Json
        Assembly-Version: 6.0.0.0.
        Win32-Version: 6.0.3.17312.
        CodeBase: file:///D:/Programme/bizhawk%20174/dll/Newtonsoft.Json.dll.
    ----------------------------------------
    System.Numerics
        Assembly-Version: 4.0.0.0.
        Win32-Version: 4.0.30319.33440 built by: FX45W81RTMREL.
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll.
    ----------------------------------------
    System.ComponentModel.DataAnnotations
        Assembly-Version: 4.0.0.0.
        Win32-Version: 4.0.30319.33440.
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ComponentModel.DataAnnotations/v4.0_4.0.0.0__31bf3856ad364e35/System.ComponentModel.DataAnnotations.dll.
    ----------------------------------------
    System.Runtime.Serialization
        Assembly-Version: 4.0.0.0.
        Win32-Version: 4.0.30319.33440 built by: FX45W81RTMREL.
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll.
    ----------------------------------------
    System.Xml.Linq
        Assembly-Version: 4.0.0.0.
        Win32-Version: 4.0.30319.33440 built by: FX45W81RTMREL.
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll.
    ----------------------------------------
    System.Xml
        Assembly-Version: 4.0.0.0.
        Win32-Version: 4.0.30319.33440 built by: FX45W81RTMREL.
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll.
    ----------------------------------------
    System.Data
        Assembly-Version: 4.0.0.0.
        Win32-Version: 4.0.30319.33440 built by: FX45W81RTMREL.
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll.
    ----------------------------------------
    Anonymously Hosted DynamicMethods Assembly
        Assembly-Version: 0.0.0.0.
        Win32-Version: 4.0.30319.34014 built by: FX45W81RTMGDR.
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll.
    ----------------------------------------
    mscorlib.resources
        Assembly-Version: 4.0.0.0.
        Win32-Version: 4.0.30319.33440 built by: FX45W81RTMREL.
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_de_b77a5c561934e089/mscorlib.resources.dll.
    ----------------------------------------
    System.Windows.Forms.resources
        Assembly-Version: 4.0.0.0.
        Win32-Version: 4.0.30319.33440 built by: FX45W81RTMREL.
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.
    ----------------------------------------
    OpenTK.GLControl
        Assembly-Version: 1.1.0.0.
        Win32-Version: 1.1.1475.5656.
        CodeBase: file:///D:/Programme/bizhawk%20174/dll/OpenTK.GLControl.dll.
    ----------------------------------------
    PresentationFramework
        Assembly-Version: 4.0.0.0.
        Win32-Version: 4.0.30319.34004.
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.dll.
    ----------------------------------------
    WindowsBase
        Assembly-Version: 4.0.0.0.
        Win32-Version: 4.0.30319.34004 built by: FX45W81RTMGDR.
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll.
    ----------------------------------------
    PresentationCore
        Assembly-Version: 4.0.0.0.
        Win32-Version: 4.0.30319.34004 built by: FX45W81RTMGDR.
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll.
    ----------------------------------------
    System.Xaml
        Assembly-Version: 4.0.0.0.
        Win32-Version: 4.0.30319.33440 built by: FX45W81RTMREL.
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll.
    ----------------------------------------
    ICSharpCode.SharpZipLib
        Assembly-Version: 0.86.0.518.
        Win32-Version: 0.86.0.518.
        CodeBase: file:///D:/Programme/bizhawk%20174/dll/ICSharpCode.SharpZipLib.dll.
    ----------------------------------------
    System.Configuration
        Assembly-Version: 4.0.0.0.
        Win32-Version: 4.0.30319.33440 built by: FX45W81RTMREL.
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll.
    ----------------------------------------

    ************** JIT-Debuggen **************
    Um das JIT-Debuggen (Just-In-Time) zu aktivieren, muss in der
    Konfigurationsdatei der Anwendung oder des Computers
    (machine.config) der jitDebugging-Wert im Abschnitt system.windows.forms festgelegt werden.
    Die Anwendung muss mit aktiviertem Debuggen kompiliert werden.

    Zum Beispiel:

    <configuration>
        <system.windows.forms jitDebugging="true" />
    </configuration>

    Wenn das JIT-Debuggen aktiviert ist, werden alle nicht behandelten
    Ausnahmen an den JIT-Debugger gesendet, der auf dem
    Computer registriert ist, und nicht in diesem Dialogfeld behandelt.

Original issue reported on code.google.com by moritz.g...@gmail.com on 9 Aug 2014 at 7:41

GoogleCodeExporter commented 9 years ago
From what the error message gives me, it is talking about SevenZip having a 
problem extracting or handling the Savestate.

Can you post the savestate that's causing issues?

Original comment by hegyak on 9 Aug 2014 at 12:57

GoogleCodeExporter commented 9 years ago
It was when loading this movie: 
https://mega.co.nz/#!DQhygZZZ!wZPf6YpP2Y15buDJewIBT1jKKArK5DfHemBmYem9S-E

It worked after closing bizhawk and reopening though. But when this happened I 
had just stopped recording to this movie file and was opening it again for read 
only playback from the beginning.
So with what you are saying I would suspect that bizhawk didn't close the movie 
properly after I ended recording and thus couldn't open it again, because it 
was still in use.

Original comment by moritz.g...@gmail.com on 9 Aug 2014 at 4:13