Terminal: Microsoft.UI.Xaml causes an exception when any flyout menus are generated

Created on 14 May 2019  路  4Comments  路  Source: microsoft/terminal

After modifying Cascadia project to debug in "Native Only" mode, I come across this exception, when clicking dropdown menu (to open a new tab in the terminal):

image

File: src/cascadia/WindowsTerminal/main.cpp
Win Version: 10.0.18362.86
VS19: 16.0.3

I would like to investigate if anyone can point me in the right direction.

Area-User Interface Issue-Bug Needs-Tag-Fix Product-Terminal Resolution-Fix-Committed

All 4 comments

This seems to only happen when Microsoft.UI.Xaml is loaded into the process. I'd like to hold on to it to make sure that it's not some weird prerelease bug we're hitting.

I'll assign it to myself, to do two things:

  1. Make sure we always have symbols for MUX.dll
  2. Drive the discussion with them on why this might be happening.

I hit an abort() similar to this in debug with outdated profiles.json after the starting directory changes were made and rendered my previous settings invalid crashing the app or causing an abort(). Dont know if this is related but thought it might give some direction into investigating it.

I deleted my profiles.json file from %LOCALAPPDATA%packages\Microsoft.WindowsDevTerminal_8wekyb3d8bbwe\RoamingState and allowed it to be regenerated and my build stopped hitting the abort() without a rebuild needed.

The interesting part is that I only get this exception thrown when I'm _debugging_ Terminal, not when running it from Start.

:tada:This issue was addressed in #3027, which has now been successfully released as Windows Terminal Preview v0.6.2951.0.:tada:

Handy links:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mdtauk picture mdtauk  路  3Comments

warpdesign picture warpdesign  路  3Comments

DieselMeister picture DieselMeister  路  3Comments

carlos-zamora picture carlos-zamora  路  3Comments

alabuzhev picture alabuzhev  路  3Comments