Skip to content

Improve crash report message when signal is absent#11681

Open
amarziali wants to merge 1 commit into
masterfrom
andrea.marziali/crash-no-signal
Open

Improve crash report message when signal is absent#11681
amarziali wants to merge 1 commit into
masterfrom
andrea.marziali/crash-no-signal

Conversation

@amarziali

Copy link
Copy Markdown
Contributor

What Does This Do

This PR improves the message provided by crashtracking when the termination signal is not known.

Instead of printing:

  • Hotspot: Process terminated by signal UNKNOWN
  • J9: `Unknown crash event"

Is not harmonising this case by surfacing: Process terminated by Internal error (given Internal Error what usually appearing in the hotspot hs_err)

Motivation

Additional Notes

Contributor Checklist

  • Format the title according to the contribution guidelines
  • Assign the type: and (comp: or inst:) labels in addition to any other useful labels
  • Avoid using close, fix, or any linking keywords when referencing an issue
    Use solves instead, and assign the PR milestone to the issue
  • Update the CODEOWNERS file on source file addition, migration, or deletion
  • Update public documentation with any new configuration flags or behaviors
  • Add your completed PR to the merge queue by commenting /merge. You can also:
    • Customize the commit message associated with the merge with /merge --commit-message "..."
    • Remove your PR from the merge queue with /merge -c
    • Skip all merge queue checks with /merge -f --reason "reason"; please use this judiciously, as some checks do not run at the PR-level (note: the PR still needs to be mergeable, this will only skip the pre-merge build)
    • Get more information in this doc

Jira ticket: [PROJ-IDENT]

@amarziali amarziali requested a review from a team as a code owner June 19, 2026 13:00
@amarziali amarziali added type: enhancement Enhancements and improvements comp: crash tracking Crash Tracking labels Jun 19, 2026
@datadog-datadog-prod-us1-2

datadog-datadog-prod-us1-2 Bot commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Pipelines

Fix all issues with BitsAI

⚠️ Warnings

🚦 1 Pipeline job failed

DataDog/apm-reliability/dd-trace-java | linux-java-spring-petclinic-sca-load-parallel   View in Datadog   GitLab

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: b117ab3 | Docs | Datadog PR Page | Give us feedback!

@amarziali amarziali requested review from gleocadie and jbachorik June 19, 2026 13:00

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b117ab3ab7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

kind = sigInfo.name;
message = "Process terminated by signal " + kind;
} else {
kind = "InternalError";

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Avoid classifying unparsed HotSpot siginfo as InternalError

For complete Windows HotSpot crash logs, the siginfo: line uses formats like ExceptionCode=... / EXCEPTION_ACCESS_VIOLATION, which the current SIGINFO_PARSER does not match, so sigInfo remains null even though the crash reason is not an internal VM error. This fallback now reports those access violations as InternalError, hiding the actual crash type in Windows crash reports; only use this label when the header actually indicates Internal Error, or parse the Windows siginfo/header before falling back.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes but this looks to me eventually a separate kind of work to do to fill this gap

@gleocadie gleocadie left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dd-octo-sts

dd-octo-sts Bot commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

🟢 Java Benchmark SLOs — All performance SLOs passed

Suite Status
Startup 🟢 pass

SLO thresholds are defined here based on automatically generated metrics. A warning is raised when results are within 5% of the threshold.

PR vs. master results
Scenario Candidate master Δ (95% CI of mean)
startup:insecure-bank:iast:Agent 13.94 s 13.98 s [-1.0%; +0.5%] (no difference)
startup:insecure-bank:tracing:Agent 12.93 s 12.98 s [-1.1%; +0.2%] (no difference)
startup:petclinic:appsec:Agent 16.87 s 16.65 s [+0.5%; +2.1%] (maybe worse)
startup:petclinic:iast:Agent 16.79 s 16.86 s [-1.2%; +0.4%] (no difference)
startup:petclinic:profiling:Agent 16.25 s 16.83 s [-7.9%; +1.1%] (no difference)
startup:petclinic:sca:Agent 16.78 s 16.75 s [-0.8%; +1.2%] (no difference)
startup:petclinic:tracing:Agent 15.91 s 16.11 s [-2.4%; -0.2%] (maybe better)

Commit: b117ab3a · CI Pipeline · Benchmarking Platform UI


Load and DaCapo benchmarks can be triggered manually in the GitLab pipeline. Results will appear in the Benchmarking Platform UI after completion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp: crash tracking Crash Tracking type: enhancement Enhancements and improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants