From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,a62a1975dbd1cfeb,start X-Google-Attributes: gidfee84,public From: T.L.Priest@LaRC.NASA.GOV (Travis L Priest) Subject: Can't grow stack - how to debug? Date: 1995/07/12 Message-ID: #1/1 X-Deja-AN: 106180197 distribution: world organization: NASA Langley Research Center, Norfolk, VA, USA newsgroups: comp.unix.osf.osf1 I have code that was written for 32 bit systems (AIX, Solaris, ...) that is needed on an Alpha running OSF/1 V3.2. I'm continually getting: sendsig: can't grow stack, pid 6559, proc foo, sig 11, pc 0x30000051818 which occurs in random places where malloc()/alloc() is called (initgroups() in libc, rpc functions in libdce) depending on where I put print statements. This is a DCE RPC threaded application. I've used "-taso" and "-trapuv" without any hints to where the problem might be (ie. success). "lint -Q" reports a few casts from pointers to structures of different SIZE and ALIGNMENT (shouting lint's, not mine) and a few long casts that lose accuracy, but nothing else. Am I likely to see correct behavior by cleaning up these sections? I've also unlimited stacksize, and the process runs as root, so (I assume) that root's limits are inherited. Does anyone have a good strategy for debugging this problem, or pointers to the pitfalls of moving from 32 -> 64 bits. Travis