Thread dump during build with ctrl-\

John Rose john.r.rose at
Fri Feb 7 01:50:07 UTC 2014

On Feb 4, 2014, at 10:48 PM, David Holmes <david.holmes at> wrote:

> I don't see how make and all the intervening shells could know to pass the signal through to the JVM process. ??

IIRC they don't need to pass the signal, because the signal goes from the tty to the current group of processes.  A waiting shell or make probably disregards such signals and pays more attention to the response to the thing it is waiting for.  In this case, perhaps the "tee" command gets sick from the signal and causes the pipeline to fail.  Perhaps the "tee" command needs to be wrapped in some kind of trappy thing like:  sh -c 'trap "" 2 3; tee'

— John

More information about the build-dev mailing list