[pypy-dev] What is the last good build of Pypy?

Maciej Fijalkowski fijall at gmail.com
Mon Feb 15 01:53:40 EST 2016


Hi Robert!

Thanks for the work to help us reproduce it! Can you put it on the
issue tracker? I can't look right now and I'm afraid it might get lost
otherwise (an issue with a link to pypy-dev post is fine even)

On Mon, Feb 15, 2016 at 1:02 AM, Robert Grosse <n210241048576 at gmail.com> wrote:
> I created a self contained repro script that doesn't require you to have
> Java installed or any temp directories.
>
> To run, just checkout branch pypy_bug in Krakatau
> (0d739be3707d3b3210fc1b2894a9e7b47334d215) and run
> pypy Krakatau/decompile.py -nauto -out temp -r -path Krakatau/tests/classes/
> Krakatau/tests/classes/
>
>
>
> 2016-02-14 14:51 GMT-08:00 Robert Grosse <n210241048576 at gmail.com>:
>>
>> I tried running pypy under gdb, and it turns out that while it crashes at
>> a nondeterminstic point in the Python program, the segfault always appears
>> at the same location in the pypy binary. Here's a backtrace
>>
>> #0  0x00007ffff58a91f5 in
>> pypy_g_OptRewrite_replace_guard_class_with_guard_value () from
>> /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #1  0x00007ffff58a9e8b in pypy_g_OptRewrite_optimize_GUARD_VALUE ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #2  0x00007ffff58d7e75 in pypy_g_dispatch_optimize___star_0_5 ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #3  0x00007ffff58a844e in pypy_g_OptRewrite_propagate_forward ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #4  0x00007ffff5889acf in
>> pypy_g_OptIntBounds__optimize_guard_true_false_value
>>     () from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #5  0x00007ffff58d8ef5 in pypy_g_dispatch_optimize___star_0_6 ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #6  0x00007ffff58837d9 in pypy_g_OptIntBounds_propagate_forward ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #7  0x00007ffff58cce8e in pypy_g_UnrollOptimizer_inline_short_preamble ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #8  0x00007ffff58ced40 in pypy_g_UnrollOptimizer_jump_to_existing_trace ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #9  0x00007ffff58d25f9 in pypy_g_UnrollOptimizer_optimize_bridge ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #10 0x00007ffff585fc69 in pypy_g_optimize_trace ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #11 0x00007ffff5817b68 in pypy_g_compile_trace ()
>> ---Type <return> to continue, or q <return> to quit---
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #12 0x00007ffff59d15e4 in pypy_g_MetaInterp_compile_trace ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #13 0x00007ffff59a09cc in pypy_g_MetaInterp_reached_loop_header ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #14 0x00007ffff597858a in pypy_g_MIFrame_opimpl_jit_merge_point ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #15 0x00007ffff59753f6 in pypy_g_handler_jit_merge_point_1 ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #16 0x00007ffff5912c7d in pypy_g_MIFrame_run_one_step ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #17 0x00007ffff5913106 in pypy_g_MetaInterp_interpret ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #18 0x00007ffff59f878e in pypy_g_MetaInterp__handle_guard_failure ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #19 0x00007ffff59ed76a in pypy_g_MetaInterp_handle_guard_failure ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #20 0x00007ffff5813805 in
>> pypy_g_AbstractResumeGuardDescr__trace_and_compile_from () from
>> /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #21 0x00007ffff5813c08 in pypy_g_AbstractResumeGuardDescr_handle_fail ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #22 0x00007ffff5aa7313 in pypy_g_execute_assembler.star_2_14 ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> ---Type <return> to continue, or q <return> to quit---
>> #23 0x00007ffff5aa7686 in pypy_g_maybe_compile_and_run.star_5_1 ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #24 0x00007ffff5a4024e in
>> pypy_g_ll_portal_runner__Unsigned_Bool_pypy_interpreter () from
>> /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #25 0x00007ffff4e9d7c4 in pypy_g_execute_frame ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #26 0x00007ffff5cf7eb5 in pypy_g_execute_frame_rvmprof.star_3 ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #27 0x00007ffff4eb1d2e in pypy_g_CALL_FUNCTION__AccessDirect_None ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #28 0x00007ffff4eb6ff6 in pypy_g_dispatch_bytecode__AccessDirect_None ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #29 0x00007ffff4eba679 in pypy_g_handle_bytecode__AccessDirect_None ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #30 0x00007ffff54682ce in pypy_g_portal_35 ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #31 0x00007ffff5a40325 in
>> pypy_g_ll_portal_runner__Unsigned_Bool_pypy_interpreter () from
>> /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #32 0x00007ffff4e9d7c4 in pypy_g_execute_frame ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #33 0x00007ffff5cf7eb5 in pypy_g_execute_frame_rvmprof.star_3 ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #34 0x00007ffff54df8be in pypy_g_CALL_METHOD__AccessDirect_star_1 ()
>> ---Type <return> to continue, or q <return> to quit---
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #35 0x00007ffff4eb7626 in pypy_g_dispatch_bytecode__AccessDirect_None ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #36 0x00007ffff4eba679 in pypy_g_handle_bytecode__AccessDirect_None ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #37 0x00007ffff54682ce in pypy_g_portal_35 ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #38 0x00007ffff5a40325 in
>> pypy_g_ll_portal_runner__Unsigned_Bool_pypy_interpreter () from
>> /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #39 0x00007ffff4e9d7c4 in pypy_g_execute_frame ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #40 0x00007ffff5cf7eb5 in pypy_g_execute_frame_rvmprof.star_3 ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #41 0x00007ffff54df8be in pypy_g_CALL_METHOD__AccessDirect_star_1 ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #42 0x00007ffff4eb7626 in pypy_g_dispatch_bytecode__AccessDirect_None ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #43 0x00007ffff4eba679 in pypy_g_handle_bytecode__AccessDirect_None ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #44 0x00007ffff54682ce in pypy_g_portal_35 ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #45 0x00007ffff5a40325 in
>> pypy_g_ll_portal_runner__Unsigned_Bool_pypy_interpreter () from
>> /home/rsg/Pypy/pypy/built/libpypy-c.so
>> ---Type <return> to continue, or q <return> to quit---
>> #46 0x00007ffff4e9d7c4 in pypy_g_execute_frame ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #47 0x00007ffff5cf7eb5 in pypy_g_execute_frame_rvmprof.star_3 ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #48 0x00007ffff54df8be in pypy_g_CALL_METHOD__AccessDirect_star_1 ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #49 0x00007ffff4eb7626 in pypy_g_dispatch_bytecode__AccessDirect_None ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #50 0x00007ffff4eba679 in pypy_g_handle_bytecode__AccessDirect_None ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #51 0x00007ffff54682ce in pypy_g_portal_35 ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #52 0x00007ffff5a40325 in
>> pypy_g_ll_portal_runner__Unsigned_Bool_pypy_interpreter () from
>> /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #53 0x00007ffff4e9d7c4 in pypy_g_execute_frame ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #54 0x00007ffff5cf7eb5 in pypy_g_execute_frame_rvmprof.star_3 ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #55 0x00007ffff4b52ef9 in pypy_g_dispatcher_5 ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #56 0x00007ffff4e7b7da in pypy_g_Function_call_obj_args ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #57 0x00007ffff56a9555 in pypy_g_W_TypeObject_descr_call ()
>> ---Type <return> to continue, or q <return> to quit---
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #58 0x00007ffff4b84547 in pypy_g.call_1 ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #59 0x00007ffff4e85d21 in
>> pypy_g_BuiltinCodePassThroughArguments1_funcrun_obj
>>     () from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #60 0x00007ffff4b52f19 in pypy_g_dispatcher_5 ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #61 0x00007ffff4e7b7da in pypy_g_Function_call_obj_args ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #62 0x00007ffff4e5bded in pypy_g_call_valuestack__AccessDirect_None ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #63 0x00007ffff4eb1d2e in pypy_g_CALL_FUNCTION__AccessDirect_None ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #64 0x00007ffff4eb6ff6 in pypy_g_dispatch_bytecode__AccessDirect_None ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #65 0x00007ffff4eba679 in pypy_g_handle_bytecode__AccessDirect_None ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #66 0x00007ffff54682ce in pypy_g_portal_35 ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #67 0x00007ffff5a40325 in
>> pypy_g_ll_portal_runner__Unsigned_Bool_pypy_interpreter () from
>> /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #68 0x00007ffff4e9d7c4 in pypy_g_execute_frame ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> ---Type <return> to continue, or q <return> to quit---
>> #69 0x00007ffff5cf7eb5 in pypy_g_execute_frame_rvmprof.star_3 ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #70 0x00007ffff54df8be in pypy_g_CALL_METHOD__AccessDirect_star_1 ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #71 0x00007ffff4eb7626 in pypy_g_dispatch_bytecode__AccessDirect_None ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #72 0x00007ffff4eba679 in pypy_g_handle_bytecode__AccessDirect_None ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #73 0x00007ffff54682ce in pypy_g_portal_35 ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #74 0x00007ffff5a40325 in
>> pypy_g_ll_portal_runner__Unsigned_Bool_pypy_interpreter () from
>> /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #75 0x00007ffff4e9d7c4 in pypy_g_execute_frame ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #76 0x00007ffff5cf7eb5 in pypy_g_execute_frame_rvmprof.star_3 ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #77 0x00007ffff54df8be in pypy_g_CALL_METHOD__AccessDirect_star_1 ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #78 0x00007ffff4eb7626 in pypy_g_dispatch_bytecode__AccessDirect_None ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #79 0x00007ffff4eba679 in pypy_g_handle_bytecode__AccessDirect_None ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #80 0x00007ffff54682ce in pypy_g_portal_35 ()
>> ---Type <return> to continue, or q <return> to quit---
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #81 0x00007ffff5a40325 in
>> pypy_g_ll_portal_runner__Unsigned_Bool_pypy_interpreter () from
>> /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #82 0x00007ffff4e9d7c4 in pypy_g_execute_frame ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #83 0x00007ffff5cf7eb5 in pypy_g_execute_frame_rvmprof.star_3 ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #84 0x00007ffff4eb1d2e in pypy_g_CALL_FUNCTION__AccessDirect_None ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #85 0x00007ffff4eb6ff6 in pypy_g_dispatch_bytecode__AccessDirect_None ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #86 0x00007ffff4eba679 in pypy_g_handle_bytecode__AccessDirect_None ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #87 0x00007ffff54682ce in pypy_g_portal_35 ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #88 0x00007ffff5a40325 in
>> pypy_g_ll_portal_runner__Unsigned_Bool_pypy_interpreter () from
>> /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #89 0x00007ffff4e9d7c4 in pypy_g_execute_frame ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #90 0x00007ffff5cf7eb5 in pypy_g_execute_frame_rvmprof.star_3 ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #91 0x00007ffff54dfe88 in pypy_g_CALL_METHOD__AccessDirect_star_1 ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> ---Type <return> to continue, or q <return> to quit---
>> #92 0x00007ffff4eb7626 in pypy_g_dispatch_bytecode__AccessDirect_None ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #93 0x00007ffff4eba679 in pypy_g_handle_bytecode__AccessDirect_None ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #94 0x00007ffff54682ce in pypy_g_portal_35 ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #95 0x00007ffff5a40325 in
>> pypy_g_ll_portal_runner__Unsigned_Bool_pypy_interpreter () from
>> /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #96 0x00007ffff4e9d7c4 in pypy_g_execute_frame ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #97 0x00007ffff5cf7eb5 in pypy_g_execute_frame_rvmprof.star_3 ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #98 0x00007ffff4eb1d2e in pypy_g_CALL_FUNCTION__AccessDirect_None ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #99 0x00007ffff4eb6ff6 in pypy_g_dispatch_bytecode__AccessDirect_None ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #100 0x00007ffff4eba679 in pypy_g_handle_bytecode__AccessDirect_None ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #101 0x00007ffff54682ce in pypy_g_portal_35 ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #102 0x00007ffff5a40325 in
>> pypy_g_ll_portal_runner__Unsigned_Bool_pypy_interpreter () from
>> /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #103 0x00007ffff4e9d7c4 in pypy_g_execute_frame ()
>> ---Type <return> to continue, or q <return> to quit---
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #104 0x00007ffff5cf7eb5 in pypy_g_execute_frame_rvmprof.star_3 ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #105 0x00007ffff4eb020e in pypy_g_EXEC_STMT__AccessDirect_None ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #106 0x00007ffff4eb5ed6 in pypy_g_dispatch_bytecode__AccessDirect_None ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #107 0x00007ffff4eba679 in pypy_g_handle_bytecode__AccessDirect_None ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #108 0x00007ffff54682ce in pypy_g_portal_35 ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #109 0x00007ffff5a40325 in
>> pypy_g_ll_portal_runner__Unsigned_Bool_pypy_interpreter () from
>> /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #110 0x00007ffff4e9d7c4 in pypy_g_execute_frame ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #111 0x00007ffff5cf7eb5 in pypy_g_execute_frame_rvmprof.star_3 ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #112 0x00007ffff4eb1973 in pypy_g_call_function__AccessDirect_None ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #113 0x00007ffff4eb73c4 in pypy_g_dispatch_bytecode__AccessDirect_None ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #114 0x00007ffff4eba679 in pypy_g_handle_bytecode__AccessDirect_None ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> ---Type <return> to continue, or q <return> to quit---
>> #115 0x00007ffff54682ce in pypy_g_portal_35 ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #116 0x00007ffff5a40325 in
>> pypy_g_ll_portal_runner__Unsigned_Bool_pypy_interpreter () from
>> /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #117 0x00007ffff4e9d7c4 in pypy_g_execute_frame ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #118 0x00007ffff5cf7eb5 in pypy_g_execute_frame_rvmprof.star_3 ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #119 0x00007ffff4eb1973 in pypy_g_call_function__AccessDirect_None ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #120 0x00007ffff4eb72a9 in pypy_g_dispatch_bytecode__AccessDirect_None ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #121 0x00007ffff4eba679 in pypy_g_handle_bytecode__AccessDirect_None ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #122 0x00007ffff54682ce in pypy_g_portal_35 ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #123 0x00007ffff5a40325 in
>> pypy_g_ll_portal_runner__Unsigned_Bool_pypy_interpreter () from
>> /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #124 0x00007ffff4e9d7c4 in pypy_g_execute_frame ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #125 0x00007ffff5cf7eb5 in pypy_g_execute_frame_rvmprof.star_3 ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #126 0x00007ffff4eb1973 in pypy_g_call_function__AccessDirect_None ()
>> ---Type <return> to continue, or q <return> to quit---
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #127 0x00007ffff4eb732d in pypy_g_dispatch_bytecode__AccessDirect_None ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #128 0x00007ffff4eba679 in pypy_g_handle_bytecode__AccessDirect_None ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #129 0x00007ffff54682ce in pypy_g_portal_35 ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #130 0x00007ffff5a40325 in
>> pypy_g_ll_portal_runner__Unsigned_Bool_pypy_interpreter () from
>> /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #131 0x00007ffff4e9d7c4 in pypy_g_execute_frame ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #132 0x00007ffff5cf7eb5 in pypy_g_execute_frame_rvmprof.star_3 ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #133 0x00007ffff4e45dfe in pypy_g_call_function.star_2 ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #134 0x00007ffff4d9907e in pypy_g_entry_point ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #135 0x00007ffff5e1a055 in pypy_main_function ()
>>    from /home/rsg/Pypy/pypy/built/libpypy-c.so
>> #136 0x00007ffff2decec5 in __libc_start_main ()
>>    from /lib/x86_64-linux-gnu/libc.so.6
>> #137 0x00000000004005fe in _start ()
>>
>>
>>
>> 2016-02-14 14:44 GMT-08:00 Robert Grosse <n210241048576 at gmail.com>:
>>>
>>> The following steps should let you reproduce it. It segfaults for me
>>> every time. Though interestingly, the actual place it segfaults changes from
>>> run to run.
>>>
>>> First checkout Krakatau a43b2e7e0a53bca9fe7c34d97b3b3738d662f8d5 (the
>>> latest)
>>>
>>> Then run
>>> pypy Krakatau/decompile.py -out <tempdir> -nauto -skip <path to rt.jar>
>>>
>>> where <tempdir> is any writeable directory. For example
>>> pypy Krakatau/decompile.py -out temp -nauto -skip
>>> /usr/lib/jvm/java-8-oracle/jre/lib/rt.jar
>>>
>>>
>>> Decompiling almost anything segfaults, but this is the simplest setup.
>>> Feel free to respond if you still can't reproduce it.
>>>
>>>
>>>
>>>
>>> 2016-02-09 19:19 GMT-08:00 Robert Grosse <n210241048576 at gmail.com>:
>>>>
>>>> The segfaults only started last week. I suspect that one of my recent
>>>> changes triggers the segfault behavior in Pypy. Can you try with the latest
>>>> version of Krakatau? If you still can't reproduce it, I can try to figure
>>>> out the steps in more detail.
>>>>
>>>>
>>>>
>>>> 2016-02-09 9:33 GMT-08:00 Maciej Fijalkowski <fijall at gmail.com>:
>>>>>
>>>>> ok, I used krakatau in the past and it worked, so you need to be more
>>>>> specific. Notably give me an example program, how to run it etc. I
>>>>> need to be able to confirm your steps step by step
>>>>>
>>>>> On Tue, Feb 9, 2016 at 4:54 PM, Robert Grosse <n210241048576 at gmail.com>
>>>>> wrote:
>>>>> > Pypy segfaults every time I try to decompile an app with Krakatau.
>>>>> > The same
>>>>> > code still works on CPython (it's just a lot slower obviously). I'll
>>>>> > try to
>>>>> > narrow down the circumstances and come up with better repro
>>>>> > instructions
>>>>> > later.
>>>>> >
>>>>> > This happened on my build from November too, so it's not a recent
>>>>> > regression. And it happened on multiple computers, although I built
>>>>> > Pypy
>>>>> > from source in both cases, so there could be something going wrong
>>>>> > there.
>>>>> >
>>>>> > 2016-02-08 0:51 GMT-08:00 Maciej Fijalkowski <fijall at gmail.com>:
>>>>> >>
>>>>> >> Hi Robert
>>>>> >>
>>>>> >> You need to explain in details what are you doing and how can we
>>>>> >> reproduce
>>>>> >> it
>>>>> >>
>>>>> >> On Sun, Feb 7, 2016 at 10:26 PM, Robert Grosse
>>>>> >> <n210241048576 at gmail.com>
>>>>> >> wrote:
>>>>> >> > I updated Pypy, but I'm still getting random segfaults. Is there
>>>>> >> > any way
>>>>> >> > to
>>>>> >> > see what the problem might be? It just says segfault, so there's
>>>>> >> > no
>>>>> >> > information. Also, the same code works in CPython.
>>>>> >> >
>>>>> >> > 2016-02-07 9:05 GMT-08:00 Matti Picus <matti.picus at gmail.com>:
>>>>> >> >>
>>>>> >> >>
>>>>> >> >> On 07/02/16 06:55, Robert Grosse wrote:
>>>>> >> >>>
>>>>> >> >>> I am trying to update Pypy. I want to build Pypy from source
>>>>> >> >>> using the
>>>>> >> >>> instructions at http://doc.pypy.org/en/latest/build.html in
>>>>> >> >>> order to
>>>>> >> >>> get the
>>>>> >> >>> latest bugfixes and improvements.
>>>>> >> >>>
>>>>> >> >>> However, all of the last 5 nightly builds shown at
>>>>> >> >>> http://buildbot.pypy.org/summary?branch=%3Ctrunk%3E failed their
>>>>> >> >>> tests. So I
>>>>> >> >>> can't tell what a good revision to update to is.
>>>>> >> >>>
>>>>> >> >>> What is the last good revision of Pypy?
>>>>> >> >>>
>>>>> >> >> The builds have been failing "only" for vmprof tests, everything
>>>>> >> >> else
>>>>> >> >> should work.
>>>>> >> >> Matti
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> > _______________________________________________
>>>>> >> > pypy-dev mailing list
>>>>> >> > pypy-dev at python.org
>>>>> >> > https://mail.python.org/mailman/listinfo/pypy-dev
>>>>> >> >
>>>>> >
>>>>> >
>>>>
>>>>
>>>
>>
>


More information about the pypy-dev mailing list