Hello all community members!
I am writing with one question. I try to use cache_simulator_t directly in my client code (I am feeding memory references to the process_memref function). My client works perfectly fine with single-threaded applications. I receive one error when testing multi-threaded ones:
dynamorio/clients/drcachesim/simulator/caching_device.cpp:142: virtual void caching_device_t::request(const memref_t&): Assertion `tag != TAG_INVALID && tag == cache_block->tag_' failed.
Are cache_simulator_t and process_memref supposed to be thread safe? This error happens randomly and it looks like a concurrent access issue. Is there anything I might have missed?
Thank you!
Mateusz