dd-trace-java icon indicating copy to clipboard operation
dd-trace-java copied to clipboard

Fix crash tracking initialization on Windows

Open bmermet opened this issue 3 months ago • 0 comments

What Does This Do

This commit addresses UnsupportedOperationException errors when initializing crash tracking on Windows systems.

Motivation

Instrumenting a java app on Windows currently logs the following warnings:

[dd.trace 2025-11-27 09:52:09:269 +0000] [dd-task-scheduler] SEND_TELEMETRY datadog.crashtracking.Initializer - Unsupported permissions 'rwxrwxrwx' for C:\Users\Administrator\AppData\Local\Temp\ddprof_administrator\pid_488. Crash tracking will not work properly.
[dd.trace 2025-11-27 09:52:09:284 +0000] [dd-task-scheduler] SEND_TELEMETRY datadog.crashtracking.Initializer - Unexpected exception while initializing OOME notifier. OOMEs will not be tracked. [null] (Change the logging level to debug to see the full stacktrace)

Additional Notes

Contributor Checklist

Jira ticket: [PROJ-IDENT]

bmermet avatar Nov 27 '25 11:11 bmermet