Net::MSN - metacpan.orgã使ã£ã¦ãã«ããã«ããããã¨ããããéä¸ã§Segmentation faultãèµ·ããã¦ãã°ã¤ã³ããã§ããªãã£ããperlèªä½ãè½ã¡ã¦ãã¾ãããperl -dãåºã¾ã£ã¦ãã¾ãå§æ«ã
ããã§ã¨ããããã©ã®ã¢ã¸ã¥ã¼ã«ãæªãã®ã調ã¹ããããã¬ã¼ã¹ãè¦ããã¨ã«ããã"trace"ã§CPANãæ¤ç´¢ãè²ã
試ããçµæãDevel::Trace - Print out each line before it is executed (like sh -x) - metacpan.orgãBest Practiceã®ããã
æ©éãããã°ã
$ cpan Devel::Trace $ perl -d:Trace MSN.pl ï¼ç¥ï¼ >> /usr/lib/perl5/site_perl/5.8/cygwin/Crypt/SSLeay/MainContext.pm:8: require Crypt::SSLeay::CTX; >> /usr/lib/perl5/site_perl/5.8/cygwin/Crypt/SSLeay/CTX.pm:2: require Crypt::SSLeay; >> /usr/lib/perl5/site_perl/5.8/cygwin/Crypt/SSLeay/CTX.pm:3: 1; >> /usr/lib/perl5/site_perl/5.8/cygwin/Crypt/SSLeay/MainContext.pm:17: my $ctx = &main_ctx(); >> /usr/lib/perl5/site_perl/5.8/cygwin/Crypt/SSLeay/MainContext.pm:20: my $ssl_version = shift || 23; >> /usr/lib/perl5/site_perl/5.8/cygwin/Crypt/SSLeay/MainContext.pm:22: my $ctx = Crypt::SSLeay::CTX->new($ssl_version); Segmentation fault (core dumped)
ã¨ããããã§ãCrypt::SSLeayããã¡ãªæ¨¡æ§ã
確èªã
$ perl -MCrypt::SSLeay -e 'my $ctx = Crypt::SSLeay::CTX->new(23);' Segmentation fault (core dumped)
ãã¦ãããã§æªãã¨ããã¯åãã£ãã®ã§ãããã°ã®ç¶ããã§ãããã ã
Devel::Traceããããããã¼