- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Compile Error - SIGSEGV
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
02-19-2002 12:37 AM
02-19-2002 12:37 AM
Compile Error - SIGSEGV
I get the following error during compilation. What can be the possible reasons.
Pid 12522 received a SIGSEGV for stack growth failure.Possible causes: insufficient memory or swap space,or stack size exceeded maxssiz.
My swapinfo status is
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 524288 79100 445188 15% 0 - 1 /dev/vg00/lvol2
dev 655360 77688 577672 12% 0 - 1 /dev/vg01/Swap
reserve - 603340 -603340
Thanx,
Ramu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2002 12:48 AM
02-19-2002 12:48 AM
Re: Compile Error - SIGSEGV
run
# sysdef
and
# chatr your_binary
for more info.
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2002 12:49 AM
02-19-2002 12:49 AM
Re: Compile Error - SIGSEGV
What is your maxssiz?
# kmtune|grep maxssiz
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2002 12:54 AM
02-19-2002 12:54 AM
Re: Compile Error - SIGSEGV
the maxssize is 8192, what is the significance of this value ?
Regards
Ramu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2002 12:57 AM
02-19-2002 12:57 AM
Re: Compile Error - SIGSEGV
certainly use kmtune to check and maybe raise the maxssiz
Also remember that to be sure about swao you need to monitor it during the compilation to
see if it is sufficient.
Going by the swap figures you show there should be enough but are there any errors logged in the system logs
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2002 01:05 AM
02-19-2002 01:05 AM
Re: Compile Error - SIGSEGV
system logs dont show any error(s).
I am using 10.2. it says kmtune not found
anyway will try to inc maxssiz and see the result
does maxssiz depend on any other parameter ?. if so, how to calculate the required size ?.
Regards
Ramu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2002 01:07 AM
02-19-2002 01:07 AM
Re: Compile Error - SIGSEGV
It indicates the maximum bytes for your maximum stack size (some call it dynamic storage segment DSS). If your process requires a large amount of stack space (eg. do you call a lot of subroutines which will require values to be pushed and popped from the stack), then you will need to increase the size of this kernel parameter.
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2002 01:09 AM
02-19-2002 01:09 AM
Re: Compile Error - SIGSEGV
kmtune resides in /usr/sbin.
# /usr/sbin/kmtune | grep maxssiz
It does not depend on other kernel parameters to derive its value. Default is 8 MB. Other related process memory storage parameters are maxdsiz and maxtsiz.
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2002 01:10 AM
02-19-2002 01:10 AM
Re: Compile Error - SIGSEGV
kmtune should be in /usr/sbin.
either add this to your $PATH or run
/usr/sbin/kmtune
Hope this helps.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2002 01:37 AM
02-19-2002 01:37 AM
Re: Compile Error - SIGSEGV
Far as I remember, kmtune wasn't available with 10.20.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2002 01:42 AM
02-19-2002 01:42 AM
Re: Compile Error - SIGSEGV
Deepak, I think you are right. In that case, use sysdef or sam. For sysdef,
# /usr/sbin/sysdef|grep maxssiz
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2002 02:09 AM
02-19-2002 02:09 AM
Re: Compile Error - SIGSEGV
Regards,
Steve