[pypy-dev] Debugging SegFaults

Armin Rigo armin.rigo at gmail.com
Wed Apr 5 06:45:08 EDT 2017


Hi,

On 4 April 2017 at 17:31, Frank Wang <frankw at mit.edu> wrote:
> I made some modifications to pypy, but the new pypy-c binary results in a
> segfault on certain instructions. What's the easiest way to do a traceback
> to see what led to the segfault?

There's also "pypy -X faulthandler" if all you're interested in
knowing which Python line causes the segfault.  It was backported from
CPython 3.x to both PyPy3 and PyPy2.


A bientôt,

Armin.


More information about the pypy-dev mailing list