Re: sigaction, fork, malloc, and futex

From: Steve Beaty
Date: Thu May 06 2004 - 16:37:58 EST


> Your signal handler function is illegally calling non-reentrant functions.
> The *printf() family of functions are going to need to call malloc() to
> allocate buffers. malloc() cannot be re-entered.

it deadlocks even with no calls in the client... weird.

thanks,

--
Dr. Steve Beaty (B80) Associate Professor
Metro State College of Denver beaty@xxxxxxxxxxxxxx
VOX: (303) 556-5321 Science Building 134C
FAX: (303) 556-5381 http://clem.mscd.edu/~beatys/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/