[Alcohol 120%] Exception reading data from image taken of disc with track 2 inside Lead-Out. #578

Open
opened 2026-01-29 15:22:55 +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: Alcohol 120%
    • Application that created the image: Alcohol 120%
  • I was checksumming the image

Description

Exception reading data from image taken of disc with track 2 inside Lead-Out.
Same exception reading data from image taken of disc with castrated Lead-Out.

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.Alcohol120.ReadSectors(UInt64 sectorAddress, UInt32 length, UInt32 track) in /home/claunia/Development/Aaru/Aaru/Aaru.Images/Alcohol120/Read.cs:line 890
   at Aaru.Tests.Images.Alcohol120.Test() in /home/claunia/Development/Aaru/Aaru/Aaru.Tests/Images/Alcohol120.cs:line 2026

Image

test_track2_inside_leadout.mds
test_castrated_leadout.mds

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**: Alcohol 120% * **Application that created the image**: Alcohol 120% * [x] I was checksumming the image ### Description Exception reading data from image taken of disc with track 2 inside Lead-Out. Same exception reading data from image taken of disc with castrated Lead-Out. ### 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.Alcohol120.ReadSectors(UInt64 sectorAddress, UInt32 length, UInt32 track) in /home/claunia/Development/Aaru/Aaru/Aaru.Images/Alcohol120/Read.cs:line 890 at Aaru.Tests.Images.Alcohol120.Test() in /home/claunia/Development/Aaru/Aaru/Aaru.Tests/Images/Alcohol120.cs:line 2026 ``` ### Image test_track2_inside_leadout.mds test_castrated_leadout.mds
claunia added the dump image format label 2026-01-29 15:22:55 +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#578