再次哭死

下午花了3个小时,终于在gdb里面看见这条错误信息。
Perl v6.1000.2931959785526681268 required--this is only v5.8.8, stopped at /usr/local/lib/perl5/5.8.8/Exporter.pm
如果程序没有忽略SIGFPE信号,则得到的是这个
#0 0x28ae2716 in Perl_cast_ulong () from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so
#1 0x28a61711 in Perl_pad_findmy () from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so
#2 0x28a417bf in Perl_yylex () from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so
#3 0x28a51153 in Perl_yyparse () from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so
#4 0x28ab0c02 in S_doeval () from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so
#5 0x28ab2492 in Perl_pp_require () from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so
#6 0x28a801a9 in Perl_runops_standard () from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so
#7 0x28a2a89c in S_call_body () from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so
#8 0x28a2f26a in Perl_call_sv () from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so
#9 0x28a2f617 in Perl_call_list () from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so
#10 0x28a5e1af in Perl_newATTRSUB () from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so
#11 0x28a5cf5b in Perl_utilize () from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so
#12 0x28a512fb in Perl_yyparse () from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so
#13 0x28ab0c02 in S_doeval () from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so
#14 0x28ab2492 in Perl_pp_require () from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so
#15 0x28a801a9 in Perl_runops_standard () from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so
#16 0x28a2a89c in S_call_body () from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so
#17 0x28a2f26a in Perl_call_sv () from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so
#18 0x28a2f617 in Perl_call_list () from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so
#19 0x28a5e1af in Perl_newATTRSUB () from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so
#20 0x28a5cf5b in Perl_utilize () from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so
#21 0x28a512fb in Perl_yyparse () from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so
#22 0x28ab0c02 in S_doeval () from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so
#23 0x28ab2492 in Perl_pp_require () from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so
#24 0x28a801a9 in Perl_runops_standard () from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so
#25 0x28a2a89c in S_call_body () from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so
#26 0x28a2e911 in Perl_eval_sv () from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so
引发错误的是这样一条语句
perl_eval_sv(sv, G_DISCARD | G_EVAL);
天。。。。。为什么一个版本错误导致的是一个 FPE 异常?

此博客中的热门博文

少写代码,多读别人写的代码

在windows下使用llvm+clang

tensorflow distributed runtime初窥