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

Capture c++ stack traces from core dump files on linux #38600

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

jhaigh0
Copy link
Contributor

@jhaigh0 jhaigh0 commented Jan 14, 2025

Description of work

pr under construction, running ci checks

Summary of work

Fixes #38405

Further detail of work

To test:


Reviewer

Please comment on the points listed below (full description).
Your comments will be used as part of the gatekeeper process, so please comment clearly on what you have checked during your review. If changes are made to the PR during the review process then your final comment will be the most important for gatekeepers. In this comment you should make it clear why any earlier review is still valid, or confirm that all requested changes have been addressed.

Code Review

  • Is the code of an acceptable quality?
  • Does the code conform to the coding standards?
  • Are the unit tests small and test the class in isolation?
  • If there is GUI work does it follow the GUI standards?
  • If there are changes in the release notes then do they describe the changes appropriately?
  • Do the release notes conform to the release notes guide?

Functional Tests

  • Do changes function as described? Add comments below that describe the tests performed?
  • Do the changes handle unexpected situations, e.g. bad input?
  • Has the relevant (user and developer) documentation been added/updated?

Does everything look good? Mark the review as Approve. A member of @mantidproject/gatekeepers will take care of it.

Gatekeeper

If you need to request changes to a PR then please add a comment and set the review status to "Request changes". This will stop the PR from showing up in the list for other gatekeepers.

Has to switch from multiprocessing to subprocess in order to do this (needed the preexec option).
Through some testing, this should preserve the desired spawn behaviour.
A new module 'workbench_process.py' has been created to use with subprocess.run (can't pass it a function)
@jhaigh0 jhaigh0 force-pushed the 38405_capture_cpp_stacktraces_from_core_dumps branch from e3ba601 to 8569ea0 Compare January 14, 2025 16:28
@jhaigh0 jhaigh0 added this to the Release 6.12 milestone Jan 16, 2025
@jhaigh0 jhaigh0 force-pushed the 38405_capture_cpp_stacktraces_from_core_dumps branch from 8569ea0 to b0238c0 Compare January 16, 2025 09:29
@jhaigh0 jhaigh0 force-pushed the 38405_capture_cpp_stacktraces_from_core_dumps branch from b0238c0 to 83de376 Compare January 16, 2025 13:40
@sf1919
Copy link
Contributor

sf1919 commented Jan 17, 2025

The release note structure for v6.13 has been created. You can now rebase your branch and move the release note in this PR.

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.

Analyse core dump files to capture c++ stack traces
3 participants