Santiago, thanks for the follow-up. Your logfile with a more context looks a bit different that what I got and gives a hint.
The "Use of uninitialized value" warnings suggest a race condition in runcmd. Calling waitpid in a signal handler certainly has a smell to it. I'll investigate further as time permits. Cheers, -Hilko