When you start xterm as a regular user and run su to become root and then spawn a process and close the term, the process remains running. Should not xterm kill the children processes when it closes?
no, xterm doesn't do that. root's shell may send a SIGHUP to the child process, but xterm couldn't do anything about a child process running as root.
Reassigning bug to myself.
Closing as INVALID.