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

show a python core dump, with full debug symbols #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bukzor
Copy link

@bukzor bukzor commented Nov 7, 2014

This shows how to enable full debugging symbols for python segfaults.

I don't expect you'll merge this, but you might find it interesting.
See output here: https://travis-ci.org/bukzor/travis-coredump/jobs/40320201

@springmeyer
Copy link
Owner

very cool, thanks, seems worthwhile to merge into a separate branch, perhaps python, to live as a working example? I'm confused however - how you are triggering a segfault exactly?

@bukzor
Copy link
Author

bukzor commented Nov 8, 2014

It's an edge case I found while testing my own project: install a wheel of
coverage while running under coverage. There's much more straightforward
ways to do it, shown in the doc for the gdb cpython helpers:
http://fedoraproject.org/wiki/Features/EasierPythonDebugging

import ctypes
ctypes.string_at(0xffffffff)

--phone is hard.
On Nov 7, 2014 12:33 PM, "Dane Springmeyer" [email protected]
wrote:

very cool, thanks, seems worthwhile to merge into a separate branch,
perhaps python, to live as a working example? I'm confused however - how
you are triggering a segfault exactly?


Reply to this email directly or view it on GitHub
#1 (comment)
.

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