Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: Segmentation fault in DBI + XML::LibXML

by perl514 (Pilgrim)
on Feb 01, 2012 at 19:02 UTC ( #951282=note: print w/ replies, xml ) Need Help??

in reply to Segmentation fault in DBI + XML::LibXML


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 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

Comment on Re: Segmentation fault in DBI + XML::LibXML
Select or Download Code
Replies are listed 'Best First'.
Re^2: Segmentation fault in DBI + XML::LibXML
by furagu (Initiate) on Feb 02, 2012 at 03:13 UTC

    Hi perl514, thanks for reply.

    This is not the only script that fails, all of my scripts that somehow use both LibXML and DBI libraries (even in different packages) are segfaulting after newest libxml and dbi libraries installation :(

    Warnings and strict showed nothing.

    XML::LibXML alone works as usual, and the DBI alone works too.

    Now I'm stuck trying to rebuild postgresql-client without threading support. This is not an easy task as 'enable-thread-safety' option is not configurable with 'make config' and is turned on by default.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://951282]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2015-10-07 21:16 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (200 votes), past polls