Skip to content

OpenConsole as conhost.exe crashes from SYSTEM account #19634

@SEt-t

Description

@SEt-t

Windows Terminal version

No response

Windows build number

10.0.19045.6456

Other Software

No response

Steps to reproduce

Replace system conhost.exe, run profiling in Visual Studio.

Expected Behavior

No response

Actual Behavior

conhost crashes due to uncaught exception. Creating ITfCategoryMgr here fails

_categoryMgr = wil::CoCreateInstance<ITfCategoryMgr>(CLSID_TF_CategoryMgr, CLSCTX_INPROC_SERVER);

and throws the exception.

Gracefully handling that here

handle._impl->Initialize();

as assigning nullptr to handle._impl solves the problem.

I can create a pull request if you want.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugIt either shouldn't be doing this or needs an investigation.Needs-TriageIt's a new issue that the core contributor team needs to triage at the next triage meeting

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions