Skip to content

AllocConsole failing with ERROR_GEN_FAILURE as a service in rare cases #371

@tsmortenson

Description

@tsmortenson

We have a software package running on thousands of Windows machines from XP onward. In 2 cases we have received a bug report that the users application fails to call AllocConsole with error code ERROR_GEN_FAILURE. This has been seen once on a Windows Server 2008 system and the second on a Windows Server 2012 system. In both cases the error was encountered while running as a Service.
The error message is "A device attached to the system is not functioning. (0x1f)"

Unfortunately we have not been able to reproduce this on any other systems. It happens 100% of the time of the failing system however.

I was able to find any documentation that shows this as a possible error.
Any thoughts on this would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-ServerDown in the muck of API call servicing, interprocess communication, eventing, etc.Issue-BugIt either shouldn't be doing this or needs an investigation.Product-ConhostFor issues in the Console codebase

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions