- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Segmentation Error
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
Discussions
Forums
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
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
тАО05-03-2001 12:57 PM
тАО05-03-2001 12:57 PM
We thought that this was caused by the system not being rebooted for some time. We did shut it down and brought it back up. Was this the right thing to do or should I expect this to reappear. This is on a Class D box 9000 system running 10.2
Thank you in advance for your comments.
DKD
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2001 01:11 PM
тАО05-03-2001 01:11 PM
Re: Segmentation Error
If it is occuring every minute I would first check for cronjobs triggered once a minute.
It is probably generating a core file somewhere. If you can find that then we can probably figure out what is happening.
... Hope this gets you started, Clay.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2001 02:19 PM
тАО05-03-2001 02:19 PM
Re: Segmentation Error
http://us-support2.external.hp.com/cki/bin/doc.pl/sid=495d95f200442693a2/screen=ckiSearchResults?SEARCH_CRIT=AllWordsChecked&ri=0&rn=10
the gist of it is, is that your program catch.c is running crazy and using up your alocated memory. but check it out.
hope this helps!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2001 08:20 AM
тАО05-05-2001 08:20 AM
Re: Segmentation Error
I'm still trying to figure out what originally caused the problem..
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2001 01:05 PM
тАО05-05-2001 01:05 PM
Re: Segmentation Error
Unless you are familiar with debugging tools examining a core file can be daunting; however, if this problem persists, save this core file; you may need to send it to HP support and you can also do a 'strings core > /tmp/corestuff'. You could then examine the corestuff file for recogizable text which can give even a novice a few clues as to what process generated the corefile.
Hope this at least points you in the right direction, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2001 05:54 PM
тАО05-05-2001 05:54 PM
SolutionDocument Id : A3526416
Problem Description
While attempting to compile a program, I received the following SIGSEGV error:
Signal 11: Segment violation
What caused this error, and how can I avoid it?
Solution
The SIGSEGV or "segment violation" error typically is caused by having the kernel parameter "maxssiz" (which determines the maximum size of the stack available to programs) set too low. SIGSEGV and other system related signals are defined in the file /usr/include>/sys/signal.h. For additional information on these events, see the man pages for "signal".
To avoid this error in the future, you need to determine the following:
o the memory requirements of the program
o the current value of system parameters that define memory usage
When program requirements exceed the system defined limits, you have to change the program or system parameters or both.
1.Program Memory Requirements
To determine the size requirements for an object file, you can use the size() program. It gives a display similar to the following:
$ size /usr/bin/zcat
27088 + 6372 + 433872 = 467332
(text) (data) (dynamic memory)
2. System Memory Parameters
You can use sam(1M) or the contributed program readmem(1) to display the values of system parameters. The following parameters are important:
o maxtsiz (maximum allocation for text)
o maxssiz (maximum allocation for stack)
o maxdsiz (maximum allocation for dynamic memory)
In this instance, the user reconfigured the total size of his system memory parameters from 8 Mb to 16 Mb and rebooted. This
change allowed the program to run normally.
*******
There are other reasons that a segmentation violation can occur...(trying to use corrupt files, trying to to perform a task that you previously set contrary to this task..like trying to write to a read only..and more) But thought this might shed some more details..
Regards,
/rcw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2001 05:20 AM
тАО05-11-2001 05:20 AM
Re: Segmentation Error
Thanks
DKD