Running concurrent r-tree reports was crashing the server. An internal r-tree global variable was modified during the parsing of r-tree scripts without proper thread synchronization. The global variable was converted to a local variable to avoid concurrent modifications.