I am trying to make use of Lingua::Ispell on a Solaris 9 host running iPlanet 6.0sp3, and I'm getting inconsistent results with the following code:

#!/usr/local/bin/perl -w use strict; use Lingua::Ispell; use CGI; use CGI::Carp qw(fatalsToBrowser); use Data::Dumper; $| = 1; print CGI::header(-expires => '-1d'); my @words = Lingua::Ispell::spellcheck("word asdfa"); foreach my $r (@words) { print("<pre>\n", Dumper($r), "</pre>\n") }

I've added a SIGPIPE handler to Lingua::Ispell, and when it traps, it traps near Lingua::Ispell's IPC::Open2::open2() call (and a core file is generated).

My confusion seems to stem from an iPlanet configuration issue--this code works correctly from the command line and on a FreeBSD/Apache host. The iPlanet failure is also sporadic--I see correct output about once per twenty reloads.

Does anyone know of any places where I can look for troubleshooting this further or correcting it (other than converting to Apache)? There aren't resource limits imposed that should cause inconsistent faulting. From a cursory inspection, the CGI settings for iPlanet don't look like they are customized.

Thanks in advance!


In reply to iPlanet6 and IPC::Open2 by Spudnuts

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.