you'll want to look at ug_serve_group_pages in user-group-defs.tcl -- if your browser was "clicking" during an infinite loop then I'd give special attention to the branches that do ns_returnredirect. you'll also want to check the
sdm, if you haven't, to see if there are any patches already submitted for this. good luck. :)