Note to REXML users. I suspect that there is a bug in the each_element method of REXML. In the each_element loop I would get intermittent errors where the index was not a REXML element or I would get a Bad Instruction crash with no traceback. My system became stable after replacing calls to each_element with elements.each. Bob Rice