[Bug] Missing line break in "Copy of information of A1 from ATIP found" #950

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

Originally created by @TheRogueArchivist on GitHub (Dec 12, 2022).

Version

5.3.0

Commit hash

No response

Tested debug version?

  • Yes

Which operating systems have you used?

  • Windows
  • Linux
  • macOS
  • Other

What is the architectural bit size you're using?

  • 32-bit
  • 64-bit
  • Unsure or unknown

What processor are you using?

  • An Intel or AMD
  • An ARM or Apple Silicon
  • Unsure or unknown

Device manufacturer

Multiple

Device model

Multiple

Bus the device uses to attach to the computer

  • Parallel ATA
  • Serial ATA
  • SCSI (any)
  • ATAPI (mark above if parallel or serial)
  • USB
  • FireWire
  • PCMCIA
  • SecureDigital
  • MultiMediaCard

USB cable or card reader manufacturer

No response

USB cable or card reader model

No response

What were you doing when it failed?

  • I was dumping media (disk, tape, etc)...
  • I was retrieving media (disk, tape, etc) information...
  • I was scanning media (disk, tape, etc)...
  • I was retrieving device information...

Description

When getting the media info of a CD-RW, Aaru prints "Copy of information of A1 from ATIP found". There's a missing line break, causing the output text to be incorrectly formatted.

Exact command line used

Aaru m info D:

Expected behavior

The output to be correctly formatted.

Actual behavior

There's a missing line break.

Output of command execution with debug output enabled

5.3.2~rc1+493ab671
Copyright c 2011-2023 Natalia Portillo

Media has 608 blocks of 2048 bytes/each. (for a total of 1.188 MiB)
TOC:
First track number in first complete session: 1
Last track number in last complete session: 1
Track number: 1
Track starts at LBA 0, or MSF 00:00:00
Q subchannel stores track pointer
Data track, recorded uninterrupted
Digital copy of track is prohibited

Track number: Lead-Out
Track starts at LBA 608, or MSF 02:00:00
Q subchannel stores track pointer
Data track, recorded uninterrupted
Digital copy of track is prohibited


ATIP:
Indicative Target Writing Power: 0x05
Disc is CD-RW
Reference speed is 2x
Disc use is restricted
ATIP Start time of Lead-in: 97:26:65
ATIP Last possible start time of Lead-out: 79:59:74
A1 value: 0x024CB0
A2 value: 0x4AC836
Disc uses phase change
Disc manufactured by: CMC Magnetics Corporation

Standard Disc Information:
Disc type declared as CD-DA or CD-ROM
Disc is finalized
Disc is erasable
Last session is complete
First track on disc is track 1
Disc has 1 sessions
First track in last session is track 1
Last track in last session is track 1
Last session Lead-In address is 4294967295 (as LBA) or FF:FF:FF
Last possible Lead-Out address is 4294967295 (as LBA) or FF:FF:FF
Disc is defined for restricted use
Disc ID: 189700

Session information:
First complete session number: 1
Last complete session number: 1
First track number in last complete session: 1
Track starts at LBA 512, or MSF 02:00:00
Q subchannel stores current position
Data track, recorded uninterrupted
Digital copy of track is prohibited


Raw TOC:
First complete session number: 1
Last complete session number: 1
Session 1
First track number: 1 (Data track, recorded uninterrupted)
Disc type: 0
Last track number: 1 (Data track, recorded uninterrupted)
Lead-out start position: 00:10:08
Lead-out is data type
Data track 1 starts at: 00:02:00 (Data track, recorded uninterrupted)
Start of next possible program in the recordable area of the disc: 00:255:255:255
Maximum start of outermost Lead-out in the recordable area of the disc: 03:79:59:74
Optimum recording power: 0xA2
Start time of the first Lead-in area in the disc: 97:26:65
Copy of information of A1 from ATIP foundMin = 4
Sec = 152
Frame = 96
Zero = 0
PMIN = 0
PSEC = 0
PFRAME = 0

PMA:
Disc ID: 189700
Track 1 (Data track, recorded uninterrupted) starts at 00:02:00 and ends at 00:10:08

Media Serial Number: D1C60000611A41004F3B4A00
Media identified as CDRW

Track calculations:
Track 1 starts at LBA 0, ends at LBA 607, has a pregap of 0 sectors and is of type Data

Offsets:
Drive reading offset is 24 bytes (6 samples).
Combined offset is 0 bytes (0 samples)
Disc offset is -24 bytes (-6 samples)

Media details

Media info:
793.zip

