Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

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

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2018-04-25 00:00 GMT
Find Nodes?
    Voting Booth?