Skip to content

[BUG] Mem Leaks From Azure.Monitor.OpenTelemetry.AspNetCore Referencing Azure.Core 1.46.1 #53459

@ipg-jblasingame

Description

@ipg-jblasingame

Library name and version

Azure.Monitor.OpenTelemetry.AspNetCore 1.3.0
https://www.nuget.org/packages/Azure.Monitor.OpenTelemetry.AspNetCore/1.3.0

Describe the bug

Azure.Monitor.OpenTelemetry.AspNetCore 1.3.0 resolves to use Azure.Core >= 1.46.1. That Azure.Core version is unlisted along with the System.ClientModel pkg version Azure.Core 1.46.1 uses.
https://www.nuget.org/packages/Azure.Core/1.46.1

In a solution that only references this pkg version of Azure.Monitor.OpenTelemetry.AspNetCore, Roslyn will consume memory until a system crash.

This is fixed with the latest beta release Azure.Monitor.OpenTelemetry.AspNetCore, but the current version will try to use Azure.Core 1.46

Expected behavior

Azure.Monitor.OpenTelemetry.AspNetCore resolves a non-unlisted pkg of Azure.Core.

Actual behavior

Resolves pkgs:
https://www.nuget.org/packages/Azure.Core/1.46.1

Reproduction Steps

Analyze a project with only this dependency which resolves Azure.Core to version 1.46.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    ClientThis issue is related to a non-management packageMonitorMonitor, Monitor Ingestion, Monitor QueryService AttentionWorkflow: This issue is responsible by Azure service team.customer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions