Sending signals to the trap process does nothing. If I revert 9d55d49dad0f4cb90e6ff2f9b1c3bc46a6fcf05f, trap works as expected. After some debugging I think that the pids array in trap.c contains garbage since it isn't initialized statically anymore (see the attached patch).
Your diagnosis is correct indeed, the change from static to automatic removed the implicit initialization to 0. Patch applied, thanks. -- Laurent
