[pypy-issue] Issue #2454: ResumeDataDirectReader_getvirtual_ptr assertion error when profiling (pypy/pypy)
issues-reply at bitbucket.org
Thu Dec 22 09:23:19 EST 2016
New issue 2454: ResumeDataDirectReader_getvirtual_ptr assertion error when profiling
I am running buildbot_profiler within pypy docker image
The docker image I use is built here:
It is just a standard library/pypy image with buildbot installed in it, as well as buildbot_profiler:
When I start the profiler everything is fine until I add a bunch of load.
Then pypy crashes with the following traceback.
File "rpython_jit_metainterp_1.c", line 17685, in handle_jitexception_39
File "rpython_jit_metainterp_4.c", line 1010, in execute_assembler__star_2_24
File "rpython_jit_metainterp.c", line 2418, in ResumeGuardForcedDescr_handle_fail
File "rpython_jit_metainterp.c", line 4616, in resume_in_blackhole
File "rpython_jit_metainterp.c", line 11306, in blackhole_from_resumedata
File "rpython_jit_metainterp.c", line 38639, in ResumeDataDirectReader_consume_one_section
File "rpython_jit_codewriter.c", line 351, in enumerate_vars__unique_id
File "rpython_jit_metainterp_2.c", line 12302, in ResumeDataDirectReader__callback_r
File "rpython_jit_metainterp.c", line 12778, in ResumeDataDirectReader_getvirtual_ptr
Fatal RPython error: AssertionError
Aborted (core dumped)
The profiler is using the following code to collect stack traces with a classical statistical profiling approach (SIG_TIMER based):
I didn't investigate yet posting the bug first. After some feedback I see how I can make an easier to reproduce setup.
More information about the pypy-issue