Site icon EfmSoft

What does NTSTATUS 0xC0000048 (STATUS_PORT_ALREADY_SET) mean?

 
Previous Next
STATUS_SEMAPHORE_LIMIT_EXCEEDED STATUS_SECTION_NOT_IMAGE

STATUS_PORT_ALREADY_SET

The target object already has its one-time port association

This NTSTATUS is intentionally broader than debugger attachment. The documented cases include setting a process DebugPort or ExceptionPort, assigning a completion port to a file, and associating a completion port with an ALPC port. In each case an association already exists and the new set operation is rejected.

The first diagnostic step is to identify the object type and information class used by the native call. A completion-port association on a file is not repaired with debugger settings, and a process DebugPort conflict is unrelated to I/O completion. Capture the existing association where the API allows querying it and find the earlier initialization path that set it.

What to inspect

References


Looking for a different code? Search another status or error code.

Exit mobile version