[BlindWrite 4] Exception checksumming image #579

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

Originally created by @claunia on GitHub (Jan 8, 2021).

Prerequisites

  • Are you running the latest version?
  • Can you reproduce the problem in the debug version?

Check and fill as appropriate:

  • I was running Aaru under Linux 5.9.14-arch1-1...
  • ...in 64-bit
  • ...using an Intel / AMD processor
    • Image format: BlindWrite 4
    • Application that created the image: BlindWrite 4
  • I was checksumming the image

Description

Exception checksumming image.

Exact command line used:

Unit test.

Expected behavior:

Test pass.

Actual behavior:

Exception.

Output of command execution with debug output enabled

System.ArgumentException : Source array was not long enough. Check the source index, length, and the array's lower bounds. (Parameter 'sourceArray')
   at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
   at Aaru.DiscImages.BlindWrite4.ReadSectors(UInt64 sectorAddress, UInt32 length, UInt32 track) in /home/claunia/Development/Aaru/Aaru/Aaru.Images/BlindWrite4/Read.cs:line 941
   at Aaru.Tests.Images.BlindWrite4.Test() in /home/claunia/Development/Aaru/Aaru/Aaru.Tests/Images/BlindWrite4.cs:line 906
System.ArgumentException : Source array was not long enough. Check the source index, length, and the array's lower bounds. (Parameter 'sourceArray')
   at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
   at Aaru.DiscImages.BlindWrite4.ReadSectors(UInt64 sectorAddress, UInt32 length, UInt32 track) in /home/claunia/Development/Aaru/Aaru/Aaru.Images/BlindWrite4/Read.cs:line 925
   at Aaru.Tests.Images.BlindWrite4.Test() in /home/claunia/Development/Aaru/Aaru/Aaru.Tests/Images/BlindWrite4.cs:line 915
System.ArgumentOutOfRangeException : Requested more sectors (25596) than present in track (25539), won't cross tracks (Parameter 'length')
   at Aaru.DiscImages.BlindWrite4.ReadSectors(UInt64 sectorAddress, UInt32 length, UInt32 track) in /home/claunia/Development/Aaru/Aaru/Aaru.Images/BlindWrite4/Read.cs:line 867
   at Aaru.Tests.Images.BlindWrite4.Test() in /home/claunia/Development/Aaru/Aaru/Aaru.Tests/Images/BlindWrite4.cs:line 915

Image

report_cdrw.BWT
report_enhancedcd.BWT
test_all_tracks_are_track1.BWT
test_disc_starts_at_track2.BWT
test_enhancedcd.BWT
test_multisession.BWT
test_track2_inside_track1.BWT
test_videocd.BWT

Originally created by @claunia on GitHub (Jan 8, 2021). ### Prerequisites * [x] Are you running the latest version? * [x] Can you reproduce the problem in the debug version? ### Check and fill as appropriate: * [x] I was running Aaru under Linux 5.9.14-arch1-1... * [x] ...in 64-bit * [x] ...using an Intel / AMD processor * **Image format**: BlindWrite 4 * **Application that created the image**: BlindWrite 4 * [x] I was checksumming the image ### Description Exception checksumming image. ### Exact command line used: Unit test. ### Expected behavior: Test pass. ### Actual behavior: Exception. ### Output of command execution with debug output enabled ``` System.ArgumentException : Source array was not long enough. Check the source index, length, and the array's lower bounds. (Parameter 'sourceArray') at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable) at Aaru.DiscImages.BlindWrite4.ReadSectors(UInt64 sectorAddress, UInt32 length, UInt32 track) in /home/claunia/Development/Aaru/Aaru/Aaru.Images/BlindWrite4/Read.cs:line 941 at Aaru.Tests.Images.BlindWrite4.Test() in /home/claunia/Development/Aaru/Aaru/Aaru.Tests/Images/BlindWrite4.cs:line 906 ``` ``` System.ArgumentException : Source array was not long enough. Check the source index, length, and the array's lower bounds. (Parameter 'sourceArray') at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable) at Aaru.DiscImages.BlindWrite4.ReadSectors(UInt64 sectorAddress, UInt32 length, UInt32 track) in /home/claunia/Development/Aaru/Aaru/Aaru.Images/BlindWrite4/Read.cs:line 925 at Aaru.Tests.Images.BlindWrite4.Test() in /home/claunia/Development/Aaru/Aaru/Aaru.Tests/Images/BlindWrite4.cs:line 915 ``` ``` System.ArgumentOutOfRangeException : Requested more sectors (25596) than present in track (25539), won't cross tracks (Parameter 'length') at Aaru.DiscImages.BlindWrite4.ReadSectors(UInt64 sectorAddress, UInt32 length, UInt32 track) in /home/claunia/Development/Aaru/Aaru/Aaru.Images/BlindWrite4/Read.cs:line 867 at Aaru.Tests.Images.BlindWrite4.Test() in /home/claunia/Development/Aaru/Aaru/Aaru.Tests/Images/BlindWrite4.cs:line 915 ``` ### Image report_cdrw.BWT report_enhancedcd.BWT test_all_tracks_are_track1.BWT test_disc_starts_at_track2.BWT test_enhancedcd.BWT test_multisession.BWT test_track2_inside_track1.BWT test_videocd.BWT
claunia added the dump image formatbeginner labels 2026-01-29 15:22:57 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: aaru-dps/Aaru-aaru-dps#579