cpanel / perl-compiler

cPanel's custom implementation of B::C
https://cpanel.net
Other
8 stars 3 forks source link

Cannot compile EV #58

Open atoomic opened 7 years ago

atoomic commented 7 years ago

This is an extract of xtestc/1960.t. We were probably use to have one XS workaround for EV, that we have removed.

use EV; my $w = EV::timer 1, 1,sub{print"ok\n";exit}; EV::loop

Segfault at run time in XS_EV_timer

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7bcf830 in e_new.isra.14 () from /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/x86_64-linux-64int/auto/EV/EV.so
(gdb) bt
#0  0x00007ffff7bcf830 in e_new.isra.14 () from /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/x86_64-linux-64int/auto/EV/EV.so
#1  0x00007ffff7bd171b in XS_EV_timer () from /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/x86_64-linux-64int/auto/EV/EV.so
#2  0x00007ffff7675e4f in Perl_pp_entersub () at pp_hot.c:3987
#3  0x00007ffff7667887 in Perl_runops_standard () at run.c:41
#4  0x00007ffff75a6c92 in S_run_body (oldscope=1) at perl.c:2485
#5  0x00007ffff75a678b in perl_run (my_perl=0x65b3f0 <BC_unthreaded_interpreter>) at perl.c:2408
#6  0x00000000004154a1 in main (argc=1, argv=0x7fffffffdce8, env=0x7fffffffdcf8) at /root/workspace/bc/t/v5.24.1/C-COMPILED/xtestc/1960.c:12883

HEAD=6d475b27