Menu

#2471 7-Zip 24.04 Beta fails to extract ISO files that 7-Zip 23.01 can extract

open
5
2024-05-14
2024-05-14
No

Description:

When using 7-Zip 24.04 Beta to extract an ISO file, the operation fails with the error message "Open ERROR: Cannot open the file as [Iso] archive". The same operation succeeds when using 7-Zip 23.01.

Steps to reproduce:

  1. Install 7-Zip 24.04 Beta and add it to the system path.
  2. Download the ISO file from 'https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/latest-virtio/virtio-win.iso'.
  3. Run the command 7z.exe x -y -bsp1 -tiso "E:\_ISO\virtio-win-0.1.248-1.iso" -oC:\_DISM_\_RamFolder\asdfasdf in PowerShell.

Expected result:

The ISO file is extracted without errors.

Actual result:

The operation fails with the error message "Open ERROR: Cannot open the file as [Iso] archive".

Additional information:

The same operation succeeds when using 7-Zip 23.01. The error only occurs with 7-Zip 24.04 Beta.

Environment:

  • OS: Windows 11 22631.3527
  • 7-Zip Version: 24.04 Beta
    7zip installed using choco package manager in both cases (Mentioned for the sake of completeness)
    the "_RamFolder" folder is a Ram Disk backed by ImDisk (Mentioned for the sake of completeness)
2 Attachments

Discussion

  • Igor Pavlov

    Igor Pavlov - 2024-05-14

    "Primary Volume Descriptor" in that iso contains:
    "File Structure Version" field value is equal to 2.
    7-Zip 24.04 expected that this field value must contain 1.
    Actually I don't know what exact values are allowed there.
    I can remove that check from code, and it will work.

    Can it be bug in ISO creation software?
    Is value == 2 expected there?
    That iso has Application string: "
    Application: GENISOIMAGE ISO 9660/HFS FILESYSTEM CREATOR (C) 1993 E.YOUNGDALE (C) 1997-2006 J.PEARSON/J.SCHILLING (C) 2006-2007 CDRKIT TEAM"

     

    Last edit: Igor Pavlov 2024-05-14
  • Sam Tansy

    Sam Tansy - 2024-05-14

    Actually I don't know what exact values are allowed there.

    Hard to say as

    cdrkit has been abandoned upstream and has been replaced by the libburnia
    tools but it's still required for the time being as xorriso currently
    does not support creating legacy HFS filesystems which is required for
    creating debian-installer ISO images for m68k.

    ITA: cdrkit -- collection of computer programs for CD and DVD authoring (16 Nov 2020)

    The only way is to ask the current mainainer of cdrkit (Glaubitz?) what that value is and then decide what and how.

     

Log in to post a comment.

MongoDB Logo MongoDB