Hi,

Is this the only script where you are noticing this issue? Try creating another script only with the LibXML module and see if it dumps core. Also, more importantly, use the  use warnings and  use strict at the beginning of the script. This could give you some warnings while you try to run the script that may give you some direction.

Also go through this article  http://fixunix.com/bsd/544140-perl-dbi-coredump-postgresql-database.html which may help you.

I am in the process of installing FreeBSD 9.0 on my personal laptop (Been toying around with a few Linux flavours but now thinking of FreeBSD) and would try out your script on that once done, but till then, please try out my suggestions

Perlpetually Indebted To PerlMonks


In reply to Re: Segmentation fault in DBI + XML::LibXML by perl514
in thread Segmentation fault in DBI + XML::LibXML by furagu

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.