I may have missed your reply somewhere in the thread, but Robert Landrum asked the question about whether this happens only in children that have respawned, and I haven't seen you comment about it.
It may be worth adding a call to Apache2::ServerUtil::restart_count() into the debugging statement. If this does only happen on higher generation children, then it might be that some untainted variable is skipping an untainting process in a BEGIN block (or something like that). This is a guess, but is probably worth excluding (and easy to do so) Clint