Originally created by @TheRogueArchivist on GitHub (Dec 12, 2022). ### Version 5.3.0 ### Commit hash _No response_ ### Tested debug version? - [X] Yes ### Which operating systems have you used? - [X] Windows - [ ] Linux - [ ] macOS - [ ] Other ### What is the architectural bit size you're using? - [ ] 32-bit - [X] 64-bit - [ ] Unsure or unknown ### What processor are you using? - [X] An Intel or AMD - [ ] An ARM or Apple Silicon - [ ] Unsure or unknown ### Device manufacturer Multiple ### Device model Multiple ### Bus the device uses to attach to the computer - [ ] Parallel ATA - [ ] Serial ATA - [ ] SCSI (any) - [ ] ATAPI (mark above if parallel or serial) - [ ] USB - [ ] FireWire - [ ] PCMCIA - [ ] SecureDigital - [ ] MultiMediaCard ### USB cable or card reader manufacturer _No response_ ### USB cable or card reader model _No response_ ### What were you doing when it failed? - [ ] I was dumping media (disk, tape, etc)... - [X] I was retrieving media (disk, tape, etc) information... - [ ] I was scanning media (disk, tape, etc)... - [ ] I was retrieving device information... ### Description When getting the media info of a CD-RW, Aaru prints "Copy of information of A1 from ATIP found". There's a missing line break, causing the output text to be incorrectly formatted. ### Exact command line used Aaru m info D: ### Expected behavior The output to be correctly formatted. ### Actual behavior There's a missing line break. ### Output of command execution with debug output enabled ```shell 5.3.2~rc1+493ab671 Copyright c 2011-2023 Natalia Portillo Media has 608 blocks of 2048 bytes/each. (for a total of 1.188 MiB) TOC: First track number in first complete session: 1 Last track number in last complete session: 1 Track number: 1 Track starts at LBA 0, or MSF 00:00:00 Q subchannel stores track pointer Data track, recorded uninterrupted Digital copy of track is prohibited Track number: Lead-Out Track starts at LBA 608, or MSF 02:00:00 Q subchannel stores track pointer Data track, recorded uninterrupted Digital copy of track is prohibited ATIP: Indicative Target Writing Power: 0x05 Disc is CD-RW Reference speed is 2x Disc use is restricted ATIP Start time of Lead-in: 97:26:65 ATIP Last possible start time of Lead-out: 79:59:74 A1 value: 0x024CB0 A2 value: 0x4AC836 Disc uses phase change Disc manufactured by: CMC Magnetics Corporation Standard Disc Information: Disc type declared as CD-DA or CD-ROM Disc is finalized Disc is erasable Last session is complete First track on disc is track 1 Disc has 1 sessions First track in last session is track 1 Last track in last session is track 1 Last session Lead-In address is 4294967295 (as LBA) or FF:FF:FF Last possible Lead-Out address is 4294967295 (as LBA) or FF:FF:FF Disc is defined for restricted use Disc ID: 189700 Session information: First complete session number: 1 Last complete session number: 1 First track number in last complete session: 1 Track starts at LBA 512, or MSF 02:00:00 Q subchannel stores current position Data track, recorded uninterrupted Digital copy of track is prohibited Raw TOC: First complete session number: 1 Last complete session number: 1 Session 1 First track number: 1 (Data track, recorded uninterrupted) Disc type: 0 Last track number: 1 (Data track, recorded uninterrupted) Lead-out start position: 00:10:08 Lead-out is data type Data track 1 starts at: 00:02:00 (Data track, recorded uninterrupted) Start of next possible program in the recordable area of the disc: 00:255:255:255 Maximum start of outermost Lead-out in the recordable area of the disc: 03:79:59:74 Optimum recording power: 0xA2 Start time of the first Lead-in area in the disc: 97:26:65 Copy of information of A1 from ATIP foundMin = 4 Sec = 152 Frame = 96 Zero = 0 PMIN = 0 PSEC = 0 PFRAME = 0 PMA: Disc ID: 189700 Track 1 (Data track, recorded uninterrupted) starts at 00:02:00 and ends at 00:10:08 Media Serial Number: D1C60000611A41004F3B4A00 Media identified as CDRW Track calculations: Track 1 starts at LBA 0, ends at LBA 607, has a pregap of 0 sectors and is of type Data Offsets: Drive reading offset is 24 bytes (6 samples). Combined offset is 0 bytes (0 samples) Disc offset is -24 bytes (-6 samples) ``` ### Media details Media info: [793.zip](https://github.com/aaru-dps/Aaru/files/10204223/793.zip)
claunia added the bugmedia labels 2026-01-29 15:34:12 +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#950