Skip to content

Recent AppImage doesn't work - Squashfs image uses (null) compression #2538

Closed

Description

@areksobiczewski

I've been using draw.io as an AppImage for years with appimagelauncher under Debian 12 with KDE.
This includes an auto update mechanism built into my AppImage manager.

Today, when the app updated neither intergration of the new AppImage of draw.io nor running it once works due to potential sqfs_open_image error.
Something must have changed in the way the draw.io is being delivered from now on.

Errors and packages version (up to date as of today) in the following logs:

  1. An attempt to integrate the image:
    arek@Legion-Y530:~$ appimagelauncherd Found AppImage: /home/arek/AppImage-Apps/drawio-x86_64-31.4.2_4949fee909f49546029850333d9445df.AppImage AppImage is not integrated yet, integrating Scheduling for (re-)integration: /home/arek/AppImage-Apps/drawio-x86_64-31.4.2_4949fee909f49546029850333d9445df.AppImage Executing deferred operations Integrating: /home/arek/AppImage-Apps/drawio-x86_64-31.4.2_4949fee909f49546029850333d9445df.AppImage Squashfs image uses (null) compression, this version supports only xz, zlib. ERROR: appimage_shall_not_be_integrated : sqfs_open_image error: /home/arek/AppImage-Apps/drawio-x86_64-31.4.2_4949fee909f49546029850333d9445df.AppImage WARNING: AppImage shall not be integrated, skipping Cleaning up old desktop integration files Updating desktop database and icon caches Done
  2. AppImage launcher packages version in my OS:
    appimagelauncher 2.2.0-travis995~0f91801+bionic
    libappimage1.0abi1:amd64 1.0.4-5-1

Not entirely sure if this is a case for draw.io or the appimagelauncher team. Trying with you as the first attempt.

