Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

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

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


Comment on Re: Segmentation fault in DBI + XML::LibXML
Select or Download Code
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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2014-08-01 12:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who would be the most fun to work for?















    Results (13 votes), past polls