fixed segv caused by new LRU, and also potential segv when cleaning up trace dumpers