Activity

  1. draw-io-triage-bot commented on Sep 6, 2026

    @draw-io-triage-bot

    👋 Thank you for opening this issue!


    Summary: The user reports that the draw.io AppImage v31.4.2 fails to integrate or run via AppImageLauncher due to a SquashFS compression format incompatibility — the error indicates the image uses an unsupported compression type (likely zstd), while their AppImageLauncher version (2.2.0) only supports xz and zlib. This is most likely a compatibility issue with the outdated AppImageLauncher rather than a draw.io bug, though it may indicate a change in how the draw.io AppImage is built (possibly switching to zstd compression in the SquashFS image).


    📝 Additional Information Needed

    To help us investigate this more effectively, could you please provide:

    • Can you confirm whether the AppImage works when run directly from the command line (e.g., ./drawio-x86_64-31.4.2_*.AppImage --no-sandbox) bypassing AppImageLauncher entirely?
    • Have you tried downloading the AppImage directly from the draw.io GitHub releases page (https://github.com/jgraph/drawio-desktop/releases) to rule out a corrupted download from the auto-update mechanism?
    • The draw.io AppImage may have switched to a newer AppImage format (type 2 with zstd compression) that your version of AppImageLauncher (2.2.0) doesn't support. AppImageLauncher 2.2.0 is quite old and only supports xz and zlib compression. Have you considered updating AppImageLauncher or switching to a newer alternative like AppImageUpdate or GearLever?
    📋 Bug Report Template
    **Environment:**
    - draw.io version: [e.g., web app / desktop 24.x.x / Confluence plugin]
    - Browser (if web): [e.g., Chrome 120, Firefox 121]
    - OS: [e.g., Windows 11, macOS 14, Ubuntu 22.04]
    
    **Steps to Reproduce:**
    1. Go to ...
    2. Click on ...
    3. See error
    
    **Expected Behavior:**
    What you expected to happen.
    
    **Actual Behavior:**
    What actually happened.
    
    **Screenshots/Files:**
    If applicable, add screenshots or attach the .drawio file.
    
    ---

    🤖 This is an automated response to help with initial triage. A human maintainer will review this issue. If you've provided all the requested information, no further action is needed - we'll get back to you soon!

  2. areksobiczewski commented on Sep 6, 2026

    @areksobiczewski
    Author

    arek@Legion-Y530:~/AppImage-Apps$ ./drawio-x86_64-31.4.2_*.AppImage --no-sandbox Squashfs image uses (null) compression, this version supports only xz, zlib. ERROR: appimage_shall_not_be_integrated : sqfs_open_image error: /home/arek/AppImage-Apps/drawio-x86_64-31.4.2_4949fee909f49546029850333d9445df.AppImage AppImageLauncher error: appimage_shall_not_be_integrated() failed (returned -1) Squashfs image uses (null) compression, this version supports only xz, zlib. ERROR: appimage_is_terminal_app : sqfs_open_image error: /home/arek/AppImage-Apps/drawio-x86_64-31.4.2_4949fee909f49546029850333d9445df.AppImage AppImageLauncher error: appimage_is_terminal_app() failed (returned -1) fuse: memory allocation failed squashfuse 0.5.2 (c) 2012 Dave Vasilevsky

  3. areksobiczewski commented on Sep 6, 2026

    @areksobiczewski
    Author

    I have also tried manually downloading the newest AppImage from github resources - the same issue happens.

    As a temporary solution I will be using manually installed previous version of the AppImage, the 31.3.2
    The older version does work like intended.

  4. transferred this issue fromjgraph/drawioon Sep 6, 2026
  5. davidjgraph commented on Sep 6, 2026

    @davidjgraph
    Contributor

    Confirmed, this is our change, not an appimagelauncher bug.

    31.4.2 moved the AppImage to the static runtime to drop the libfuse2 dependency (#2527). That also switched the squashfs compression from gzip to zstd. Checked the released files directly: 31.3.2 is gzip, 31.4.2 is zstd, both x86_64 and arm64.

    AppImageLauncher 2.2.0 ships its own copy of libappimage/squashfuse with only zlib and xz compiled in, so it cannot read the image. Fixed upstream in AppImageLauncher 3.0.0 (TheAssassin/AppImageLauncher#674), but 2.2.0 is still the only stable release, so most people have the affected one.

    We are pinning the AppImage back to gzip for the next release. That keeps the libfuse2 fix and works with both old and new appimagelauncher. Staying on 31.3.2 until then is fine.

    If you want 31.4.2 now, either upgrade to an AppImageLauncher 3.0.0 beta, or bypass the binfmt hook:

    APPIMAGELAUNCHER_DISABLE=1 ./drawio-x86_64-31.4.2.AppImage
    

    Can you try that one and say whether it starts? The last two lines of your log (fuse: memory allocation failed, then the squashfuse banner) come from the AppImage's own runtime rather than from appimagelauncher, so I want to rule out a second problem.

  6. areksobiczewski commented on Sep 6, 2026

    @areksobiczewski
    Author

    As for the:
    APPIMAGELAUNCHER_DISABLE=1 ./drawio-x86_64-31.4.2.AppImage

    The output on my side is:
    arek@Legion-Y530:~/Downloads$ APPIMAGELAUNCHER_DISABLE=1 ./drawio-x86_64-31.4.2.AppImage fuse: memory allocation failed squashfuse 0.5.2 (c) 2012 Dave Vasilevsky
    (...)
    Can't open squashfs image: Bad address
    (...)
    execv error: No such file or directory


    Proposed ways of handing the issue do work for me (I'll be using the older version untill you provide a newer image with changes needed appliet). Thank you.
    The most important thing is that now you're familiar with the issue where the newest AppImage does not work with older Debian systems.

    Please, decide whether you want to close this github issue or do something else with it.
    Have a nice day!

  7. davidjgraph commented on Sep 6, 2026

    @davidjgraph
    Contributor

    try 31.4.4

  8. areksobiczewski commented on Sep 6, 2026

    @areksobiczewski
    Author

    The 31.4.4 doesn't work for me. The same set of issues like previously mentioned:

    arek@Legion-Y530:~/AppImage-Apps$ ./drawio-x86_64-31.4.4_e8050388c998c17abb55649845b5f067.AppImage fuse: memory allocation failed squashfuse 0.5.2 (c) 2012 Dave Vasilevsky
    (...)
    Can't open squashfs image: Bad address
    (...)
    execv error: No such file or directory

    I was able to install / integrate the app image, though (that was not the case with the 31.4.3 if I remember correctly). It's just that I can't start the app.

  9. davidjgraph commented on Sep 6, 2026

    @davidjgraph
    Contributor

    Different problem, and this one is not fixable on our side.

    The gzip change did land in 31.4.4 and it fixed half of it, which matches what you saw: integration works now. What is left is the runtime. 31.4.2 also moved from the old libfuse2 runtime to the new static one, and AppImageLauncher 2.x cannot load that. Upstream bug is AppImage/type2-runtime#121, same output as yours, closed as needing a fix in AppImageLauncher. The 3.0.0 alphas and betas handle it.

    APPIMAGELAUNCHER_DISABLE=1 was wrong advice from me. Reading the source, it only skips the AppImageLauncher UI and still runs the file through the same binfmt bypass loader that fails, so it can never help here.

    The image itself is fine, 31.4.4 mounts and runs on a stock Debian 12 with fuse3 and no appimagelauncher installed.

    Three ways out:

    1. Remove appimagelauncher and run the AppImage directly.
    2. Move to an AppImageLauncher 3.0.0 beta.
    3. Keep appimagelauncher and extract instead of launching, since binfmt only intercepts the AppImage itself:
    unsquashfs -o 944632 drawio-x86_64-31.4.4.AppImage
    ./squashfs-root/AppRun
    

    Leaving this open while we decide whether to go back to the old runtime, which would bring the libfuse2 dependency back (#2527).

  10. davidjgraph commented on Sep 6, 2026

    @davidjgraph
    Contributor

    Update: rather than going back to the old runtime for everyone, the next release will ship two Linux AppImages.

    The default one stays on the static runtime, so it keeps working on distros that no longer ship libfuse2. Alongside it there will be a second file with a -legacy suffix, built on the old fuse2 runtime, which is the one AppImageLauncher 2.x can actually load. They publish to separate update channels, so once you are on the legacy build it will keep updating to legacy builds rather than moving you back onto the one that fails.

    You will need to download the -legacy file by hand once, after that the usual update mechanism applies.

    For the record, the reason no single AppImage can serve both: AppImageLauncher's binfmt bypass copies the runtime into a memfd and uses an LD_PRELOAD shim to point it back at the real file. A static runtime has no dynamic linker, so the shim is ignored and the runtime finds no filesystem, which is the "Can't open squashfs image: Bad address" you saw. Dropping libfuse2 requires exactly that static runtime, so the two requirements are mutually exclusive.

    Leaving this open until the legacy build has shipped and you have confirmed it works.

  11. areksobiczewski commented on Sep 7, 2026

    @areksobiczewski
    Author

    Thank you, @davidjgraph
    Very informative.

    Me personally - I upgraded the appimagelauncher to the newest 3.x version. I'm happy to report that the upgrade is very easy to perform (the appimagelauncher team provides .deb install files for simplicity), and after that there are no issues with draw.io 31.4.4 anymore. Not even a system restart is required.
    I'm leaving a link to the appimagelauncher release page for those who will stumble upon this github issue in the future:
    https://github.com/TheAssassin/AppImageLauncher/releases

    The mentioned update is so easy and straightforward that I'm thinking now whether it makes sense to make two separate images on your side TBH... Maybe a well available / visible information about the issues I've stumbled upon on Debian 12, and the easy solution offcourse available, would be a good middle ground?

    Have a nice day!
    Arek

  12. davidjgraph commented on Sep 7, 2026

    @davidjgraph
    Contributor

    Thanks for testing and reporting back, that settles it.

    Dropping the two image plan. If the upgrade is a .deb away and fixes it completely, shipping a second AppImage for one unmaintained version of one third party tool is not worth the extra confusion on the releases page.

    Added a Linux section to the README instead, with the error text in it so searches land on it, plus the link to the AppImageLauncher releases page.

    For anyone finding this later, the difference is that AppImageLauncher 3.x sets TARGET_APPIMAGE when it launches an AppImage, while 2.2.0 only uses an LD_PRELOAD shim, which a static runtime ignores. Their own source says as much. Checked here: the runtime on its own cannot find the filesystem, and mounts fine when TARGET_APPIMAGE points at the real file.

    Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions