[AmigaDOS filesystem] Exception when trying to identify a CP/M volume #734

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

Originally created by @claunia on GitHub (Jun 1, 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.12.7-arch1-1...
  • ...in 64-bit
  • ...using an Intel / AMD processor

Description

Trying to identify a disk with a CP/M volume raises an exception in AmigaDOS filesystem.

Exact command line used:

Test unit.

Expected behavior:

Identified false.

Actual behavior:

Exception

Command output:

System.ArgumentOutOfRangeException : Requested more sectors than available (Parameter 'length')
   at Aaru.DiscImages.Imd.ReadSectors(UInt64 sectorAddress, UInt32 length) in /home/claunia/Development/Aaru/Aaru/Aaru.Images/IMD/Read.cs:line 228
   at Aaru.Filesystems.AmigaDOSPlugin.Identify(IMediaImage imagePlugin, Partition partition) in /home/claunia/Development/Aaru/Aaru/Aaru.Filesystems/AmigaDOS.cs:line 72
   at Aaru.Core.Filesystems.<>c__DisplayClass0_0.<Identify>b__0(IFilesystem plugin) in /home/claunia/Development/Aaru/Aaru/Aaru.Core/Filesystems.cs:line 54
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.ToList()
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Aaru.Core.Filesystems.Identify(IMediaImage imagePlugin, List`1& idPlugins, Partition partition, Boolean getGuid) in /home/claunia/Development/Aaru/Aaru/Aaru.Core/Filesystems.cs:line 54
   at Aaru.Tests.Filesystems.ReadOnlyFilesystemTest.Build() in /home/claunia/Development/Aaru/Aaru/Aaru.Tests/Filesystems/ReadOnlyFilesystemTest.cs:line 204
Originally created by @claunia on GitHub (Jun 1, 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.12.7-arch1-1... * [x] ...in 64-bit * [x] ...using an Intel / AMD processor ### Description Trying to identify a disk with a CP/M volume raises an exception in AmigaDOS filesystem. ### Exact command line used: Test unit. ### Expected behavior: Identified false. ### Actual behavior: Exception ### Command output: ``` System.ArgumentOutOfRangeException : Requested more sectors than available (Parameter 'length') at Aaru.DiscImages.Imd.ReadSectors(UInt64 sectorAddress, UInt32 length) in /home/claunia/Development/Aaru/Aaru/Aaru.Images/IMD/Read.cs:line 228 at Aaru.Filesystems.AmigaDOSPlugin.Identify(IMediaImage imagePlugin, Partition partition) in /home/claunia/Development/Aaru/Aaru/Aaru.Filesystems/AmigaDOS.cs:line 72 at Aaru.Core.Filesystems.<>c__DisplayClass0_0.<Identify>b__0(IFilesystem plugin) in /home/claunia/Development/Aaru/Aaru/Aaru.Core/Filesystems.cs:line 54 at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.ToList() at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at Aaru.Core.Filesystems.Identify(IMediaImage imagePlugin, List`1& idPlugins, Partition partition, Boolean getGuid) in /home/claunia/Development/Aaru/Aaru/Aaru.Core/Filesystems.cs:line 54 at Aaru.Tests.Filesystems.ReadOnlyFilesystemTest.Build() in /home/claunia/Development/Aaru/Aaru/Aaru.Tests/Filesystems/ReadOnlyFilesystemTest.cs:line 204 ```
claunia added the bugfilesystembeginner labels 2026-01-29 15:27:59 +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#734