Skip to content

[BUG]: ddtrace crashes containers without logs or stack trace (langgraph==1.0.4 + langchain==1.1.0 ) #15595

@fvalencia

Description

@fvalencia

Tracer Version(s)

4.0.0, 3.17.1, 3.19.0

Python Version(s)

3.13.9

Pip Version(s)

N/A

Bug Report

We have identified an issue when using ddtrace that caused our containers to instantly die without logs or stack trace because of an OOM, the issue is not so easy to reproduce but every time it happens is during a langgraph graph execution, we have tried with different providers (OpenAI, Anthropic, GoogleAI) and the error happens with all of them.

Our application uses Fast API, and we recently upgraded to:

langchain==1.1.0
langgraph==1.0.4

Disabling ddtrace fixes the issue on our system.

Reference bugs that share a similar cause:

Reproduction Code

N/A

Error Logs

No error logs the containers die immediately.

Libraries in Use

datadog==0.51.0
ddtrace==4.0.0 # 3.17.1 or 3.19.0
langchain==1.1.0
langgraph==1.0.4

Operating System

Linux X86_64

Metadata

Metadata

Assignees

No one assigned

    Labels

    MLObsML Observability (LLMObs)bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions