I may have an afternoon free this weekend and see if I can't regain my train of thought.
There has been a tension between wanting to avoid memory leaks on shutdown to not offend Valgrind, Purify et al and not shutting down APR while it is still being used. There were many previous discussion and I can't remember exactly where we left it, but should default to a safe but potentially leaky with an option for leak free but not always safe on shutdown.
Any specific instructions on reproducing the problem would be appreciated. Especially along the lines of
1. fire up this AMI on Amazon Web Services
2. Do this and that
Setting up non-default development platforms is a chore and having a reproducible error makes things easier.