Skip to content

Support core dump analysis with pystack.#39479

Draft
tvalentyn wants to merge 4 commits into
apache:masterfrom
tvalentyn:pystack
Draft

Support core dump analysis with pystack.#39479
tvalentyn wants to merge 4 commits into
apache:masterfrom
tvalentyn:pystack

Conversation

@tvalentyn

@tvalentyn tvalentyn commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Support analyzing core files with pystack when python SDK processes crash with segfaults.

Currently this should work with Dataflow from Beam 2.76.0 but should be possible to extend support to other runners.

Sample usage:

python my_pipeline.py --runner=DataflowRunner --profiler_agent=pystack_coredump --profiler_extra_arg="--native" --profile_postprocess_interval_sec=30

image

For more information, see: https://bloomberg.github.io/pystack/ and pystack --help .


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
  • Update CHANGES.md with noteworthy changes.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md

GitHub Actions Tests Status (on master branch)

Build python source distribution and wheels
Python tests
Java tests
Go tests

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant