[racket-dev] crash with subprocess

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Thu Aug 30 09:17:05 EDT 2012

It looks like we still have problems with the `subprocess'
implementation that cooperates with places.

Does your program use multiple places, or just one? If it uses multiple
places, does it use `subprocess' in multiple places?

Is your platform 32-bit Linux?

At Thu, 30 Aug 2012 13:38:23 +0200, Tobias Hammer wrote:
> Hi,
> i am experiencing random crashes when using subprocess followed by a
> subprocess-wait. My test program, that i call via subprocess is special,
> in that it kills itself very fast with a sigkill after executing.
> Unfortunately, i wasn't able to reproduce this behavior in a small sample
> but i could record three different core dumps with full debug info  
> (attached).
> I tested with my own build of git head and
> All crashes/freezes are preceded by the message
> "unexpected error from waitpid(138321448[1]): 10"
> with a completely invalid pid argument to waitpid. The errno 10
> is "No child processes".
> What follows this message are random freezes (ctrl+c has no effect),
> heap corruptions or segfaults.
> I hope the supplied information is enough to locate whatever goes wrong,
> otherwise i can, of course send in more.
> Tobias

Posted on the dev mailing list.