In the first instance, under normal conditions, neither Perl nor an extension should coredump at all whatever you have in your own code; if it does then there is some basic problem with the build of Perl or the extension in question. That said it would appear that Data::Encrypted doesn't have any XS part: it hands off the actual encryption to some Crypt:: module which will almost certainly have some XS component (or use something that does like Math::Pari,) so this is where you are going to have to start looking for the cause of the coredump.

The easiest way to determine the point at which the coredump occurred is to point your debugger at it; for instance if you were using gdb you might have something like:

gdb --core ./core
of course you may have to determine what the actual command line is if you have a different debugger on your system.

A possible cause of a coredump could also be that some XS extension has been built with a different C compiler than that which was used to build the Perl: you can determine the compiler used (and the architecture the perl was built for) from the output of perl -V. If you have a prebuilt Perl that came with the OS it is often the case that this would be built with the vendors own compiler rather than, say, gcc (I don't know if this is the case with HP/UX) but it might be possible to get the packages you want prebuilt also.

/J\


In reply to Re: Data-Encrypted-0.07 is coredumping under HPUX by gellyfish
in thread Data-Encrypted-0.07 is coredumping under HPUX by hpunixguy2

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.