Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix segfault #2468

Merged
merged 1 commit into from
Nov 19, 2024
Merged

fix segfault #2468

merged 1 commit into from
Nov 19, 2024

Conversation

MishkaMN
Copy link
Contributor

@MishkaMN MishkaMN commented Nov 19, 2024

PR Details

Description

Previously in #2467, cpu usage script was merged.
However, for some processes when tested on CDASIM run, the script is segfaulting.
This fixes that issue where the proc["cmdline"] returns None

Related GitHub Issue

NA

Related Jira Key

https://usdot-carma.atlassian.net/browse/ARC-255

Motivation and Context

Discovered during creating plot for the usage.

How Has This Been Tested?

Tested on CDASIM run

Types of changes

  • Defect fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that cause existing functionality to change)

Checklist:

  • I have added any new packages to the sonar-scanner.properties file
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@MishkaMN MishkaMN self-assigned this Nov 19, 2024
@MishkaMN MishkaMN added the anomaly Something isn't working label Nov 19, 2024
@MishkaMN MishkaMN merged commit 457073e into develop Nov 19, 2024
4 checks passed
@MishkaMN MishkaMN deleted the fix/cpu-usage-script branch November 19, 2024 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
anomaly Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants