ResumeDataDirectReader_getvirtual_ptr assertion error when profiling
Created originally on Bitbucket by pierre_tardy (Pierre Tardy)
Hello, I am running buildbot_profiler within pypy docker image The docker image I use is built here: https://hub.docker.com/r/buildbot/buildbot-master-pypy/builds/baxjrgheh9v2meqwsjywfnb/
It is just a standard library/pypy image with buildbot installed in it, as well as buildbot_profiler: https://pypi.python.org/pypi/buildbot-profiler/
When I start the profiler everything is fine until I add a bunch of load. Then pypy crashes with the following traceback.
RPython 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): https://github.com/tardyp/buildbot_profiler/blob/master/buildbot_profiler/api.py
I didn't investigate yet posting the bug first. After some feedback I see how I can make an easier to reproduce setup.