We have developed a PostgreSQL extension and are currently encountering intermittent crashes related to shared memory on PostgreSQL 17.7. The issue does not occur everytime, and we have not been able to reliably reproduce it in our local environment. We have attached the relevant pg logs and backtraces below for reference.
We also noticed a recent commit addressing a DSM-related issue: