[pypy-dev] Debug build to analyze core dumps ?

Shubha Ramani shubharamani at yahoo.com
Thu Dec 29 16:42:13 EST 2016


Though I'm still curious about how to get debug builds so far the core dumps I've experienced are prettyeasy to root-cause. Attaching gdb seems overkill. 

    On Thursday, December 29, 2016 9:14 AM, Shubha Ramani <shubharamani at yahoo.com> wrote:
 

 How do I build with debug symbols (i.e. -g) so that I can inspect core dumps when you get a traceback like this ?Do you always recompile with  pypy ../../rpython/bin/rpython --opt=jit ?
RPython traceback:  File "implement_11.c", line 5310, in fastfunc_enable_1  File "rpython_rlib_rvtune.c", line 1761, in VTune_enable  File "rpython_rlib_rvtune.c", line 2205, in gather_all_code_objs_1  File "rpython_rlib_rvtune.c", line 534, in VTune__write_code_registrationFatal RPython error: AssertionErrorAborted (core dumped)


   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20161229/183a971e/attachment.html>


More information about the pypy-dev mailing list