ASSERT api.detach_state vmareas.c:8308 !ok || !TEST(MEMPROT_WRITE, prot2) || TEST(FRAG_SELFMOD_SANDBOXED, *flags) || !INTERNAL_OPTION(hw_cache_consistency)
This happened once on GA CI:
https://github.com/DynamoRIO/dynamorio/pull/5119/checks?check_run_id=3708972532
<Application /home/runner/work/dynamorio/dynamorio/build_debug-internal-64/suite/tests/bin/api.detach_state (22501). Internal Error: DynamoRIO debug check failure: /home/runner/work/dynamorio/dynamorio/core/vmareas.c:8308 !ok || !TEST(MEMPROT_WRITE, prot2) || TEST(FRAG_SELFMOD_SANDBOXED, *flags) || !INTERNAL_OPTION(hw_cache_consistency)
(Error occurred @136 frags in tid 22503)
Xref this assert showing up in various options of common.fib in #1807