Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re: Segmentation fault in DBI + XML::LibXML

by mje (Curate)
on Feb 02, 2012 at 08:14 UTC ( #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" 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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://951374]
and the sunlight beams...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2018-06-25 06:34 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (126 votes). Check out past polls.