[AppleDOS 3.2] Exception trying to read image. #673

Open
opened 2026-01-29 15:26:08 +00:00 by claunia · 0 comments
Owner

Originally created by @claunia on GitHub (Feb 22, 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: AppleDOS 3.2
    • Application that created the image: CiderPress
  • I was checksumming the image

Description

Exception trying to read image.

Exact command line used:

Unit test.

Expected behavior:

Test pass.

Actual behavior:

Test not pass.

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 System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length)
   at Aaru.DiscImages.AppleDos.Open(IFilter imageFilter) in /home/claunia/Development/Aaru/Aaru/Aaru.Images/AppleDOS/Read.cs:line 69
   at Aaru.Tests.Images.AppleDOS.DOS32.<Hashes>b__8_0() in /home/claunia/Development/Aaru/Aaru/Aaru.Tests/Images/AppleDOS/DOS32.cs:line 121
   at NUnit.Framework.Assert.Multiple(TestDelegate testDelegate)
   at Aaru.Tests.Images.AppleDOS.DOS32.Hashes() in /home/claunia/Development/Aaru/Aaru/Aaru.Tests/Images/AppleDOS/DOS32.cs:line 113

Image

alice.d13

Originally created by @claunia on GitHub (Feb 22, 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**: AppleDOS 3.2 * **Application that created the image**: CiderPress * [x] I was checksumming the image ### Description Exception trying to read image. ### Exact command line used: Unit test. ### Expected behavior: Test pass. ### Actual behavior: Test not pass. ### 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 System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length) at Aaru.DiscImages.AppleDos.Open(IFilter imageFilter) in /home/claunia/Development/Aaru/Aaru/Aaru.Images/AppleDOS/Read.cs:line 69 at Aaru.Tests.Images.AppleDOS.DOS32.<Hashes>b__8_0() in /home/claunia/Development/Aaru/Aaru/Aaru.Tests/Images/AppleDOS/DOS32.cs:line 121 at NUnit.Framework.Assert.Multiple(TestDelegate testDelegate) at Aaru.Tests.Images.AppleDOS.DOS32.Hashes() in /home/claunia/Development/Aaru/Aaru/Aaru.Tests/Images/AppleDOS/DOS32.cs:line 113 ``` ### Image alice.d13
claunia added the bugdump image format labels 2026-01-29 15:26:08 +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#673