Aaru mode failing to finish DVD-video dumps #406

Closed
opened 2026-01-29 16:15:54 +00:00 by claunia · 0 comments
Owner

Originally created by @intothisworld on GitHub (Feb 22, 2022).

Originally assigned to: @mnadareski on GitHub.

Version
What version are you using?

  • Stable release (2.3)
  • WIP release (2.3-810)

Build
What runtime version are you using?

  • .NET Framework 4.7.2 running on (Operating System)
  • .NET Framework 4.8 running on (Windows 10)
  • .NET Core 3.1 running on (Operating System)

Describe the issue
When I dump a DVD-video using Aaru, everything runs as expected until it finishes the hashing stage and is about to finalize the dump. At which point, it stops, the cmd window closes, and this error appears in the MPF log output box:

System.IO.FileLoadException: Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
   at System.ReadOnlySpan`1..ctor(T[] array, Int32 start, Int32 length)
   at MPF.Modules.Aaru.Parameters.GeneratePVD(CICMMetadataType cicmSidecar) in B:\Programs\GitHub\MPF\MPF.Modules\Aaru\Parameters.cs:line 2656
   at MPF.Modules.Aaru.Parameters.GenerateSubmissionInfo(SubmissionInfo info, String basePath, Drive drive, Boolean includeArtifacts) in B:\Programs\GitHub\MPF\MPF.Modules\Aaru\Parameters.cs:line 246
   at MPF.Library.InfoTool.<ExtractOutputInformation>d__0.MoveNext() in B:\Programs\GitHub\MPF\MPF.Library\InfoTool.cs:line 96
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at MPF.Library.DumpEnvironment.<VerifyAndSaveDumpOutput>d__40.MoveNext() in B:\Programs\GitHub\MPF\MPF.Library\DumpEnvironment.cs:line 315
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at MPF.GUI.ViewModels.MainViewModel.<StartDumping>d__58.MoveNext() in B:\Programs\GitHub\MPF\MPF\ViewModels\MainViewModel.cs:line 1302

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

To Reproduce
Steps to reproduce the behavior:

  1. Dump a DVD-video using the Aaru setting.
  2. Wait until the very end of the dump process.
  3. Error should appear.

Expected behavior
The dump to finish as usual (hash the image, do its little beeps, bring up the Submission Info window, compress the logs, etc.).

Screenshots
Sorry, I just have the copy-pasted error text as seen above. I'll try to catch the cmd window itself before it closes and get a screenshot of that. I'll post in comments when I do.

Additional context
This only started happening recently (I think these are the first DVDs I've tried to dump with Aaru since the 2.3 update, but can't remember for sure). I also (incidentally) re-installed Windows 10 on a brand new hard drive a couple days ago (after this issue first started appearing), but that didn't do anything to affect it unfortunately.

Originally created by @intothisworld on GitHub (Feb 22, 2022). Originally assigned to: @mnadareski on GitHub. **Version** What version are you using? - [x] Stable release (2.3) - [x] WIP release (2.3-810) **Build** What runtime version are you using? - [ ] .NET Framework 4.7.2 running on (Operating System) - [x] .NET Framework 4.8 running on (Windows 10) - [ ] .NET Core 3.1 running on (Operating System) **Describe the issue** When I dump a DVD-video using Aaru, everything runs as expected until it finishes the hashing stage and is about to finalize the dump. At which point, it stops, the cmd window closes, and this error appears in the MPF log output box: ``` System.IO.FileLoadException: Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) File name: 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' at System.ReadOnlySpan`1..ctor(T[] array, Int32 start, Int32 length) at MPF.Modules.Aaru.Parameters.GeneratePVD(CICMMetadataType cicmSidecar) in B:\Programs\GitHub\MPF\MPF.Modules\Aaru\Parameters.cs:line 2656 at MPF.Modules.Aaru.Parameters.GenerateSubmissionInfo(SubmissionInfo info, String basePath, Drive drive, Boolean includeArtifacts) in B:\Programs\GitHub\MPF\MPF.Modules\Aaru\Parameters.cs:line 246 at MPF.Library.InfoTool.<ExtractOutputInformation>d__0.MoveNext() in B:\Programs\GitHub\MPF\MPF.Library\InfoTool.cs:line 96 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() at MPF.Library.DumpEnvironment.<VerifyAndSaveDumpOutput>d__40.MoveNext() in B:\Programs\GitHub\MPF\MPF.Library\DumpEnvironment.cs:line 315 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() at MPF.GUI.ViewModels.MainViewModel.<StartDumping>d__58.MoveNext() in B:\Programs\GitHub\MPF\MPF\ViewModels\MainViewModel.cs:line 1302 WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]. ``` **To Reproduce** Steps to reproduce the behavior: 1. Dump a DVD-video using the Aaru setting. 2. Wait until the very end of the dump process. 3. Error should appear. **Expected behavior** The dump to finish as usual (hash the image, do its little beeps, bring up the Submission Info window, compress the logs, etc.). **Screenshots** Sorry, I just have the copy-pasted error text as seen above. I'll try to catch the cmd window itself before it closes and get a screenshot of that. I'll post in comments when I do. **Additional context** This only started happening recently (I think these are the first DVDs I've tried to dump with Aaru since the 2.3 update, but can't remember for sure). I also (incidentally) re-installed Windows 10 on a brand new hard drive a couple days ago (after this issue first started appearing), but that didn't do anything to affect it unfortunately.
claunia added the bug label 2026-01-29 16:15:54 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SabreTools/MPF#406