Re: [pypy-dev] cannot use "id" in Rpython

2016-12-29 Thread Ryan Gonzalez
What exactly are you trying to do. Using id to get the address of a function is usually a bad idea... -- Ryan (ライアン) Yoko Shimomura > ryo (supercell/EGOIST) > Hiroyuki Sawano >> everyone else http://kirbyfan64.github.io/ On Dec 29, 2016 1:19 PM, "Shubha Ramani via pypy-dev" wrote: > > What can

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

2016-12-29 Thread Shubha Ramani via pypy-dev
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 wrote: How do I build with debug symbols (i.e. -g) so that I can inspect core

[pypy-dev] cannot use "id" in Rpython

2016-12-29 Thread Shubha Ramani via pypy-dev
What can I use then ? I need the address of the function ? [translation:ERROR] Exception: cannot use id() in RPython; see objectmodel.compute_xxx()Processing block: block@19 is a   in (pypy.module._vtune.interp_vtune:28)_get_full_name  containing the following operations:        buf_0 = simple_

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

2016-12-29 Thread Shubha Ramani via pypy-dev
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