Skip to content

terminate unwinding at call_stub#64

Merged
jbachorik merged 2 commits into
mainfrom
rgs/terminate-vmstructs-unwind
Jan 19, 2024
Merged

terminate unwinding at call_stub#64
jbachorik merged 2 commits into
mainfrom
rgs/terminate-vmstructs-unwind

Conversation

@richardstartin
Copy link
Copy Markdown
Contributor

@richardstartin richardstartin commented Jan 19, 2024

What does this PR do?:
The long prefix of the stack trace isn't useful, we can trim it by terminating the VMStructs based unwinder when we encounter call_stub.
Screenshot 2024-01-19 at 10 34 05

Motivation:

Additional Notes:

How to test the change?:

For Datadog employees:

  • If this PR touches code that signs or publishes builds or packages, or handles
    credentials of any kind, I've requested a review from @DataDog/security-design-and-guidance.
  • This PR doesn't touch any of that.

Unsure? Have a question? Request a review!

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jan 19, 2024

🔧 Report generated by pr-comment-cppcheck

CppCheck Report

Warnings (5)

Style Violations (164)

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jan 19, 2024

🔧 Report generated by pr-comment-scanbuild

Scan-Build Report

User:runner@fv-az1110-77
Working Directory:/home/runner/work/java-profiler/java-profiler/ddprof-lib/src/test/make
Command Line:make -j4 clean all
Clang Version:Ubuntu clang version 14.0.0-1ubuntu1.1
Date:Fri Jan 19 12:28:12 2024

Bug Summary

Bug TypeQuantityDisplay?
All Bugs6
Logic error
Assigned value is garbage or undefined1
Dereference of null pointer2
Result of operation is garbage or undefined1
Unused code
Dead initialization1
Dead nested assignment1

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
Logic errorAssigned value is garbage or undefineddwarf.cppparseInstructions23520
Unused codeDead initializationlivenessTracker.cppcleanup_table451
Unused codeDead nested assignmentvmStructs.cppcheckNativeBinding8181
Logic errorDereference of null pointerflightRecorder.cppflush14098
Logic errorDereference of null pointersafeAccess.hload3518
Logic errorResult of operation is garbage or undefineddwarf.hgetSLeb14225

@richardstartin richardstartin force-pushed the rgs/terminate-vmstructs-unwind branch 3 times, most recently from d532a83 to 292853d Compare January 19, 2024 11:39
@richardstartin richardstartin force-pushed the rgs/terminate-vmstructs-unwind branch from 292853d to db7228a Compare January 19, 2024 12:26
@richardstartin richardstartin changed the base branch from main to jb/crash_macos_crash_handler January 19, 2024 12:27
Base automatically changed from jb/crash_macos_crash_handler to main January 19, 2024 14:20
@jbachorik jbachorik merged commit 150934c into main Jan 19, 2024
@jbachorik jbachorik deleted the rgs/terminate-vmstructs-unwind branch January 19, 2024 14:23
@github-actions github-actions Bot added this to the 0.96.0 milestone Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants