What does NTSTATUS 0xC00000B7 (STATUS_PROFILING_NOT_STARTED) mean?

 
Previous Next
STATUS_FILE_FORCED_CLOSED STATUS_PROFILING_NOT_STOPPED

STATUS_PROFILING_NOT_STARTED

The profile object is not running

Native Windows profiling uses profile objects with explicit start and stop operations. This status indicates that the requested operation expected an active profile but the object was not started. It is a lifecycle error, not a statement that the selected profiling source is unsupported.

Track profile handles and start/stop ownership in the component that creates them. Concurrent cleanup paths can easily stop the same profile twice or attempt to stop an object whose start failed earlier. Preserve the original NtStartProfile result before diagnosing the later stop status.

What to inspect

  • Record the profile handle, source, creator, and result of the original start call.
  • Serialize start/stop ownership and cleanup for the profile object.
  • Do not discard the earlier start failure when a later stop returns this status.

References


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