TemplateStudio icon indicating copy to clipboard operation
TemplateStudio copied to clipboard

The thread's stack pointer was outside the legal stack extents for the thread

Open KennyTK opened this issue 4 years ago • 1 comments

Describe the bug

Unhandled exception at 0x09DFD857 (Microsoft.ui.xaml.dll) in Test10.exe: The thread's stack pointer was outside the legal stack extents for the thread. is thrown and the template crashes.

To Reproduce Steps to reproduce the behavior:

  1. Create a new App (Win UI 3 in Desktop)
  2. Choose "Navigation Pane"
  3. Include pages for Settings, ListDetails, Content Grid, and Data Grid
  4. Create project
  5. Build Solution
  6. Run Solution
  7. Rapidly click between pages
  8. Experience Crash

Additional context

My output shows a warning for 'NU1701 Package Microsoft.ProjectReunion.InteractiveExperiences 0.8.0 was restored using net5.0-windows10.0.19041' but I think it is an unrelated bug based upon reading Microsoft docs.

Applies to the following platforms:

UWP WPF WinUI
No? No? Yes

System

  • VS Version: 16.10.3
  • WinTS Wizard Version: 4.1.21179.1
  • WinTS Template Version: 4.1.21179.1
  • Windows Build: Version 10.0.19043 Build 19043

KennyTK avatar Jul 14 '21 18:07 KennyTK

This is also reported at https://github.com/microsoft/microsoft-ui-xaml/issues/5451

Note simpler repro at https://github.com/microsoft/microsoft-ui-xaml/issues/5451#issuecomment-879912886

This appears to be an issue with the DataGrid and is reported at https://github.com/CommunityToolkit/WindowsCommunityToolkit/issues/4079

mrlacey avatar Jul 15 '21 11:07 mrlacey