1

I have a customer who is on Windows 10 v1511 (i.e., not the Anniversary Update). After installing update KB4013198, my WPF application now crashes periodically when scrolling a ListBox employing a VirtualizingStackPanel. I was able to build a VM with the appropriate Windows version and reproduce the issue with the debugger attached - the actual error is a StackOverflowException generated in VirtualizingStackPanel.MeasureOverrideImpl.

There was no code change on my part - the prior to applying the Windows Update, everything works; after applying the update, the error occurs.

Upgrading to the Anniversary Update also solve the problem.

I'm at a bit of a loss to even start going about tweaking the XAML of my application to attempt to resolve this issue.

Any suggestions?

2
  • Maybe you should run the application with the clr profiler to see what in the clr happens. You can download it here: clrprofiler.codeplex.com Commented Mar 28, 2017 at 19:39
  • This is probably not very helpful, but we had a similar problem a while ago - on some clients' computers a VirtualizingStackPanel with lots of items would fall into an endless loop while updating its ScrollInfo, due to some rounding error. It turned out that this only happened if the client had a newer .Net-Framework installed, which did an in-place update on VirtualizingStackPanel, introducing this bug. We eventually replaced the entire control because we failed to find a work-around that didn't cause other problems. Commented Mar 29, 2017 at 12:26

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.