vscode: Previewing an MD file with a .gif image in it crashes the window

  • VSCode Version: 1.30.2
  • OS Version: Win10

Steps to Reproduce:

  1. Create an .md file
  2. Put in a link to an existing .gif image. For example: ![](./test.gif)
  3. Open preview ctrl + shift + v

Does this issue occur when all extensions are disabled?: Yes

UPDATE:

Crash happens when you try to display big images. The limit is somewhere in range between 100mb and 250mb (100mb images do not crash the window)

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 19 (12 by maintainers)

Most upvoted comments

(Experimental duplicate detection) Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

@AlexSHoffman thanks. It is possible that the way we hookup the webview makes a difference. I leave it up to @mjbvz to comment on that.

I can easily reproduce the crash with your sample on macOS btw, thanks for providing the files.