[racket] SIGCHLD handler called in stderr

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Fri Dec 7 06:39:39 EST 2012

At Fri, 7 Dec 2012 09:02:20 +0400, Sergey Khorev wrote:
> When using embedded Racket, I noticed it can write to stderr directly:
> 
> static void got_sigchld() XFORM_SKIP_PROC
> {
>   if(-1 == write(2, "SIGCHLD handler called (some thread has SIGCHLD
> unblocked)\n", 59)) {
> 
>   }
> }
> 
> Is it be possible to disable this for embedded configuration as it
> messes up stderr of the host application?`

That message is meant to indicate that something has gone seriously
wrong.

Can you say more about your platform? Also, if you can get a stack
context where the printout happens, that would likely be useful.

Thanks!


Posted on the users mailing list.