The D2DCustomEffects's CustomVertexShader (Universal Windows) sample app crashes when debugged.

Open
#1,187 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale

Research direction

Start with the D2DCustomEffects CustomVertexShader universal app and reproduce the crash in Visual Studio 2019 with first-chance exceptions enabled, comparing x64 and x86 debug runs. Inspect the reported Direct2D exception and shader code; done means the sample debugs without crashing. No source file or test is named in the issue.

Written by the indexing model from the issue text.

Description

Hi,

I'm using Visual Studio 2019 latest version (16.5.1), Windows 10 latest version 1909 18363.752, and when I debug (F5) the CustomVertexShader universal app in x64 or x86, it crashes. Note you need to enable all exceptions (including first chance ones) to see the details like below:

crash

It seems to crash in Direct2D (D2D1.dll), but I'm not sure why, other samples in the D2DCustomEffects project are working fine. Maybe the shader code has issue?

When I run it w/o debugging it, it "seems" to run normally.
PS: I've not modified the sample beyond what Visual Studio does to update the project to the latest runtime tooling.

Where's the bug ?

Dominant language
JavaScript
Stars
9.7k
Forks
7.8k
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/Windows-universal-samples

All issues in microsoft/Windows-universal-samples

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.