[CloneCD] Invalid image size calculating from disc with multiple sessions. #593

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

Originally created by @claunia on GitHub (Jan 9, 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: CloneCD
    • Application that created the image: CloneCD
  • I was checksumming the image

Description

Invalid image size calculating from disc with multiple sessions.

Exact command line used:

Unit test.

Expected behavior:

Test pass.

Actual behavior:

Invalid number of sectors.

Output of command execution with debug output enabled

Sectors: jaguarcd.ccd
  Expected: 243587
  But was:  232187

Image

jaguarcd.ccd
report_enhancedcd.ccd
test_disc_starts_at_track2.ccd
test_data_track_as_audio_fixed_sub.ccd
test_data_track_as_audio.ccd
test_enhancedcd.ccd
test_multisession.ccd
test_track2_inside_track1.ccd

Originally created by @claunia on GitHub (Jan 9, 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**: CloneCD * **Application that created the image**: CloneCD * [x] I was checksumming the image ### Description Invalid image size calculating from disc with multiple sessions. ### Exact command line used: Unit test. ### Expected behavior: Test pass. ### Actual behavior: Invalid number of sectors. ### Output of command execution with debug output enabled ``` Sectors: jaguarcd.ccd Expected: 243587 But was: 232187 ``` ### Image jaguarcd.ccd report_enhancedcd.ccd test_disc_starts_at_track2.ccd test_data_track_as_audio_fixed_sub.ccd test_data_track_as_audio.ccd test_enhancedcd.ccd test_multisession.ccd test_track2_inside_track1.ccd
claunia added the dump image format label 2026-01-29 15:23:20 +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#593