Canvas crashes with zero byte image files

Steps to reproduce

  1. Create a Canvas
  2. Embed/import zero byte image file to it

Did you follow the troubleshooting guide? [Y/N]

Y

Expected result

An error message or a card which prompts me to swap the file.

Actual result

Canvas crashes. Only some connection lines are visible.

Environment

SYSTEM INFO:
Obsidian version: v1.5.6
Installer version: v1.5.3
Operating system: Darwin Kernel Version 23.3.0: Wed Dec 20 21:30:44 PST 2023; root:xnu-10002.81.5~7/RELEASE_ARM64_T6000 23.3.0
Login status: logged in
Catalyst license: insider
Insider build toggle: on
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none


Additional information

Here’s a video showing that:

I don’t know how these zero byte files are created in the first place. I’ve noticed two of them in my main vault. One of them is a copy-pasted image (png) and the other one is a downloaded bmp file.

ok, thanks

Will be fixed 1.5.7.

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