Skip to content

The latest Tracer causes errors in our docker container #6045

@ryanrivest

Description

@ryanrivest

Describe the bug
We ran into an issue with some deployments on 9/16 after we automatically installed the latest tracer agent that was released (3.3.0).

When this version is installed, it causes some of our shell commands to return an error. For example, when we run cat, it fails with the following error:

cat: symbol lookup error: /opt/datadog/continuousprofiler/Datadog.Linux.ApiWrapper.x64.so: undefined symbol: dlsym

When we switch back to 3.2.0, the error goes away. It also goes away if the dotnet runtime is updated to 8.0.

We're not quite ready to change to .NET 8, so it would be nice if this issue could be resolved with the .NET 6 container.

I've created a reprod for you here: https://github.com/ryanrivest/dd-tracer-reprod/tree/main

To Reproduce

  1. Run docker build --file .\Dockerfile --tag ddtracer:test .
  2. Run docker run --rm -it --entrypoint /bin/bash ddtracer:test
  3. Try to run cat or clear, and it should fail with the error below.

Error:

cat: symbol lookup error: /opt/datadog/continuousprofiler/Datadog.Linux.ApiWrapper.x64.so: undefined symbol: dlsym

Expected behavior
No symbol lookup error when running commands.

Runtime environment (please complete the following information):

  • Tracer version: 3.3.0
  • Env: Docker
  • CLR: .NET 6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions