Large images corrupt after updating to v1.9.10

Steps to reproduce

  1. Use v1.8.x.
  2. Have some large sized image(s) anywhere in your vault. (Reproduced with 3840x2160, PNGs in my case.)
  3. Upgrade to v1.9.10.
  4. The image(s) are corrupt.

Did you follow the troubleshooting guide?

Yes (reproduced once with community plugins, once in restricted mode)

Expected result

No change or corruption in any images.

Actual result

The images in the vault are corrupt. Some image viewers (Obsidian, Windows default app, Paint .NET etc) show them with their lower areas broken, while some (Dropbox, Affinity Photo 2 etc) say the images are broken and cannot be shown.

Environment

SYSTEM INFO:
Obsidian version: v1.9.10
Installer version: v1.8.10
Operating system: Windows 11 Education 10.0.26100
Login status: not logged in
Language: en
Insider build toggle: off
Live preview: off
Base theme: light
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none


Additional information

I don’t know why but other images seems safe… My guess is that these are the only uncompressed PNG images in my vault.

What the original images looked like:


…and what they look like after updating:

Since the forum didn’t let me paste corrupt or large original images, I uploaded them on my Dropbox.
h ttps://www.dropbox.com/scl/fo/al3q8tg5apk8h3elr5ixa/AJKhU1UXEq_e3i2mvQ-fjRc?rlkey=b0qedukvebtajl4k9otndsc0u&st=oui1h6bx&dl=0

This is very strange. Run obsidian in restricted mode and restart it. Post a screen recoding of this happening.

Sure, but it may take a while

Everything is fine with the images after the update…

The largest ones are 8719x4000 (PNG), 8640x4320 (WEBP), and 8000x5000 (JPG).

I tried, but I couldn’t reproduce that anymore… what a mystery… I’m so sorry…

If you enable the third party plugins and try again, does it happen?

It did! Also I’ve determined that the cause would be Dataview or Self-hosted Live Sync (most likely the latter).
Maybe that corruption during restricted mode was some kind of timing issue…
In conclusion this bug seems unrelated to the core Obsidian program.

screen recording was uploaded to dropbox

Please, open a issue in their github repo.

Thanks.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.