- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: semop memory fault
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
Forums
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
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
04-10-2007 04:48 AM
04-10-2007 04:48 AM
semop memory fault
Can anyone help?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2007 04:54 AM
04-10-2007 04:54 AM
Re: semop memory fault
Tough to help without seeing the code.
Some resouces with FAQ's and common problems.
http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,9890,00.html
http://www.hp.com/products1/evolution/9000/faqs.html
http://devresource.hp.com/drc/STK/docs/refs/srctransitions.jsp
With me ustually thelast link is best.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2007 04:59 AM
04-10-2007 04:59 AM
Re: semop memory fault
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2007 05:06 AM
04-10-2007 05:06 AM
Re: semop memory fault
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2007 05:21 AM
04-10-2007 05:21 AM
Re: semop memory fault
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2007 05:58 AM
04-10-2007 05:58 AM
Re: semop memory fault
We have a script which calls the program cxmm400a. This is the program getting a memory fault. This program is doing a fork and calling the program cxmm100a. Once cxmm100a is up and running successfully cxmm400a should shutdown gracefully.
The program cxmm100a is creating the shared memory and semaphores. In the creation we were hanging on a semop call. We fixed this by using the union structure in the semctl calls and not just passing in an integer.
The cxmm100a program is now trying to reattach to the segment. It is executing a semop call and this is where the memory fault is occuring.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2007 06:31 AM
04-10-2007 06:31 AM
Re: semop memory fault
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2007 06:43 AM
04-10-2007 06:43 AM
Re: semop memory fault
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2007 06:50 AM
04-10-2007 06:50 AM
Re: semop memory fault
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2007 09:21 AM
04-10-2007 09:21 AM
Re: semop memory fault
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2007 10:19 AM
04-10-2007 10:19 AM
Re: semop memory fault
Something else that would be very useful would be to compile/link/make your application with the -g compiler option and let it crash and then do a stack trace using gdb. That's a bit better than tusc but your tusc goes a long way towards finding this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2007 10:30 AM
04-10-2007 10:30 AM
Re: semop memory fault
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2007 06:25 PM
04-10-2007 06:25 PM
Re: semop memory fault
Your tusc output doesn't show any signal 11s. Did you run tusc with -fp (to follow forks)?
But as Clay says, you should use -g and gdb to just debug the abort.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2007 02:10 AM
04-11-2007 02:10 AM
Re: semop memory fault
All the code for the application was recompiled using 32bit.
It was suggested that we scan the code with the HP-UX STK (software transition kit) version 2.2.
We also noticed that the system include header files used by the kernel for semaphores /usr/include/sys/sem.h and /usr/include/sys/ipc.h are different on the new server compared with our hp-ux 11.11 operating system.