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

Re: [perl #122905] pod2html crash on Linux

Thread Previous | Thread Next
From:
Dave Mitchell
Date:
October 6, 2014 12:19
Subject:
Re: [perl #122905] pod2html crash on Linux
Message ID:
20141006121814.GM5204@iabyn.com
On Sun, Oct 05, 2014 at 07:48:27PM +0200, Aristotle Pagaltzis wrote:
> * James E Keenan via RT <perlbug-followup@perl.org> [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.

Assuming that differnt versions of HTML::Parser haven't changed much
(the OP hasnt' said which version unles I missed something), then its
segfaulting at this line in Parser.pm:

XSLoader::load('HTML::Parser', $VERSION);

so I guess something's going wrong either loading the XS object, or
executing its BOOT section. My initial suspicion would be .so file that
hasn't been built or installed correctly.

To the OP:

are you using the vendor's perl, and how was HTML::Parser installed?


-- 
Nothing ventured, nothing lost.

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