New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Randomly hitting 'read access violation' in CompositonVisualDiagnostics.cpp #2360
Comments
This is tracked by internal bug https://microsoft.visualstudio.com/OS/_workitems/edit/26071662 |
Thanks @ranjeshj, this looks like the same issue. Is this an Insider build issue with the OS? |
I can confirm that is the issue. Not sure how far it escaped. It's a race condition so you can get unlucky, and turning on or off native debugging can perturb it. |
I am hitting this also with WinUI 2.4. Windows 10 Enterprise Insider Preview Exception thrown: read access violation. |
I am also facing this issue. Using the restart button does not fix this issue for me. I am running Build 19631 (Windows Insider Fast Ring) |
@simeoncran Has this issue been resolved ? Can you share which insider build has the fix ? |
The issue has been resolved in the OS (internal id: 26071662 fyi). |
When is this going to hit Windows Update? This is a blocker for me. |
The fix has been checked in. I don't have an exact ETA, because it still is being figured out internally, but it will be available in an upcoming flight, because it . I will update this thread as soon as that I know. |
Thanks Ticomware for proposing that workaround, I d recommend using that workaround to get unblocked. I got some clarity on when this fix will reach Insiders Fast ring and its going to be in late June, unfortunately. |
I solved the issue by moving my development to Win 10 v1909 where the issue does not appear. |
I'm still seeing this on build 19645. |
Closing stale external bug. If you are still seeing this issue, please open a new issue in the Feedback Hub so that it may gather related logs/diagnostics. |
Describe the bug
I've started hitting an issue where VS will constantly hit a 'read access violation' in
CompositionVisualDiagnostics.cpp
and it won't let me continue execution of my application even after excluding the checkbox of breaking on this type of exception.Restarting the app/unit test app (happens in both types) doesn't resolve the issue. I need to restart Visual Studio in order to be able to resume normal execution. I had seemingly encountered this more frequently while in Mixed debugging mode, but am now seeing it in Managed debugging mode only, even with 'just my code' enabled, which is extra odd...
This is while running in debug mode. I do have other XAML files open in the VS editor, but not the active tab. It seemed to occur more often when setting a debug breakpoint in my files. Happened in two different cases, once just as the app, and again after I added a Unit Test project and started using that.
Expected behavior
No exception.
Screenshots
Version Info
Built-in windows controls (not referencing NuGet package)
VS info: VS 2019 16.5.4
Additional context
Stack Trace:
If I continue execution, it continues indefinitely (as far as I was willing to keep hitting continue) and gave the same exception in the seemingly same spot. I did notice some differences in my output window:
The text was updated successfully, but these errors were encountered: