alloc_stacks
if ((stack_ptr = alloc_stacks(nthread)) == NULL) {
if ((cstack_ptr = alloc_stacks(nlogs)) == NULL) {
static char *alloc_stacks(int);