- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Python ctypes causing segmentation fault on IA64
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2015 07:23 AM
08-10-2015 07:23 AM
Python ctypes causing segmentation fault on IA64
I am currently trying to get Python 2.7.X ctypes/_ctypes working on HPUX IA64 such that this code would work:
import ctypes;lc=ctypes.CDLL("/usr/lib/hpux32/libc.so");lc.time(None)
This code however causes a segmentation fault on the last line.
I had installed ixPython from the Internet Express bundle however that version is missing the _ctypes module which the ctypes module uses. I'm not the first person to uncover this issue as even back in 2010 there was a post about it: http://h30499.www3.hp.com/t5/Languages-and-Scripting/HPUX-11-31-IA-python-installed-but-giving-errors/td-p/4609927
So right now I am using the Python and Libffi packages from http://hpux.connect.org.uk/. Unfortunately I'm unable to determine what the root cause is, whether it is Python or Libffi.
Is anyone here able to get the sample code above running properly? If so what is your setup. I'm also looking for suggestions on things to try since I'm running out of ideas.