Unhandled exception when running entropy command on NRG image #397

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

Originally created by @TheRogueArchivist on GitHub (Apr 18, 2020).

Prerequisites

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

Description

When running the entropy command on an NRG image, Aaru crashes with an unhandled exception. NRG image.zip

Exact command line used:

dotnet aaru.dll -d i entropy TempImage.nrg

Output of command execution with debug output enabled

aaru 5.1.99.2967
Copyright © 2011-2020 Natalia Portillo

DEBUG (Entropy command): --debug=True
DEBUG (Entropy command): --duplicated-sectors=True
DEBUG (Entropy command): --input=TempImage.nrg
DEBUG (Entropy command): --separated-tracks=True
DEBUG (Entropy command): --verbose=False
DEBUG (Entropy command): --whole-disc=True
DEBUG (Format detection): Trying plugin Aaru Format
DEBUG (Format detection): Trying plugin ACT Apricot Disk Image
DEBUG (Format detection): Trying plugin Alcohol 120% Media Descriptor Structure
DEBUG (Format detection): Trying plugin Anex86 Disk Image
DEBUG (Anex86 plugin): fdihdr.unknown = 0
DEBUG (Anex86 plugin): fdihdr.hddtype = 0
DEBUG (Anex86 plugin): fdihdr.hdrSize = 0
DEBUG (Anex86 plugin): fdihdr.dskSize = 0
DEBUG (Anex86 plugin): fdihdr.bps = 0
DEBUG (Anex86 plugin): fdihdr.spt = 0
DEBUG (Anex86 plugin): fdihdr.heads = 0
DEBUG (Anex86 plugin): fdihdr.cylinders = 0
DEBUG (Format detection): Trying plugin Apple ][ Interleaved Disk Image
DEBUG (Format detection): Trying plugin Apple 2IMG
DEBUG (Format detection): Trying plugin Apple Disk Archival/Retrieval Tool
DEBUG (Format detection): Trying plugin Apple DiskCopy 4.2
DEBUG (DC42 plugin): tmp_header.diskName = ""
DEBUG (DC42 plugin): tmp_header.dataSize = 0 bytes
DEBUG (DC42 plugin): tmp_header.tagSize = 0 bytes
DEBUG (DC42 plugin): tmp_header.dataChecksum = 0x00000000
DEBUG (DC42 plugin): tmp_header.tagChecksum = 0x00000000
DEBUG (DC42 plugin): tmp_header.format = 0x00
DEBUG (DC42 plugin): tmp_header.fmtByte = 0x00
DEBUG (DC42 plugin): tmp_header.valid = 0
DEBUG (DC42 plugin): tmp_header.reserved = 0
DEBUG (Format detection): Trying plugin Apple New Disk Image Format
DEBUG (Format detection): Trying plugin Apple NIB
DEBUG (Format detection): Trying plugin Apple Universal Disk Image Format
DEBUG (Format detection): Trying plugin Basic Lisa Utility
DEBUG (Format detection): Trying plugin BlindWrite 4
DEBUG (Format detection): Trying plugin BlindWrite 5
DEBUG (Format detection): Trying plugin CDRDAO tocfile
DEBUG (Format detection): Trying plugin CDRWin cuesheet
DEBUG (Format detection): Trying plugin CisCopy Disk Image (DC-File)
DEBUG (Format detection): Trying plugin CloneCD
DEBUG (Format detection): Trying plugin CopyTape
DEBUG (Format detection): Trying plugin CPCEMU Disk-File and Extended CPC Disk-File
DEBUG (CPCDSK plugin): header.magic = ""
DEBUG (Format detection): Trying plugin d2f disk image
DEBUG (Format detection): Trying plugin D88 Disk Image
DEBUG (D88 plugin): d88hdr.name = ""
DEBUG (D88 plugin): d88hdr.reserved is empty? = True
DEBUG (D88 plugin): d88hdr.write_protect = 0x00
DEBUG (D88 plugin): d88hdr.disk_type = D2 (0)
DEBUG (D88 plugin): d88hdr.disk_size = 0
DEBUG (Format detection): Trying plugin Digital Research DiskCopy
DEBUG (Format detection): Trying plugin DIM Disk Image
DEBUG (Format detection): Trying plugin DiscFerret
DEBUG (Format detection): Trying plugin DiscJuggler
DEBUG (DiscJuggler plugin): dscLen = 9970944
DEBUG (Format detection): Trying plugin Dreamcast GDI image
DEBUG (Format detection): Trying plugin Dunfield's IMD
DEBUG (Format detection): Trying plugin HD-Copy disk image
DEBUG (Format detection): Trying plugin IBM SaveDskF
DEBUG (Format detection): Trying plugin KryoFlux STREAM
DEBUG (Format detection): Trying plugin MAME Compressed Hunks of Data
DEBUG (Format detection): Trying plugin MAXI Disk image
DEBUG (MAXI Disk plugin): tmp_header.unknown = 0
DEBUG (MAXI Disk plugin): tmp_header.diskType = 0
DEBUG (MAXI Disk plugin): tmp_header.heads = 0
DEBUG (MAXI Disk plugin): tmp_header.cylinders = 0
DEBUG (MAXI Disk plugin): tmp_header.bytesPerSector = 0
DEBUG (MAXI Disk plugin): tmp_header.sectorsPerTrack = 0
DEBUG (MAXI Disk plugin): tmp_header.unknown2 = 0
DEBUG (MAXI Disk plugin): tmp_header.unknown3 = 0
DEBUG (Format detection): Trying plugin Microsoft VHDX
DEBUG (Format detection): Trying plugin Nero Burning ROM image
DEBUG (Nero plugin): imageStream.Length = 2463900
DEBUG (Nero plugin): footerV1.ChunkID = 0x00000000
DEBUG (Nero plugin): footerV1.FirstChunkOffset = 2463744
DEBUG (Nero plugin): footerV2.ChunkID = 0x4E455235
DEBUG (Nero plugin): footerV2.FirstChunkOffset = 2463744
DEBUG (Nero plugin): imageStream.Length = 2463900
DEBUG (Nero plugin): footerV1.ChunkID = 0x00000000 ("")
DEBUG (Nero plugin): footerV1.FirstChunkOffset = 2463744
DEBUG (Nero plugin): footerV2.ChunkID = 0x4E455235 ("NER5")
DEBUG (Nero plugin): footerV2.FirstChunkOffset = 2463744
DEBUG (Nero plugin): ChunkID = 0x43554558 ("CUEX")
DEBUG (Nero plugin): ChunkLength = 32
DEBUG (Nero plugin): Found "CUEX" chunk, parsing 32 bytes
DEBUG (Nero plugin): Cuesheet entry 1
DEBUG (Nero plugin): 	 _entry[1].Mode = 0x41
DEBUG (Nero plugin): 	 _entry[1].TrackNumber = 00
DEBUG (Nero plugin): 	 _entry[1].IndexNumber = 00
DEBUG (Nero plugin): 	 _entry[1].Dummy = 00
DEBUG (Nero plugin): 	 _entry[1].LBAStart = -150
DEBUG (Nero plugin): Cuesheet entry 2
DEBUG (Nero plugin): 	 _entry[2].Mode = 0x41
DEBUG (Nero plugin): 	 _entry[2].TrackNumber = 01
DEBUG (Nero plugin): 	 _entry[2].IndexNumber = 00
DEBUG (Nero plugin): 	 _entry[2].Dummy = 00
DEBUG (Nero plugin): 	 _entry[2].LBAStart = -150
DEBUG (Nero plugin): Cuesheet entry 3
DEBUG (Nero plugin): 	 _entry[3].Mode = 0x41
DEBUG (Nero plugin): 	 _entry[3].TrackNumber = 01
DEBUG (Nero plugin): 	 _entry[3].IndexNumber = 01
DEBUG (Nero plugin): 	 _entry[3].Dummy = 00
DEBUG (Nero plugin): 	 _entry[3].LBAStart = 0
DEBUG (Nero plugin): Cuesheet entry 4
DEBUG (Nero plugin): 	 _entry[4].Mode = 0x41
DEBUG (Nero plugin): 	 _entry[4].TrackNumber = AA
DEBUG (Nero plugin): 	 _entry[4].IndexNumber = 01
DEBUG (Nero plugin): 	 _entry[4].Dummy = 00
DEBUG (Nero plugin): 	 _entry[4].LBAStart = 1053
DEBUG (Nero plugin): ChunkID = 0x44414F58 ("DAOX")
DEBUG (Nero plugin): ChunkLength = 64
DEBUG (Nero plugin): Found "DAOX" chunk, parsing 64 bytes
DEBUG (Nero plugin): neroDAOV2.ChunkSizeLe = 64 bytes
DEBUG (Nero plugin): neroDAOV2.UPC = ""
DEBUG (Nero plugin): neroDAOV2.TocType = 0x0001
DEBUG (Nero plugin): neroDAOV2.FirstTrack = 1
DEBUG (Nero plugin): neroDAOV2.LastTrack = 1
DEBUG (Nero plugin): Disc-At-Once entry 1
DEBUG (Nero plugin): 	 _entry[1].ISRC = ""
DEBUG (Nero plugin): 	 _entry[1].SectorSize = 2048
DEBUG (Nero plugin): 	 _entry[1].Mode = Data (0x0000)
DEBUG (Nero plugin): 	 _entry[1].Unknown = 01
DEBUG (Nero plugin): 	 _entry[1].Index0 = 0
DEBUG (Nero plugin): 	 _entry[1].Index1 = 307200
DEBUG (Nero plugin): 	 _entry[1].EndOfTrack = 2463744
DEBUG (Nero plugin): ChunkID = 0x53494E46 ("SINF")
DEBUG (Nero plugin): ChunkLength = 4
DEBUG (Nero plugin): Found "SINF" chunk, parsing 4 bytes
DEBUG (Nero plugin): 	Session 1 has 1 tracks
DEBUG (Nero plugin): ChunkID = 0x4D545950 ("MTYP")
DEBUG (Nero plugin): ChunkLength = 4
DEBUG (Nero plugin): Found "MTYP" chunk, parsing 4 bytes
DEBUG (Nero plugin): 	Media type is NeroMtypCd (1)
DEBUG (Nero plugin): ChunkID = 0x454E4421 ("END!")
DEBUG (Nero plugin): ChunkLength = 0
DEBUG (Nero plugin): Found "END!" chunk, finishing parse
DEBUG (Nero plugin): Building offset, track and session maps
DEBUG (Nero plugin): 	currentsession = 1
DEBUG (Nero plugin): 	currentsessionmaxtrack = 1
DEBUG (Nero plugin): 	currentsessioncurrenttrack = 1
DEBUG (Nero plugin): 		 _track.TrackDescription = 
DEBUG (Nero plugin): 		 _track.TrackEndSector = 1052
DEBUG (Nero plugin): 		 _track.TrackPregap = 0
DEBUG (Nero plugin): 		 _track.TrackSequence = 1
DEBUG (Nero plugin): 		 _track.TrackSession = 1
DEBUG (Nero plugin): 		 _track.TrackStartSector = 0
DEBUG (Nero plugin): 		 _track.TrackType = CdMode1
DEBUG (Nero plugin): 		 Offset[1]: 0
Entropying sector 1053 of track 1                                              

Entropy for track 1 is 6.0967.
Track 1 has 785 unique sectors (74.549%)
Sectors 1053
Entropying sector 1053Unhandled exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
 ---> System.ArgumentOutOfRangeException: Sector address 1052 not found (Parameter 'sectorAddress')
   at Aaru.DiscImages.Nero.ReadSectors(UInt64 sectorAddress, UInt32 length) in /home/claunia/Development/Aaru/Aaru/Aaru.Images/Nero/Read.cs:line 1077
   at Aaru.DiscImages.Nero.ReadSector(UInt64 sectorAddress) in /home/claunia/Development/Aaru/Aaru/Aaru.Images/Nero/Read.cs:line 1060
   at Aaru.Core.Entropy.CalculateMediaEntropy(Boolean duplicatedSectors) in /home/claunia/Development/Aaru/Aaru/Aaru.Core/Entropy.cs:line 167
   at Aaru.Commands.Image.EntropyCommand.Invoke(Boolean debug, Boolean verbose, Boolean duplicatedSectors, String imagePath, Boolean separatedTracks, Boolean wholeDisc)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
   at System.CommandLine.Invocation.ModelBindingCommandHandler.InvokeAsync(InvocationContext context)
   at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseParseErrorReporting>b__19_0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass14_0.<<UseHelp>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass22_0.<<UseVersionOption>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass21_0.<<UseTypoCorrections>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseSuggestDirective>b__20_0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseParseDirective>b__18_0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseDebugDirective>b__10_0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<RegisterWithDotnetSuggest>b__9_0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass12_0.<<UseExceptionHandler>b__0>d.MoveNext()
Originally created by @TheRogueArchivist on GitHub (Apr 18, 2020). ### Prerequisites * [X] Are you running the latest version? * [X] Can you reproduce the problem in the debug version? ### Description When running the entropy command on an NRG image, Aaru crashes with an unhandled exception. [NRG image.zip](https://github.com/aaru-dps/Aaru/files/4316445/NRG.image.zip) ### Exact command line used: `dotnet aaru.dll -d i entropy TempImage.nrg` ### Output of command execution with debug output enabled ``` aaru 5.1.99.2967 Copyright © 2011-2020 Natalia Portillo DEBUG (Entropy command): --debug=True DEBUG (Entropy command): --duplicated-sectors=True DEBUG (Entropy command): --input=TempImage.nrg DEBUG (Entropy command): --separated-tracks=True DEBUG (Entropy command): --verbose=False DEBUG (Entropy command): --whole-disc=True DEBUG (Format detection): Trying plugin Aaru Format DEBUG (Format detection): Trying plugin ACT Apricot Disk Image DEBUG (Format detection): Trying plugin Alcohol 120% Media Descriptor Structure DEBUG (Format detection): Trying plugin Anex86 Disk Image DEBUG (Anex86 plugin): fdihdr.unknown = 0 DEBUG (Anex86 plugin): fdihdr.hddtype = 0 DEBUG (Anex86 plugin): fdihdr.hdrSize = 0 DEBUG (Anex86 plugin): fdihdr.dskSize = 0 DEBUG (Anex86 plugin): fdihdr.bps = 0 DEBUG (Anex86 plugin): fdihdr.spt = 0 DEBUG (Anex86 plugin): fdihdr.heads = 0 DEBUG (Anex86 plugin): fdihdr.cylinders = 0 DEBUG (Format detection): Trying plugin Apple ][ Interleaved Disk Image DEBUG (Format detection): Trying plugin Apple 2IMG DEBUG (Format detection): Trying plugin Apple Disk Archival/Retrieval Tool DEBUG (Format detection): Trying plugin Apple DiskCopy 4.2 DEBUG (DC42 plugin): tmp_header.diskName = "" DEBUG (DC42 plugin): tmp_header.dataSize = 0 bytes DEBUG (DC42 plugin): tmp_header.tagSize = 0 bytes DEBUG (DC42 plugin): tmp_header.dataChecksum = 0x00000000 DEBUG (DC42 plugin): tmp_header.tagChecksum = 0x00000000 DEBUG (DC42 plugin): tmp_header.format = 0x00 DEBUG (DC42 plugin): tmp_header.fmtByte = 0x00 DEBUG (DC42 plugin): tmp_header.valid = 0 DEBUG (DC42 plugin): tmp_header.reserved = 0 DEBUG (Format detection): Trying plugin Apple New Disk Image Format DEBUG (Format detection): Trying plugin Apple NIB DEBUG (Format detection): Trying plugin Apple Universal Disk Image Format DEBUG (Format detection): Trying plugin Basic Lisa Utility DEBUG (Format detection): Trying plugin BlindWrite 4 DEBUG (Format detection): Trying plugin BlindWrite 5 DEBUG (Format detection): Trying plugin CDRDAO tocfile DEBUG (Format detection): Trying plugin CDRWin cuesheet DEBUG (Format detection): Trying plugin CisCopy Disk Image (DC-File) DEBUG (Format detection): Trying plugin CloneCD DEBUG (Format detection): Trying plugin CopyTape DEBUG (Format detection): Trying plugin CPCEMU Disk-File and Extended CPC Disk-File DEBUG (CPCDSK plugin): header.magic = "" DEBUG (Format detection): Trying plugin d2f disk image DEBUG (Format detection): Trying plugin D88 Disk Image DEBUG (D88 plugin): d88hdr.name = "" DEBUG (D88 plugin): d88hdr.reserved is empty? = True DEBUG (D88 plugin): d88hdr.write_protect = 0x00 DEBUG (D88 plugin): d88hdr.disk_type = D2 (0) DEBUG (D88 plugin): d88hdr.disk_size = 0 DEBUG (Format detection): Trying plugin Digital Research DiskCopy DEBUG (Format detection): Trying plugin DIM Disk Image DEBUG (Format detection): Trying plugin DiscFerret DEBUG (Format detection): Trying plugin DiscJuggler DEBUG (DiscJuggler plugin): dscLen = 9970944 DEBUG (Format detection): Trying plugin Dreamcast GDI image DEBUG (Format detection): Trying plugin Dunfield's IMD DEBUG (Format detection): Trying plugin HD-Copy disk image DEBUG (Format detection): Trying plugin IBM SaveDskF DEBUG (Format detection): Trying plugin KryoFlux STREAM DEBUG (Format detection): Trying plugin MAME Compressed Hunks of Data DEBUG (Format detection): Trying plugin MAXI Disk image DEBUG (MAXI Disk plugin): tmp_header.unknown = 0 DEBUG (MAXI Disk plugin): tmp_header.diskType = 0 DEBUG (MAXI Disk plugin): tmp_header.heads = 0 DEBUG (MAXI Disk plugin): tmp_header.cylinders = 0 DEBUG (MAXI Disk plugin): tmp_header.bytesPerSector = 0 DEBUG (MAXI Disk plugin): tmp_header.sectorsPerTrack = 0 DEBUG (MAXI Disk plugin): tmp_header.unknown2 = 0 DEBUG (MAXI Disk plugin): tmp_header.unknown3 = 0 DEBUG (Format detection): Trying plugin Microsoft VHDX DEBUG (Format detection): Trying plugin Nero Burning ROM image DEBUG (Nero plugin): imageStream.Length = 2463900 DEBUG (Nero plugin): footerV1.ChunkID = 0x00000000 DEBUG (Nero plugin): footerV1.FirstChunkOffset = 2463744 DEBUG (Nero plugin): footerV2.ChunkID = 0x4E455235 DEBUG (Nero plugin): footerV2.FirstChunkOffset = 2463744 DEBUG (Nero plugin): imageStream.Length = 2463900 DEBUG (Nero plugin): footerV1.ChunkID = 0x00000000 ("") DEBUG (Nero plugin): footerV1.FirstChunkOffset = 2463744 DEBUG (Nero plugin): footerV2.ChunkID = 0x4E455235 ("NER5") DEBUG (Nero plugin): footerV2.FirstChunkOffset = 2463744 DEBUG (Nero plugin): ChunkID = 0x43554558 ("CUEX") DEBUG (Nero plugin): ChunkLength = 32 DEBUG (Nero plugin): Found "CUEX" chunk, parsing 32 bytes DEBUG (Nero plugin): Cuesheet entry 1 DEBUG (Nero plugin): _entry[1].Mode = 0x41 DEBUG (Nero plugin): _entry[1].TrackNumber = 00 DEBUG (Nero plugin): _entry[1].IndexNumber = 00 DEBUG (Nero plugin): _entry[1].Dummy = 00 DEBUG (Nero plugin): _entry[1].LBAStart = -150 DEBUG (Nero plugin): Cuesheet entry 2 DEBUG (Nero plugin): _entry[2].Mode = 0x41 DEBUG (Nero plugin): _entry[2].TrackNumber = 01 DEBUG (Nero plugin): _entry[2].IndexNumber = 00 DEBUG (Nero plugin): _entry[2].Dummy = 00 DEBUG (Nero plugin): _entry[2].LBAStart = -150 DEBUG (Nero plugin): Cuesheet entry 3 DEBUG (Nero plugin): _entry[3].Mode = 0x41 DEBUG (Nero plugin): _entry[3].TrackNumber = 01 DEBUG (Nero plugin): _entry[3].IndexNumber = 01 DEBUG (Nero plugin): _entry[3].Dummy = 00 DEBUG (Nero plugin): _entry[3].LBAStart = 0 DEBUG (Nero plugin): Cuesheet entry 4 DEBUG (Nero plugin): _entry[4].Mode = 0x41 DEBUG (Nero plugin): _entry[4].TrackNumber = AA DEBUG (Nero plugin): _entry[4].IndexNumber = 01 DEBUG (Nero plugin): _entry[4].Dummy = 00 DEBUG (Nero plugin): _entry[4].LBAStart = 1053 DEBUG (Nero plugin): ChunkID = 0x44414F58 ("DAOX") DEBUG (Nero plugin): ChunkLength = 64 DEBUG (Nero plugin): Found "DAOX" chunk, parsing 64 bytes DEBUG (Nero plugin): neroDAOV2.ChunkSizeLe = 64 bytes DEBUG (Nero plugin): neroDAOV2.UPC = "" DEBUG (Nero plugin): neroDAOV2.TocType = 0x0001 DEBUG (Nero plugin): neroDAOV2.FirstTrack = 1 DEBUG (Nero plugin): neroDAOV2.LastTrack = 1 DEBUG (Nero plugin): Disc-At-Once entry 1 DEBUG (Nero plugin): _entry[1].ISRC = "" DEBUG (Nero plugin): _entry[1].SectorSize = 2048 DEBUG (Nero plugin): _entry[1].Mode = Data (0x0000) DEBUG (Nero plugin): _entry[1].Unknown = 01 DEBUG (Nero plugin): _entry[1].Index0 = 0 DEBUG (Nero plugin): _entry[1].Index1 = 307200 DEBUG (Nero plugin): _entry[1].EndOfTrack = 2463744 DEBUG (Nero plugin): ChunkID = 0x53494E46 ("SINF") DEBUG (Nero plugin): ChunkLength = 4 DEBUG (Nero plugin): Found "SINF" chunk, parsing 4 bytes DEBUG (Nero plugin): Session 1 has 1 tracks DEBUG (Nero plugin): ChunkID = 0x4D545950 ("MTYP") DEBUG (Nero plugin): ChunkLength = 4 DEBUG (Nero plugin): Found "MTYP" chunk, parsing 4 bytes DEBUG (Nero plugin): Media type is NeroMtypCd (1) DEBUG (Nero plugin): ChunkID = 0x454E4421 ("END!") DEBUG (Nero plugin): ChunkLength = 0 DEBUG (Nero plugin): Found "END!" chunk, finishing parse DEBUG (Nero plugin): Building offset, track and session maps DEBUG (Nero plugin): currentsession = 1 DEBUG (Nero plugin): currentsessionmaxtrack = 1 DEBUG (Nero plugin): currentsessioncurrenttrack = 1 DEBUG (Nero plugin): _track.TrackDescription = DEBUG (Nero plugin): _track.TrackEndSector = 1052 DEBUG (Nero plugin): _track.TrackPregap = 0 DEBUG (Nero plugin): _track.TrackSequence = 1 DEBUG (Nero plugin): _track.TrackSession = 1 DEBUG (Nero plugin): _track.TrackStartSector = 0 DEBUG (Nero plugin): _track.TrackType = CdMode1 DEBUG (Nero plugin): Offset[1]: 0 Entropying sector 1053 of track 1 Entropy for track 1 is 6.0967. Track 1 has 785 unique sectors (74.549%) Sectors 1053 Entropying sector 1053Unhandled exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentOutOfRangeException: Sector address 1052 not found (Parameter 'sectorAddress') at Aaru.DiscImages.Nero.ReadSectors(UInt64 sectorAddress, UInt32 length) in /home/claunia/Development/Aaru/Aaru/Aaru.Images/Nero/Read.cs:line 1077 at Aaru.DiscImages.Nero.ReadSector(UInt64 sectorAddress) in /home/claunia/Development/Aaru/Aaru/Aaru.Images/Nero/Read.cs:line 1060 at Aaru.Core.Entropy.CalculateMediaEntropy(Boolean duplicatedSectors) in /home/claunia/Development/Aaru/Aaru/Aaru.Core/Entropy.cs:line 167 at Aaru.Commands.Image.EntropyCommand.Invoke(Boolean debug, Boolean verbose, Boolean duplicatedSectors, String imagePath, Boolean separatedTracks, Boolean wholeDisc) --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) at System.CommandLine.Invocation.ModelBindingCommandHandler.InvokeAsync(InvocationContext context) at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseParseErrorReporting>b__19_0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass14_0.<<UseHelp>b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass22_0.<<UseVersionOption>b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass21_0.<<UseTypoCorrections>b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseSuggestDirective>b__20_0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseParseDirective>b__18_0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseDebugDirective>b__10_0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<RegisterWithDotnetSuggest>b__9_0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass12_0.<<UseExceptionHandler>b__0>d.MoveNext() ```
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#397