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

[perl #122905] pod2html crash on Linux

Thread Previous | Thread Next
October 6, 2014 13:13
[perl #122905] pod2html crash on Linux
Message ID:
Thanks for your reply very much. I already installed modules you mention‍ed. In my Arch, site_perl/HTML/‍, site_perl/HTML/‍ and core_perl/Pod/Simple/‍ 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‍/ line 17.‍
Line 17 of 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, wrote:
> > Signal SEGV at /usr/lib/perl5/site_perl/HTML/ line 17.
> >     require HTML/ 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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About