travis-coredump icon indicating copy to clipboard operation
travis-coredump copied to clipboard

show a python core dump, with full debug symbols

Open bukzor opened this issue 11 years ago • 2 comments
trafficstars

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

bukzor avatar Nov 07 '14 18:11 bukzor

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?

springmeyer avatar Nov 07 '14 20:11 springmeyer

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 https://github.com/springmeyer/travis-coredump/pull/1#issuecomment-62207657 .

bukzor avatar Nov 08 '14 16:11 bukzor