Operating System - HP-UX
1838378 Members
4281 Online
110125 Solutions
New Discussion

SIGSEGV for stack growth failure

 
Catherine Forget
Frequent Advisor

SIGSEGV for stack growth failure

Hi, I am getting the following error while trying to lauch a 2d viewer on my C3600 HP-UX 11i.
Pid 7086 received a SIGSEGV for stack growth failure.Possible causes: insufficient memory or swap space, or stack size exceeded maxssiz.

I did swapinfo -t :acubens[414]# swapinfo -t
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 2097152 256 2096896 0% 0 - 1 /dev/vg00/lvol2
dev 2097152 260 2096892 0% 0 - 1 /dev/vg00/lvol4
dev 2097152 200 2096952 0% 0 - 1 /dev/vg00/lvswap2
reserve - 156888 -156888
memory 724904 313080 411824 43%
total 7016360 470684 6545676 7% - 0 -


AND
acubens[416]# kmtune | grep maxssi
maxssiz 401604608 - 401604608
maxssiz_64bit 1073741824 - 1073741824

this application runs with no problem on my old C3000 with HP-UX 10.20 which has less swap and maxssiz.

Any idea?

Thanks

4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: SIGSEGV for stack growth failure

Well, HP-UX 11i needs substantially more swap space for the same hardware. It has greater needs just to be running.

It does not appear however that your swap is even working.

kmtune | grep swap

swapmem_on 1 - 1


or 0

if its zero swap needs to be activated. The easiest way to do that is with sam, though it will require a reboot.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Catherine Forget
Frequent Advisor

Re: SIGSEGV for stack growth failure

Hi Steven,
the command :
kmtune | grep swap

Returns me :
swapmem_on 1 - 1

Bill Hassell
Honored Contributor

Re: SIGSEGV for stack growth failure

This is a difficult message to interpret. This may actually be a maxdsiz limit. Change the kernel's maxdsiz to about 800-900 megs and regen the kernel. Also check your environment with the command: ulimit -a. If you get an error message, you're probably running an old ksh. Change your shell to /usr/bin/sh which is better than ksh. Then look at the ulimit values. You'll need 'unlimited' for memory.


Bill Hassell, sysadmin
Catherine Forget
Frequent Advisor

Re: SIGSEGV for stack growth failure

hi Bill,
here is maxdsize :
kmtune | grep maxds
maxdsiz 4294863200 - 4294863200
maxdsiz_64bit 274877906944 - 274877906944

and ulimit -a:
acubens[4]: ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 4294575040
stack(kbytes) 392192
memory(kbytes) unlimited
coredump(blocks) 4194303
nofiles(descriptors) 2048

memory is unlimited and I still get the same error.
Thanks for your help