develooper Front page | perl.perl5.porters | Postings from October 2014

[perl #122905] pod2html crash on Linux

Thread Previous | Thread Next
From:
EX咖喱棒
Date:
October 6, 2014 13:13
Subject:
[perl #122905] pod2html crash on Linux
Message ID:
tencent_36BB530B2C7C5B5C4F3D6D45@qq.com
Thanks for your reply very much. I already installed modules you mention‍ed. In my Arch, site_perl/HTML/Parser.pm‍, site_perl/HTML/Entities.pm‍ and core_perl/Pod/Simple/XHTML.pm‍ is already exsist.

I tryed to make sure if I installed them:
$ sudo perl -MCPAN -e 'install HTML::Parser; install HTML::Entities; install Pod::Simple::XHTML'‍
Then got the message:
Reading '/root/.cpan/Metadata'
  Database was generated on Mon, 06 Oct 2014 00:17:02 GMT
HTML::Parser is up to date (3.71).
HTML::Entities is up to date (3.69).
Pod::Simple::XHTML is up to date (3.28).‍

But, when I run this command in Arch with perl version v5.20.1:
$ perl -MHTML::Parser -MHTML::Entities -MPod::Simple::XHTML‍
perl has crashed with message:
[1]    5308 segmentation fault (core dumped)  perl -MHTML::Parser -MHTML::Entities -MPod::Simple::XHTML‍
Becase of this, pod2html can not work in my Arch.‍ And, very strange, it is all ok in my Slackware 14.1 with perl version v5.18.1‍, it is work well to order input from STDIN.
The version of these modules are same in my Slackware and Arch.

I run perl debuger, then got the message:
Signal SEGV at /usr/lib/perl5/site_perl/HTML‍/Parser.pm line 17.‍
Line 17 of Parser.pm is:
XSLoader::load('HTML::Parser', $VERSION);‍
But neither XSLoader or HTML::Parse‍r has up to date.

So I think it not the bug of pod2html  but a bug for something other. I am not sure about that.

------------------ 原始邮件 ------------------
发件人: "Aristotle Pagaltzis via RT";;
发送时间: 2014年10月6日(星期一) 凌晨1:48
收件人: "EX咖喱棒"; 

主题: Re: [perl #122905] pod2html crash on Linux



* James E Keenan via RT  [2014-10-05 16:50]:
> On Sat Oct 04 06:47:16 2014, shell_way@foxmail.com wrote:
> > Signal SEGV at /usr/lib/perl5/site_perl/HTML/Parser.pm line 17.
> >     require HTML/Parser.pm called at
> > […snip…]
> > [1]    11156 abort (core dumped)  perl -d $(which pod2html)
>
> […]  If, for example, you were to install HTML::Entities on this
> system, would you still encounter the problem described in this story?

Does it matter? Perl should not react to missing modules by segfaulting.
Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About