Skip to content

Runtime instance cookie from advertise protocol is different than from GetProcessInfo command #40696

Closed

Description

@jander-msft

The diagnostics server in the runtime reports its runtime instance cookie via the advertise protocol when it connects to a diagnostic tool that is in listening mode. The serialization of this runtime instance cookie occurs here.

The diagnostics server in the runtime as provides its runtime instance cookie via the GetProcessInfo command when an external tool issues this command via the diagnostic port. The serialization of this runtime instance cookie occurs here.

It seems that the cookie returned by the advertise protocol is partially different from the cookie returned from the result of the GetProcessInfo command.

An example of the difference of the values is:

Source Value
Advertise protocol cf3642da-628e-70b0-bfac-674c838fb60e
GetProcessInfo command 70b0628e-cf36-42da-bfac-674c838fb60e

I believe the issue is that the different sources serialize it differently and cause certain fields to be reordered incorrectly.

CC @dotnet/dotnet-diag @josalem

Activity

  1. added
    untriaged
    on Aug 12, 2020
  2. removed
    untriaged
    on Aug 12, 2020
  3. added this to the 5.0.0 milestone on Aug 12, 2020
  4. self-assigned this
    on Aug 12, 2020
  5. josalem commented on Aug 12, 2020

    @josalem
    Contributor

    Whoops! Should be an easy fix. I'll have a PR up soon.

  6. added a commit that references this issue on Aug 12, 2020
    bb70ca7
  7. ghost locked as resolved and limited conversation to collaborators on Dec 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions