On 2018-01-18 02:11:46, SREZIC wrote:
Show quoted text> The tests spvm-debug.t and spvm.t started to throw segmentation fauls
> or bus errors.
>
> A backtrace of a spvm-debug.t failure (perl 5.24.3, debian/stretch,
> unfortunately without debugging symbols):
>
> (gdb) bt
> #0 0x00007f49958933bb in SPVM_RUNTIME_call_sub () from
> /home/cpansand/.cpan/build/2018011806/SPVM-0.0304-
> 0/blib/arch/auto/SPVM/SPVM.so
> #1 0x00007f4995894a46 in SPVM_RUNTIME_API_call_object_sub () from
> /home/cpansand/.cpan/build/2018011806/SPVM-0.0304-
> 0/blib/arch/auto/SPVM/SPVM.so
> #2 0x00007f4995879b2e in XS_SPVM_call_sub () from
> /home/cpansand/.cpan/build/2018011806/SPVM-0.0304-
> 0/blib/arch/auto/SPVM/SPVM.so
> #3 0x0000563ceb54fdf8 in Perl_pp_entersub ()
> ...
Here's backtrace with a debugging perl (5.24.0 @ debian/jessie); manually added -g to $ccflags:
#0 0x00007f0bc6daa0a2 in SPVM_RUNTIME_call_sub (
api=0x7f0bc6fc9cc0 <SPVM_NATIVE_INTERFACE>, sub_id=<optimized out>,
args=<optimized out>) at spvm_runtime.c:1896
#1 0x00007f0bc6dab619 in SPVM_RUNTIME_API_call_object_sub (
api=<optimized out>, sub_id=<optimized out>, args=<optimized out>)
at spvm_runtime_api.c:1104
#2 0x00007f0bc6d8b0aa in XS_SPVM_call_sub (cv=<optimized out>) at SPVM.xs:3645
#3 0x000000000050bbb5 in Perl_pp_entersub () at pp_hot.c:3987
#4 0x00000000004d5ce2 in Perl_runops_debug () at dump.c:2239
#5 0x0000000000451a00 in S_run_body (oldscope=1) at perl.c:2478
#6 perl_run (my_perl=<optimized out>) at perl.c:2406
#7 0x0000000000421205 in main (argc=3, argv=0x7ffc133047d8,
env=0x7ffc133047f8) at perlmain.c:116