Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Segmentation fault in DBI + XML::LibXML

by mje (Curate)
on Feb 02, 2012 at 08:14 UTC ( [id://951374]=note: print w/replies, xml ) Need Help??


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

Run gdb /usr/bin/perl and at the gdb prompt "r myscript.pl" then enter. When it seg faults use the back trace command (bt) to see where it fell over and post it here. Someone might recognise the function it falls over in. It is quite possible the XML and postgres libraries both contain the same symbol for a function but take different arguments. When that function is called it will sometimes (depending on how everything is linked) only get resolved in one place so one of the calls will be wrong. You can get a list of symbols in the postgres and libxml libraries using nm if that is the case or when you get the back trace you can check for that symbol in each library to rule that in/out.

  • Comment on Re: Segmentation fault in DBI + XML::LibXML

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (6)
As of 2024-04-20 00:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found