From: T.L.Priest@LaRC.NASA.GOV (Travis L Priest)
Subject: Can't grow stack - how to debug?
Date: 1995/07/12 [thread overview]
Message-ID: <T.L.PRIEST.95Jul12152020@licorice.larc.nasa.gov> (raw)
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
reply other threads:[~1995-07-12 4:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox