Segmentation Fault (core dumped) - python script

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Verdana
    New Member
    • Mar 2007
    • 2

    #1

    Segmentation Fault (core dumped) - python script

    We're using Python 2.5 on our production and testing servers, which both run SunOS 5.8 and Oracle 10g. The script we're working on is supposed to process wddx packets, enter some info in the database and move the packet for further processing. On the testing server everything works fine. However, on production server, every time the script runs once python is finished with it and its own cleanup procedures we get the "Segmentati on Fault (core dumped)" message. This is not happening when the script is run from the root account, and also it never happened on the testing server. This happens even when there are no packets to process, and doesn't happen with some other python scripts that we are running, so I'm assuming it has something to do with included libraries or something.

    Any ideas what might be wrong and how to fix it? If you need any more info about that
  • Verdana
    New Member
    • Mar 2007
    • 2

    #2
    Never mind, I solved it. The problem was with the Oracle client. The script was using threaded connections, and the old Oracle client didn't support them. So we installed Oracle 10g client and now it works.

    Comment

    • bartonc
      Recognized Expert Expert
      • Sep 2006
      • 6478

      #3
      Originally posted by Verdana
      Never mind, I solved it. The problem was with the Oracle client. The script was using threaded connections, and the old Oracle client didn't support them. So we installed Oracle 10g client and now it works.
      Thank you for keeping us up-to-date on the issue.

      Comment

      Working...